Page 1 of 1

ESC32-C6-Devkit-C-1 don't run esp-zigbee-sdk examples esp_zigbee_HA_sample

Posted: Thu Oct 05, 2023 10:29 am
by Radek.Dymak
Hello I'm quite new, to ESP32 product therefore I apologize myself for any eventual basic mistakes

I try to build and run examples of HA_on_off_light and HA_on_off_switch. Version of sdk is 0.9.5. I'm using Espressif IDE.
I copy this HA example and common folders to esp-idf-v5.1.1 example folder. Then I click File/new/Espressif IDF Project in ESP IDE . In wizard i select Create project using one of templates and then I select this HA templates from SDK.

Then i edit path to EXTRA_COMPONENT_DIRS in Cmakelists.txt.

Target was set to esp32c6 in ESP IDE. Then I build both HA examples without any error. Then I flash them to the dev kits.

First time i powered up HA_switch (coordinator) wait 10s and then power up HA_light (End device), wait another 10s and try to press BOOT button on HA_Switch device, but nothing happens.

When I try HA switch/light example which is part of esp-idf everything works fine.

Please can you advice me what is wrong?

Re: ESC32-C6-Devkit-C-1 don't run esp-zigbee-sdk examples esp_zigbee_HA_sample

Posted: Fri Oct 06, 2023 4:26 am
by Radek.Dymak
I Forget to run 'idf.py -p PORT erase-flash' before I flash this examples. Now everything run correctly