Understanding ZHA Cluster and Attributes

Hi all
As I am new to HA and all included, I am trying to understand ZHA Clusters and Attributes.
Could anybody point me in the direction of a site/post explaining how it works?

What I am trying to do is to set power-on attributes of a HUE bulb, but I give up when a meet expressions like “Value 0x01x” and "0x004X…

All the best

  • Thomas

You shouldn’t have to set the power on any Zigbee device manually through the cluster attributes. That’s what the underlying driver handles. However, nearly all cluster commands require hexadecimal commands to be set as that’s part of the base Zigbee spec.

The only time you should have to send cluster commands is if you have a device that is either not supported natively by the driver or doesn’t have a matching quirk specification.

If you are doing this as a learning experience, I’d recommend jumping on the HA discord and getting in the #zigbee channel.

How do you get to the driver to adjust the options of a device joined via zha?

if you go to Devices’ config page, and into the clusters, there should be a Philips_On_Off cluster with commands available:

TheJulianJES on discord in #zigbee is probably the most knowledgable on how this all works.

1 Like

Also more info here:

1 Like

@code-in-progress excellent, thank you for clarifying that - I better stay away from that then :see_no_evil::sweat_smile:

@code-in-progress, @tube0013, @walt do any any of you have experience with Hue Bulbs and ZHA?
I would like to completely shutdown my Hue Bridge and only run HA environment, but the features of remembering the last state and the double-tap on/off power for switching between 100% brightness and last setting are key features for me in some rooms.

Is that possible with ZHA/HA without the Hue Bridge?

Remember that it isalways be best for everyone in the community if “quirks” for ZHA Device Handlers are made and submitted for all such new devices so that they can be shared and improved by all:

https://www.home-assistant.io/integrations/zha/#zha-exception-and-deviation-handling

https://github.com/zigpy/zha-device-handlers

1 Like