lego-monitoring/README.md
2024-06-16 16:37:37 +03:00

446 B

lego-monitoring

Prerequisites

  • pacman -S libolm
  • pip -r requirements.txt

Configuring

  • Run alerting/login.py once to generate credentials file
  • Invite the bot account to the room (you have to accept the invite manually)
  • Set room ID in alerting/common.py

Running

  • prettyprint.py -- check and print all sensors
  • service.py -- launch service
  • lego-monitoring.service is a systemd unit that starts service.py