I’m new to Node Red, so maybe this problem is solved easily…
I use Xiaomi Aqara Wall Switches and have set up this flow:
the problem is, that for some reason, Node Red detects every click twice (even though the MQTT message is only sent once…)
this is from pressing the switch only once
and these are the MQTT messages:
zigbee2mqtt:info 6/21/2019, 10:18:29 AM MQTT publish: topic 'zigbee2mqtt/0x00158d00012345ab', payload '{"linkquality":31,"battery":100,"voltage":3065,"click":"right"}'
zigbee2mqtt:info 6/21/2019, 10:18:29 AM MQTT publish: topic 'zigbee2mqtt/0x00158d00012345ab', payload '{"linkquality":31,"battery":100,"voltage":3065,"click":""}'
nothing else is sent from clicking the wallswitch
So, why is Node Red detecting everything twice?!
I already tried using the “delay” function and only let one message through every second, but firstly, this is kind of complicated to set up correctly, and more importantly, introduces a 1sec delay…
If I debug after the switch, I only get the two “right” messageswithout the “” :
What could cause this issue?