Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
201 stars 67 forks source link

Friends of Hue Switch from Senic #129

Open Tscherno opened 4 years ago

Tscherno commented 4 years ago

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?

steffwj commented 3 years ago

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"

gewaechshaus commented 3 years ago

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

vladimir-aubrecht commented 1 year ago

I can confirm that recognizing buttons 1-4 works on version 4.2.2, but several other related things doesn't work:

Anybody hit same issues?

vladimir-aubrecht commented 1 year ago

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