From 99cc9f8b7958ba172d8f58334e4919ee65085113 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 27 May 2024 01:44:00 +0200 Subject: [PATCH] Switch light platform to neopixelbus and mediaplayer --- ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml b/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml index abd7ba2..c83c9ef 100644 --- a/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml +++ b/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml @@ -89,13 +89,14 @@ light: - id: light_led name: Light - LED platform: neopixelbus + type: GRB + variant: WS2811 # platform: esp32_rmt_led_strip - rgb_order: GRB - pin: GPIO33 - num_leds: 28 - rmt_channel: 0 - chipset: ws2811 + # rgb_order: GRB + # rmt_channel: 0 # chipset: ws2812 + num_leds: 28 + pin: GPIO33 effects: - addressable_rainbow: - addressable_rainbow: @@ -149,6 +150,16 @@ light: 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: - id: nr_vibrating_duration name: Vibrate duration