Device handler is Alarm Panel Bridge as a copy of your code
I have been using this for a while now, using mqtt to control my alarm panel from Home Assistant.
But, after some time the mqtt component hangs. Once a day or so. I can still control the alarm panel from the nodemcu web interface and status is correctly read from the panel. MQTT commands are not received and MQTT status messages are not published. A soft reset issued from the web interface solves the issue. Any ideas?
Hi, I’m in the UK and just started using SmartThings. I use a Powermax+ and am amazed at what you’ve developed - very keen to integrate it!
Please could you advise if you still sell the required ‘plug and play’ kit?
@fredrik_P Somebody else has reported an mqtt depot that happens after a few days. As soon as I’m back ill investigate what is causing that, seems a bug in mqtt library, or a quirk in how I’m using it.
@alleycatuk Yes I’m still selling them, though currently on honeymoon so i closed my ‘shop’. Will post on here in about a week and a half when I’ll reopen it.
@rajan_Mehta Just checking you are using the actual mac address rather than what you just pasted here. Can you give me a screenshot?
@cjcharles thank you and congratulations! Enjoy your honeynoon - perhaps best you don’t spend ages on the ST board
Will check back towards end of Feb. Thanks
@Fredrik_P, would you mind sharing your Home Assistant configuration/Python scripts. I started to look at it without too much success. With mqtt_sub, I can see the state of the zones but I don’t think you get any topic for status like “disarmed”.
Alarm/panel has the panel status information while alarm/zoneX has the zone status. Alarm/set for changing state (use the same names/identifiers as ST)
I made a quick and dirty fix (not my idea, I’ll link to the original post where I got the idea from as soon as I find it). I use automations with mqtt to simply translate messages and repost them in another topic. I’ll give you the details.
I can change the topic structure if needed and you have a better proposal? I dont use MQTT so it was just my guess for how to structure things…
This is my quick fix for this:
- platform: mqtt
name: “Visonic Powermax Pro”
- id: Disarmed
- id: Armedhome
payload: Arm Home
- id: Armedaway
payload: Arm Away