Skip to content

Instantly share code, notes, and snippets.

@baldowl
Last active March 20, 2025 00:49
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
@trianglesis
Copy link

@trianglesis The error message is unclear but it seems to be saying that "rmt_channel: 0" is not supported. Removing that fixes it for me.

That is interesting.
Does that give you control over the board's LED?

  • power on\off
  • color change

@midnightveil
Copy link

@trianglesis Yep! All works fine. Not the same board as yours, this is a knockoff of the Waveshare ESP-C6-Zero board but I'd be surprised if it was different.

@mafrosis
Copy link

I played with another similar device this weekend: https://www.waveshare.com/esp32-c6-lcd-1.47.htm

Like @midnightveil, I also had that rmt_channel error about IDF v5. LED works great with that line removed 👍

@trianglesis
Copy link

It worked just fine!

But colours are inverted:

light:
  - platform: esp32_rmt_led_strip
    name: Status LED
    pin: GPIO8
    rgb_order: GRB
    num_leds: 1
    chipset: ws2812
    web_server: 
      sorting_group_id: sorting_group_controls

image

@midnightveil
Copy link

Change the rgb_order to the correct order. Probably look at your data sheet for this.

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