node-red-contrib-huemagic
node-red-contrib-huemagic copied to clipboard
Friends of Hue Switch from Senic
Hi,
i try to use a Friends of Hue Switch from Senic to trigger different things. https://www.senic.com/de/friends-of-hue-smart-switch
Problem is that the Buttons are not 1-4, but most of the time 0, sometimes 1. Also the buttonAlt is not consistant. It seems to change with the pressed time. Is there are a logic behind that?
I experience the same issue with NIKO Smart switch. No matter what button and for how long i push it I always get "button #0 pressed"
@Tscherno - in my case it is working like it should... Can you provide some more infos on your setup?
I can confirm that recognizing buttons 1-4 works on version 4.2.2, but several other related things doesn't work:
- Pressing 1 & 3 (top) or 2 & 4 (bottom) buttons are not recognized (no event will will arrive when this combination is pressed).
- Only initial_press and short_release are recognized. Presses: long_release or double_short_release are never recognized.
Anybody hit same issues?
For people who'll be looking for workaround till this is fixed, I managed to simulate all actions through: Mqtt In node -> node-red-contrib-button-events -> Custom function -> Hue Light
(Custom function is necessary for achieving Hold & Release feature as button events will give you just single even for holding and releasing).