espHome-NBS-files/ledstrip_simple.yaml

65 lines
1.4 KiB
YAML

esphome:
name: teststrip2 # teststrip2, ledstrip_stairs
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: 56 # 56, 191
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%