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 add ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE & ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT clusters in cluster list (TZ-1009) #385

Open
mundevx opened this issue Jul 18, 2024 · 2 comments
Labels

Comments

@mundevx
Copy link

mundevx commented Jul 18, 2024

Question

Hello,
I am trying to create a Zigbee binary value for my project with the following clusters:

  1. ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE
  2. ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT

{
esp_zb_attribute_list_t *esp_zb_custom_cluster = esp_zb_zcl_attr_list_create(ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE);
esp_zb_cluster_list_add_binary_value_cluster(esp_zb_cluster_list, esp_zb_custom_cluster, ESP_ZB_ZCL_CLUSTER_CLIENT_ROLE);

esp_zb_attribute_list_t *esp_zb_cluster_multi_input_value = esp_zb_zcl_attr_list_create(ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT);
esp_zb_cluster_list_add_multistate_input_cluster(esp_zb_cluster_list, esp_zb_cluster_multi_input_value, ESP_ZB_ZCL_CLUSTER_CLIENT_ROLE);

}

The problem comes when I try to create the clusters in list which doesn't have their corresponding functions.
Function "esp_zb_cluster_list_add_binary_value_cluster" & "esp_zb_cluster_list_add_multistate_input_cluster" doesn't exists.

It also cannot be added as custom cluster using function "esp_zb_cluster_list_add_custom_cluster". And I am not able to find another function to add these two clusters.

How i can add these two clusters ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE and ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT in esp_zb_cluster_list cluster list.

Additional context.

No response

@github-actions github-actions bot changed the title How to add ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE & ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT clusters in cluster list How to add ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE & ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT clusters in cluster list (TZ-1009) Jul 18, 2024
@xieqinan
Copy link
Contributor

@mundevx,

The ESP_ZB_ZCL_CLUSTER_ID_BINARY_VALUE and ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT have not been supported in current SDK temporarily, we will consider it in the future.

@mundevx
Copy link
Author

mundevx commented Jul 20, 2024

@xieqinan , Ok.

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