Skip to content

Instantly share code, notes, and snippets.

@baldowl
Last active February 27, 2025 14:14
Show Gist options
  • Save baldowl/a413c2a08c10bc62c1a72328caac98c1 to your computer and use it in GitHub Desktop.
Save baldowl/a413c2a08c10bc62c1a72328caac98c1 to your computer and use it in GitHub Desktop.
Playing with ESP32-C6 and ESPHome
# Originally used with ESPHome 2023.11.06; tested with ESPHome 2024.11.3 and 2024.12.1
esp32:
board: esp32-c6-devkitc-1
flash_size: 8MB
variant: esp32c6
framework:
type: esp-idf
version: 5.1.2 # latest version when tested with ESPHome 2023.11.06
sdkconfig_options:
CONFIG_ESPTOOLPY_FLASHSIZE_8MB: y
platform_version: 6.4.0 # latest version when tested with ESPHome 2023.11.06
# If using ESPHome 2024.12.0, this can be greately simplified:
#
# esp32:
# board: esp32-c6-devkitc-1
# flash_size: 8MB
# framework:
# type: esp-idf
# sdkconfig_options:
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB: y
light:
- platform: esp32_rmt_led_strip
name: Status LED
pin: GPIO8
rgb_order: RGB
num_leds: 1
rmt_channel: 0
chipset: ws2812
entity_category: config
@rvalitov
Copy link

The LED does not work with this code.

@baldowl
Copy link
Author

baldowl commented Oct 22, 2024

I used it with https://www.waveshare.com/product/mcu-tools/development-boards/esp32/esp32-c6-dev-kit-n8.htm and it worked last year 🤷‍♂️ I haven't touched it since then, so I cannot say anything else.

@rvalitov
Copy link

Thank you for sharing the details.
I'm using this device https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitc-1/user_guide_v1.1.html
It says it also works with GPIO8:
image

Unfortunately this code does not work. I tried your versions of ESP-IDF and Platform, and the latest 5.3.1 and 6.9.0 - no success 😞

@junosuarez
Copy link

junosuarez commented Jan 5, 2025

Got this working on my ESP32-c6-devkitc-1 revision v0.0 early sample boards. Note the rgb_order for me was rgb_order: GRB.

@onlynow2
Copy link

onlynow2 commented Feb 4, 2025

Thank you very much for providing this config.
I can confirm, this works on "Waveshare ESP32-C6-DEV-KIT-N8" board 🎉

@trianglesis
Copy link

Does not work in my setup with any version.

light.esp32_rmt_led_strip: [source my_proj/esp32-c6-1.yaml:203]
  platform: esp32_rmt_led_strip
  rgb_order: RGB
  pin: GPIO08
  num_leds: 1
  
  This feature is not available for the IDF framework version 5.
  rmt_channel: 0
  chipset: ws2812
  name: ESP32_C6_1 RTM LED Light
  web_server: 
    sorting_group_id: sorting_group_controls

Board: https://www.aliexpress.com/item/1005006271962503.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment