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

Implementation of Dehumification and Barrier clusters or remove check from custom clusters (TZ-1072) #409

Open
rcaceiro opened this issue Aug 20, 2024 · 2 comments

Comments

@rcaceiro
Copy link

rcaceiro commented Aug 20, 2024

Is your feature request related to a problem?

Yes I am implementing a garage door opener and a dehumidifier using zigbee, when I try to create a custom cluster it throw a runtime error "ESP_ZIGBEE_ATTRIBUTE: Custom cluster id is not within specified range!"

Describe the solution you'd like.

At my point of view or you have to implement those clusters or you must not check them, this will allows the specification evolve and this not means development of your side

Describe alternatives you've considered.

No response

Additional context.

Previous issue opened due this problem: #405

the code for the dehumification cluster that I am trying implement.

uint8_t zero = 0x00;
uint8_t other = 0x1E;
uint8_t another = 0x14;
esp_zb_attribute_list_t *esp_zb_dehumidifier_cluster = esp_zb_zcl_attr_list_create(ESP_ZB_ZCL_CLUSTER_ID_DEHUMID_CONTROL);
esp_zb_custom_cluster_add_custom_attr(esp_zb_dehumidifier_cluster, 0x0000, ESP_ZB_ZCL_ATTR_TYPE_U8, ESP_ZB_ZCL_ATTR_ACCESS_READ_ONLY, &zero);
esp_zb_custom_cluster_add_custom_attr(esp_zb_dehumidifier_cluster, 0x0001, ESP_ZB_ZCL_ATTR_TYPE_U8, ESP_ZB_ZCL_ATTR_ACCESS_READ_ONLY, &zero);
esp_zb_custom_cluster_add_custom_attr(esp_zb_dehumidifier_cluster, 0x0010, ESP_ZB_ZCL_ATTR_TYPE_U8, ESP_ZB_ZCL_ATTR_ACCESS_READ_WRITE, &other);
esp_zb_custom_cluster_add_custom_attr(esp_zb_dehumidifier_cluster, 0x0013, ESP_ZB_ZCL_ATTR_TYPE_U8, ESP_ZB_ZCL_ATTR_ACCESS_READ_WRITE, &another);
esp_zb_custom_cluster_add_custom_attr(esp_zb_dehumidifier_cluster, 0x0014, ESP_ZB_ZCL_ATTR_TYPE_U8, ESP_ZB_ZCL_ATTR_ACCESS_READ_WRITE, &other);
@rcaceiro rcaceiro changed the title Implementation of Dehumification and Barrier clusters or remove check from custum clusters Implementation of Dehumification and Barrier clusters or remove check from custom clusters Aug 20, 2024
@github-actions github-actions bot changed the title Implementation of Dehumification and Barrier clusters or remove check from custom clusters Implementation of Dehumification and Barrier clusters or remove check from custom clusters (TZ-1072) Aug 20, 2024
@xieqinan
Copy link
Contributor

@rcaceiro ,

We will add support for the dehumidification_control cluster in the next release. Thank you for your patience.

@rcaceiro
Copy link
Author

rcaceiro commented Sep 9, 2024

Hi @xieqinan thank you, do you have some prespective to implement the barrier control also?

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

No branches or pull requests

2 participants