Hello,
I’ve been trying to get my hue dimmer switching working in Node-RED with no success.
Initially tried using a device node from node-red-contrib-home-assistant-websocket. It’s working for me right now with an Aqara switch
It seems to identify the device properly, as it gives me the options I’d expect:
However, I have not been able to get the buttons to trigger any of these (I’ve tried press, double clicked, and continuously).
Any thoughts or suggestions?
I’ve seen some older posts talking about it, but I was unable to follow them really, and I’m hoping there might be a newer solution.
These seems the most promising as a last resort: Using the Philips Hue Tap Dial Switch with Node-RED
I was also surprised by the behavior of the ZHA events coming from the dimmer. I expected that each button would just report that it is being presses (or double, or held), but that is not the case.
The power button alternates between [“on”] and [off_with_effect].
The dim up and down buttons send [step] with different arguments.
And the bottom hue button sends [recall] with alternating arguments.
Is that how most zigbee devices work, or is this odd behavior that makes it harder to interface with Node-Red?