node-red-contrib-huemagic icon indicating copy to clipboard operation
node-red-contrib-huemagic copied to clipboard

Friends of Hue Switch from Senic

Open Tscherno opened this issue 5 years ago • 4 comments

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?

Tscherno avatar Jan 18 '20 13:01 Tscherno

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"

steffwj avatar Oct 24 '20 08:10 steffwj

@Tscherno - in my case it is working like it should... Can you provide some more infos on your setup?

gewaechshaus avatar Oct 30 '20 08:10 gewaechshaus

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?

vladimir-aubrecht avatar Sep 21 '22 19:09 vladimir-aubrecht

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).

vladimir-aubrecht avatar Oct 01 '22 22:10 vladimir-aubrecht