-
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
How to trigger ZCL attribute report send when attribute value changed internally? (TZ-52) #3
Comments
Also curious about this, there is an attribute update api, esp_zb_cluster_update_attr, but it feels like it is to be used when setting up the clusters initially. Or should it also be used to update attributes on the fly? |
Thanks for your reply! I've try this api, but nothing changed, unfortunately. As far as I understand, this api just updates pointer to attribute value location. |
Sure, I am happy to work with you to figure it out. Correct me if I am wrong for your design: You have created a light-example zigbee local device and it could trigger by itself button, timer or other reason, so you'd like to set the attribute change in the stack and if you bind some other zigbee node with this attribute, it will report the changes to remotely. For the update the certain attribute on the fly, we haven't provide API yet. We will provide it in the next round. |
|
Thank you, i'll wait for new features :) |
The new API has provided in the latest release. |
Now attribute reported, when i change led state via button and call |
Hello! Sorry for duplicate issue, but you've close previous too fast :)
I've successfully build
HA_light_on_off
example with some additions, such a led state control with button, and it works good. Attribute reporting, configured via "configure reporting" global command, works too, but i can't understand, how to trigger device to report led state attribute when it's changed with button?I need for device send report, when led state changed with button, timer or other reason, but NOT zigbee command. I know how reporting works, but i don't understand how to tell zigbee stack about attrubute value was changed, to trigger report.
Please help me to figure it out :)
The text was updated successfully, but these errors were encountered: