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