Skip to content

Instantly share code, notes, and snippets.

@mplinuxgeek
Created August 23, 2019 11:08
Show Gist options
  • Save mplinuxgeek/8c3359a454fa0991f5d32f9692a65ecf to your computer and use it in GitHub Desktop.
Save mplinuxgeek/8c3359a454fa0991f5d32f9692a65ecf to your computer and use it in GitHub Desktop.
esphome:
name: ws2812
platform: ESP8266
board: d1_mini
wifi:
ssid: ''
password: ''
mqtt:
broker: 192.168.1.60
logger:
ota:
password: ''
light:
- platform: fastled_clockless
chipset: WS2812B
internal: true
pin: GPIO2
num_leds: 144
rgb_order: GRB
name: "ws2812"
id: ws2812
- 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: 18
- platform: partition
name: "3"
id: three
segments:
- id: ws2812
from: 19
to: 27
- platform: partition
name: "4"
id: four
segments:
- id: ws2812
from: 28
to: 36
- platform: partition
name: "5"
id: five
segments:
- id: ws2812
from: 37
to: 45
- platform: partition
name: "6"
id: six
segments:
- id: ws2812
from: 46
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