Děkuji za vaše videa, poznal jsem nove věcí, v tuto chvíli take stavim na baraku homeassistant, žijeme blízko vás ( :) ), možná se někdy potkáme v pivovarskem dvore :) na pivo :)
Nice video. I am in the middle of planning my own diy irrigation system and wanted to make use of the 4Ch Pro already, this approach with the screen takes it to another level. Thank you for sharing. Very cool setup!
By far the coolest sonoff DIY mod I ever seen. Very cool 👍 , Unfortunately, I wouldn't be building one because I have a 12ch Orbit Byhve purchased recently.
Very interesting video. Im going to order the Sonoff 4CH for my garden irregation too. Thank you for the tutorial. Looking forward to the Nextion video. :)
I made one using an ESP32 and a board with 8 relays. Where I live we have watering restrictions based on the season. I used the automation in ESPHome to set the schedule instead of using Google calendar. It is actually much simpler. It consists of three on_time calls with different month and day parameters that run a script to cycle the sprinklers. I also interlocked the relays so that turning one on will turn off the one that was already running.
I just started using ESPHome on my Home Assistant setup, and found your irrigation write up. I have been fighting with my old system so I decided to try one like you made. I already had all of the hardware, but had done much with them. One thing that I did find was that the Nextion basic display seem to work fine on 3.3 vdc and I already had the header pins installed to flash Tasmota several years ago. The display only pulls 90 milli-amps at 100% brightness. Thanks
The only thing I do is, I control the circulation pump, and I vary the start and stop time, based on the water temperature (increasing the time with increasing temperature). And I control the lights. But that's it. It is desjoyaux pool that has a textile filter. So no sophisticated control of filtering or chemicals. I thought I'd add a Ph sensor, but from what I've read, it has to be calibrated all the time, so I gave up and do that manually once a week or so. But would definitely welcome any ideas and suggestions....
I just ran across your video, lots of great information, great job, I'm just starting out with HA but have 2 sonoff pro4's is there a way to program a light sensor to turn off the display when the cabinet door is closed?
Excellent video. It's inspired me to do something similar for a heating controller. I'm curious why you didn't chose to run it from the mains supply and use the Sonoffs on board 5V to power the Nextion?
Diky za inspiraci, zrovna resim pripojeni nextion displeje k ovladani bazenu na zahrade (sonoff duo pro cerpadlo fitrace a cerpadlo solarniho ohrevu + 3 teplotni cidla). Netusil jsem, ze bych mohl displej pripojit rovnou na desku s rele(a vypnout logger a zapnout uart). Ale teploty bych pak musel resit jeste treba pres wemos, ze.
Thanks for share your work!!! I am ordering parts to make somethig similar, but I have doubts what FTDI to buy. Vaclav, can you please recommend me one?
I did not really do any reseach here, I use a generic FTDI card. Mine has both 3.3 and 5V, so the only think I have to do is to make sure I use the right voltage. Not sure what else is there to decide upon? Perhaps some auto-switch to programming mode function?
Great. The automations are nothing special, really. I basically trigger them from the Google Calendar. And I have number of simple conditions from rain sensor - today, last 3 days, and the rain forecast. Before turning it of, I set the ESPHome timer, that should turn it off. And to doubke-secure that, I do that also from the calendar event. Just to make sure the water does not keep running. And it never did. - alias: Zavlazovani kalendar1 on trigger: platform: state entity_id: calendar.zavlazovani1 to: 'on' condition: - condition: state entity_id: input_boolean.automation_zavlazovani state: 'on' - condition: numeric_state entity_id: sensor.uhrn_srazek_3_dny below: 10 - condition: numeric_state entity_id: input_number.srazky1 below: 5 - condition: numeric_state entity_id: sensor.uhrn_srazek_dnes below: 5 - condition: numeric_state entity_id: sensor.today_srazky below: 5 - condition: state entity_id: input_boolean.zavlazovani_zapnuto_last_24h state: 'off' action: - service: esphome.zavlazovani_set_time_1 data_template: time: "{{ (as_timestamp(state_attr('calendar.zavlazovani1','end_time')) - as_timestamp(now())) | int }}" - service: switch.turn_on entity_id: switch.zavlazovani_rele_1 - alias: Zavlazovani kalendar1 off # just to make sure - it should be turned off by the timer trigger: platform: state entity_id: calendar.zavlazovani1 to: 'off' action: - service: switch.turn_off entity_id: switch.zavlazovani_rele_1
Great video. Thank you. I found two models of sonoff 4CHPRO. The 4CHPROR2 and the 4CHPROR3. Which one do you use? The 4CHPROR3 is compatible with your code?
Muzu se jeste zeptat, jak funguje ten widget s prackou a susickou? Hadam, ze mate asi nejakou smart verzi, ktera to podporuje. Mam 2 roky starou pracku a susicku, mobilni aplikaci nemaji, ale presto bych rad ziskal info o tom ze je prani hotove nebo dosuseno. Mame je toriz v jinem patre a neustale na to zapominame. Dekuji za tip.
Pripojeno do chyre zasuvky, ktere meri spotrebu. Susicka byla jednoducha. U pracky spotreba moc neodpovidala rezimu, to jsem chvili ladil a kombinowal power a power factor. Mam to stejne, kdyz je vyprano nebo ususeno, oznami mi to Google Home v obyvaku.
No. It is inside the enclosure, so I hope humidity is not an issue. Not sure about the temperature rating (but I do not often irigate the garden when it is freezing, in fact, I flush the system in autumn) ;)
Ano. A to asi zalezi na typu sprinkleru a privodu vody, to ma Gardena na strankach asi. Ja mam na jedne vetvi 2-3 sprinklery (ale jsou to velke T-200 myslim, mensich sprinkleru by tam urcite mohlo byt vic). Gardena na to mela nejaky webovy nastroj, kde si to clovek mohl naklikat, a ono mu to reklo kolik jakych sprinkleru muze kde mit a jak je muze kombinovat (ne kazdy jde kombinovat s libovolnym jinym)
I use DaVinci Resolve - the animations are done in Fusion. I did the explanation in Inkscape, imported to Fusion as SVG, and animated there. The HA subtitle is the same - except I made it a Fusion title so that I can easily re-use that.
Good job. How did you connect the Sonoff and the Nextion physically, i.e., which pin to which pin? And how did you set up the Tasmota Module parameters, i.e., GPIO1 to Serial TX (148)?
I connect 5V to 5V, GND to GND, RX to TX and TX to RX. I am sorry if I forgot to mention that. I do not use Tasmota but Esphome. Check the last video on displays.
@@bruxy70 Thanks for your reply. How to connect the 4CHPRO3 to install the YAML file. I assume I missed that part. By the way, the chipset of my Sonoff switch is ESP8285.
Nop. Normal sonoff would send the phase to the valves (240/110V AC), I do not think there are any valves that would use that. Sonoff 4ch Pro has 4 relays with galvanically isolated contacts, so they connect the middle Common contact with the NO contact. But it does not have to be Sonoff, you could use an Arduino circuitry with 4 relays.
Děkuji za vaše videa, poznal jsem nove věcí, v tuto chvíli take stavim na baraku homeassistant, žijeme blízko vás ( :) ), možná se někdy potkáme v pivovarskem dvore :) na pivo :)
Nice video. I am in the middle of planning my own diy irrigation system and wanted to make use of the 4Ch Pro already, this approach with the screen takes it to another level. Thank you for sharing. Very cool setup!
By far the coolest sonoff DIY mod I ever seen. Very cool 👍 , Unfortunately, I wouldn't be building one because I have a 12ch Orbit Byhve purchased recently.
Amazing video! Was exactly looking for something like that for my future garden. Thanks!
Very interesting video. Im going to order the Sonoff 4CH for my garden irregation too. Thank you for the tutorial. Looking forward to the Nextion video. :)
I made one using an ESP32 and a board with 8 relays. Where I live we have watering restrictions based on the season. I used the automation in ESPHome to set the schedule instead of using Google calendar. It is actually much simpler. It consists of three on_time calls with different month and day parameters that run a script to cycle the sprinklers. I also interlocked the relays so that turning one on will turn off the one that was already running.
Hello can you share your solution ? :) Do you have it on github by any chance ?
I just started using ESPHome on my Home Assistant setup, and found your irrigation write up. I have been fighting with my old system so I decided to try one like you made. I already had all of the hardware, but had done much with them. One thing that I did find was that the Nextion basic display seem to work fine on 3.3 vdc and I already had the header pins installed to flash Tasmota several years ago. The display only pulls 90 milli-amps at 100% brightness. Thanks
Nice job! I'm waiting for display video :)
10 out 10 bro Nice one Like how you added the screen :)
Amazing project.. i have to try at home and tks
No teda já zírám. Máme našeho českého doktora Zzs :) mě teda tohle všechno ještě čeká v budoucnu, ale už teď trénuju na bytě s malými okruhy.
Nice, going to do something like this in the future. Thanks!
Maybe also add soil humidity sensors so you don't over waste water?
Good idea. I read somewhere they do not last too long, though. And the rain sensor works quite well.
This was a great video. I would love to also see a video on your pool automation.
The only thing I do is, I control the circulation pump, and I vary the start and stop time, based on the water temperature (increasing the time with increasing temperature). And I control the lights. But that's it. It is desjoyaux pool that has a textile filter. So no sophisticated control of filtering or chemicals. I thought I'd add a Ph sensor, but from what I've read, it has to be calibrated all the time, so I gave up and do that manually once a week or so. But would definitely welcome any ideas and suggestions....
Awesome bro, love this
Great job. Thank you
I just ran across your video, lots of great information, great job, I'm just starting out with HA but have 2 sonoff pro4's is there a way to program a light sensor to turn off the display when the cabinet door is closed?
May be good idea to think about air purifier and human comfort especially the covid19 has changed everything.
Thanks a lot.
Excellent stuff like always.
Just a suggestion, please turn down the volume of your intro, it blasts my speakers :D
Noted!
Excellent video. It's inspired me to do something similar for a heating controller. I'm curious why you didn't chose to run it from the mains supply and use the Sonoffs on board 5V to power the Nextion?
Diky za inspiraci, zrovna resim pripojeni nextion displeje k ovladani bazenu na zahrade (sonoff duo pro cerpadlo fitrace a cerpadlo solarniho ohrevu + 3 teplotni cidla). Netusil jsem, ze bych mohl displej pripojit rovnou na desku s rele(a vypnout logger a zapnout uart). Ale teploty bych pak musel resit jeste treba pres wemos, ze.
Asi bych pak koupil relé. Vše řešil přes Wemos, nebo něco takového.
Man that was clever thanks
Great Video!
Thanks for share your work!!!
I am ordering parts to make somethig similar, but I have doubts what FTDI to buy.
Vaclav, can you please recommend me one?
I did not really do any reseach here, I use a generic FTDI card. Mine has both 3.3 and 5V, so the only think I have to do is to make sure I use the right voltage. Not sure what else is there to decide upon? Perhaps some auto-switch to programming mode function?
Just curious, how do you stop your 'auto script' while it is running in the middle. I have to to add a 'stop button' to terminate my running program.
Great video, thanks! Parts ordered! Can you share your HA code for the scripts and automations?
Great. The automations are nothing special, really. I basically trigger them from the Google Calendar. And I have number of simple conditions from rain sensor - today, last 3 days, and the rain forecast.
Before turning it of, I set the ESPHome timer, that should turn it off. And to doubke-secure that, I do that also from the calendar event. Just to make sure the water does not keep running. And it never did.
- alias: Zavlazovani kalendar1 on
trigger:
platform: state
entity_id: calendar.zavlazovani1
to: 'on'
condition:
- condition: state
entity_id: input_boolean.automation_zavlazovani
state: 'on'
- condition: numeric_state
entity_id: sensor.uhrn_srazek_3_dny
below: 10
- condition: numeric_state
entity_id: input_number.srazky1
below: 5
- condition: numeric_state
entity_id: sensor.uhrn_srazek_dnes
below: 5
- condition: numeric_state
entity_id: sensor.today_srazky
below: 5
- condition: state
entity_id: input_boolean.zavlazovani_zapnuto_last_24h
state: 'off'
action:
- service: esphome.zavlazovani_set_time_1
data_template:
time: "{{ (as_timestamp(state_attr('calendar.zavlazovani1','end_time')) - as_timestamp(now())) | int }}"
- service: switch.turn_on
entity_id: switch.zavlazovani_rele_1
- alias: Zavlazovani kalendar1 off # just to make sure - it should be turned off by the timer
trigger:
platform: state
entity_id: calendar.zavlazovani1
to: 'off'
action:
- service: switch.turn_off
entity_id: switch.zavlazovani_rele_1
@@bruxy70 awesome, thank you! What about the script you fire from the ESPHome code?
Great video. Thank you. I found two models of sonoff 4CHPRO. The 4CHPROR2 and the 4CHPROR3. Which one do you use? The 4CHPROR3 is compatible with your code?
Muzu se jeste zeptat, jak funguje ten widget s prackou a susickou? Hadam, ze mate asi nejakou smart verzi, ktera to podporuje. Mam 2 roky starou pracku a susicku, mobilni aplikaci nemaji, ale presto bych rad ziskal info o tom ze je prani hotove nebo dosuseno. Mame je toriz v jinem patre a neustale na to zapominame. Dekuji za tip.
Pripojeno do chyre zasuvky, ktere meri spotrebu. Susicka byla jednoducha. U pracky spotreba moc neodpovidala rezimu, to jsem chvili ladil a kombinowal power a power factor. Mam to stejne, kdyz je vyprano nebo ususeno, oznami mi to Google Home v obyvaku.
@@bruxy70 Super napad. Rikal jsem zene neco podobneho, ale tohle je super jednoduche. Dekuju za inspiraci.
One question: did you use special power supply for 5V, with IP rating? Something to protect from humidity and frost?
No. It is inside the enclosure, so I hope humidity is not an issue. Not sure about the temperature rating (but I do not often irigate the garden when it is freezing, in fact, I flush the system in autumn) ;)
Dobry den, ty ventily jsou take od gardeny? Kolik sprinkleru utahne jedna vetev?
Ano. A to asi zalezi na typu sprinkleru a privodu vody, to ma Gardena na strankach asi. Ja mam na jedne vetvi 2-3 sprinklery (ale jsou to velke T-200 myslim, mensich sprinkleru by tam urcite mohlo byt vic). Gardena na to mela nejaky webovy nastroj, kde si to clovek mohl naklikat, a ono mu to reklo kolik jakych sprinkleru muze kde mit a jak je muze kombinovat (ne kazdy jde kombinovat s libovolnym jinym)
Nice and technical videos 👍
How do you create your in video animations? (Home Assistant, etc)
I use DaVinci Resolve - the animations are done in Fusion. I did the explanation in Inkscape, imported to Fusion as SVG, and animated there. The HA subtitle is the same - except I made it a Fusion title so that I can easily re-use that.
Zdravím,
umí Z-rain poslat rychlou notifikaci, jakmile začne pršet? Díky za info.
Nevidim to tam. V minulosti tam byl binarni sensor, ted ho tam ale nevidim. Kazdopadne muzu udelat automatizaci kdyz se zmeni intenzita srazek z 0...
Good job. How did you connect the Sonoff and the Nextion physically, i.e., which pin to which pin? And how did you set up the Tasmota Module parameters, i.e., GPIO1 to Serial TX (148)?
I connect 5V to 5V, GND to GND, RX to TX and TX to RX. I am sorry if I forgot to mention that. I do not use Tasmota but Esphome. Check the last video on displays.
Are valves working with DC power or AC? If they work with AC is it ok to use DC power instead?
DC. But the Pro has galvanically isolated relays. So does not matter.
@@bruxy70 Thanks for your reply. How to connect the 4CHPRO3 to install the YAML file. I assume I missed that part. By the way, the chipset of my Sonoff switch is ESP8285.
@@PayamJianTV FTDI adapter
@@bruxy70 in order to connect Sonoff to the computer via USB? what about the chipset? is it considered the same as ESP8266?
@PayamJianTV Yes This one uses ESP8266 devices.esphome.io/devices/Sonoff-4CH-Pro-R2
Dude the intro audio almost caused me a heart attack.. Try to turn the volume down a notch or two. 😅
does sonoff have to be a pro? can it be 4cz normal?
Nop. Normal sonoff would send the phase to the valves (240/110V AC), I do not think there are any valves that would use that. Sonoff 4ch Pro has 4 relays with galvanically isolated contacts, so they connect the middle Common contact with the NO contact. But it does not have to be Sonoff, you could use an Arduino circuitry with 4 relays.