2021-10-20 10:26:01 +02:00
|
|
|
# Cure logger
|
|
|
|
|
The aim of this project is to monitor the curing of cannabis flowers using the Aqara humidity, pressure and temperature sensor (WSDCGQ11LM).
|
|
|
|
|
|
2021-10-20 10:27:18 +02:00
|
|
|
The ruby script subscribes topic of the sensors and saves the events payload in a CSV file for further analysis.
|
2021-10-20 10:26:01 +02:00
|
|
|
|
2021-10-20 10:33:22 +02:00
|
|
|

|
|
|
|
|
|
2021-10-20 10:26:01 +02:00
|
|
|
# Requirements
|
|
|
|
|
- MQTT Broker handles the events from Zigbee2mqtt
|
|
|
|
|
- Ruby 2.7 or better
|
|
|
|
|
|
|
|
|
|
# Installation
|
|
|
|
|
1. Clone the ropository `git clone https://github.com/gurix/cure_logger.git`
|
|
|
|
|
2. Install dependencies `bundle install`
|
2021-10-21 21:12:24 +02:00
|
|
|
3. `cp config.yaml.example config.yaml`
|
|
|
|
|
4. Setup your sensors and configure address of your MQTT broker in `config.yaml`
|
2021-10-20 10:26:01 +02:00
|
|
|
|
|
|
|
|
# Run the script
|
|
|
|
|
Start the script with `ruby logger.rb` that produces console output when an event happens as well as it logs data into `data.csv`.
|