2de799c753
Adding custom twinkle function and reducing the number of lights by one as a result of rewiring a faulty connection between the two sides of the bed
138 lines
3.3 KiB
YAML
138 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: henry.int.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: 102
|
|
|
|
- platform: partition
|
|
name: "Jason's Under Bed Lights"
|
|
id: jasonsunderbedlights
|
|
segments:
|
|
- id: underbedlights
|
|
from: 0
|
|
to: 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
|
|
|
|
- platform: partition
|
|
name: "Flo's Under Bed Lights"
|
|
id: flosunderbedlights
|
|
segments:
|
|
- id: underbedlights
|
|
from: 51
|
|
to: 101
|
|
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 |