Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 812 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 812 Bytes

Chatbot for NSC Solution F2 Fire control unit

Push messagesfrom NSC Solution F2 Fire control unit's serialline RS-232 printer interface to an Element.io/matrix chatroom.

Install

clone files into /opt/brandmeldbot

cd /opt && git clone https://github.com/wie-niet/brandmeldbot.git

python modules

python3 -m pip install matrix_client
python3 -m pip install pyserial

systemd service

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

config.ini

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.