aff8f85afd
Adding one additional LED to each segment
142 lines
3.3 KiB
YAML
142 lines
3.3 KiB
YAML
esphome:
|
|
name: bedroom-lightstrips
|
|
|
|
esp8266:
|
|
board: nodemcuv2
|
|
|
|
logger:
|
|
level: INFO
|
|
baud_rate: 0
|
|
|
|
ota:
|
|
password: "69ad39126b95f706a401f48614a8404d"
|
|
|
|
wifi:
|
|
ssid: !secret ssid
|
|
password: !secret pass
|
|
fast_connect: true
|
|
|
|
mqtt:
|
|
broker: mqtt.srv.jnf.me
|
|
username: esphome
|
|
password: esphome
|
|
topic_prefix: esphome/bedroom-lightstrips
|
|
|
|
light:
|
|
- platform: neopixelbus
|
|
name: "Under Bed Lights"
|
|
id: underbedlights
|
|
internal: true
|
|
variant: WS2812X
|
|
pin: GPIO3
|
|
num_leds: 104
|
|
|
|
- platform: partition
|
|
name: "Jason's Under Bed Lights"
|
|
id: jasonsunderbedlights
|
|
segments:
|
|
- id: underbedlights
|
|
from: 0
|
|
to: 51
|
|
effects:
|
|
- addressable_rainbow
|
|
- addressable_color_wipe
|
|
- addressable_scan
|
|
- addressable_twinkle:
|
|
name: Twinkle Light
|
|
twinkle_probability: 5%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Medium
|
|
twinkle_probability: 15%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Heavy
|
|
twinkle_probability: 85%
|
|
progress_interval: 10ms
|
|
- addressable_random_twinkle
|
|
- addressable_fireworks
|
|
- addressable_flicker
|
|
|
|
- platform: partition
|
|
name: "Flo's Under Bed Lights"
|
|
id: flosunderbedlights
|
|
segments:
|
|
- id: underbedlights
|
|
from: 52
|
|
to: 103
|
|
reversed: true
|
|
effects:
|
|
- addressable_rainbow
|
|
- addressable_color_wipe
|
|
- addressable_scan
|
|
- addressable_twinkle:
|
|
name: Twinkle Light
|
|
twinkle_probability: 5%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Medium
|
|
twinkle_probability: 15%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Heavy
|
|
twinkle_probability: 85%
|
|
progress_interval: 10ms
|
|
- addressable_random_twinkle
|
|
- addressable_fireworks
|
|
- addressable_flicker
|
|
|
|
- platform: neopixelbus
|
|
name: "Headboard Lights"
|
|
id: headboardlights
|
|
variant: WS2812X
|
|
pin: GPIO1
|
|
num_leds: 46
|
|
effects:
|
|
- addressable_rainbow
|
|
- addressable_color_wipe
|
|
- addressable_scan
|
|
- addressable_twinkle:
|
|
name: Twinkle Light
|
|
twinkle_probability: 5%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Medium
|
|
twinkle_probability: 15%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Heavy
|
|
twinkle_probability: 85%
|
|
progress_interval: 10ms
|
|
- addressable_fireworks
|
|
- addressable_flicker
|
|
|
|
- platform: neopixelbus
|
|
name: "Tree Lights"
|
|
id: treelights
|
|
variant: WS2812X
|
|
pin: GPIO2
|
|
num_leds: 50
|
|
effects:
|
|
- addressable_rainbow
|
|
- addressable_color_wipe
|
|
- addressable_scan
|
|
- addressable_twinkle:
|
|
name: Twinkle Light
|
|
twinkle_probability: 5%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Medium
|
|
twinkle_probability: 15%
|
|
progress_interval: 10ms
|
|
- addressable_twinkle:
|
|
name: Twinkle Heavy
|
|
twinkle_probability: 85%
|
|
progress_interval: 10ms
|
|
- addressable_random_twinkle
|
|
- addressable_fireworks
|
|
- addressable_flicker
|
|
|
|
button:
|
|
- platform: restart
|
|
name: "Restart" |