Skip to content
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 get callback of custom attribute added in standard cluster? (TZ-1118) #421

Open
mundevx opened this issue Sep 6, 2024 · 1 comment
Labels

Comments

@mundevx
Copy link

mundevx commented Sep 6, 2024

Question

I am adding custom attribute 0xE100 in ESP_ZB_ZCL_CLUSTER_ID_COLOR_CONTROL as per tuya documentation , but didn't get the callback for this 0xE100 attribute but getting callback of other standard attributes.
This is the code:
esp_zb_cluster_add_attr(esp_zb_color_cluster, ESP_ZB_ZCL_CLUSTER_ID_COLOR_CONTROL, 0xE100,
ESP_ZB_ZCL_ATTR_TYPE_U48, ESP_ZB_ZCL_ATTR_ACCESS_READ_WRITE | ESP_ZB_ZCL_ATTR_ACCESS_REPORTING, &color_temp);

When i update the attribute 0xE100, then it changes the color cluster UI in Tuya App, but no callback i am getting in espressif when things are reversed.

Additional context.

No response

@github-actions github-actions bot changed the title How to get callback of custom attribute added in standard cluster? How to get callback of custom attribute added in standard cluster? (TZ-1118) Sep 6, 2024
@lpy4105
Copy link
Contributor

lpy4105 commented Sep 20, 2024

The callback will be triggered when the write operation succeed.

Can you share with the logs and preferably with the wireshark pcap file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants