Open petermeter69 opened 3 weeks ago
By changing this line in "_include/zcl/esp_zigbee_zclthermostat.h", it compiles:
From:
#define ESP_ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_DEFAULT_VALUE 0xffff
To:
#define ESP_ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_DEFAULT_VALUE 0x7fff
@petermeter69 This is something that needs to be fixed in ESP-Zigbee-SDK. Please open an issue in the repository and also include the proposed fix. If you can also ping me or link this issue there. As its only warning ([-Wnarrowing]) marked as error, you can disable "Compiler Warnings" in the Arduino IDE settings.
@P-R-O-C-H-Y Thanks for you answer, reported there, see: https://github.com/espressif/esp-zigbee-sdk/issues/379
Board
ESP32-H2 Dev module, SuperMini ESP32-H2
Device Description
devkit
Hardware Configuration
no
Version
latest master (checkout manually)
IDE Name
Arduino 2.3.2
Operating System
Win10
Flash frequency
64MHz
PSRAM enabled
yes
Upload speed
921600
Description
On the same machine, I can compile, upload and run 3 of 4 built-in examples (Light switch, light bulb, temp sensor), while unable to compile the 4th example thermostat, with it being not modified by me at all. Partition scheme and Zigbee mode are correctly set (as the working examples show).
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide