ZigbeeContactSwitch not working on ESP32C6 with arduino

pioupfr
Posts: 1
Joined: Sat Feb 15, 2025 6:02 pm

ZigbeeContactSwitch not working on ESP32C6 with arduino

Postby pioupfr » Sat Feb 15, 2025 6:09 pm

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 !

lbernstone
Posts: 916
Joined: Mon Jul 22, 2019 3:20 pm

Re: ZigbeeContactSwitch not working on ESP32C6 with arduino

Postby lbernstone » Sun Feb 16, 2025 5:25 pm

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

Who is online

Users browsing this forum: No registered users and 131 guests