70 lines
1.6 KiB
YAML
70 lines
1.6 KiB
YAML
substitutions:
|
|
device_name: ledstrip_mic-holder #ledstrip_mic-holder, ledstrip_stairs, teststrip2
|
|
entity_prefix: nbs_mic # nbs_mic, stairs, test2_
|
|
led_count: "32" # 32, 56, 191
|
|
|
|
esphome:
|
|
name: ${device_name} # teststrip2, ledstrip_stairs, mic-holder
|
|
platform: 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
|
|
# use_address: teststrip2.local
|
|
|
|
mqtt:
|
|
broker: !secret mqtt_broker_1
|
|
client_id: "teststrip"
|
|
username: !secret mqtt_broker_1_username
|
|
password: !secret mqtt_broker_1_password
|
|
|
|
light:
|
|
- platform: neopixelbus
|
|
type: GRB
|
|
variant: WS2811
|
|
pin: D5
|
|
num_leds: ${led_count} # 56, 191
|
|
name: ${entity_prefix}_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%
|