Skip to content

Instantly share code, notes, and snippets.

@mplinuxgeek
Created January 9, 2020 10:01
Show Gist options
  • Save mplinuxgeek/30db4ef628fdbf450e69e31eee40fd72 to your computer and use it in GitHub Desktop.
Save mplinuxgeek/30db4ef628fdbf450e69e31eee40fd72 to your computer and use it in GitHub Desktop.
esphome:
name: wsleaf
platform: ESP8266
board: d1_mini
wifi:
ssid: ''
password: ''
mqtt:
broker: 192.168.1.60
web_server:
port: 80
logger:
ota:
password: ''
light:
- platform: fastled_clockless
chipset: WS2812B
internal: true
pin: GPIO0
num_leds: 144
rgb_order: GRB
name: "0"
id: ws2812
- platform: partition
name: All
id: all
segments:
- id: ws2812
from: 0
to: 64
effects:
- random:
- strobe:
name: Strobe Effect With Custom Values
colors:
- state: True
brightness: 100%
red: 100%
green: 90%
blue: 0%
duration: 500ms
- state: False
duration: 250ms
- state: True
brightness: 100%
red: 0%
green: 100%
blue: 0%
duration: 500ms
- flicker:
name: Flicker Effect With Custom Values
alpha: 75%
intensity: 5%
- addressable_color_wipe:
- addressable_scan:
move_interval: 5ms
- addressable_twinkle:
twinkle_probability: 5%
progress_interval: 2ms
- addressable_random_twinkle:
- addressable_fireworks:
name: Fireworks Effect With Custom Values
update_interval: 20ms
spark_probability: 35%
use_random_color: true
fade_out_rate: 75
- addressable_flicker:
- addressable_rainbow:
name: "Rainbow Effect With Custom Values"
speed: 10
width: 54
- platform: partition
name: "1"
id: one
segments:
- id: ws2812
from: 0
to: 8
- platform: partition
name: "2"
id: two
segments:
- id: ws2812
from: 9
to: 17
- platform: partition
name: "3"
id: three
segments:
- id: ws2812
from: 18
to: 26
- platform: partition
name: "4"
id: four
segments:
- id: ws2812
from: 27
to: 35
- platform: partition
name: "5"
id: five
segments:
- id: ws2812
from: 36
to: 44
- platform: partition
name: "6"
id: six
segments:
- id: ws2812
from: 45
to: 54
- platform: partition
name: "7"
id: seven
segments:
- id: ws2812
from: 55
to: 63
- platform: partition
name: "8"
id: eight
segments:
- id: ws2812
from: 64
to: 72
- platform: partition
name: "9"
id: nine
segments:
- id: ws2812
from: 73
to: 81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment