78 lines
1.7 KiB
YAML
78 lines
1.7 KiB
YAML
substitutions:
|
|
collection_name: mic_holder #mic_holder, stais, test2
|
|
|
|
|
|
device_name_mic_holder: ledstrip-mic-holder
|
|
entity_prefix_mic_holder: NBS Mic
|
|
led_count_mic_holder: "32"
|
|
|
|
device_name_stais: ledstrip-stairs
|
|
entity_prefix_stairs: Stairs
|
|
led_count_stairs: "191"
|
|
|
|
device_name_test2: teststrip2
|
|
entity_prefix_test2: Test2
|
|
led_count_test2: "56"
|
|
|
|
esphome:
|
|
name: ${device_name_${collection_name}}
|
|
project:
|
|
name: "nbsgamesat.simple-ledstrip"
|
|
version: "1.0.0"
|
|
|
|
esp8266:
|
|
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
|
|
num_leds: ${led_count_${collection_name}} # 56, 191
|
|
name: ${entity_prefix_${collection_name}} Ledstrip
|
|
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%
|