Update device_name and refactor configuration for LED controller
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
substitutions:
|
||||
device_name: esp32-led-controller-polly-pocket
|
||||
device_name: led-controller-polly-pocket
|
||||
friendly_name: "LED Strip Controller"
|
||||
|
||||
esphome:
|
||||
@@ -9,7 +9,7 @@ esphome:
|
||||
esp32:
|
||||
board: esp32-c3-devkitm-1
|
||||
framework:
|
||||
type: arduino
|
||||
type: esp-idf
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
@@ -25,7 +25,7 @@ ota:
|
||||
password: !secret ota_password
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
ssid: !secret wifi_iot_ssid
|
||||
password: !secret wifi_password
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
@@ -41,9 +41,9 @@ web_server:
|
||||
|
||||
# LED Light configuration
|
||||
light:
|
||||
- platform: neopixelbus
|
||||
type: GRB
|
||||
variant: WS2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
rgb_order: GRB
|
||||
chipset: WS2812
|
||||
pin: GPIO7
|
||||
num_leds: 60
|
||||
name: "${friendly_name}"
|
||||
|
||||
Reference in New Issue
Block a user