Automate Your Grow with Home Assistant #6: Automating Humidity with Node Red & Dashboard Sliders

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025
  • НаукаНаука

Комментарии •

  • @thecertifiedjordan
    @thecertifiedjordan 3 года назад +1

    What an EPIC video. Thanks Bro!! Thank you for sharing details like why your are doing things the way you do and what is the reason for specific tasks. Please never stop making detailed vids like this one!!

  • @АлександрКим-е3м
    @АлександрКим-е3м 2 года назад +3

    I highly recommend to use timers (in esphome or tasmota) as auto off protection. WiFi, BLE and battery powered sensors are not 100% reliable. Imagine a situation you sensor fails or router hangs up when your humidifier (or nutrition pump) is turned on. This is how I ruined lots of salami in my curing fridge before I’ve noticed that my humidifier is constantly turned on. That was a painful lesson.
    Thanks for videos. Your hydroponic system is awesome!

    • @LEDGardener
      @LEDGardener  2 года назад

      Not a bad idea. How have you implemented the timers?

    • @АлександрКим-е3м
      @АлександрКим-е3м 2 года назад +1

      @@LEDGardener I have no experience with esphome, but I am pretty sure it can be done by adding "switch.on_turn_on" trigger with 2 actions "delay: XX seconds/minutes" and then "switch.turn_off". Now you have 100% guarantee that your humidity or EC won't go over your desired level.
      P. S. Remember about Murphy's law and be prepared. )

  • @markkozik7963
    @markkozik7963 4 года назад +4

    Amazing that you started programming ANYTHING only 6 months ago !

    • @LEDGardener
      @LEDGardener  4 года назад +3

      Thanks, Mark. Learning to program is something that I've wanted to do for years and years and when I finally decided to start, I got TOTALLY sucked in. I wish I'd have done this 10 years ago.

    • @joachimbates5370
      @joachimbates5370 4 года назад +1

      @@LEDGardener awesome awesome! I’ve been dabbling with some code and hardware on 3D printers for the last year and feeling comfortable to approach an aquaponic greenhouse automation build with similar systems to what you’ve used. Would you mind sharing any resources (books, channels, forums, courses) that have assisted you in your journey.
      And as always. You’re killing it!

    • @CC-jy4gr
      @CC-jy4gr 3 года назад

      @@joachimbates5370 word this!

  • @almostcompost2285
    @almostcompost2285 4 года назад +4

    Thank you so much for putting this together! I have watched a handful of other Node Red tutorials and had trouble trying to translate what they were doing to achieve what I wanted to do. This example sets the groundwork for a lot of garden automations, so I feel more confident now that I can get something useful working. Node Red is very powerful and is used in IoT applications outside of HA, so I think it's a valuable platform to learn even if HA's built-in automation modules (and new blueprints) would have worked just fine.
    Anyway, thank you for helping us get past the initial learning curve!

    • @LEDGardener
      @LEDGardener  4 года назад +2

      Hey compost, this is great to hear. I was bummed when I saw blueprints come out after I decided to go the NR route since they’d be perfect for this application but I guess since NR flows can be exported and imported, it’s not that much more difficult for someone to plug their entities in and have an easy way to use other people’s automations.

  • @amintaleghani2110
    @amintaleghani2110 3 года назад

    @LED Gardener, Excellent video, very helpful. Thanks a lot for taking the time putting these useful info together. Keep the good work up.

  • @doriancreber7139
    @doriancreber7139 Год назад

    Thanks for this.. was looking wher eto get started with Node Red and a temperature controlled switch.. this was easily adapted!

  • @bretthouser13
    @bretthouser13 4 года назад

    Thanks for the update. Love the slider helpers. I was wondering about that. I just ended up moving over the NR ph control and love it. I struggled hard with understanding other NR videos but you explained it well. Hopefully there's more to come.

    • @LEDGardener
      @LEDGardener  4 года назад

      Cheers. How's the ESP32 doing? Any dropouts with the fresh one and the level shifter?

    • @bretthouser13
      @bretthouser13 4 года назад

      The new Esp is running flawlessly on wifi with a voltage divider. And I finally got the atlas stamp stable for 4 days now. I switched to Uart protocol and scrapped the i2c. I'll post on the forum when its been a week of stability.

  • @raymondsiew1696
    @raymondsiew1696 Год назад

    Thank you for the video! I can follow step by step. You sare awesome!

  • @DesertGardenPrepper
    @DesertGardenPrepper 4 года назад

    I can't thank you enough for this video. I just purchased the ruuvi sensors that I have had my eye on for some time as a possible solution to my HA environment goals. That in itself was in interesting experience, and pretty impressive, tbh. Less than a week from Helsinki Finland via DHL when FedEx can't seem to deliver something from the states in the same time, lol.
    Just followed your instructions, and it all worked perfectly on the 2nd try... All I had to do was change some names in the functions node to get it to work, but I understood why and how with your brilliant explanation of an if variable.
    I also have never programmed a line of code, other than a bit of html and lately yaml, even though I have been doing IT support for the last 20 years, so I feel pretty confident around computers but pretty intimidated around any programming. You have taught this old dog some new tricks. When I ran my slider back and forth and heard the switch turn on and off, I was blown away. What you are doing is an answer to my prayers.

  • @LakeCruiser1
    @LakeCruiser1 2 года назад

    Thanks for the helpful and informative video. I'm using your info to automate my 250 gallon Smoker Trailer. There may be a better and easier way but at least yours works! Keep up the good work.

  • @VGAMOTION
    @VGAMOTION 4 года назад +1

    It would be amazing if you explained how to control a meanwell dim driver with esp32, Home Assistant ... Thanks for the previous videos I'm following all of them.

  • @MattGarver
    @MattGarver 4 года назад

    Great granular step by step instructions! Pretty soon you will be able to program that a robot to do your daily job, so you can spend more time with the fun stuff.

    • @LEDGardener
      @LEDGardener  4 года назад +2

      If you can’t tell by my monotonous voice, I AM the robot

  • @rogerramjet1038
    @rogerramjet1038 4 года назад

    Thanks again for these videos, they are a really useful reference, much appreciated!

  • @FlyingRossolini
    @FlyingRossolini 4 года назад +4

    Great vid, clean concise and to the point, nicely done! So, looks like SSIS and acts like PLC ladder logic, gotcha :) Will you (or have you already) shared your DIY plans for the humidifier?

    • @LEDGardener
      @LEDGardener  4 года назад +6

      Thanks! The humidifier is just a small tote from Home Depot with an ultrasonic fogger in it. Water is fed into the tote through a float valve that keeps it topped up to the perfect level for the fogger to produce mist. I have a PC fan siliconed into the white 90 degree elbow that blows air through and forces the mist up that black pipe which is a sink tail piece.

    • @bretthouser13
      @bretthouser13 4 года назад

      House of Hydro makes the best ultrasonic fogger. Kind of pricy but totally worth it.

    • @FlyingRossolini
      @FlyingRossolini 3 года назад

      Any plans for part 7 with the Atlas + Arduino + HA setup and config?

    • @hernadibotond
      @hernadibotond 3 года назад +1

      @@FlyingRossolini I recommend you to buy the Hydroponics kit what atlas scientific currently offering. For EC 0.1 and buy the golden PH probe separetly for more accuracy. ESP add-on in the HA, and you are basically ready to go. You gonna have EC, PH, and Temperature.

  • @cmcferin
    @cmcferin 4 года назад +1

    Another awesome video, thank you so much. I have been working directly in Node Red and others instead of using Home Assistant but now I am wondering if I should rethinking my strategy. BTW, in the debug area of node red, when you mouse-over a part of payload, there is option to "Copy Path" which is really hand for copying the full payload path for dropping into functions. Thanks again for all the amazing content and on Boxing Day no less!

    • @LEDGardener
      @LEDGardener  4 года назад +1

      Nice, thanks for the tip! How are you getting data into NR currently?

    • @cmcferin
      @cmcferin 4 года назад +1

      @@LEDGardener I'm using MQTT and some native calls from the Raspberry Pi for some sensors connected to the GPIO. I also run rtl_433 > MQTT to pull in 14 other indoor and outdoor sensors 433 MHz sensors and drop them into an InfluxDB database and output then to Grafana. I am just learning all of this and kind of trying things out as I go. My automation through the ESP32 to control relays, output to an OLED display, and other work for my grow tent is still sitting on my desk while I build my new tent area in the garage.

    • @LEDGardener
      @LEDGardener  4 года назад +1

      That’s awesome! A lot of people use the influx and Grafana add-ons in home assistant as well.

    • @cmcferin
      @cmcferin 4 года назад +1

      I have started looking at this more as well and think it might be a lot easier. For example, your threshold implementation in this video is so much easier than trying to do it in Node-Red!

    • @LEDGardener
      @LEDGardener  4 года назад

      Cool. I look forward to more pro tips for NR.

  • @dreamvisionary
    @dreamvisionary 4 года назад +2

    I know lots of people find writing automations easier in Node Red but personally I find the built in automation editor in Home Assistant to be easier.

    • @LEDGardener
      @LEDGardener  4 года назад +2

      So far, I would totally agree with you. My personal system is all done through HA. Once you understand how to template, it gets way easier, eh?

    • @dreamvisionary
      @dreamvisionary 4 года назад +2

      @@LEDGardener, yes and I suspect that the new Blueprints will help with this sort of stuff too as more people start adding to them.

    • @SlayerMtg
      @SlayerMtg 3 года назад

      @@LEDGardener Ya man, if your taking a vote I think a video about using templates and blue prints would be beneficial. Specially since alot of your code in your github have templates. Cheers!

  • @beicel
    @beicel 3 года назад +3

    Hi, can you tell me how much money did you put in into this Hydroponics project, cca?! Thank you!

  • @n27-c9l
    @n27-c9l 4 года назад +4

    this is the best cristmas gift u could make me i am crying, thx mate still watching but already liked. see you in discord ;)

    • @LEDGardener
      @LEDGardener  4 года назад +3

      Home assistant makes me cry sometimes but for different reasons

    • @n27-c9l
      @n27-c9l 4 года назад +1

      @@LEDGardener hahahahhaha me too🤣😂🤣 today I could access it but not edit files and had to install another Firefox version or I got 401 not allowed to the file editor and esp tab

    • @LEDGardener
      @LEDGardener  4 года назад +1

      Strange. Working now?

    • @n27-c9l
      @n27-c9l 4 года назад +1

      @@LEDGardener yeah just logging from another browser worked and I didn't had the problem with the phone or tablet just the browser on the machine running home assistant and using the local address not external one

    • @DesertGardenPrepper
      @DesertGardenPrepper 4 года назад

      @@n27-c9l if logging in from another browser works, it tells me that clearing the cache and web data from my favorite browser also works to get me back in after an update to HA

  • @MidwayMaiTais
    @MidwayMaiTais 3 года назад

    Incredible teaching. Thank you. New subscriber.

  • @studi0z
    @studi0z 4 года назад

    Spectacular !

  • @andredruyts6118
    @andredruyts6118 2 года назад

    Vey well done. Thanks. :)

  • @ValZakharov
    @ValZakharov 3 года назад

    Hey Dude! Thanks for great video, I followed it fully and built perfectly working flow that manages switching on and off heather radiator based on the temp slider that I'm setting on and temp sensor that tells to radiator when to turn on and off. Fantastic job! Now I bought and setup simple Tuya window sensors (for left and right windows in the room) from Aliexpress and would like to add them into the flow so that if window is left open (either one or both) - not to turn my radiator on and if it's closed - to keep performing normal operation. Could you hint me where in the flow to place my window sensors? Thanks a mill!

    • @LEDGardener
      @LEDGardener  3 года назад +1

      Maybe you could feed the state of the windows into the join node and then add logic in the function block to say their state must both be closed in order for the rad turn on signal to pass.

    • @ValZakharov
      @ValZakharov 3 года назад

      @@LEDGardener Thank you, will try soon.

  • @Cannanadian
    @Cannanadian 4 года назад

    Awesome vids as always man

  • @pieterlloyd4526
    @pieterlloyd4526 3 года назад

    Hey man, awesome on doing this videos, i cannot even start on explaining how much i learned from you. I have setup everything except the dosing cannot wait for the rest of your videos going on with node red. I need to finish that. I am struggling to create more helpers like a temperature target i did the exact same as the humidity but when i try to add it by node red it does not show there. Can you help me in the right direction with that maybe then i can carry on. Are you going to do a video of the dosing config as well on node red?

  • @cory3640
    @cory3640 4 года назад

    Thank you very much for making this series of videos. I have been following along. I'm going to replace my Blynk grow automation with HA. Will you make a future video that shows Atlas PH probe sensor integration. And how to call calibration from HA?

    • @LEDGardener
      @LEDGardener  4 года назад

      I doubt many people have the sensors so I’m not sure I will. I’m happy to help you figure yours out though.

  • @bjeanes
    @bjeanes 2 года назад

    Do you have details on the humidifier you've got/built there? I am using a 6L one but it'd be awesome to have a big tub like you have (that I can have a _de_humidifier drain into, too)

    • @LEDGardener
      @LEDGardener  2 года назад +2

      It's a Home Depot tote that's fed by a float valve. Inside is an ultrasonic fogger that sits on a float to keep it at the right depth below the water level. I use a 12V computer fan on a 90 degree PC elbow to blow air through and force the mist out another pipe and into the room.

    • @bjeanes
      @bjeanes 2 года назад

      @@LEDGardener cool. I'd love to hear more about this piece in an upcoming video if you get the chance, but I'll do some research on ultrasonic foggers and see what I can come up with!

  • @MaksAMD
    @MaksAMD 3 года назад

    is there a way to add a small widow on that monitor to show like a webcam of the grow tent too? like a widget

    • @LEDGardener
      @LEDGardener  3 года назад

      Yup, you can add a camera component. I have not played with it yet so I'm not sure how it shows up/updates itself on your dashboard, whether it's just a still image that you need to click on to view video, or if it updates itself every X seconds or something. This is a pretty popular request though it seems for people's grow.

  • @alaaelmahdy
    @alaaelmahdy 4 года назад

    i wish you can do a series about integration between Arduino and HASSio and how you integrate the PH and EC sensors with them

    • @LEDGardener
      @LEDGardener  4 года назад

      Feel free to check out the code on my GitHub repo in description

  • @jamess1787
    @jamess1787 4 года назад +1

    Amazing!

  • @ljohnso16
    @ljohnso16 3 года назад +1

    where is the node red export?

  • @divestor
    @divestor 4 года назад +2

    gr8 stuff

  • @n27-c9l
    @n27-c9l 4 года назад +1

    done and everything works as intended, but could you do a quick video on how to take an average reading from 2 bme280 like we have on the tent esp? after all the work it would be a shame to use just one XD

    • @LEDGardener
      @LEDGardener  4 года назад +1

      in ESPHome config for the esp that you have your BMEs on, add an "id" line for both temps and both humidities (should be adding 4 lines) like shown below. Make the ids all lower caps, no spaces, starting with a letter. Then add 2 template sensors like I did at the bottom and use these sensors as your averages.
      sensor:
      - platform: bme280
      temperature:
      name: "Tent Temp"
      id: tent_temp_id
      filters:
      - offset: 0.0
      humidity:
      name: "Tent Humidity"
      id: tent_humidity_id
      filters:
      - offset: 0.0
      address: 0x76
      update_interval: 30s
      - platform: bme280
      temperature:
      name: "Tent Temp_2"
      id: tent_temp_id2
      filters:
      - offset: 0.4
      humidity:
      name: "Tent Humidity_2"
      id: tent_humidity_id2
      filters:
      - offset: 4.0
      address: 0x77
      update_interval: 30s
      - platform: template
      name: "Tent Avg Temp"
      lambda: |-
      return ((id(tent_temp_id).state) + (id(tent_temp_id2).state)) / 2;
      update_interval: 35s
      - platform: template
      name: "Tent Avg Humidity"
      lambda: |-
      return ((id(tent_humidity_id).state) + (id(tent_humidity_id2).state)) / 2;
      update_interval: 35s

    • @n27-c9l
      @n27-c9l 4 года назад

      @@LEDGardener done and works like a charm, the only thing is that in node red i could not find the
      sensor.tent_avg_humidity in the current state node list but just writing the exact template name works ;) thx a lot

    • @LEDGardener
      @LEDGardener  4 года назад

      Probably just needed to restart home assistant or reboot your device. I found that I had to do an actual reboot of the Pi yesterday for an entity to show up, so you can try that as well. Go to supervisor, system, reboot. Should show after that.

    • @n27-c9l
      @n27-c9l 4 года назад

      @@LEDGardener you are right, I haven't rebooted the machine in a while and just tried to reboot the server wasn't enough, now it shows in the entity list of the node red node😉

  • @redherring2115
    @redherring2115 2 года назад

    Hey thanks for this awesome video, everything is working perfectly except one thing. When I turn my target slider way down to make the "switch off" call service activate, nothing happens but when the slider is super high the "switch on" service works perfectly. I've copied the code you wrote for the functions perfectly with no errors but can't for the life of me get the function to turn off the TP link outlets.

  • @matteobartoli96
    @matteobartoli96 3 года назад

    Great video!!!!!!

  • @jonnyappleseed9992
    @jonnyappleseed9992 3 года назад

    oh man if you could tie this to control based on VPD instead of off of RH you would be a hero

    • @LEDGardener
      @LEDGardener  3 года назад

      I have some sensors sitting on my desk that I'm going to use to build my own little VPD measurement sensor to do exactly this!

  • @ridergami6821
    @ridergami6821 2 года назад

    Hi, thanks for your great tutorial! i need your help on my systems need.
    I set maximum my soil moisture to 70% and minimum soil moisture to 30%. I need to set it once it reach 70%, there are no more irrigation until it reach minimum level, when it reach minimum level, it will irrigate until it reach 70%... can you help me.
    Thanks from Malaysia

  • @AlphaFitz
    @AlphaFitz Год назад +1

    Antdisestabihmentarianismists Unite!

  • @tylerruby1061
    @tylerruby1061 4 года назад

    How often do you change out your water? Or do you just top it up and calibrate your ph levels?

    • @LEDGardener
      @LEDGardener  4 года назад

      I change it out every 1-2 weeks depending how ambitious I’m feeling that weekend

  • @egrantocr
    @egrantocr 4 года назад

    Hi i'm not sure if you know but ESP-home dev now support Atlas sensors
    (is not the topic of the video but i was looking your code on git)

    • @LEDGardener
      @LEDGardener  4 года назад

      That’s awesome isn’t it?

  • @imamalmaturidi3996
    @imamalmaturidi3996 Год назад

    Ph part ?

  • @chroniccare409
    @chroniccare409 4 года назад +1

    Wondering if you’d help me get my automation off the ground. I’ve been into all your videos and I’m super interested. I’ve been buying all these part and pieces but it got so overwhelming that is basically all in a pile that looks like junk😞

    • @LEDGardener
      @LEDGardener  4 года назад +1

      I'm always strapped for time but do my best to help people out when I get a minute. I'm sure I can get you on the right path. Go to my "about" page on my youtube profile and send me an email with what you're stuck on.

    • @chroniccare409
      @chroniccare409 4 года назад

      @@LEDGardener I don’t have a desktop so I was trying to use a iPad via VNC viewer but I can’t get it to work

  • @snava360z334
    @snava360z334 4 года назад +1

    Do you know, how to convert any LED grow light into a solar powered grow light.

    • @LEDGardener
      @LEDGardener  4 года назад +5

      I’m gonna hazard a guess and say “add solar panels”

    • @Cannanadian
      @Cannanadian 4 года назад

      Put the plants outside?

    • @bretthouser13
      @bretthouser13 4 года назад

      Off the grid solar kit.

  • @simonsparks6959
    @simonsparks6959 3 года назад

    Your Humidity Logic will NOT do anything if the value is exactly 50

  • @whofarted9376
    @whofarted9376 4 года назад

    Just a dumb off topic question? When you grow peppers indoors: Do you get a constant harvest of peppers?