gardenifi / raspirri_server

RaspirriV1 is an intelligent irrigation system powered by RaspirriV1 server software designed for Raspberry Pi written in Python. Compatible with Raspbian OS, this robust system offers a versatile solution for automating irrigation, making it an excellent choice for both residential and commercial applications.
Other
10 stars 2 forks source link

Update watchdog with one more rule #13

Closed mariosk closed 8 months ago

mariosk commented 8 months ago

It should also check the MQTT connection:

Jan 28 16:15:04 raspberrypizero debug.sh[16552]: 2024-01-28T16:15:04.295 | INFO | mqtt:on_message:266 | Received message from topic:/raspirri/00000000a07422a2/status, userdata:None, data:{"sts": 1, "err": "LOST_CONNECTION"}

If it cannot connect, consider rpi_server unhealthy!

mariosk commented 8 months ago

https://github.com/gardenifi/raspirri_server/pull/14