Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.09k stars 1.68k forks source link

Friends of hue switch (Niko, Senic) Dimming #13745

Closed stefanuytterhoeven closed 2 years ago

stefanuytterhoeven commented 2 years ago

What happened?

https://www.niko.eu/nl-be/artikel/120-91004 https://www.senic.com/products/friends-of-hue-smart-switch

This switch should support 'dimming'. Though, when pressing a button, the only events I get is 'press_3' and when I release the button, a 'release_3' event. So starting to press the button, keep pressing on it, and release, only generates those two events. According to the support pages of Friends of Hue switchs (like the niko one and the senic one) should support dimming. Any news on this? Can this be added?

What did you expect to happen?

Dimming events. Is supported by the device itself, but not by Zigbee2mqtt

How to reproduce it (minimal and precise)

Press and hold a button

Zigbee2MQTT version

1.27.0

Adapter firmware version

20220219

Adapter

Sonoff zigbee 3.0 usb dongle plus

Debug log

No response

sjorge commented 2 years ago

I don't think this is supported by the device as this is a greenpower device. This is probably handled by the hue bridge, my guess it it triggered a genLevelCtrl.moveWithOnOffon press_X and a genLevelCtrl.stop on the corresponding release_X.

This is probably something that can be handled by hass or node-red

There seems to be a blueprint already for hass, but for the deconz coordinator instead, this can probably be adapted relatively easily. https://community.home-assistant.io/t/deconz-philips-friends-of-hue-smart-switch-4-buttons/258114

Danit2 commented 2 years ago

This is not a function of the switch. This is done in the gateway from hue.

Look at this: https://github.com/Koenkk/zigbee2mqtt/issues/13361#issuecomment-1202159610

I make it like this.

Hope it helps.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days