espressif / esp-zigbee-sdk

Espressif Zigbee SDK
Apache License 2.0
134 stars 20 forks source link

4 lights endpoints are not adding in Tuya Gateway (TZ-494) #185

Closed mundevx closed 6 months ago

mundevx commented 7 months ago

Question

I am using this routine to add endpoints:

esp_zb_ep_list_t *esp_zb_ep_list = esp_zb_ep_list_create();
esp_zb_cluster_list_t *esp_zb_server_cluster_list = server_cluster();

for(int i=0; i<MAX_EP_SIZE; i++){
   esp_zb_ep_list_add_ep(esp_zb_ep_list,
           esp_zb_server_cluster_list,
           ENDPOINTS_LIST[i],
           ESP_ZB_AF_HA_PROFILE_ID,
           ESP_ZB_HA_ON_OFF_LIGHT_DEVICE_ID);
   ESP_LOGI(TAG, "ENDPOINTS_LIST[%d]= %d",i,ENDPOINTS_LIST[i]);
}
esp_zb_device_register(esp_zb_ep_list);

this code working perfectely in Ewelink app(Sonoff), showing 4 light switches, but not in Smart life app(Tuya).

Please help me

Additional context.

No response

mundevx commented 7 months ago

If i set MAX_EP_SIZE = 3, its working. more than 3 not showing on Smart Life (Tuya) App.

chshu commented 7 months ago

It works with Ewelink app(Sonoff), but fails with Smart life app(Tuya). Should it be some issue with Tuya app?

We haven't tested such details with these ecosystems. As you may know, although Zigbee is a standard protocol, but unfortunately there are more or less some differences among Zigbee ecosystems.

chshu commented 6 months ago

duplicate issue, @mundevx please check with the gataway vendor (https://github.com/espressif/esp-zigbee-sdk/issues/184#issuecomment-1880598546)