5-Minute Setup for Home Assistant Integration
- Home Assistant: 2024.x or later
- Python: 3.9+ (included with HA)
- Network: Stable connection
- Storage: 100MB free space
- Grow Equipment: Any HA-compatible devices (lights, sensors, pumps, etc.)
- FridgeGrow: Plantalytix controllers (optional)
No special hardware required! OGB works with any Home Assistant devices.
-
Install HACS (skip if already installed):
- Go to Settings → Add-ons, Backups & Supervisor → Add-on Store
- Search and install "HACS"
- Restart Home Assistant
-
Install OpenGrowBox:
- Open HACS from sidebar
- Go to Integrations tab
- Search "OpenGrowBox"
- Click Download
- Restart Home Assistant
-
Add Integration:
- Go to Settings → Devices & Services
- Click + Add Integration
- Search "OpenGrowBox"
- Click Add
- Done! 🎉
# 1. Download integration
cd /config
git clone https://github.com/OpenGrow-Box/OpenGrowBox-HA.git
cp -r OpenGrowBox-HA/custom_components/opengrowbox /config/custom_components/
# 2. Restart HA
# From UI: Settings → System → Restart
# OR: ha core restart
# 3. Add Integration (same as HACS method above)For custom HA setups:
# Add to your docker-compose.yml
services:
homeassistant:
volumes:
- ./custom_components/opengrowbox:/config/custom_components/opengrowbox-
Open OGB Integration:
- Go to Settings → Devices & Services
- Find OpenGrowBox integration
- Click Configure
-
Add Grow Room:
- Click "Add Room"
- Name:
"Main Grow Tent" - Area: Select your grow area (or create new)
- Click Save
-
Set Plant Type:
- Choose:
"Tomato","Cannabis","Herbs", etc. - Or select
"Custom"for manual settings
- Choose:
-
Growth Stage:
"Germination","Vegetative","Flowering","Drying"
-
Environmental Targets:
- Temperature: 20-28°C (plant-dependent)
- Humidity: 40-70% (stage-dependent)
- VPD Target: 1.2 kPa (auto-calculated)
No devices needed for basic functionality! OGB can monitor and control using any HA entities.
-
Assign Existing Devices:
- Go to your HA devices
- Add labels to entities:
- Temperature sensor:
Sensor - Humidity sensor:
Sensor - Heater:
heater - Light:
light - Exhaust fan:
exhaust
- Temperature sensor:
-
FridgeGrow Setup (if you have one):
- Connect FridgeGrow to MQTT
- Entities appear in HA automatically
- Add labels:
fridgegrow+ output type - Example:
number.fridgegrow_heater→ labels:["fridgegrow", "heater"]
- Dashboard: OGB entities should appear
- VPD Display: Current VPD calculation
- Device Control: Manual controls working
- Logs: No errors in HA logs
# Check OGB status
curl http://localhost:8123/api/states | jq '.[] | select(.entity_id | contains("ogb"))'Expected Result: OGB sensors and controls are active
-
Get Premium Account:
- Visit OpenGrowBox Premium
- Create account and subscribe
-
Activate in HA:
- Go to OGB Integration settings
- Enter tenant ID and API key
- Features activate automatically
-
Add Multiple Rooms:
- Different areas for veg/flower
- Separate environmental controls
- Independent automation
-
Room Configuration:
# Advanced room settings (optional) opengrowbox: rooms: veg_tent: plant_type: "cannabis" stage: "vegetative" vpd_target: 1.0 flower_tent: plant_type: "cannabis" stage: "flowering" vpd_target: 1.4
Example: Night Time Humidity Boost
automation:
- alias: "Night Humidity Boost"
trigger:
platform: time
at: "22:00"
action:
service: opengrowbox.set_target
data:
room: "grow_tent"
humidity: 65Symptoms: OGB not appearing in integrations
Solutions:
# 1. Check logs
grep -i opengrowbox /config/home-assistant.log
# 2. Restart HA
ha core restart
# 3. Check file permissions
ls -la /config/custom_components/opengrowbox/Symptoms: "No devices initialized"
Solutions:
- Check device labels are applied correctly
- Ensure devices are in correct HA area
- Verify device compatibility
Symptoms: VPD shows "unavailable"
Solutions:
- Ensure temperature + humidity sensors exist
- Check sensor labels:
temperature,humidity - Verify sensors are in grow room area
- VPD Control - Understand climate automation
- Device Management - Add more equipment
- Hydroponics - Nutrient management
- AI Optimization - Premium climate control
- Analytics - Growth tracking
- Crop Steering - Automated nutrient profiles
- Integration Installed: OGB appears in HA integrations
- Room Created: Grow area configured
- Environment Set: Plant type and targets configured
- Devices Working: Sensors reading, controls responding
- VPD Active: Climate automation running
- No Errors: Clean HA logs
Your automated grow system is ready! Happy growing! 🌱
Need help? Check the troubleshooting guide or join our community.