Check sensor at specific time and postpone it

I’m currently working on a project to automatically water my garden.
I would like the NodeMCU to read time from the RTC widget, and when it is 5:30 in the morning, I would like it to check if the soil is wet (with a soil moisture sensor), if it is wet, it will water it, if it isn’t I want it to postpone the wetness check in another 30 minutes, until it reaches 11:30 o’clock, after that it will not water it until the next morning.
In addition to that I want the NodeMCU to send data to the app every 1 minute.
How can I accomplish that?


You may want to check the following nice project:
Read, analyze and modify to suit your needs… :slight_smile: