Added light

This commit is contained in:
Edward Firmo
2024-05-24 14:42:15 +02:00
parent d4e741216c
commit 1621f09038

View File

@@ -1,11 +1,6 @@
substitutions: substitutions:
name: tx-ultimate name: tx-ultimate-easy
friendly_name: TX Ultimate friendly_name: TX Ultimate Easy
led_pin: GPIO13
status_led_pin: GPIO33
audio_sdata_pin: GPIO15
api: api:
@@ -77,6 +72,66 @@ i2s_audio:
i2s_lrclk_pin: GPIO4 i2s_lrclk_pin: GPIO4
i2s_bclk_pin: GPIO2 i2s_bclk_pin: GPIO2
light:
- id: light_led
name: Light - LED
platform: esp32_rmt_led_strip
rgb_order: GRB
pin: GPIO33
num_leds: 28
rmt_channel: 0
chipset: ws2812
effects:
- addressable_rainbow:
- addressable_rainbow:
name: "Rainbow - Fast"
speed: 50
- pulse:
- pulse:
name: "Pulse - Fast"
transition_length: 0.5s
update_interval: 0.5s
- pulse:
name: "Pulse - Slow"
update_interval: 2s
- addressable_scan:
- addressable_scan:
name: Scan Effect With Custom Values
move_interval: 100ms
scan_width: 3
- addressable_twinkle:
- addressable_twinkle:
name: Twinkle Effect With Custom Values
twinkle_probability: 5%
progress_interval: 4ms
- addressable_random_twinkle:
- addressable_random_twinkle:
name: Random Twinkle Effect With Custom Values
twinkle_probability: 20%
progress_interval: 32ms
- addressable_fireworks:
- addressable_fireworks:
name: Fireworks Effect With Custom Values
update_interval: 32ms
spark_probability: 10%
use_random_color: false
fade_out_rate: 120
- addressable_flicker:
- addressable_flicker:
name: Flicker Effect With Custom Values
update_interval: 16ms
intensity: 5%
- random:
# - id: light_status
# name: Light - Status
# platform: esp32_rmt_led_strip
# rgb_order: GRB
# pin: GPIO13
# num_leds: 1
# rmt_channel: 0
# chipset: ws2812
logger: logger:
number: number:
@@ -188,5 +243,7 @@ uart:
#- lambda: UARTDebug::log_string(direction, bytes); #- lambda: UARTDebug::log_string(direction, bytes);
- lambda: UARTDebug::log_hex(direction, bytes, ' '); - lambda: UARTDebug::log_hex(direction, bytes, ' ');
web_server:
wifi: wifi:
ap: ap: