-
Notifications
You must be signed in to change notification settings - Fork 26
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
Color control cluster issues (TZ-54) #4
Comments
So you need to add other attributes manually like what you did (I assume you followed the example under customizd_server) If you don't register corresponding attribute, it will cause issue.
the hue/saturation command handling is not supported currently. That's why we only provided a few color command in the esp_zigbee_zcl_command.h. Like We will add hue/saturation support pretty soon. Regarding the contribution, unfortunately we can't share the source file of the Zigbee stack. Thanks for your help |
I think it would be good to add checks for unregistered attributes and empty value pointers to prevent firmware crashes in future :) |
@u236 The latest commit has been fixed the firmware crashes issue + support hue/saturation attribute callback and related command. Please take a look to see if this issue is fixed.Thanks |
Closing the issue, @u236 feel free to reopen if any follow-up questions. |
I've build HA_color_dimmable_light example and ran into few problems:
Firmware crashes, when coordinator sends commands to change led color via hue/saturation commands (for example, cluster specific command "move to hue (0x00)"). I think it is because no value pointers set for hue/saturation attributes. If i add this pointers manually, problem disappears.
If led color changed via hue/saturation commands, corresponding attributes values updated, but set attribute value callback not triggered, it triggered only if color changed via x/y commands.
Maybe i can contribute your zigbee stack? Please, let me know :)
The text was updated successfully, but these errors were encountered: