c6854e7c139513f491a522a22d2bc15bd95ac6b3
Cure logger
The aim of this project is to monitor the curing of cannabis flowers using the Aqara humidity, pressure and temperature sensor (WSDCGQ11LM).
The ruby script subscribes topic of the sensors and saves the events payload in a CSV file for further analysis.
Requirements
- MQTT Broker handles the events from Zigbee2mqtt
- Ruby 2.7 or better
Installation
- Clone the ropository
git clone https://github.com/gurix/cure_logger.git - Install dependencies
bundle install cp config.yaml.example config.yaml- Setup your sensors and configure address of your MQTT broker in
config.yaml
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.
Languages
Ruby
85.1%
Shell
14.9%
