lucacalcaterra / risco-mqtt-bridge

Risco Alarm panel to MQTT Server Bridge
MIT License
25 stars 9 forks source link

MQTT topics and payload invisible and not relayed to Home Assistant #45

Closed Rookie-Ron closed 2 years ago

Rookie-Ron commented 2 years ago

I am a Home Assistant user in Docker environment on an Intel NUC, and use the RISCO Integration for sensor states, and notifications. Next is to control the Alarm Panel, which brought me to [https:://github.com/lucacalcaterra/risco-mqtt-bridge]. Installation okay with Node.js (v17.3) en Mosquitto (v2.0.14). From the 'risco-mqtt-bridge'-log I get: image No problem sofar, also according [https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/3] Within Home Assistant I changed my configuration.yaml with: image And from my MQTT log I can see connection is established correctly: image

But no messages are relayed to Home Assistant!

When I login to MQTT from outside Docker network(s), I can relay messages between Home Assistant (MQTT Broker integration) and my MacBook (on my local house-network), confirmed by my App 'MQTT Spy', so Mosquitto seems to work as to be expected.

But as for 'risco-mqtt-bridge' no messages are visible wherever. I subscribed to the topics 'riscopanel/armstatus', 'riscopanel/dects', and even to 'riscopanel/#', but no data become available. When I use my 'MQTT Explorer' App I can see topics and messages are exchanged, but I am not able to get into them.

What can I do? Are the topic subscriptions with Risco correct?

Rookie-Ron commented 2 years ago

Issue seems related to the fact that I am using an 'iConnect2' (MyElas/ Risco) partitionless system. I have not found any solution to use MQTT to this end. Workaround is found at https://github.com/OnFreund/pyrisco, and in particular at https://github.com/OnFreund/pyrisco/pull/2. By replacing the 'risco.py' file by the patch from https://github.com/SimonThoustrup/pyrisco/tree/partitionless the integration works as desired!