mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
air-office-r: document hardware, disable the LEDs until the stick is fixed
The TZT 8-bit WS2812 stick lights up random colours after the first LED.
This commit is contained in:
1 parent
1a2aec5d01
commit
c5ab280725
1 file changed
+61
-59
+61
-59
@@ -1,4 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
# Hardware: IKEA VINDRIKTNING (modded) + M5Stack M5Stamp Pico
|
||||||
|
# Pinout:
|
||||||
|
# GPIO21 PM1006 UART -> particle_uart (uart tx_pin)
|
||||||
|
# GPIO22 PM1006 UART -> particle_uart (uart rx_pin)
|
||||||
|
# GPIO25 TZT 8-bit WS2812 5050 stick (8 LEDs, 7 visible outside; LEDs 1-7 broken), disabled
|
||||||
|
# GPIO27 Onboard RGB LED (1x WS2812, inside), unused
|
||||||
|
# GPIO32 Grove SDA -> i2c (i2c sda)
|
||||||
|
# GPIO33 Grove SCL -> i2c (i2c scl)
|
||||||
substitutions:
|
substitutions:
|
||||||
device: air-office-r
|
device: air-office-r
|
||||||
name: Office R Air
|
name: Office R Air
|
||||||
@@ -45,65 +53,59 @@ uart:
|
|||||||
# number: 39
|
# number: 39
|
||||||
# inverted: true
|
# inverted: true
|
||||||
|
|
||||||
light:
|
# LEDs disabled until the stick is fixed (LEDs after the first one light up randomly)
|
||||||
- platform: esp32_rmt_led_strip
|
# light:
|
||||||
# name: LED
|
# # only the first LED of the stick: the rest get garbage (broken DOUT after LED 0)
|
||||||
id: neo
|
# - platform: esp32_rmt_led_strip
|
||||||
channel_colors: GRB
|
# name: NEO
|
||||||
pin: 27
|
# id: neo
|
||||||
num_leds: 1
|
# channel_colors: GRB
|
||||||
chipset: ws2812
|
# pin: 25
|
||||||
restore_mode: ALWAYS_OFF
|
# num_leds: 1
|
||||||
- platform: esp32_rmt_led_strip
|
# chipset: ws2812
|
||||||
name: NEO
|
# restore_mode: ALWAYS_OFF
|
||||||
id: neo_strip
|
# effects:
|
||||||
channel_colors: GRB
|
# - random:
|
||||||
pin: 25
|
# - random:
|
||||||
num_leds: 7
|
# name: "My Slow Random Effect"
|
||||||
chipset: ws2812
|
# transition_length: 30s
|
||||||
restore_mode: ALWAYS_OFF
|
# update_interval: 30s
|
||||||
effects:
|
# - random:
|
||||||
- random:
|
# name: "My Fast Random Effect"
|
||||||
- random:
|
# transition_length: 4s
|
||||||
name: "My Slow Random Effect"
|
# update_interval: 5s
|
||||||
transition_length: 30s
|
# - strobe:
|
||||||
update_interval: 30s
|
# - strobe:
|
||||||
- random:
|
# name: Strobe Effect With Custom Values
|
||||||
name: "My Fast Random Effect"
|
# colors:
|
||||||
transition_length: 4s
|
# - state: True
|
||||||
update_interval: 5s
|
# brightness: 100%
|
||||||
- strobe:
|
# red: 100%
|
||||||
- strobe:
|
# green: 90%
|
||||||
name: Strobe Effect With Custom Values
|
# blue: 0%
|
||||||
colors:
|
# duration: 500ms
|
||||||
- state: True
|
# - state: False
|
||||||
brightness: 100%
|
# duration: 250ms
|
||||||
red: 100%
|
# - state: True
|
||||||
green: 90%
|
# brightness: 100%
|
||||||
blue: 0%
|
# red: 0%
|
||||||
duration: 500ms
|
# green: 100%
|
||||||
- state: False
|
# blue: 0%
|
||||||
duration: 250ms
|
# duration: 500ms
|
||||||
- state: True
|
# - flicker:
|
||||||
brightness: 100%
|
# - flicker:
|
||||||
red: 0%
|
# name: Flicker Effect With Custom Values
|
||||||
green: 100%
|
# alpha: 95%
|
||||||
blue: 0%
|
# intensity: 1.5%
|
||||||
duration: 500ms
|
# - addressable_rainbow:
|
||||||
- flicker:
|
# - addressable_rainbow:
|
||||||
- flicker:
|
# name: Rainbow Effect With Custom Values
|
||||||
name: Flicker Effect With Custom Values
|
# speed: 10
|
||||||
alpha: 95%
|
# width: 50
|
||||||
intensity: 1.5%
|
# - addressable_scan:
|
||||||
- addressable_rainbow:
|
# - addressable_scan:
|
||||||
- addressable_rainbow:
|
# name: Scan Effect With Custom Values
|
||||||
name: Rainbow Effect With Custom Values
|
# move_interval: 100ms
|
||||||
speed: 10
|
|
||||||
width: 50
|
|
||||||
- addressable_scan:
|
|
||||||
- addressable_scan:
|
|
||||||
name: Scan Effect With Custom Values
|
|
||||||
move_interval: 100ms
|
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
# https://blissair.com/what-is-pm-2-5.htm
|
# https://blissair.com/what-is-pm-2-5.htm
|
||||||
|
|||||||
Reference in new issue
Block a user