I'm building custom thermometer using ESP32C6, SHTC3, Zigbee and esp-zigbee-sdk and i'm having some issues making it work.
For temperature sensor it's quite easy, you can just use ESP_ZB_DEFAULT_TEMPERATURE_SENSOR_CONFIG() and esp_zb_temperature_sensor_ep_create. You can also do that custom way by using esp_zb_temperature_meas_cluster_add_attr. But when it comes to Relative Humidity the only mention about it is in esp_zigbee_zcl_common.h and a bit in esp-zboss-lib. There's no way of adding humidity sensor using esp-zigbee-sdk. When I try to use esp_zb_custom_cluster_add_custom_attr it complains that cluster id is out of range, when i try esp_zb_temperature_meas_cluster_add_attr with Humidity sensor cluster id (0x0405) it complains that this id is not for temperature sensor.
So long story short: what's the way of adding humidity sensor using this SDK withouth rewriting project to some low-level implementation like esp-zboss-lib? Thanks!
I'm building custom thermometer using ESP32C6, SHTC3, Zigbee and esp-zigbee-sdk and i'm having some issues making it work.
For temperature sensor it's quite easy, you can just use
ESP_ZB_DEFAULT_TEMPERATURE_SENSOR_CONFIG()andesp_zb_temperature_sensor_ep_create. You can also do that custom way by usingesp_zb_temperature_meas_cluster_add_attr. But when it comes to Relative Humidity the only mention about it is inesp_zigbee_zcl_common.hand a bit inesp-zboss-lib. There's no way of adding humidity sensor usingesp-zigbee-sdk. When I try to useesp_zb_custom_cluster_add_custom_attrit complains that cluster id is out of range, when i tryesp_zb_temperature_meas_cluster_add_attrwith Humidity sensor cluster id (0x0405) it complains that this id is not for temperature sensor.So long story short: what's the way of adding humidity sensor using this SDK withouth rewriting project to some low-level implementation like
esp-zboss-lib? Thanks!