Welcome to the Home Assistant Grow Room (HAGR) repository. This project focuses on automating grow rooms using Home Assistant. Note that some features may not work as expected and instructions are minimal. Familiarity with Home Assistant is recommended.
I am currently in the process of rebuilding my grow automation setup. I deleted the previous messy setup and am now integrating automations from three separate instances into one system for a commercial licensed grow. I am cherry-picking the best features from each iteration. Most of the features have not been uploaded yet.
I've also made an update to my sensors. I switched from using the THC-S sensor to the Teros-12 and the BGT-SEC(Z2) Teros 12 Compatible sensor. The THC-S sensors were not working reliably for me, likely due to incorrect calibration. I relied on online calibrations without doing a manual one myself, and I had no benchmark for accuracy. Additionally, many of the sensors broke and responded erratically. When I started verifying them with a Teros-12 Solus kit, I noticed significant discrepancies, which explained many of the issues I was encountering.
I found a weekly manual reset to input EC, especially for 6" rockwool Grodan cubes is prett critical, even on the THC-S I could see that any slight error and the drippers no matter how hard p1 was pushed just couldn't claw back. It was also pretty fuckin frustrating when a THC-S would just randomly stop working. I couldn’t rely on the THC-S sensors to accurately indicate when my cubes were reset, which I confirmed after verifying with the Teros Solus kit. Since then, I’ve tested two Chinese-compatible sensors, and they provide readings very close to the Teros Solus. This is encouraging and offers me much more precision (and confidence) in monitoring dryback and subtrate ec in rockwool.
For more information on using the Teros-12 / Teros-12 Compatible SDI-12 with ESP32, visit: Teros-12 / Teros-12 Compatible SDI-12 to ESP32.
- ESPHome sensors from M5stack.com used for indoor gardenining with configuration files: Chill-Division/M5Stack-ESPHome
- Excellent Home Assistant and ESP Home crop steering / garden automation repo: https://github.com/jeemers/Homegrown-Assistant/blob/main/README.md
- THC-S: kromadg/soil-sensor
- Killerherts HA growing functions: Killerherts/nodeRed-HA-GrowingFunctions
- Awesome Crop Steering: https://github.com/Intergalactic-XYZ/awesome-cropsteering
- If you like raw SDI-12 sensors and mqtt, none of this Home Assistant fluff: https://github.com/cropsteering/OS-SDI12
- Teros-12 / Teros-12 Compatable SDI-12 to ESP32 https://github.com/JakeTheRabbit/HAGR/blob/main/teros-12/Readme.md
Resources for autoamations:
- Grodan Grow guide: https://www.grodan101.com/siteassets/downloads/downloads-na-101/grow-guide-2023/grow-guide---cannabis-edition-2024.pdf
- Athena Grow Guide: https://issuu.com/athenaag/docs/athena_hb_me
- Growlink Crop Steering: https://www.growlink.ag/crop-steering
Links:
- Open THC https://github.com/openthc
- Farm OS: https://github.com/farmOS/farmOS
The integrated features include but are not limited to:
- CO2 Control: Setpoints for day/night using Node-Red with SCD-41 and ESPAtom.
- Thermal Camera: Live leaf temperature readings using ESP32 and MLX90641 in Home Assistant.
- VPD Calculations: Live leaf and environment calculations to maintain optimal humidity and temperature.
- Automatic VPD Control: Adjusts leaf VPD to maintain steady conditions despite temperature and humidity fluctuations.
- Sensor Integrations: Includes THC-S, Teros 12, and Alibaba Teros 12 compatible VWC/EC sensors.
- Nutrient Dosing: Automated dosing with peristaltic pumps using Athena Pro line nutrients.
- Lighting Control: LED lights and drivers controlled via PWM as dimmable entities in Home Assistant.
- Tank Level Monitoring: Ultrasonic distance sensor for tank levels.
- Notifications: Hourly sensor updates and alerts for high/low setpoints (e.g., Temperature, VWC, CO2).
- Fan Speed Control: Automatically adjusts fan speed.
- AC Control: ESP32-controlled AC wall unit.
- Irrigation Strategy & Crop Steering: (still in progress)
- Multiple sensor triggers for redundancy
- Dosing calculations and adjustments
- Emergency shots and dryback percentage calculations
- Various transitions and fail-safes
- Lighting Automation: Automatic lights on/off.
- Temperature Control: Day/night setpoints.
- CO2-Triggered Light Dimming: Low CO2 auto light dimming.
![1_5_dashboard2](https://private-user-images.githubusercontent.com/123831499/345452278-673f8f7f-dcf0-4fb1-9b35-9f19ce383b5e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5MzY2MzAsIm5iZiI6MTcyNTkzNjMzMCwicGF0aCI6Ii8xMjM4M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
- ESPHome
- SSH & Web Terminal
- File Editor
- Samba
- Home Assistant Google Drive Backup
- InfluxDB
- Grafana
- Node-Red
- Mosquito Broker
Integrations:
- HACS
- AC Infinity
- Blue Iris NVR
- Bluetooth
- ESPHome
- Google Calendar
- HASS.Agent
- LocalTuya
- Node-Red Companion
- Passive BLE Monitor
- RuuviTag BLE
- TP-Link Kasa Smart
- Tuya
- Xiaomi BLE
- Zigbee2Mqtt
- Mushroom
- Multiple Entity Row
- Notify Card
- Slider Button Card
- Layout-card
- Card-mod
- VPD Chart Card (may cause lag)
- Slider-entity-row
- Mushroom - Better Sliders
- Plotly Graph Card
- card-tools
- mini-graph-card