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

Support Lutron Aurora Switches #522

Closed
warhammerkid opened this issue Sep 1, 2019 · 20 comments
Closed

Support Lutron Aurora Switches #522

warhammerkid opened this issue Sep 1, 2019 · 20 comments

Comments

@warhammerkid
Copy link

Issue

The Lutron Aurora switches are identified but not recognized. It appears that they have two pieces - the switch button and the dimmer wheel.

Log Messages

Here's what I get in the logs to describe them:

[9/1/2019, 1:53:30 PM] [Hue] Philips hue: /sensors/7: warning: ignoring unknown sensor type {"state":{"rotaryevent":2,"expectedrotation":64,"expectedeventduration":400,"lastupdated":"2019-09-01T17:32:08"},"swupdate":{"state":"noupdates","lastinstall":"2019-09-01T15:26:15"},"config":{"on":true,"battery":100,"reachable":true,"pending":[]},"name":"Bedroom 1 Aurora Switch","type":"ZLLRelativeRotary","modelid":"Z3-1BRL","manufacturername":"Lutron","productname":"Lutron Aurora","diversityid":"2c3a75ff-55c4-4e4d-8c44-82d330b8eb9b","swversion":"3.1","uniqueid":"ff:ff:00:0f:e7:fe:95:cd-01-fc00-0014","capabilities":{"certified":true,"primary":true,"inputs":[{"repeatintervals":[400],"events":[{"rotaryevent":1,"eventtype":"start"},{"rotaryevent":2,"eventtype":"repeat"}]}]}}
[9/1/2019, 1:53:30 PM] [Hue] Philips hue: /sensors/8: warning: ignoring unknown ZLLSwitch sensor {"state":{"buttonevent":1002,"lastupdated":"2019-09-01T17:45:47"},"swupdate":{"state":"noupdates","lastinstall":"2019-09-01T15:26:15"},"config":{"on":true,"battery":100,"reachable":true,"pending":[]},"name":"Lutron Aurora 2","type":"ZLLSwitch","modelid":"Z3-1BRL","manufacturername":"Lutron","productname":"Lutron Aurora","diversityid":"2c3a75ff-55c4-4e4d-8c44-82d330b8eb9b","swversion":"3.1","uniqueid":"ff:ff:00:0f:e7:fe:95:cd-01-fc00","capabilities":{"certified":true,"primary":false,"inputs":[{"repeatintervals":[800],"events":[{"buttonevent":1000,"eventtype":"initial_press"},{"buttonevent":1001,"eventtype":"repeat"},{"buttonevent":1002,"eventtype":"short_release"},{"buttonevent":1003,"eventtype":"long_release"}]}]}}

Other

If you need any more information just let me know. I'm also quite comfortable testing a PR branch if you need verification.

@ebaauw
Copy link
Owner

ebaauw commented Sep 1, 2019

I’m unfamiliar with these switches. Luckily, the Hue API now lists their capabilities. The button looks pretty straightforward, similar to the Hue dimmer switch. I have no clue how to expose the wheel to HomeKit.

@warhammerkid
Copy link
Author

I hadn’t ever looked through the HomeKit docs before, but I agree that there doesn’t seem to be anything ideal to map the rotary switch to. In theory it looks like it could be mapped to some kind of clockwise / counterclockwise “button” event, but I can’t see any value in doing that for myself.

@ebaauw
Copy link
Owner

ebaauw commented Sep 1, 2019

The Hue bridge doesn't support event notifications, so I have to poll it. I find the gen2 bridge is able to handle being polled every 2 seconds, but every 1 second is too much. This means (if I read the capabilities right) that I'll lose 4 out of 5 rotary events, making it very difficult to expose anything more sophisticated than a clockwise or counterclockwise turn.

I take it the Hue bridge doesn't expose the switch to HomeKit?

