AlarmDecoder to MQTT bridge created

General Discussion

AlarmDecoder to MQTT bridge created

Postby TD22057 » Tue Aug 23, 2022 7:38 pm

FYI - I was having a lot of problems getting the Alarm Decoder module in Home Assistant to work properly. Sensors would work, then not work for awhile, then work again. I believe this is because of inefficiencies in how the AD code base reads data from the network (bug filed here).

To fix this issue and give me more control over how the alarm system appears, I decided to write an Alarm Decoder -> MQTT bridge application. It uses the Python Alarm Decoder code and a few pieces from my Insteon->MQTT bridge package to convert all notifications to MQTT messages. This has the advantage (at least to me) that it's completely separate from HASS and by using the retain flag, the last sensor state of every device is always available. This means that restarting HASS doesn't lose any of the sensor information and everything just works. Devices in HASS are create through the discovery process so once things are configured in the script, nothing needs to be done in HASS (except organizing the front end display).

Docs are rough but there is enough there to figure it out if you're interested: https://github.com/TD22057/ad-mqtt
TD22057
newt
newt
 
Posts: 9
Joined: Tue Aug 15, 2017 9:22 am

Re: AlarmDecoder to MQTT bridge created

Postby mathewss » Fri Sep 16, 2022 12:16 pm

I would love your input on the IoT firmware for MQTT integration and Home Assistant I have been tinkering with. It supports auto discovery and other cool things. Where do I send the AD2IoT appliance for testing and feedback :)

https://github.com/nutechsoftware/AlarmDecoder-IoT/tree/dev#mqtt-client-component

Best
Sean M.
mathewss
Moderator
Moderator
 
Posts: 180
Joined: Fri Dec 06, 2013 11:14 am

Re: AlarmDecoder to MQTT bridge created

Postby TD22057 » Mon Sep 19, 2022 1:16 pm

On one hand I'd love to help you but I don't really have time and AD+MQTT has solved all my problems. At least for me, the big advantage of MQTT + Home Assistant is that all the notifications and automations are done on the Home Assistant side so my motivation would be pretty low too.
TD22057
newt
newt
 
Posts: 9
Joined: Tue Aug 15, 2017 9:22 am


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron