Skip to content

Instantly share code, notes, and snippets.

@glenrobertson
Created January 27, 2026 00:31
Show Gist options
  • Select an option

  • Save glenrobertson/e56b24a2c286ccf7b33a79565014626d to your computer and use it in GitHub Desktop.

Select an option

Save glenrobertson/e56b24a2c286ccf7b33a79565014626d to your computer and use it in GitHub Desktop.
ESPHome config for Seeed XIAO esp32s3 with WS2812 6x10 LED Matrix
# esp32c6 controller: https://www.seeedstudio.com/Seeed-Studio-XIAO-ESP32C6-p-5884.html
# ws2812 matrix: https://www.seeedstudio.com/6x10-RGB-MATRIX-for-XIAO-p-5771.html
esphome:
name: esp32c6_ws2812
friendly_name: esp32c6_ws2812
esp32:
board: seeed_xiao_esp32c6
framework:
type: esp-idf
# Enable logging
logger:
level: DEBUG
web_server:
port: 80
version: 3
# Enable Home Assistant API
api:
ota:
- platform: esphome
password: "password"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "esp32c6_ws2812 Fallback Hotspot"
password: "ws2812"
# Enable time component
time:
- platform: homeassistant
id: esptime
captive_portal:
# WS2812 LED Matrix - 6x10 = 60 LEDs
light:
- platform: esp32_rmt_led_strip
id: led_matrix
name: "LED Matrix"
rgb_order: GRB
pin: GPIO0 # D0 on XIAO ESP32-C6
num_leds: 60
chipset: WS2812
default_transition_length: 0s
effects:
- addressable_rainbow:
name: "Rainbow"
speed: 10
width: 60
- addressable_color_wipe:
name: "Color Wipe"
colors:
- red: 100%
green: 0%
blue: 0%
num_leds: 1
- red: 0%
green: 100%
blue: 0%
num_leds: 1
- red: 0%
green: 0%
blue: 100%
num_leds: 1
add_led_interval: 50ms
reverse: false
- addressable_scan:
name: "Scan"
move_interval: 50ms
scan_width: 3
- addressable_twinkle:
name: "Twinkle"
twinkle_probability: 5%
progress_interval: 4ms
- addressable_fireworks:
name: "Fireworks"
update_interval: 32ms
spark_probability: 10%
use_random_color: true
fade_out_rate: 120
- addressable_flicker:
name: "Flicker"
update_interval: 16ms
intensity: 5%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment