I need to work on my design.
I have a pico which is connected to a moisture sensor . There is a loop every 5 minutes and when it is too dry, it triggers a relay(switch) which starts the watering for 20 seconds then back to the loop. The pico is protected by a sonoff S26(espeasy) just in case which actes as a switch.
For an unknown reason, after an electrical power outage, the sonoff remains off and so the pico and the watering has started and didn't stop. Fortunately I was at home so I have stopped it.
I need to think to an alert from the sonoff or from the pico ( telegram or automatic poweroff/on ).
I need to be sure that Internet is reachable.
I need to know if the pico is powered on.
I need to know if the pico relay is on for more than 5 minutes.
I need to be informed when something goes wrong.
So as you can see I need to work on the solution.
So no need for plugin or controller at the moment.
Thanks for your time. This forum is always very reactive.
