zbAttributeRead not called on Zigbee endpoint application.
Posted: Fri Feb 07, 2025 6:21 am
I have an ESP32-H2 module and I am trying to make an Airco control.
I have configured a Thermostat endpoint (8).
When I change the occupied heating temperature in the Smartthings app, I get the following message on the console of the ESP32-H2 module:
I have a ZigbeeAirco class that implements , but that is not called.
The endpoint and cluster are correct. So why is zbAttributeRead not called?
What do I need to do to be able to handle the received message (in zbAttributeRead?).
Thanks!
I have configured a Thermostat endpoint (8).
When I change the occupied heating temperature in the Smartthings app, I get the following message on the console of the ESP32-H2 module:
Code: Select all
[316724][V][ZigbeeHandlers.cpp:37] zb_attribute_set_handler(): Received message: endpoint(8), cluster(0x201), attribute(0x12), data size(2)
Code: Select all
zbAttributeRead
Code: Select all
class ZigbeeAirco : public ZigbeeEP {
public:
ZigbeeAirco(uint8_t endpoint);
~ZigbeeAirco() {}
...
void zbAttributeRead(uint16_t cluster_id, const esp_zb_zcl_attribute_t *attribute) override;
};
Code: Select all
ZigbeeAirco::ZigbeeAirco(uint8_t endpoint)
: ZigbeeEP(endpoint) {
...
void ZigbeeAirco::zbAttributeRead(uint16_t cluster_id, const esp_zb_zcl_attribute_t *attribute) {
log_v("zbAttributeRead: %d", attribute->id);
}
...
}
What do I need to do to be able to handle the received message (in zbAttributeRead?).
Thanks!