2024-06-10 10:23:12 +00:00
|
|
|
substitutions:
|
2024-06-11 17:24:26 +00:00
|
|
|
collection_name: mic_holder #mic_holder, stairs, test2
|
2024-06-11 08:38:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
device_name_mic_holder: ledstrip-mic-holder
|
2024-06-11 08:45:05 +00:00
|
|
|
entity_prefix_mic_holder: NBS Mic
|
2024-06-11 08:38:05 +00:00
|
|
|
led_count_mic_holder: "32"
|
|
|
|
|
2024-06-11 19:10:36 +00:00
|
|
|
device_name_stairs: ledstrip-stairs
|
2024-06-11 08:45:05 +00:00
|
|
|
entity_prefix_stairs: Stairs
|
2024-06-11 08:38:05 +00:00
|
|
|
led_count_stairs: "191"
|
|
|
|
|
|
|
|
device_name_test2: teststrip2
|
2024-06-11 08:45:05 +00:00
|
|
|
entity_prefix_test2: Test2
|
2024-06-11 08:38:05 +00:00
|
|
|
led_count_test2: "56"
|
2024-06-10 10:23:12 +00:00
|
|
|
|
2022-05-27 06:41:11 +00:00
|
|
|
esphome:
|
2024-06-11 08:38:05 +00:00
|
|
|
name: ${device_name_${collection_name}}
|
|
|
|
|
|
|
|
esp8266:
|
2022-05-27 06:41:11 +00:00
|
|
|
board: nodemcuv2
|
|
|
|
|
|
|
|
# Enable logging
|
|
|
|
logger:
|
|
|
|
|
|
|
|
ota:
|
|
|
|
password: !secret ledsimplepassword
|
|
|
|
|
|
|
|
api:
|
|
|
|
encryption:
|
|
|
|
key: !secret ledsimplekey
|
|
|
|
|
|
|
|
wifi:
|
|
|
|
ssid: !secret wifi_ssid
|
|
|
|
password: !secret wifi_password
|
|
|
|
fast_connect: true
|
|
|
|
|
|
|
|
light:
|
|
|
|
- platform: neopixelbus
|
|
|
|
type: GRB
|
|
|
|
variant: WS2811
|
|
|
|
pin: D5
|
2024-06-11 08:38:05 +00:00
|
|
|
num_leds: ${led_count_${collection_name}} # 56, 191
|
2024-06-11 08:49:29 +00:00
|
|
|
name: ${entity_prefix_${collection_name}} Leds
|
2022-05-27 06:41:11 +00:00
|
|
|
effects:
|
|
|
|
- addressable_rainbow:
|
|
|
|
- addressable_rainbow:
|
|
|
|
name: Snail Rainbow
|
|
|
|
width: 50
|
|
|
|
speed: 3
|
|
|
|
- addressable_rainbow:
|
|
|
|
name: Fast Rainbow
|
|
|
|
width: 50
|
|
|
|
speed: 30
|
|
|
|
- addressable_rainbow:
|
|
|
|
name: Lightning Rainbow
|
|
|
|
width: 50
|
|
|
|
speed: 60
|
|
|
|
- addressable_color_wipe:
|
|
|
|
- addressable_scan:
|
|
|
|
move_interval: 30ms
|
|
|
|
- addressable_twinkle:
|
|
|
|
twinkle_probability: 15%
|
|
|
|
- addressable_random_twinkle:
|
|
|
|
twinkle_probability: 15%
|
|
|
|
- addressable_fireworks:
|
|
|
|
name: normal
|
|
|
|
spark_probability: 30%
|
|
|
|
- addressable_fireworks:
|
|
|
|
name: '50 Percent'
|
|
|
|
spark_probability: 50%
|
|
|
|
- addressable_fireworks:
|
|
|
|
name: '70 Percent'
|
|
|
|
spark_probability: 77%
|