Push messagesfrom NSC Solution F2 Fire control unit's serialline RS-232 printer interface to an Element.io/matrix chatroom.
cd /opt && git clone https://github.com/wie-niet/brandmeldbot.git
python3 -m pip install matrix_client
python3 -m pip install pyserial
Edit if needed, make sure the path and user are set correctly.
install -m 644 systemd.brandmeldbot.service /etc/systemd/system/brandmeldbot.service
systemctl daemon-reload
systemctl enable brandmeldbot
Copy defaults form config-default.ini
and save tham as config.ini
.
In order to get a login token, use the ./login.py
, or simply configure the username + password in config.ini
.