lego-monitoring/README.md
2024-10-20 13:31:53 +00:00

20 lines
583 B
Markdown

# lego-monitoring
DISCLAIMER: This repository does not have anything to do with the LEGO Group. "lego" is the internal name of my home server.
## Prerequisites
* `pacman -S libolm arch-audit`
* `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`