Switch light platform to neopixelbus and mediaplayer
This commit is contained in:
@@ -89,13 +89,14 @@ light:
|
|||||||
- id: light_led
|
- id: light_led
|
||||||
name: Light - LED
|
name: Light - LED
|
||||||
platform: neopixelbus
|
platform: neopixelbus
|
||||||
|
type: GRB
|
||||||
|
variant: WS2811
|
||||||
# platform: esp32_rmt_led_strip
|
# platform: esp32_rmt_led_strip
|
||||||
rgb_order: GRB
|
# rgb_order: GRB
|
||||||
pin: GPIO33
|
# rmt_channel: 0
|
||||||
num_leds: 28
|
|
||||||
rmt_channel: 0
|
|
||||||
chipset: ws2811
|
|
||||||
# chipset: ws2812
|
# chipset: ws2812
|
||||||
|
num_leds: 28
|
||||||
|
pin: GPIO33
|
||||||
effects:
|
effects:
|
||||||
- addressable_rainbow:
|
- addressable_rainbow:
|
||||||
- addressable_rainbow:
|
- addressable_rainbow:
|
||||||
@@ -149,6 +150,16 @@ light:
|
|||||||
|
|
||||||
logger:
|
logger:
|
||||||
|
|
||||||
|
media_player:
|
||||||
|
- id: mp_audio
|
||||||
|
name: Audio player
|
||||||
|
platform: i2s_audio
|
||||||
|
i2s_dout_pin: GPIO15
|
||||||
|
i2s_audio_id: if_i2s_audio
|
||||||
|
i2s_comm_fmt: lsb
|
||||||
|
dac_type: external
|
||||||
|
internal: false
|
||||||
|
|
||||||
number:
|
number:
|
||||||
- id: nr_vibrating_duration
|
- id: nr_vibrating_duration
|
||||||
name: Vibrate duration
|
name: Vibrate duration
|
||||||
|
|||||||
Reference in New Issue
Block a user