28 lines
925 B
Markdown
28 lines
925 B
Markdown
# pyBMNotify
|
|
|
|
Monitors a defined set of Brandmeister talkgroups and callsigns for activity. It then sends push notifications via Pushover and/or Telegram for any transmission in / of the monitored talk groups / call signs.
|
|
|
|
In order to prevent message flooding, the script only notifes you again after 300 (configurable) seconds of silence in a TG or from a monitored call sign.
|
|
|
|
## Credits
|
|
|
|
Inspired by https://github.com/klinquist/bmPushNotification
|
|
|
|
## Requirements
|
|
|
|
* Python 3
|
|
* socketIO-client (install with _sudo pip3 install socketIO-client_)
|
|
|
|
If you want to be notified via Telegram, the following libraries need to be installed:
|
|
|
|
* telebot (install with _sudo pip3 install telebot_)
|
|
* telethon (install with _sudo pip3 install telethon_)
|
|
|
|
## Configuration
|
|
|
|
Configure _config.py_ to your needs. If you don't want push notifications, leave the corresponding variables empty.
|
|
|
|
## Execution
|
|
|
|
_# python3 pyBMNotify.py_
|