Add support in Hue integration for Lutron Aurora dimmer events in addition to on/off events

The Lutron Aurora dimmer switch is a useful device for retrofitting homes with some ‘classic’ challenges. Examples are homes with ‘no neutral’ switches or other environments where an existing physical switch cannot be removed, however intelligent control functions are needed at this location.

Unfortunately, the Lutron Aurora zigbee devices, like a number of zigbee devices has some incompatibilities with some zigbee controllers in a ZHA or zigbee2mqtt setup. The most prevalent of these issues is that the Aurora’s on and off button press function is not reliably detected by some zigbee coordinators. Several firmware upgrade and coordinator swaps seems to solve the issue for these zigbee configurations.

However, the native Hue integration supports the Lutron Aurora’s button press functions without issue, but does not decode the dimmer function of this ‘Friends of Hue’ device. It would seem a good addition to Home Assistant, if possible, to add the dimmer event decoding in Home Assistant hue_event. The Hue bridge properly receives both the switch events as well as the dimmer events. So it appears that it is just some work needed to decode these events from the Hue bridge and present them in HA, as is already occurring with the button press events from this device.

This work would align well with making it easier for people to move to the Home Assistant platform, if they already have a Hue bridge in their homes.

Below are some ZHA decodes that I was able to capture for the Lutron Aurora’s dimmer and on/off events, again the issue is that this hardware is reliably handled by Hue, however there are a number of problem configurations for using this device in ZHA and zigbee2mqtt depending on the zigbee dongle/coordinator selected. So by fully handling in the Hue integration, the most users may well be served. Thx! :

lutron aurora button press in zha:

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  255
       -  7
origin: LOCAL
time_fired: '2022-01-23T00:14:13.751873+00:00'
context:
    id: a6c14cd37c0101a90889fa822d4497e0
    parent_id:
    user_id:

lutron aurora button release in zha:

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  0
       -  7
origin: LOCAL
time_fired: '2022-01-23T00:14:14.540427+00:00'
context:
    id: fcebe75e50403ae103d6148fc3cc6457
    parent_id:
    user_id:


lutron aurora dial moved to various positions, (position 2 appears to be lowest value for dimmer)

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  2
       -  2
origin: LOCAL
time_fired: '2022-01-23T00:14:09.023433+00:00'
context:
    id: 5ba7de3f58e0cae4e0c69b602e1fb812
    parent_id:
    user_id:

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  255
       -  2
origin: LOCAL
time_fired: '2022-01-23T00:14:07.826102+00:00'
context:
    id: 457ea63083dd77d10bcdde51e24cc1bd
    parent_id:
    user_id:

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  248
       -  2
origin: LOCAL
time_fired: '2022-01-23T00:14:08.025112+00:00'
context:
    id: e6f896d39a5864762cd8a4e464b6d528
    parent_id:
    user_id:

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  212
       -  2
origin: LOCAL
time_fired: '2022-01-23T00:14:08.222028+00:00'
context:
    id: c7e361759b3aa344d230e48d50c31fc3
    parent_id:
    user_id:

event_type: zha_event
data:
    device_ieee: ff:ff:00:0f:e7:fc:a5:82
    unique_id: ff:ff:00:0f:e7:fc:a5:82:1:0x0008
    device_id: c91354cf4e0ca13d31d2b38d0456ff55
    endpoint_id: 1
    cluster_id: 8
    command: move_to_level_with_on_off
    args:
       -  139
       -  2
origin: LOCAL
time_fired: '2022-01-23T00:14:08.419295+00:00'
context:
    id: b98d02e6597f0c747fb9736c63a4742b
    parent_id:
    user_id:

Agreed, ZHA and most hue stuff don’t seem to get along, tried the moving everything to one coordinator thing but that didn’t make it through the garage/outdoor lights phase since they didn’t report state correctly. I’m having good luck with a few hue sensors in ZHA but some identical sensors don’t perform like the ones I’m having luck with so who knows. All the ZHA stuff is solid too, just not Hue in ZHA like many other threads have mentioned prior.

I am glad we got the hold feature but dimming should be in there as you mention but may be hard to reproduce such a smooth responsive dimming but of course would be nice to trigger other stuff. Aurora dimming was part of the homebridge hue plugin when I used that - for sure will not be going back to that though haha

Hey @dproffer
I just recently set up Home Assistant and got our Lutron Aurora switches toggling on off pretty easily by capturing the short_release hue_event in pyscript.

Then I quickly realized there’s no events being fired for the dimmer spinning of the switch.

Do you have any experience adding support for things in Home Assistant?
How would I go about helping make this happen?

Thanks!
Jeremy

So short answer to your questions: No and No idea … (apologies) So @GollyJer and others up vote my request for work on the Lutron Aurora please!

I’m out of my pay grade here, but I will say this Lutron Aurora appears to be a complex and odd beast. At the bottom of this post I have included three (maybe) examples of what is coming from Zigbee2MQTT to MQTT, that said, my testing is far from complete and there may well be other forms of these JSON message that come thru and multiple message. Complex. Maybe the work that has been done on other ‘dial’ devices will be similar and can be built on.

I’ve now configured it under three (kind of four) of my Zigbee environments : ZHA 2021.12.10 , Hue Native, Home Assistant Hue integration, and Zigbee2MQTT 1.22.2.

The Lutron Aurora behaved differently under all of them. Here is the bottom line:

  1. natively in the Hue Hub local environment, the Aurora appear to be full functional and does not appear to have any issues fully controlling a Hue bulb. On/Off and Dimming both work

  2. In Zigbee2MQTT the Aurora appear to be sending messages for all of its functions. That said, I have not yet got my head around the MQTT messages that are being generated for the various functions. What I am seeing is not the same as for example what this person codes in his Home Assistant Template, close but definitely different : Zigbee2MQTT Lutron Aurora Dimmer Control

  3. As you found as well, the Home Assistant Hue Integration only seems to surface the On/Off events with Home Assistant, no dimming events.

  4. ZHA, gotta love it, I was able to get the dimming events in Home Assistant, but the On/Off events came in very sporadic and I am guessing at best 10% of the time.

press button once short
{"action":"brightness_move_to_level","action_group":48526,"action_level":0,"action_transition_time":0.07,"elapsed":15880,"last_seen":"2022-02-08T17:44:31-08:00","linkquality":138,"update":{"state":"idle"}}

press button once long
{"action":"brightness_move_to_level","action_group":48526,"action_level":255,"action_transition_time":0.07,"elapsed":19711,"last_seen":"2022-02-08T17:47:46-08:00","linkquality":134,"update":{"state":"idle"}}

rotate dial
{"action":"brightness_move_to_level","action_level":161,"action_transition_time":0.02,"elapsed":246,"last_seen":"2022-02-08T17:43:50-08:00","linkquality":134,"update":{"state":"idle"}}

1 Like

Did everyone give up on this? Just got a couple of these and having the same issue with very sporadic button press events via ZHA and skyconnect.

These are too expensive not work right with this simple task! Any thoughts on what the underlying cause might be here?