Could you attach the debug dump file homebridge-hue creates on startup (see https://github.com/ebaauw/homebridge-hue#debug-dump-file)? Maybe the Hue app has created some rules for the wheel that would give me some more insight.

@warhammerkid
Copy link
Author

The Hue bridge does not expose the switch to HomeKit.

Here's the debug file: homebridge-hue.json.gz.

@tomky
Copy link

tomky commented Sep 4, 2019

I am interested in this switch/dimmer as well. Will this be supported through deconz?

@ebaauw
Copy link
Owner

ebaauw commented Sep 4, 2019

Best open an issue in the deconz repository, requesting device support, see https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support

ebaauw added a commit that referenced this issue Sep 6, 2019
Support (button of) Lutron Aurora, see #522.
@ebaauw
Copy link
Owner

ebaauw commented Sep 6, 2019

Button is supported In v0.11.38.

@warhammerkid
Copy link
Author

👍

@siobhanellis
Copy link

I'm running V0.11.44 and the button is not visible in HK.

@ebaauw
Copy link
Owner

ebaauw commented Feb 14, 2020

Added support for the Lutron Aurora, when connected to deCONZ, see dresden-elektronik/deconz-rest-plugin#2305 (comment).
When connected to deCONZ, the dimmer switch is exposed with three buttons: Button, Right Turn, and Left Turn, each supporting Single Press.

Added support for the ZLLRelativeRotary /sensors resource for the Lutron Aurora, when connected to the Hue bridge.
When connected to deCONZ, the dimmer switch is exposed with three buttons: Button, supporting Single Press and Long Press; and Right Turn and Left Turn, both supporting Single Press.

ebaauw added a commit that referenced this issue Feb 14, 2020
Lutron Aurora, see #522:
- Support ZLLRelativeRotary for Lutron Aurora;
- Support Lutron Aurora when connected to deCONZ.

- Fix order of buttonevents for IKEA SYMFONISK.
@ebaauw
Copy link
Owner

ebaauw commented Feb 20, 2020

In v0.11.54.

@siobhanellis
Copy link

siobhanellis commented Feb 20, 2020

now running v.0.11.55 (quick catch on the issue in 11.54 BTW), and I still can't see it.

Using a Hue V2 bridge.

@ebaauw
Copy link
Owner

ebaauw commented Feb 20, 2020

What's your config.json?

@siobhanellis
Copy link

{
"name": "Hue",
"users": {
"001788FFFE49C73E": "38KkSc1f5LRemVOt9BUdzkKhUGxNI4N1YTVb7TfN",
"ECB5FAFFFE02DEEF": "L0v17RUcbkaVNvThaHnYvePJiyqYSBnWWt5FXMgr"
},
"lights": true,
"nativeHomeKitLights": true,
"nativeHomeKitSensors": true,
"nupnp": true,
"resource": true,
"platform": "Hue"
}

@ebaauw
Copy link
Owner

ebaauw commented Feb 20, 2020

You need to set "sensors": true to expose /sensors resources. You might want to set "excludeSensorTypes": ["CLIP"] to prevent the CLIP sensors created by the Hue app from being exposed. See https://github.com/ebaauw/homebridge-hue/wiki/Configuration.

@siobhanellis
Copy link

I'll give it a go and let you know. Wasn't obvious I had to enable sensors... as it's a switch :-)

@siobhanellis
Copy link

Yes, that worked. I now see it in HK as a Dimmer with 3 buttons.

@javontathomas
Copy link

Is it possible to hide this from Homekit without hiding all sensors? Don't need it on HK as it's already working via Hue.

@ebaauw
Copy link
Owner

ebaauw commented Mar 11, 2020

Is it possible to hide this from Homekit without hiding all sensors?

Include it in a blacklist resourcelink, see https://github.com/ebaauw/homebridge-hue#configuration.

Don't need it on HK as it's already working via Hue.

Do you mean that the Hue bridge now exposes it to Homekit? I haven’t seen that before. I’d better not expose it when nativeHomeKitSensors is set.

@ebaauw ebaauw reopened this Mar 11, 2020
@ebaauw
Copy link
Owner

ebaauw commented Mar 11, 2020

Double-checked: the Hue bridge does not expose the Aurora to HomeKit.

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

No branches or pull requests

5 participants