-
-
Save baldowl/a413c2a08c10bc62c1a72328caac98c1 to your computer and use it in GitHub Desktop.
# 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 The error message is unclear but it seems to be saying that "rmt_channel: 0" is not supported. Removing that fixes it for me.
@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
@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.
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 👍
Change the rgb_order to the correct order. Probably look at your data sheet for this.
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