A post was split to a new topic: ESP32-C3 modem sleep
@euan Have you been able to recreate the successful Arduino IDE image with the PlatformIO workaround?
Hello, was anybody able to run ESP32C6 Zigbee using platformio with any framework? I am trying to build a Zigbee coordinator (no wifi required) but cannot get Zigbee options in menuconfig. Tried to search for example but could find anything sensible… ;( Please help
zigbee is a precompiled closed source binary blob. See examples in pioarduino how to build zigbee stuff
Continuing the discussion from ESP32C6 Arduino 3.00 and Zigbee Support:
Hi, I know this topic is a bit old but if anyone is looking for a solution to this I found one.
Using pioarduino I found in the examples the Zigbee Arduino Light example that has the correct platformio.ini information.
[env:seeed_xiao_esp32c6]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = seeed_xiao_esp32c6
framework = arduino
monitor_speed = 115200
board_build.partitions = zigbee.csv
board_build.filesystem = spiffs
build_flags =
-DZIGBEE_MODE_ED
-DCORE_DEBUG_LEVEL=5
I tried the example with this exact code in the platformio.ini and it works great.
The only problem is that the User Led is backwards from the code meaning that a LOW turns the LED on and a HIGH turns it off.
Three corrections that need to be made are.
line 37 change RGB_BUILTIN to LED_BUILTIN - uint8_t led = LED_BUILTIN;
line 33 add a ! in front of value - digitalWrite(led, !value);
Line 53 change Low to High - digitalWrite(led, HIGH);
Doing that will make it work and I was able to add it to Home Assistant as a Zigbee Endpoint device and turn the LED on and off from Home Assistant.
I hope this helps someone as it did for me.
Thanks,
Jeffery