Page 1 of 1

ZigbeeContactSwitch not working on ESP32C6 with arduino

Posted: Sat Feb 15, 2025 6:09 pm
by pioupfr
Hi all !

I'm trying this example :
https://github.com/espressif/arduino-es ... Switch.ino

but my IDE is not okay with it :

/Users/vincent/Desktop/contactSwitch/contactSwitch.ino:28:2: error: 'ZigbeeContactSwitch' does not name a type; did you mean 'ZigbeeSwitch'?
28 | ;ZigbeeContactSwitch zbContactSwitch = ZigbeeContactSwitch(ZIGBEE_SWITCH_ENDPOINT_1);

Is this Object not available trough arduino-esp32 zigbee lib ?

Thanks !

Re: ZigbeeContactSwitch not working on ESP32C6 with arduino

Posted: Sun Feb 16, 2025 5:25 pm
by lbernstone
Make sure you are using v3.1.2, as this is a new endpoint type. If you are, submit a bug report at https://github.com/espressif/arduino-esp32/issues