…remote sprinkler based on the weather. Raindrop Detection Sensor collects data and lets Raspberry Pi know whether there is a drop on the pad, or not.
Task example: The task is triggered every day at 19:15. The rainfalls are being monitored for 43,200 seconds (12 hours). If it was not raining during the time frame, the relay will have been turned on for 1,800 seconds (30 minutes).