|
Safe Sprinkler
Master/slave irrigation system (ESP-NOW + LoRaWAN)
|

Go to the source code of this file.
Functions | |
| void | start_watchdog (void) |
| Run watchdog check over registered slaves. | |
| void start_watchdog | ( | void | ) |
Run watchdog check over registered slaves.
Compares last_notified and moisture against thresholds; raises missing-slave or drought events and may queue alarm messages to lora_fifo. Updates the master statechart (missing_slaves, has_drought) and sets irrigation GPIO from sc.iface. Call periodically (e.g. from state machine or timer).