Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESPhome builder 2025.2
#1
After updating ESPhome builder in HA.  The device can no longer be updated. Something goes wrong with LED.

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/as.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/7672/head
Failed config

light.esp32_rmt_led_strip: [source /config/esphome/as.yaml:133]
platform: esp32_rmt_led_strip
id: led_ww
rgb_order: GRB
pin: GPIO15
num_leds: 3

This feature is not available for the IDF framework version 5.
rmt_channel: 0
chipset: ws2812
name: On Board Light 1
effects:
- addressable_color_wipe:
name: Startup Pulse
colors:
 
The device is working only new device can not be intergradet in HA
Reply
#2
do you use ESP-IDF framework or arduino framework for esphome yaml?
Reply
#3
(02-19-2025, 10:16 PM)admin Wrote: do you use ESP-IDF framework or arduino framework for esphome yaml?

I have exactly the same configuration failure. Using the esphome yaml from your site since around November 2024. Framework: esp-idf

Regards,

Michael
Reply
#4
you can post your full yaml file.
Reply
#5
Here is mine yaml file.

esphome:
name: as
friendly_name: AS
platformio_options:
board_build.flash_mode: dio
on_boot:
priority: -10
then:
- light.turn_off: led_ww
- light.turn_on:
id: led_ww
red: 100%
green: 100%
blue: 100%
brightness: 100%
effect: "Startup Pulse"
- delay: 8s
- light.turn_on: led_ww

esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: "y"
CONFIG_ESP32S3_DATA_CACHE_64KB: "y"
CONFIG_ESP32S3_DATA_CACHE_LINE_64B: "y"
CONFIG_AUDIO_BOARD_CUSTOM: "y"

external_components:
- source: github://pr#7672
components:
- audio
- speaker
- i2s_audio
refresh: 0s

psram:
mode: octal
speed: 80MHz

logger:
hardware_uart: USB_SERIAL_JTAG

api:
encryption:
key: "TFpb+pBAvQIS1MVwaA7EoJ2DkpWE+79UvVro7yMyGdU="
on_client_connected:
then:
- delay: 50ms
- light.turn_off: led_ww
- micro_wake_word.start:
on_client_disconnected:
then:
- voice_assistant.stop:

ota:
platform: esphome
password: "1245211a05eef56614a2ef5a3f3e971c"

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
reboot_timeout: 10min
power_save_mode: none
ap:
ssid: "Esp32-S3-Wake-Word"
password: "LJfUrdJk3svP"

captive_portal:

button:
- platform: restart
name: Restart
id: but_rest

switch:
- platform: template
id: mute
name: Mute
optimistic: true
on_turn_on:
- micro_wake_word.stop:
- voice_assistant.stop:
- light.turn_on:
id: led_ww
red: 100%
green: 0%
blue: 0%
brightness: 100%
effect: "Scan Effect"
- delay: 8s
- light.turn_off: led_ww
- light.turn_on:
id: led_ww
red: 100%
green: 0%
blue: 0%
brightness: 60%
- light.turn_on:
id: led_ww2
red: 100%
green: 0%
blue: 0%
brightness: 60%
on_turn_off:
- micro_wake_word.start:
- speaker.volume_set: 90%
- light.turn_on:
id: led_ww
red: 0%
green: 100%
blue: 0%
brightness: 100%
effect: "Scan Effect 2"
- delay: 8s
- light.turn_off: led_ww
- light.turn_on:
id: led_ww
red: 100%
green: 9%
blue: 86%
brightness: 60%
- light.turn_on:
id: led_ww2
red: 0%
green: 0%
blue: 100%
brightness: 60%

light:
- platform: esp32_rmt_led_strip
id: led_ww
rgb_order: GRB
pin: GPIO15
num_leds: 3
rmt_channel: 0
chipset: ws2812
name: "On Board Light 1"
effects:
- addressable_color_wipe:
name: "Startup Pulse"
colors:
- red: 100%
green: 100%
blue: 0%
num_leds: 3
- red: 0%
green: 0%
blue: 100%
num_leds: 1
add_led_interval: 200ms
reverse: true
- pulse:
name: "Fast Pulse"
transition_length: 0.5s
update_interval: 0.5s
min_brightness: 0%
max_brightness: 100%
- addressable_scan:
name: "Scan Effect"
move_interval: 300ms
scan_width: 1
- addressable_color_wipe:
name: "Scan Effect 2"
colors:
- red: 100%
green: 0%
blue: 0%
num_leds: 3
- red: 0%
green: 100%
blue: 0%
num_leds: 1
add_led_interval: 200ms
reverse: true

