Hello,
My room light was turned on evey hour tonight ,so I checked my HA logbook, and found out that my automation was triggered due to my Mija button was clicked.but I am sure that I did not click it, the first trigger was at 23:48
I was expecting the light to turn on at 3:48, and it did happen as expected.
please check the log below,
Is there anything I can do to troubleshoot this?
Thanks
2018-6-1 23:48:54 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d00022bcc7f', payload: '{"battery":"100.00","voltage":3092,"click":"single"}'
2018-6-2 00:48:25 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d00022bcc7f', payload: '{"battery":"100.00","voltage":3092,"click":"single"}',
2018-6-2 01:48:37 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d00022bcc7f', payload: '{"battery":"100.00","voltage":3082,"click":"single"}',
2018-6-2 02:48:48 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d00022bcc7f', payload: '{"battery":"100.00","voltage":3082,"click":"single"}',
2018-6-2 03:48:21 INFO MQTT publish, topic: 'zigbee2mqtt/0x00158d00022bcc7f', payload: '{"battery":"100.00","voltage":3082,"click":"single"}'
Can you run with DEBUG=zigbee2mqtt:controller npm start?
@Koenkk , sorry I forgot to mention that I am using @danielwelch hassio-zigbee2mqtt and i will check if there is way to do that in hassio addon tommorw.
same problem with two WXKG01LM switches
@Koenkk I have restarted the addon with debug set to true, and the problem is solved somehow.
Does it also work without debug now?
@Koenkk yesterday, the button sent a single click every hour, today for a change is double
this is a really strange bug
Jun 02 13:10:22 orangepizero node[4169]: 2018-6-2 13:10:22 INFO MQTT publish, topic: 'zigbee2mqtt/Xiaomi_Switch1', payload: '{"battery":"100.00","voltage":3032,"click":"double"}'
Jun 02 14:10:34 orangepizero node[4169]: 2018-6-2 14:10:34 INFO MQTT publish, topic: 'zigbee2mqtt/Xiaomi_Switch1', payload: '{"battery":"100.00","voltage":3032,"click":"double"}'
Jun 02 15:10:46 orangepizero node[4169]: 2018-6-2 15:10:46 INFO MQTT publish, topic: 'zigbee2mqtt/Xiaomi_Switch1', payload: '{"battery":"100.00","voltage":3032,"click":"double"}'
Jun 02 16:10:54 orangepizero node[4169]: 2018-6-2 16:10:54 INFO MQTT publish, topic: 'zigbee2mqtt/Xiaomi_Switch1', payload: '{"battery":"100.00","voltage":3032,"click":"double"}'
Jun 02 17:11:06 orangepizero node[4169]: 2018-6-2 17:11:06 INFO MQTT publish, topic: 'zigbee2mqtt/Xiaomi_Switch1', payload: '{"battery":"100.00","voltage":3032,"click":"double"}'
I think i've found the bug, can you update zigbee2mqtt and check if this has been fixed?
Thanks @Koenkk I updated and I will let you know soon
@Koenkk,
I have tested the latest version, and I think its fix now, I did not find aditional click event except the one I clicked this morning.
Thanks
Great!
I can confirm that the bug has been fixed, thanks @Koenkk you are the best
I have the same problem with a Miija door sensor MCCGQ01LM. Every hour it sends the contact info too. So my home assistant starts the automations.
payload: '{"contact":true,"linkquality":126,"battery":"27.00","voltage":2955}'
@classiphil you need to trigger you automation based on a state change instead of a single MQTT message.
Most helpful comment
I can confirm that the bug has been fixed, thanks @Koenkk you are the best