I would like to trigger the pairing mode for ESP32C6.
What is the correct process for it? Supposing I flash it with arduino. Do I write code in the loop function to switch it to factory reset mode? Or is there an official approach for it?
My purpose is to trigger it into the pairing mode so that it can be discovered by zigbee2mqtt.
I’d like to know, too. There’s nothing about it on the wiki except for something about holding BUTTON_PIN 9 down for 3+ second to trigger a reset, which you’d assume would put it in pairing mode like any other Zigbee device. However, that pin is the Boot pin and pressing it does nothing (watching the serial monitor in the Arduino IDE). Pressing the Reset button pauses whatever it’s doing, but still doesn’t put it in pairing mode. The examples for Zigbee under Arduino, to be honest, were pointless. Perhaps I was anticipating this being as easy getting a Nano Matter connected, which was a breeze (much like the Zigbee example, the Matter example was also unhelpful). Not sure why this can’t get connected to Matter under Arduino like the XIAO MG24 can??
If you find out how, please come back and post! It would certainly be more helpful than telling people to “Head over to the WIKI and READ” as some suggest…
So , AFAIK the OP went to the wiki and read the info and was able to get it done. I was able to follow the directions and get it done as well. UNLESS you can’t read or comprehend post your code and we can spoon it in for you.
HTH
GL PJ
FYI, I was able to add the Xiao ESP32C6 to the Relay Board and connect with the Launchpad and both the HA and HomeSeeer as well the rainmaker mobile app work also Google and Alexa work with it.
There are great Github’s to it but since you think recommending a link is Not , I won’t GL (btw you won’t get much quality help with an attitude like that , just saying)