alerting framework

This commit is contained in:
Alex 2024-06-16 14:43:35 +03:00
parent 0184a47345
commit d3c8b000b0
6 changed files with 145 additions and 1 deletions

View file

@ -1 +1,17 @@
# 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
* TODO -- launch service