New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hue dimmer switch repeat setting #368
Comments
Experimental support for repeat setting on the Hue dimmer switch. When setting `"hueDimmerRepeat": true` in config.json, the Hue dimmer switch _Dim Up_ and _Dim Down_ buttons continuously fire HomeKit _Short Press_ events while held.
Added experimental support. When setting |
Am I right in thinking that I currently have 10 sensors and switches set up using the native Hue HomeKit support. Would I need to re-configure my automations to enable |
Yes, you need to expose the Hue dimmer through homebridge-hue. Note that, unlike deCONZ, the Hue bridge doesn’t send notifications, so you’ll get one Single Press per The Hue bridge will continue to expose the Hue dimmer switch, unless you remove it from HomeKit, so your existing automations will still be there. HomeKit will see the Hue dimmer switch exposed by homebridge-hue as a different accessory, so you would need to do the room, scene, and automation settings for that. |
I'm a bit confused by this. I have used this for the same reason you mentioned, Symfonisk sound controller vol up and down. I've noticed you have to move it slowly left and right and the repeats are quite slow. Alternatively now I'm trying to use the Ikea TRADFRI on/off switch and long presses don't seem to ever repeat. I'm using deCONZ. |
If you're as old a me, you might remember your first analogue joystick had a normal/repeat switch. Normally, you would have to press/release the trigger repeatedly in quick succession to fire a salvo, but in the repeat setting, you could keep the trigger pressed and the joystick would send press events repeatedly. I'm thinking of a similar option for the Hue dimmer switch.
As you might know, the Hue dimmer switch generates the following events (
buttonevent
values):As far as I know, the Hue dimmer switch is the only switch that sends a hold event every second (or so), while the button is held.
Currently homebridge-hue issues a HomeKit Single Press on the x002 event, and a Long Press on the first x001 or x003 event (the x000 and first x001 from the Hue bridge might be missed, due to polling). With the "repeat" setting, homebridge-hue would issue a HomeKit Single Press on each x001 event and on the x002 and x003 event, while Long Press would no longer be issued. Of course this would work best with deCONZ, issuing a web socket event for every button event.
This idea came to mind while controlling my Sonos speakers from an IKEA remote. I would like to be able to hold a button for Volume Up, instead of having to press/release the Up button repeatedly. However, neither HomeKit nor Sonos supports anything equivalent to the typical ZigBee Move to level and Stop commands, which map so well to the x001 and 0x003 events. With repeat, a HomeKit automation could simply do a Volume increase on each Single Press event.
Note that this still wouldn't allow for light dimming from HomeKit automations, as HomeKit lacks a
bri_inc
equivalent.Help wanted:
The text was updated successfully, but these errors were encountered: