Skip to content

Runbook: BMS watchdog ​

Bestanden ​

text
/home/yuma/bms-watchdog.py
/tmp/bms-watchdog.log

Crontab ​

text
*/5 * * * * /home/yuma/bms-watchdog.py

Verifiëren ​

bash
ssh -i ~/.ssh/yuma_pi yuma@100.104.151.112 \
  'python3 -m py_compile /home/yuma/bms-watchdog.py && crontab -l | grep bms-watchdog && tail -5 /tmp/bms-watchdog.log'

Laatste gezonde output kan zijn:

text
OK: all BMS sensors healthy