Koenkk / zigbee2mqtt

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

Cannot bind light groups to Lutron Aurora smart bulb dimmer (Z3-1BRL) #20668

Open fractalcounty opened 7 months ago

fractalcounty commented 7 months ago

What happened?

When attempting to bind the Lutron Aurora smart bulb dimmer to a group containing three Philips Hue bulbs, the dimmer switch becomes unresponsive until it is factory reset and repaired to zigbee2mqtt.

This issue has been experienced for a few years as reported in #16248 and #11342, with the latter being marked as closed.

Additionally, the Lutron Aurora will regularly fail to respond with zigbee2mqtt unless the dimmer switch is "woken up" by being physically pressed or rotated. This may be unrelated to the issues with binding to groups and may very well be expected behavior of the Z3-1BRL, although it is not mentioned on the z2m Z3-1BRL device page.

What did you expect to happen?

I expected to bind the Lutron Aurora to a light group in the same way I can bind my Philips Hue dimmer switch to light groups. However, this does not seem possible at the moment. Instead, I have to bind it to a dozen or so individual smart bulbs which is, as I understand, undesirable compared to binding to groups for performance reasons.

It's possible that this issue may be a limitation of the Z3-1BRL's hardware, but that seems odd given it's similarity with the Philips hue dimmer switch and its 'Friends of Hue' designation which is shared with only one other model of smart switch that's sold & endorsed by Philips on the official Hue store.

How to reproduce it (minimal and precise)

  1. Factory reset the Lutron Aurora smart bulb dimmer switch (Z3-1BRL)
  2. Ensure that the device has been successfully added to zigbee2mqtt
  3. Attempt to bind the device to a light group
  4. The Lutron Aurora will fail to respond with zigbee2mqtt until it is factory reset and paired again.

Zigbee2MQTT version

1.33.0-dev commit: 9a7aeaf

Adapter firmware version

7.1.1.0 build 273

Adapter

Home Assistant SkyConnect (EZSP v9)

Debug log

N/A.

The logs below are not particularly relevant as they only show expected behavior of the Z3-1BRL when bound to individual bulbs as opposed to groups, as binding to groups results in the Z3-1BRL (or zigbee2mqtt itself?) locking up and not producing any response with or without debug logs enabled from what I can tell.

Debug 2024-01-08 01:25:20Received Zigbee message from 'lutron_dimmer_lower_bathroom', type 'commandMoveToLevelWithOnOff', cluster 'genLevelCtrl', data '{"level":95,"transtime":2}' from endpoint 1 with groupID 0
Info 2024-01-08 01:25:20MQTT publish: topic 'zigbee2mqtt/lutron_dimmer_lower_bathroom', payload '{"action":"brightness_move_to_level","action_level":95,"action_transition_time":0.02,"brightness":null,"linkquality":152,"update":{"installed_version":3080,"latest_version":3080,"state":"idle"},"update_available":null}'
Info 2024-01-08 01:25:20MQTT publish: topic 'zigbee2mqtt/lutron_dimmer_lower_bathroom', payload '{"action":"","brightness":null,"linkquality":152,"update":{"installed_version":3080,"latest_version":3080,"state":"idle"},"update_available":null}'
Info 2024-01-08 01:25:20MQTT publish: topic 'zigbee2mqtt/lutron_dimmer_lower_bathroom/action', payload 'brightness_move_to_level'
Debug 2024-01-08 01:25:20Received Zigbee message from 'hue_bulb_100w_white_ambience_lower_bathroom_a', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":22}' from endpoint 11 with groupID 0
Info 2024-01-08 01:25:20MQTT publish: topic 'zigbee2mqtt/lower_bathroom_lights', payload '{"brightness":22,"color":{"h":27,"hue":27,"s":92,"saturation":92,"x":0.5056,"y":0.4152},"color_mode":"color_temp","color_temp":454,"state":"OFF"}'
Info 2024-01-08 01:25:20MQTT publish: topic 'zigbee2mqtt/hue_bulb_100w_white_ambience_lower_bathroom_a', payload '{"brightness":22,"color_mode":"color_temp","color_temp":454,"linkquality":208,"power_on_behavior":null,"state":"OFF","update":{"installed_version":16785162,"latest_version":16785162,"state":"idle"},"update_available":null}'
Debug 2024-01-08 01:25:20Received Zigbee message from 'lutron_dimmer_lower_bathroom', type 'commandMoveToLevelWithOnOff', cluster 'genLevelCtrl', data '{"level":153,"transtime":2}' from endpoint 1 with groupID 0
jacobb commented 7 months ago

Also experiencing this. I was able to (after a lot of manual labor + use of deconz) downgrade one of the switches to version 3040, which DOES allow the pairing of group, but it's otherwise buggy -- dimming is inconsistent at best and I get regular "failed to poll" errors when taking any action with the dimmer.

jacobb commented 3 months ago

@fractalcounty was wondering if you ever made headway with this. I just swapped both HA hardware and zigbee adapter and have the same exact issue as before.

fractalcounty commented 3 months ago

@fractalcounty was wondering if you ever made headway with this. I just swapped both HA hardware and zigbee adapter and have the same exact issue as before.

Nope, from what I can gather you can still only bind the LvlCtrl (and maybe OnOff?) cluster to each individual light.

I've been running mine this way for over a year now and haven't had a single issue whatsoever. Even if individual bindings may not be the best practice, it acts otherwise indistinguishable to a physical dimmer switch- even with 12~ Hue bulbs being controlled. For anything beyond that, you might want to consider just going with a hard-wired solution that can control dumb lights as well.

If the setup process is being a bit tricky, try factory resetting and remember to twiddle the knob when binding through z2m to ensure it's "awake".