From 6ca813fb64024010c7500337468598131e0a561f Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Mon, 28 Sep 2026 22:41:08 +0200 Subject: [PATCH] Pin speaker override (esphome#19862) for stackchan/echo, migrate echo codec option, refresh components hourly --- common/ipv6_only.yaml | 2 +- mcu-echo-1.yaml | 6 ++++++ mcu-echo.yaml | 11 ++++++++--- mcu-stackchan.yaml | 4 ++-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/common/ipv6_only.yaml b/common/ipv6_only.yaml index b0647c4..988edc8 100644 --- a/common/ipv6_only.yaml +++ b/common/ipv6_only.yaml @@ -10,7 +10,7 @@ external_components: # audio HTTP reader over IPv6 (dual-stack hosts resolve A first), drop once in #19750 - source: github://randybb/esphome-components components: [audio] - refresh: 1d + refresh: 1h wifi: networks: diff --git a/mcu-echo-1.yaml b/mcu-echo-1.yaml index d199e98..a791db1 100644 --- a/mcu-echo-1.yaml +++ b/mcu-echo-1.yaml @@ -20,6 +20,12 @@ esp32: packages: common: !include common/common.yaml +external_components: + # speaker media player: skip a failed playlist item (esphome#19862), drop once merged + - source: github://randybb/esphome-components + components: [speaker] + refresh: 1h + api: actions: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h diff --git a/mcu-echo.yaml b/mcu-echo.yaml index b9af273..c08f44d 100644 --- a/mcu-echo.yaml +++ b/mcu-echo.yaml @@ -21,6 +21,12 @@ esp32: packages: common: !include common/common.yaml +external_components: + # speaker media player: skip a failed playlist item (esphome#19862), drop once merged + - source: github://randybb/esphome-components + components: [speaker] + refresh: 1h + api: actions: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h @@ -127,16 +133,15 @@ media_player: - platform: speaker id: media_out name: Player - codec_support_enabled: false buffer_size: 14000 media_pipeline: speaker: media_spk_resampling_input - # format: WAV + format: WAV # only the WAV decoder is built (was codec_support_enabled: false) # num_channels: 1 # sample_rate: 8000 # Lower sample rate announcement_pipeline: speaker: announcement_spk_resampling_input - # format: WAV + format: WAV # num_channels: 1 # sample_rate: 8000 # Lower sample rate on_play: diff --git a/mcu-stackchan.yaml b/mcu-stackchan.yaml index 8ab852e..e91fca8 100644 --- a/mcu-stackchan.yaml +++ b/mcu-stackchan.yaml @@ -40,8 +40,8 @@ external_components: components: [axp2101, aw88298, aw9523b, si12t, m5ioe1, ftservo, scs9009] refresh: 0s - source: github://randybb/esphome-components - components: [audio_spectrum] - refresh: 1d + components: [audio_spectrum, speaker] # speaker: esphome#19862, drop once merged + refresh: 1h globals: - id: in_love