Automate Your Grow with Home Assistant #7: Dimming & Scheduling Your Grow Light
Published at : 23 Dec 2025
How to dim your Mean Well B-type driver from Home Assistant using an optocoupler. This method should work for other drivers that have a dedicated dimming circuit that accepts a PWM signal and can source its own current on this circuit (tested and working on Inventronics EUD-600SxxxDT series drivers).
- 100 Ohm Resistor: https://amzn.to/3sgfEsJ -You Can probably find the PC817s and resistors far cheaper elsewhere like digikey if you can combine them with a bigger order to make the shipping worth it.
- All Amazon links are affiliate links, which means LEDgardener receives a commission from Amazon if you make a purchase after following the link, at no extra cost to you. Thank you for supporting the channel!
***MY GARDEN AUTOMATION SYSTEM***
***CONTROL BOX***
BUD Industries NBF-32026 Plastic ABS NEMA Economy Box with Solid Door, 15-47/64" Length x 11-51/64" Width x 6-9/32" Height, Light Gray Finish: https://amzn.to/2XnDMgD
ESP32S WiFi Development Board (Handles WiFi communication between control box and Home Assistant server as well as from inside tent to Home Assistant server): https://amzn.to/2JSNdgb
Whitebox Labs Tentacle Shield to Add Atlas Scientific Gear to an Arduino and provide electrical isolation of probes (pH probe needs to be isolated from EC probe): https://amzn.to/3aYVzPl
*** SENSORS ***
BME280 Temperature/Humidity/Pressure Sensors for Tent and Control Box: https://amzn.to/3ed8hMb
Normally-Open 12V Solenoid (Allows water to flow into system until solenoid is activated, which closes it - used for flood protection. Requires 12VDC power supply and 1/4" spade connectors): https://amzn.to/3el7qJI
Sharkbite swivel to attach tubing between 12V solenoid on RO res and 1/2" float valve on nute mix res (requires wormdrive clamp to secure hose to fitting): https://amzn.to/2JVwR6s