Skip to content
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

Enhancement: Let the bulbs blink #379

Closed
brandungskieker opened this issue Sep 6, 2018 · 4 comments
Closed

Enhancement: Let the bulbs blink #379

brandungskieker opened this issue Sep 6, 2018 · 4 comments
Labels

Comments

@brandungskieker
Copy link

I like to put this enhancement back to topic: In case of creating a DIY alarm system with HomeKit Support it's obvious to let a siren run and in addition to let some (all) lights blink.
I noticed #219, get this feature by triggering the "IDENTIFY" function. But this doesn't work for me in this case because I use RaspBee instead of the Hue Bridge. (Obviously Hue "misuse" the Identify-function to let the bulbs blink as well and as it's provided in an IFTTT applet).
I can't imagine there is no other way to realize blinking bulbs with RaspBee?

@ebaauw
Copy link
Owner

ebaauw commented Sep 6, 2018

The CLIPGenericFlag and rule as described in #219 work the same for deCONZ and the Hue bridge; only state.alert works differently. When setting "alert": "select" or "alert": "lselect", the Hue bridge actually sends a ZigBee Trigger Effect command for the Breathe effect, followed by a Trigger Effect command for Stop. deCONZ sends a ZigBee Identify command (which stops automatically) for these.

To send Trigger Effect commands from deCONZ, set state.alert to "blink", "breathe", "okay", "channelchange", or "finish" for the corresponding effect, and to "stop" to end the effect.

Note that lights from different vendors react differently to Trigger Effect. Some of the innr lights actually crash (requiring a power cycle to recover) when receiving Breathe and Stop within 2 seconds. This is why homebridge-hue, when connected to deCONZ, sends "breathe" only to Hue lamps on (HomeKit) Identify.

@ebaauw ebaauw added the question label Sep 6, 2018
@brandungskieker
Copy link
Author

Thanks for this advices!
Sure, I can set this commands by API calls on command line (but didn't yet try it). But how can I integrate commands like this in a scene or rule of HomeKit to work with homebridge-hue?

@ebaauw
Copy link
Owner

ebaauw commented Sep 8, 2018

See #219: Use a CLIPGenericFlag in the HomeKit scene to trigger the rules on deCONZ.

@brandungskieker
Copy link
Author

Thank you, I played with the CLIPGenericFlag and it works. I think it's another way to let the lights blink for a pre-defined duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants