Python script for monitoring the Brandmeister network and sending push notifications
Go to file
Michael Clemens 8802fd69b4 added support for DAPNET
restructured configuration file
2020-12-08 19:21:00 +01:00
config.py added support for DAPNET 2020-12-08 19:21:00 +01:00
pyBMNotify.py added support for DAPNET 2020-12-08 19:21:00 +01:00
README.md added support for DAPNET 2020-12-08 19:21:00 +01:00

pyBMNotify

Monitors a defined set of Brandmeister talkgroups and callsigns for activity. It then sends push notifications via the following services 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, set the corresponding variables to False.

Execution

# python3 pyBMNotify.py