- platform: esp32_rmt_led_strip
id: led_ww2
rgb_order: RGB
pin: GPIO16
num_leds: 1
rmt_channel: 1
chipset: ws2812
name: "On Board Light 2"
effects:
- pulse:
name: "Fast Pulse"
transition_length: 0.5s
update_interval: 0.5s
min_brightness: 0%
max_brightness: 100%

i2s_audio:
- id: i2s_in
i2s_lrclk_pin: GPIO3
i2s_bclk_pin: GPIO2
- id: i2s_speaker
i2s_lrclk_pin: GPIO6
i2s_bclk_pin: GPIO7

microphone:
- platform: i2s_audio
id: va_mic
adc_type: external
i2s_din_pin: GPIO4
channel: left
pdm: false
i2s_audio_id: i2s_in
bits_per_sample: 16bit

speaker:
platform: i2s_audio
id: va_speaker
i2s_audio_id: i2s_speaker
dac_type: external
i2s_dout_pin: GPIO8
channel: left
sample_rate: 48000

media_player:
- platform: speaker
name: "AS Media Player" # Geef het een duidelijke naam
id: speaker_media_player_id # Belangrijk voor eventuele andere automatiseringen
speaker: va_speaker # Verwijst naar je speaker configuratie
sample_rate: 48000 # Overeenkomstig met je speaker sample rate
on_play: # Acties wanneer het afspelen start
- logger.log: "Playback started!" # Logbericht (handig voor debugging)
- light.turn_on:
id: led_ww
red: 100%
green: 100%
blue: 0%
brightness: 100%
effect: "Startup Pulse" # Volledige helderheid
on_idle: # Acties wanneer het afspelen stopt
- logger.log: "Playback finished!" # Logbericht
- light.turn_off: led_ww # LED uitzetten
- light.turn_on:
id: led_ww
red: 100%
green: 9%
blue: 86%
brightness: 60%

micro_wake_word:
on_wake_word_detected:
- speaker.volume_set: !lambda "return 0,8;"
- voice_assistant.start:
wake_word: !lambda return wake_word;
- light.turn_on:
id: led_ww2
red: 0%
green: 100%
blue: 0%
brightness: 100%
effect: "Fast Pulse"
- light.turn_on:
id: led_ww
red: 0%
green: 0%
blue: 100%
brightness: 100%
effect: "Scan Effect"
models:
- model: alexa

voice_assistant:
id: va
microphone: va_mic
noise_suppression_level: 2.0
speaker: va_speaker
on_stt_end:
then:
- light.turn_on:
id: led_ww2
red: 0%
green: 0%
blue: 100%
brightness: 100%
- light.turn_on:
id: led_ww
red: 100%
green: 9%
blue: 86%
brightness: 60%
on_error:
- light.turn_on:
id: led_ww
red: 100%
green: 0%
blue: 0%
brightness: 60%
- delay: 2s
- micro_wake_word.start:
on_end:
then:
- light.turn_off: led_ww2
- light.turn_off: led_ww
- delay: 2s
- light.turn_on: led_ww2
- light.turn_on:
id: led_ww
red: 100%
green: 9%
blue: 86%
brightness: 60%
- wait_until:
not:
voice_assistant.is_running:
- micro_wake_word.start:
Reply
#6
can you post the TXT file at here, so that i can copy and paste , directly to test whether can compiler.
Reply
#7
Here it is. I had a backup so went for the time back to older esphome And then it works.


Attached Files
.txt   AS.txt (Size: 6.79 KB / Downloads: 0)
Reply
#8
If you comment out the rmt_channel lines it will compile again, but you loose the second light. No clue how to fix this right now.
Reply


Forum Jump:


Users browsing this thread:
2 Guest(s)