n8acl / bmlh_to_mqtt

Bridges the Brandmeister Last Heard API to a local MQTT Broker
7 stars 2 forks source link
brandmeister dmr dmr-radio ham-radio home-assistant mqtt python3

Brandmeister Last Heard to MQTT

Bridges the Brandmeister Last Heard API to a local MQTT Broker

This Python script will listen to the Brandmeister Last Heard API endpoint for any callsign or Talkgroup (or both) that you configure and it will send the data to an MQTT Broker when there is activity for those callsigns and/or talkgroups. This allows you to use the data in a Home Assistant Dashboard for example. You can also use the data for other applications if you wish as well.

This Script is based off the work of Michael Clemens, DK1MI and the pyBMNotify script that he wrote. I used the logic of checking to see if it's a monitored callsign or talkgroup that he wrote and instread of pushing it to a notification service, I am pushing it to an MQTT Broker.

The ha_sensor_template.yaml file in the repo is an example of how the sensors could be used with Home Assistant.

This script is for use by Amateur Radio Operators Only.


Installation/Setup Instructions

Click here to see the installation and setup steps. Then come back here. This is a bit of a long document, so read it all carefully.


Contact

If you have questions, please feel free to reach out to me. You can reach me in one of the following ways:

Or open an issue on Github. I will respond to it, and of course you, when I can.

If you reach out to me and have an error, please include what error you are getting and what you were doing. I may also ask you to send me certain files to look at. Otherwise just reach out to me :).


Change Log