Open
Description
Board
ESP32C6, ESP32H2
Device Description
ESP32C6 dev kit
Hardware Configuration
nothing more connected
Version
v3.1.2
IDE Name
Arduino IDE
Operating System
Win 11
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
When sending a report user must be sure that report was received at gateway.
For this the gateway is sending a response to the device.
I cannot find a method to check the response from Gateway - it can be interesting for switches - but also for some important sensor values.
It should therefore be possible to query the status and repeat the transmission if necessary.
(If it is not necessary as sample for some sensors, it is possible to save energy and end the waiting process prematurely - even if this is certainly not in line with the Zigbee standard... ;) ...)
Maybe this function is anywhere - but could not find it ;)
Sketch
Sample temperature sketch from
https://github.com/espressif/arduino-esp32/issues/10746
(enabled all debugging, set delay before deep sleep to 900 for debugging)
Debug Message
20:23:26.407 -> [ 2030][V][ZigbeeTempSensor.cpp:58] setTemperature(): Updating temperature sensor value...
20:23:26.407 -> [ 2031][D][ZigbeeTempSensor.cpp:60] setTemperature(): Setting temperature to 1000
20:23:26.407 -> [ 2033][V][ZigbeeTempSensor.cpp:99] setHumidity(): Updating humidity sensor value...
20:23:26.407 -> [ 2035][D][ZigbeeTempSensor.cpp:101] setHumidity(): Setting humidity to 1000
20:23:26.407 -> [ 2036][V][ZigbeeTempSensor.cpp:80] reportTemperature(): Temperature report sent
20:23:26.407 -> [ 2041][V][ZigbeeTempSensor.cpp:122] reportHumidity(): Humidity report sent
20:23:26.407 -> Reported temperature: 10.00°C, Humidity: 10.00%
20:23:26.407 -> Going to sleep now
20:23:26.669 -> [ 2299][V][ZigbeeHandlers.cpp:393] zb_cmd_default_resp_handler(): Received default response: from address(0x0), src_endpoint(1) to dst_endpoint(10), cluster(0x402) with status 0x0
20:23:26.669 -> [ 2310][V][ZigbeeHandlers.cpp:393] zb_cmd_default_resp_handler(): Received default response: from address(0x0), src_endpoint(1) to dst_endpoint(10), cluster(0x405) with status 0x0
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.