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

18 lines
446 B
Markdown

# 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`