mancioshell / risco-mqtt-home-assistant

Node Risco Mqtt client for Home Assistant
MIT License
7 stars 7 forks source link

Help needed sending commands to alarm #7

Open francois-dotnet opened 4 years ago

francois-dotnet commented 4 years ago

It seems HA is receiving data from the eclipse-mosquitto and risco-mqtt-home-assistant setup. I have even got some automation based on my alarm's door and PIR sensors. Great job @mancioshell!

First some observations: (1) the sensors don't seem the "RETAIN" in Home Assistant. If I reboot HA, I need to reboot risco-mqtt-home-assistant for the sensors to show up. I think this is something that needs to change in risco-mqtt-home-assistant? (2) I have not added anything to my configuration.yaml file (Should I have?) Two "risco-alarm-panel" automatically showed up on my Lovelace, one for each of my partitions. However when I click "Arm Away" on one, both partitions armed!

This brings me to my question/issue. What more should I configure in HA (configuration.yaml?) and how do I send commands to my alarm? I have experimented sending to "riscopanel/alarm/1/status" using a third party MQTT app but was unseccessful. I don't really know what to send to the which Topic? (I am new to MQTT.)

I would like to be able to disarm, arm_away, arm_home a partition, and bypass and unbypass sensors.

Thanks @mancioshell