High quality content. I'm a computer science student in uni, but without your forum and information package on youtube it would have been hard to make grow light by myself. Understanding how meanwell drivers actually work made everything so simple. This automated dimming and scheduling system is something I will definetly add on my system. I might implement it with arduino since I have one lying around. Thank you for everything you are doing for this community. Kudos to you by chili and tomato grower from Finland.
Hi all, something to add and one thing to correct... Afterwards, I also tested this method on an Inventronics EUD-600S560DT (HLG Scorpion Rspec) and EUD-600S280DT (HLG 600 Rspec) and it worked great. Something I need to correct in the video - at 11:33 I said that it didn't matter which way you plug the dim+ and dim- wires into the output of the optocoupler. This is incorrect. The Inventronics drivers I used did not dim all the way down to off unless I put the Dim- on the optocoupler emitter pin (with the orientation I have it in the video, it would be the top right pin) and the Dim+ on the collector pin (shown top left in video). So, if it doesn't work quite like you expected, try flipping your dim wires on your opto output!
Great as always! I've started to follow along with most of your build and its really exciting to see things come together and my plants love it. Will you be doing a video on how you hacked your AC infinity fan's PWM? Would really be useful as I got the same fan.
Absolute legend bro, I have already got to this point and been waiting for setting up peristaltic pumps, PH, EC and temperature electrodes, waiting for future videos that cover those bits. Please keep it flowing!!! Thanks :)
Thank you so much for these videos. I can't wait for the next one. I'm hoping to set up an automatic hydroponic grower just like yours from watching your videos! :)
I love this video.Thank you LED GARDENER I've built my board with these directions. I'm just wondering for anyone still here.. would a shelly plus 0-10v dimmer now do the same function well 0-10v vs PWM? Just my thoughts I'm planning on testing.
This is exactly what i have been searching for over the last few days. The newer Spiderfarmer SF2000 & SF4000 uses the XLG-240-H-AB drivers. Based on the spec sheet, it looks like your setup will work with these as well. I know the raspberry pi can do PWM signals. Can this be used in place of the ESP? I already run multiple pi's with relays in my greenhouse. Would like to stay with that hardware if possible.
Yeah for sure, you can set up a Pi pin to do PWM in the same way. Voltage will be the same so the same 100 ohm resistor should work. Just set your GPIO pin up for the same 1220 Hz frequency (or close to it) and then find a way to change the duty cycle and that will control your dim. Might want to invert it as well.
@@LEDGardener would be great if you can make similar setup for the pi. I'm sure there are a lot of ppls looking for a solution like that. I have the HLG-600H-54B and will use the esp model, as I want to keep it separate from the main pi which is running the ha server.
The newer SpiderFarmer lights come with the ability to daisy chain and control brightness with a single knob. Plugging a microcontroller like the ESP32 into one of these jacks should allow one to control the brightness as well.
Hi! I made a pcb a while back that would totally fit your usecase. It's designed for a ESP32 to control up to 4 channels of either external meanwell drivers, LDD-H or LDD-L. And I included a lot of optional features like temp sensing for all 4 channels, a BME280 sensor, a light sensor, RTC and two Outputs for 12V PWM Fans. I could send you one or opensource the design files if you're interested...
Your solution worked perfectly for about a year. Unfortunately I am getting constant dropouts eve since. The esp disconnects (becomes unavailable) and when it gets online again the dimming is turned off (so the lights stay dark) :( Any solution what could be wrong here? Tried setting a static ip and eliminate power saving mode, also did all the updates and reinstalled it - no success!
Huge fan of the videos, I was wondering do you think it'd be possible to hook up the raspberry pi noir camera and have a live feed and run it on home assistant? If possible could ypu make a video on that, would be a very cool addition to your automated grow system.
Hey LED Gardner, PI automation Noob & Relative Dummy Here... Firstly, Thank you for producing more phenomenal content as usual. My question: Can I use this setup to dim and schedule 4 HLG 650R's in tandem? Can I simply run all four lights dimming leads (+/-) to a single set of leads, and tie it in to the above configuration?
Does this work coupled with light sensors? For instance, in a light deprivation greenhouse where lights are used to supplement the sun. So the light sensors would measure the light coming in and brighten and dim the lights appropriately in real-time to try and keep a steady level of light at the canopy throughout the day.
@@LEDGardener Im looking for something that is good bang for the buck :) Max 500 usd however. Should fit in an ikea omar shelf so something like 36x92cm. Dimmable with HA looks great like in your video. Thank you!
Nice work :D do you know if it is possible to Connecticut hass io via ethernet and host a wifinetwork directly on the pi to Connecticut WiFi appliances to?
Legend. This channel is superb! Ive just started following along. I havnt seen any soil moisture detection yet? Or have i missed it? I have a little simple system with a cheap capacitive moisture sensor in rock wool but it doesnt seem to be very responsive. Do you have anyinfo/experience with these?? Thanks and keep up the channel its by far the best on this subject! Bob
Thanks. - do you have a video for setting up the weight sensors? Or know of a video tohelp me set them up with home assistant. I want to try use these to tell me the water content of a rockwoolslab sat in a rigid tray. Good idea? Thanks
Yo dude. Sick videos. Really has helped understand more about drivers and leds. However since it my first time building a grow light I just want to make sure this combo would work. From the calculations and specs it seems like it would work. So I was thinking to run 6 x Samsung L2 horticulture on a meanwell hlg 320h-b @6.7a. Any help would much appreciated. Cheers
I’ve been reading up on them a bit and I saw something about having to use a separate programming module to put the particular model I was researching into PWM dimming mode. Not sure if that holds true for all of them.
Thank you very much for sharing such a high value content. It helps me a lot with my greenhouse project. However I have one question regarding the brightness_pct value in JSON file. I am trying to use helper to set this value dynamically (from user input slider) as below: "brightness_pct": msg.payload["input_number.light"] But it shows error "Not valid JSON data" Do you have any advice on this? Thank you
I got it all working mostly...The problem you mentioned about the dimming not working till you get to 50% I get that with the gamma_correct: 1.0 still. Do I just have to adjust that until i get what I need out of it? because little increments on the dimming make big light adjustments and I'd like more fine tuning than that. TIA
I'm trying to mimic what you have done under your personal system but see you have no node-red files. Can you please add them so we can use your system as a reference.
thats amazing , and confusing , would you be able to custom create a code for much simpler setup like temp , ph , water and also do you provide it as a service to buy ?
Man this is awesome😉, could you please send me a picture of the cloudline t6 connection inside the fan? Now lights, humidifier, Nute pumps, ph and ec probes, flooding sensor, float basin sensor, external outlets for the pumps, 12v solenoid are working. I just don't know how to do with the t6 and I have to order a digispark board for the hx711 and do all the plumbing and I am done😉💪
@@LEDGardener so i tryed anyway to wire the t6 like you have done aaaaand it worked XD i just intercepted the small yellow wire in the t6 wire box and invert the high setting number in the esp config with the low one, i have now pwm control over both intake and extraction, the only thing that will not work is power off the t6's since you are not actually cutting power that way but just intercepting the pwm cable, i tink i could wire it up to one of the spare relays in the control box and if i need to power off just cut the power that way..
@@LEDGardener hey mate, please can you tell me how to find the calibration factor for the hx711? i am really desperate :( now its working with the right module but its off by 20kg :( it is the last thing to calibrate..
Do you have a reference for the nodemcu-32s board? Update: Same setup works on nodemcu-32s board on pin 23. What I feel though is that the light on 100% with the pwm is slightly dimmer than without it. Not sure what is causing this. Else I'm able to dim/turn off at 0%.
hey man i have a question, i am starting to check the automations for the nute dose but since i used a cheaper peristaltic pump the 300ms on time for 1 ml does not apply as i tryed and for 1 ml i need 750ms on time, so my question is would change the multiplier in the other script be the appropriate way to go? so just change the multiplier in the 1dosenutes: script?
Have a read through this page of a thread where someone else ran into this problem in the forum for my answer: ledgardener.com/forum/viewtopic.php?p=24471#p24471
@@LEDGardener is it possible to add a delay within the automations so that it waits to test ph again after mixing before adding more ph down? I didn’t see that option so assumed I needed to use mode red
You can just set up an automation that triggers every 30 seconds or minute or whatever and when it triggers, it checks pH and if it’s out of range, it either doses a little blast up or down. A minute later the trigger will fire again and it’ll do the same check. I believe the trigger is called time pattern.
@@LEDGardener thanks I’ve got that working perfectly I just don’t see the option to get the action of turning pump on to last only seconds? It just turns it on for ever
So here's my thing about this. Most of the LED lights have a port to daisy chain them together. SO why not just use that port to interface with the driver?
I've had my grow automated for about a year now using your tutorials. thanks so much. Now I'm adding co2 so I want 2 different temperature targets depending on lights. How can I get the Lights on or lights off call service to change the temperature _target entity? I'm stumped
Maybe add another temp_target input number, use one to set your target when lights are on, the other when lights are off, then you tell node red which one to use based on the state of your lights.
Can I use the same code for my ESP32 as you have with this driver? img80002871.weyesimg.com/uploads/mosopower.cn/addon/15736278104243.pdf I believe I can, but the only thing I don't get is where the 1220hz frequency comes from. Thank you so much for making these videos!
Looks to me like that driver should work fine with this method (seems like it has the same 3-in-1 dimming where it sources power on the dim circuit). The PWM frequency spec on the data sheet is 200Hz to 2000Hz so 1220 is fine.
@@LEDGardener Thank you so much, I just tried it and it's working to dim up and down! Very exciting I'm learning so much following your project. Interestingly, the driver documentation says 0-10v, but when I power the 110v up from my smart plug the light doesn't come on until I go to 6% or above on the Home Assistant light card slider, and then when I go back down to 0% it doesn't turn off, it stays at about the 5% brightness, dimming ever so slightly more if I turn the light card "off." Also, with the 1220hz, is that just the number you picked in between 200Hz and 2000Hz? Or did you choose it based on electrical maths and the dimmer you were using? I was going to try and hook up a AC Infinity Cloudline S4 the way you had hacked the PWM on your AC Infinity PWM fan, and saw the different Hz in your github code you mentioned with regard to the different channels on the ESP32 you talked about in the video. Thanks again!
@@fantasticplastic6170 this page will answer many of your questions: esphome.io/components/output/ledc.html the 1220Hz is one of the recommended frequencies on the list and fits within the spec for most lights. Regarding the light not turning off completely, what happens if you short the 2 dim leads together? Does it turn off? You can set up thresholds for min_power and max_power which might help for the turn on/turn off issues. Check out this page for more info on these: esphome.io/components/output/index.html I picked different frequencies for the fan control based on the freqs I measured when using the default controller it comes with. The new AC Infinity fans are even easier to control as they have actual PWM inputs you can use. The wiring is a bit different. I'm using these new S-series fans in my system now.
@@LEDGardener When I short the wires the light stays completely off. Does that mean my ESP32 is leaking very slight amounts of power to the output pin after it's energized the first time, so when I go to turn it back off again it never goes low enough to completely turn off the diode on the optocoupler? If the min_power defaults to 0 what would I set it to in order to use that to correct the issue, or am I trying the zero_means_zero command? Right now I have two Flows going, where the light smartplug turns on 1 minute before the PWM starts to ramp up and one minute after it finishes ramping down, so it works fine, but I'd love to figure out why it's behaving like it is. Thank you for the links, and for taking the time to answer questions! I definitely understand the frequency thing better now I think, and am going to try and hook up the fan next and ramp it up and down based on temp or humidity based on what I learned here and in the humidity control video
Strange. Does reversing the dim wires on the driver have any effect? I was thinking you could set up the min_power to eliminate the first few percent not turning on the light from the off state, and then doing the zero_means_zero thing.
Absolute legend! Thx again for putting this together - very informative as usual!
Thanks!
High quality content. I'm a computer science student in uni, but without your forum and information package on youtube it would have been hard to make grow light by myself. Understanding how meanwell drivers actually work made everything so simple. This automated dimming and scheduling system is something I will definetly add on my system. I might implement it with arduino since I have one lying around. Thank you for everything you are doing for this community. Kudos to you by chili and tomato grower from Finland.
Nice! Good luck with your Arduino dimming.
Caught the bug. Supposed to be studying for my license exam, but instead I'm automating. Thanks for the vids!
Would you be able to do a video on setting up the weight sensors by any chance?
Hi all, something to add and one thing to correct... Afterwards, I also tested this method on an Inventronics EUD-600S560DT (HLG Scorpion Rspec) and EUD-600S280DT (HLG 600 Rspec) and it worked great. Something I need to correct in the video - at 11:33 I said that it didn't matter which way you plug the dim+ and dim- wires into the output of the optocoupler. This is incorrect. The Inventronics drivers I used did not dim all the way down to off unless I put the Dim- on the optocoupler emitter pin (with the orientation I have it in the video, it would be the top right pin) and the Dim+ on the collector pin (shown top left in video). So, if it doesn't work quite like you expected, try flipping your dim wires on your opto output!
Do you use float switches in your setup at all?
Great as always! I've started to follow along with most of your build and its really exciting to see things come together and my plants love it. Will you be doing a video on how you hacked your AC infinity fan's PWM? Would really be useful as I got the same fan.
I've been googling how to do this for days and finally found your video! Thanks! So helpful
Nice. Hope you get it working.
Absolute legend bro, I have already got to this point and been waiting for setting up peristaltic pumps, PH, EC and temperature electrodes, waiting for future videos that cover those bits. Please keep it flowing!!! Thanks :)
Great tutorial! I will be adapting this for use in my reptile enclosures for sunrise/sunset simulation.
Would really love to see you breakdown the enlite ceres 780
Thank you so much for these videos. I can't wait for the next one. I'm hoping to set up an automatic hydroponic grower just like yours from watching your videos! :)
Thank you SO MUCH for all these informative videos and the detailed parts list! Your setup is exactly what I needed!
I love this video.Thank you LED GARDENER I've built my board with these directions. I'm just wondering for anyone still here.. would a shelly plus 0-10v dimmer now do the same function well 0-10v vs PWM? Just my thoughts I'm planning on testing.
Subscribed. Hoping your next video is about PH/EC sensors and pump setup.
Seconded.
I actually wish that had been video 3, it would have made sense there.
Would love it you could make a guide like this how to control the fan speed of your AC Infinity!
Keep up these amazing vids!
This is exactly what i have been searching for over the last few days. The newer Spiderfarmer SF2000 & SF4000 uses the XLG-240-H-AB drivers. Based on the spec sheet, it looks like your setup will work with these as well. I know the raspberry pi can do PWM signals. Can this be used in place of the ESP? I already run multiple pi's with relays in my greenhouse. Would like to stay with that hardware if possible.
That should work without a problem, but I think you have to recalculate the resistor
Yeah for sure, you can set up a Pi pin to do PWM in the same way. Voltage will be the same so the same 100 ohm resistor should work. Just set your GPIO pin up for the same 1220 Hz frequency (or close to it) and then find a way to change the duty cycle and that will control your dim. Might want to invert it as well.
@@LEDGardener would be great if you can make similar setup for the pi. I'm sure there are a lot of ppls looking for a solution like that.
I have the HLG-600H-54B and will use the esp model, as I want to keep it separate from the main pi which is running the ha server.
You mean a Pi running Home Assistant? Or just a Pi
@@LEDGardener Pi running HA.
Love this series! Would you be able to do one on weight pressure sensors and how you got this information into HA for measuring the water levels?
The newer SpiderFarmer lights come with the ability to daisy chain and control brightness with a single knob. Plugging a microcontroller like the ESP32 into one of these jacks should allow one to control the brightness as well.
Yeah, I think it’d work too. Just need to terminate PWM output to an RJ11 I think
Hi! I made a pcb a while back that would totally fit your usecase. It's designed for a ESP32 to control up to 4 channels of either external meanwell drivers, LDD-H or LDD-L. And I included a lot of optional features like temp sensing for all 4 channels, a BME280 sensor, a light sensor, RTC and two Outputs for 12V PWM Fans. I could send you one or opensource the design files if you're interested...
Sounds pretty badass. What is the temp sensing for?
@@LEDGardener Monitoring/controling the LED panels temperature. Mainly for safety reasons...
Very nice. Which probes do you use?
@@LEDGardener Since I didn't need high precision I just integrated some 0805 ntc's in the LED pcbs...
Would you be able to make a video setting up grow light scheduling with just smart plugs?
Awesome. So awesome
you rock man nice setup!! Waiting for the #8 ;-)
Your solution worked perfectly for about a year. Unfortunately I am getting constant dropouts eve since. The esp disconnects (becomes unavailable) and when it gets online again the dimming is turned off (so the lights stay dark) :(
Any solution what could be wrong here? Tried setting a static ip and eliminate power saving mode, also did all the updates and reinstalled it - no success!
Huge fan of the videos, I was wondering do you think it'd be possible to hook up the raspberry pi noir camera and have a live feed and run it on home assistant? If possible could ypu make a video on that, would be a very cool addition to your automated grow system.
Thank you for doing these videos
Hey LED Gardner, PI automation Noob & Relative Dummy Here... Firstly, Thank you for producing more phenomenal content as usual. My question: Can I use this setup to dim and schedule 4 HLG 650R's in tandem? Can I simply run all four lights dimming leads (+/-) to a single set of leads, and tie it in to the above configuration?
Hi, Hope you could share how you interface the pH meter to HA.
Love your videos!
Does this work coupled with light sensors? For instance, in a light deprivation greenhouse where lights are used to supplement the sun. So the light sensors would measure the light coming in and brighten and dim the lights appropriately in real-time to try and keep a steady level of light at the canopy throughout the day.
question on changing the color spectrum you mentioned color channels how does that work?? using a mars hydro fc e6500
Great as always! What lights do you recommend? I looking at amazon but can't find anything nice.
Space and budget?
@@LEDGardener Im looking for something that is good bang for the buck :) Max 500 usd however. Should fit in an ikea omar shelf so something like 36x92cm. Dimmable with HA looks great like in your video. Thank you!
@@nicklasnilsson8217 Go to alibaba and you'd get the better boards cheaper. All the ones on amazon etc just buy from china and resell.
I did this tutorial with a ESP32 node-mcu. I works but only in a small dimming range. What should I change?
hey man long time no see, i hope you are alright..
Hi, is there a way to integrate ramping without splicing into the meanwell driver wires?
4:40 Hello, how do I know to which frequency i have to set it?
Nice work :D do you know if it is possible to Connecticut hass io via ethernet and host a wifinetwork directly on the pi to Connecticut WiFi appliances to?
Legend. This channel is superb! Ive just started following along. I havnt seen any soil moisture detection yet? Or have i missed it? I have a little simple system with a cheap capacitive moisture sensor in rock wool but it doesnt seem to be very responsive. Do you have anyinfo/experience with these??
Thanks and keep up the channel its by far the best on this subject!
Bob
Thanks! I haven't incorporated it yet since I grow in coco usually and just flood the hell out of it whether it's wet or dry.
Thanks. - do you have a video for setting up the weight sensors? Or know of a video tohelp me set them up with home assistant.
I want to try use these to tell me the water content of a rockwoolslab sat in a rigid tray.
Good idea?
Thanks
Yo dude. Sick videos. Really has helped understand more about drivers and leds. However since it my first time building a grow light I just want to make sure this combo would work. From the calculations and specs it seems like it would work. So I was thinking to run 6 x Samsung L2 horticulture on a meanwell hlg 320h-b @6.7a. Any help would much appreciated. Cheers
Newer hlg models use an inventronics for the driver. Do you know if they support this method? I can't find anything on them about pwm
I’ve been reading up on them a bit and I saw something about having to use a separate programming module to put the particular model I was researching into PWM dimming mode. Not sure if that holds true for all of them.
@@LEDGardener Hmm thanks a bunch, Guess I'll look into that
I’m going to try a 600 Rspec this afternoon and let you know
@@LEDGardener Sweet, looking forward to your results
Ended up trying it on a scorpion rspec. It worked. Driver on this light is Inventronics EUD-600S560DT.
Thank you very much for sharing such a high value content. It helps me a lot with my greenhouse project.
However I have one question regarding the brightness_pct value in JSON file. I am trying to use helper to set this value dynamically (from user input slider) as below:
"brightness_pct": msg.payload["input_number.light"]
But it shows error "Not valid JSON data"
Do you have any advice on this? Thank you
I found the solution: I use automation with this data
brightness_pct: '{{states("input_number.light") | int}}'
Hello, thank you for the very interesting video, why did you use node red for the transitioning, I believe this is also possible with homeassistant
I’m using node red for all automations in this series.
I got it all working mostly...The problem you mentioned about the dimming not working till you get to 50% I get that with the gamma_correct: 1.0 still. Do I just have to adjust that until i get what I need out of it? because little increments on the dimming make big light adjustments and I'd like more fine tuning than that. TIA
Which driver and lights?
I'm trying to mimic what you have done under your personal system but see you have no node-red files. Can you please add them so we can use your system as a reference.
I didn't use any Node Red in my personal build.
is there a way to control a 0-10 v PWM fan?
I have feeling that I'm too stupid to do it. Is there ready to go solution?
thats amazing , and confusing , would you be able to custom create a code for much simpler setup like temp , ph , water and also do you provide it as a service to buy ?
What's confusing about it?
Man this is awesome😉, could you please send me a picture of the cloudline t6 connection inside the fan? Now lights, humidifier, Nute pumps, ph and ec probes, flooding sensor, float basin sensor, external outlets for the pumps, 12v solenoid are working. I just don't know how to do with the t6 and I have to order a digispark board for the hx711 and do all the plumbing and I am done😉💪
Good work. Is it a new T6 or older one? The new ones have an “EC” motor.
@@LEDGardener yeah It is a new one sadly, I have two of them one for the air intake and one for extraction
@@LEDGardener so i tryed anyway to wire the t6 like you have done aaaaand it worked XD i just intercepted the small yellow wire in the t6 wire box and invert the high setting number in the esp config with the low one, i have now pwm control over both intake and extraction, the only thing that will not work is power off the t6's since you are not actually cutting power that way but just intercepting the pwm cable, i tink i could wire it up to one of the spare relays in the control box and if i need to power off just cut the power that way..
@@LEDGardener hey mate, please can you tell me how to find the calibration factor for the hx711? i am really desperate :( now its working with the right module but its off by 20kg :( it is the last thing to calibrate..
Are you using my code for it or something different?
Does anybody know can ı build garden automation system without raspberry?When should i use raspberry?
Should a different resistor be used for a 600w driver? Great videos by the way, thanks!
The output of the driver won’t affect the power on the dimming circuit so no.
Just got one working, thanks again. Quick question though, can I use one esp32 to dim multiple drivers or should I use one esp32 per driver?
Just use the same ESP. Add another resistor, optocoupler, and declare another output and monochromatic light in ESPhome on a separate GPIO pin.
Do you have a reference for the nodemcu-32s board?
Update: Same setup works on nodemcu-32s board on pin 23. What I feel though is that the light on 100% with the pwm is slightly dimmer than without it. Not sure what is causing this. Else I'm able to dim/turn off at 0%.
If you disconnect 1 pin on the output of the opto does it get visibly brighter?
hey man i have a question, i am starting to check the automations for the nute dose but since i used a cheaper peristaltic pump the 300ms on time for 1 ml does not apply as i tryed and for 1 ml i need 750ms on time, so my question is would change the multiplier in the other script be the appropriate way to go? so just change the multiplier in the 1dosenutes: script?
Have a read through this page of a thread where someone else ran into this problem in the forum for my answer: ledgardener.com/forum/viewtopic.php?p=24471#p24471
@@LEDGardener yeah as i thought, you said what i was trying to explain in that page. ;) glad i was not too far off, i tryed a lot before asking XD
Nice
Ahh yes. Big timer. That bugger confused me. Looks like it evolved a bit since I played with it
Wow mind blowed I'm still a newbie lolol
Could you show me your flow for the ezo ph sensor? Within node red? I’m struggling to figure out how to do it myself
Thanks
I didn’t do my system in node red, it’s in my home assistant automations
@@LEDGardener is it possible to add a delay within the automations so that it waits to test ph again after mixing before adding more ph down? I didn’t see that option so assumed I needed to use mode red
You can just set up an automation that triggers every 30 seconds or minute or whatever and when it triggers, it checks pH and if it’s out of range, it either doses a little blast up or down. A minute later the trigger will fire again and it’ll do the same check. I believe the trigger is called time pattern.
@@LEDGardener thanks I’ve got that working perfectly I just don’t see the option to get the action of turning pump on to last only seconds? It just turns it on for ever
Figured it out thanks I thought the actions ran concurrently didn’t realise it was one after the other
The $50m dollar question is...can you swap out an "A" MW for a "B"?
Just put a Phillips head on a servo and use that to tweak the pot 🤣
@@LEDGardener brilliant
A type only dims between 50% and 100% though :(
Good to know because I think I'm burning my plants.
So 50% is still too much. Does the B type drop to 10%?
hey man when you have time i really need an answer, i hope you are ok..
In Germany we say: Ehrenmann
waiting for #8😅
So here's my thing about this. Most of the LED lights have a port to daisy chain them together. SO why not just use that port to interface with the driver?
Thought the same thing but I also have lights that don’t have that port
Дякую! Это круто!)
hey man you should check the forum, there is a gift for you ;)
I've had my grow automated for about a year now using your tutorials. thanks so much. Now I'm adding co2 so I want 2 different temperature targets depending on lights. How can I get the Lights on or lights off call service to change the temperature _target entity? I'm stumped
Maybe add another temp_target input number, use one to set your target when lights are on, the other when lights are off, then you tell node red which one to use based on the state of your lights.
Can I use the same code for my ESP32 as you have with this driver? img80002871.weyesimg.com/uploads/mosopower.cn/addon/15736278104243.pdf I believe I can, but the only thing I don't get is where the 1220hz frequency comes from. Thank you so much for making these videos!
Looks to me like that driver should work fine with this method (seems like it has the same 3-in-1 dimming where it sources power on the dim circuit). The PWM frequency spec on the data sheet is 200Hz to 2000Hz so 1220 is fine.
@@LEDGardener Thank you so much, I just tried it and it's working to dim up and down! Very exciting I'm learning so much following your project.
Interestingly, the driver documentation says 0-10v, but when I power the 110v up from my smart plug the light doesn't come on until I go to 6% or above on the Home Assistant light card slider, and then when I go back down to 0% it doesn't turn off, it stays at about the 5% brightness, dimming ever so slightly more if I turn the light card "off."
Also, with the 1220hz, is that just the number you picked in between 200Hz and 2000Hz? Or did you choose it based on electrical maths and the dimmer you were using? I was going to try and hook up a AC Infinity Cloudline S4 the way you had hacked the PWM on your AC Infinity PWM fan, and saw the different Hz in your github code you mentioned with regard to the different channels on the ESP32 you talked about in the video.
Thanks again!
@@fantasticplastic6170 this page will answer many of your questions: esphome.io/components/output/ledc.html the 1220Hz is one of the recommended frequencies on the list and fits within the spec for most lights.
Regarding the light not turning off completely, what happens if you short the 2 dim leads together? Does it turn off? You can set up thresholds for min_power and max_power which might help for the turn on/turn off issues. Check out this page for more info on these: esphome.io/components/output/index.html
I picked different frequencies for the fan control based on the freqs I measured when using the default controller it comes with. The new AC Infinity fans are even easier to control as they have actual PWM inputs you can use. The wiring is a bit different. I'm using these new S-series fans in my system now.
@@LEDGardener When I short the wires the light stays completely off. Does that mean my ESP32 is leaking very slight amounts of power to the output pin after it's energized the first time, so when I go to turn it back off again it never goes low enough to completely turn off the diode on the optocoupler? If the min_power defaults to 0 what would I set it to in order to use that to correct the issue, or am I trying the zero_means_zero command? Right now I have two Flows going, where the light smartplug turns on 1 minute before the PWM starts to ramp up and one minute after it finishes ramping down, so it works fine, but I'd love to figure out why it's behaving like it is.
Thank you for the links, and for taking the time to answer questions! I definitely understand the frequency thing better now I think, and am going to try and hook up the fan next and ramp it up and down based on temp or humidity based on what I learned here and in the humidity control video
Strange. Does reversing the dim wires on the driver have any effect? I was thinking you could set up the min_power to eliminate the first few percent not turning on the light from the off state, and then doing the zero_means_zero thing.