AdyRock / com.ady.button_plus

GNU General Public License v3.0
2 stars 3 forks source link

MQTT topic for button clicks not a child in homey/btn_XXXXX topic #103

Closed oh2th closed 6 months ago

oh2th commented 7 months ago

The button press events for longpress, clickrelease and click are not childs of the btn_XXXXX topic:

Screenshot 2024-03-04 at 16 36 59

this could result on not catching button clicks from multiple devices.

AdyRock commented 7 months ago

The Button ID is part of the payload that is posted with the message, so it doesn't need to be a child. All the topics with btn_XXXXX are message from Homey to the Button. The click, longpress and clickrelease are messages from the Button to Homey.

oh2th commented 6 months ago

Agree