You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when i use this function, esp_zb_zcl_ias_zone_status_change_notif_cmd_req ,
it is working fine and callback occur on gateway example code, but all other functions listed above are not working.
github-actionsbot
changed the title
zigbee gateway example code not accepting commands
zigbee gateway example code not accepting commands (TZ-1192)
Oct 1, 2024
In simple words, Zigbee coordinator gateway only working one sided (i.e. from gateway to zigbee end device). But not working when i send command from Zigbee end device to Gateway (i.e. No callback occur on gateway side). But gateway callbacks are working for IAS Zone clusters only(From Sensor to gateway and gateway to Sensor).
Hi @ahmetcobanoglu ,
I had already registered the gateway endpoint. But its not fully working. Now issue arise that the gateway send data immediately to end device and received by end device immediately, but from end device, when i send data, then it reaches gateway at 5 second timeout. What i am sending...
esp_err_t status = esp_zb_zcl_set_attribute_val(
1,
ESP_ZB_ZCL_CLUSTER_ID_FAN_CONTROL,
ESP_ZB_ZCL_CLUSTER_SERVER_ROLE,
ESP_ZB_ZCL_ATTR_FAN_CONTROL_FAN_MODE_ID,
(uint8_t*)&fan_speed,
false
);
and then then
esp_zb_zcl_report_attr_cmd_t report_cmd_2 = {
.zcl_basic_cmd = {
.dst_addr_u.addr_short = 0x0000,
.dst_endpoint = 1,
.src_endpoint = 1,
},
.address_mode = ESP_ZB_APS_ADDR_MODE_16_ENDP_PRESENT,
.clusterID = ESP_ZB_ZCL_CLUSTER_ID_FAN_CONTROL,
.attributeID = ESP_ZB_ZCL_ATTR_FAN_CONTROL_FAN_MODE_ID,
.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE,
};
esp_zb_zcl_report_attr_cmd_req(&report_cmd_2);
Question
All of these functions in End Device or Router is not working when send to gateway. But Gateway to End Devices are working Ok.
All functions are listed down
but when i use this function, esp_zb_zcl_ias_zone_status_change_notif_cmd_req ,
it is working fine and callback occur on gateway example code, but all other functions listed above are not working.
// esp_zb_zcl_ias_zone_status_change_notif_cmd_t resp;
// resp.address_mode = ESP_ZB_APS_ADDR_MODE_16_ENDP_PRESENT;
// resp.extend_status = 1;
// resp.zone_id = 0;
// resp.zone_status = toggle;
// resp.zcl_basic_cmd.dst_addr_u.addr_short = 0;
// resp.zcl_basic_cmd.dst_endpoint = 1;
// resp.zcl_basic_cmd.src_endpoint = 1;
// esp_zb_zcl_ias_zone_status_change_notif_cmd_req(&resp);
Can you help me regarding this issue?
Additional context.
No response
The text was updated successfully, but these errors were encountered: