Hi all,
I have made several 20-button Zigbee controllers by DIYRuz. They use Zigbee tot send a MQTT signal.
Unlike other buttons they send the states of each individual button when you press one. Like so:
I push button 1:
zigbee2mqtt:info 2020-03-28 19:17:22: MQTT publish: topic 'zigbee2mqtt/0x00124b001f8347bc', payload '{"btn_17":true,"linkquality":111,"battery":38,"voltage":2438,"btn_1":false,"btn_5":true,"btn_13":true,"btn_9":true,"btn_18":true,"btn_10":true,"btn_6":true,"btn_7":true,"btn_14":true,"btn_19":true,"btn_15":true,"btn_2":true,"btn_16":true,"btn_8":true,"btn_3":true,"btn_11":true,"btn_12":true,"btn_20":false,"btn_4":true}'
I push button 1 again:
zigbee2mqtt:info 2020-03-28 19:17:30: MQTT publish: topic 'zigbee2mqtt/0x00124b001f8347bc', payload '{"btn_17":true,"linkquality":111,"battery":38,"voltage":2438,"btn_1":true,"btn_5":true,"btn_13":true,"btn_9":true,"btn_18":true,"btn_10":true,"btn_6":true,"btn_7":true,"btn_14":true,"btn_19":true,"btn_15":true,"btn_2":true,"btn_16":true,"btn_8":true,"btn_3":true,"btn_11":true,"btn_12":true,"btn_20":false,"btn_4":true}'
Any ideas what would be the best way to just detect a push of a button (I don’t need to track the state of individual buttons). I have tried the RBE function in NR, but it did not seem to work.