Ich habe versucht mein Internetradio wiederherzustellen. Leider habe ich mit der yaml keinen erfolg gehabt.
esphome:
name: s3-webradio
friendly_name: S3_Webradio
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
sdkconfig_options:
CONFIG_ESP32S3_SPIRAM_SUPPORT: y
CONFIG_SPIRAM: y
CONFIG_SPIRAM_BOOT_INIT: y
CONFIG_ESP32S3_DATA_CACHE_64KB: y
CONFIG_ESP32S3_DATA_CACHE_LINE_64B: y
psram:
mode: octal
speed: 80MHz
ignore_not_found: false
# Enable logging
logger:
level: VERBOSE
# Enable Home Assistant API
api:
encryption:
key: "J7BqVvosQIEd33stREF3F4wnrnU/xLBh9azmBaBSyyI="
ota:
- platform: esphome
password: "e9cba7a060bdb7c1260e31ed5e4233d3"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "S3-Webradio Fallback Hotspot"
password: "OszQmztlZYx3"
audio:
codecs:
mp3:
i2s_audio:
- id: i2s_out
i2s_lrclk_pin: GPIO17
i2s_bclk_pin: GPIO18
speaker:
# Hardware I2S Speaker
- platform: i2s_audio
id: hw_speaker
i2s_audio_id: i2s_out
dac_type: external
i2s_dout_pin: GPIO16
channel: mono
bits_per_sample: 16bit
sample_rate: 44100
use_apll: true
# Speaker für MEDIA-Pipeline
- platform: resampler
id: media_spk
output_speaker: hw_speaker
sample_rate: 44100
bits_per_sample: 16
# Speaker für ANNOUNCEMENT-Pipeline
- platform: resampler
id: ann_spk
output_speaker: hw_speaker
sample_rate: 44100
bits_per_sample: 16
media_player:
- platform: speaker
id: mein_radio
name: "S3_Internetradio"
volume_increment: 0.02
buffer_size: 2000000
media_pipeline:
speaker: media_spk
format: MP3
sample_rate: 44100
num_channels: 1
announcement_pipeline:
speaker: ann_spk
format: MP3
sample_rate: 44100
num_channels: 1
binary_sensor:
- platform: gpio
id: Station_1
pin:
number: GPIO14
mode:
input: true
pullup: true
name: "Station 1"
- platform: gpio
id: Station_2
pin:
number: GPIO13
mode:
input: true
pullup: true
name: "Station 2"
- platform: gpio
id: Station_3
pin:
number: GPIO12
mode:
input: true
pullup: true
name: "Station 3"
- platform: gpio
id: Station_4
pin:
number: GPIO11
mode:
input: true
pullup: true
name: "Station 4"
- platform: status
name: "ESP32-S3 Status"
captive_portal:
Ich kann alles bedienen aber es kommt immer noch kein ton.
Ich habe etwas von mp3 Problemen gelesen. Mein Englisch ist nicht sehr gut und die übersetzung ins Deutsch begreife ich nicht so Recht.
by HarryP:
. Zusammenführung Doppelpost (bei Änderungen oder hinzufügen von Inhalten bitte die „Bearbeitungsfunktion“anstatt „Antworten“ zu nutzen)
. Code-/Logzeilen formatiert (bitte immer in </> einbinden)
. s.a.: ( Neues Update & Features - Hier in der Community 🫶 )
Ich Stelle meine Frage Mal anders. Wer hat mit espHome 2026.5.2 /Mediaplayer/i2s/ und Speaker einen funktionirenden MP3 Player zum laufen gebracht. Wenn möglich bitte den yaml Code Posten. Ich benötige nur einen Mono Mediakanal. Habe vergessen zu erwähnen ep32s3 mit PSRam Nutzung. Homassistant und ESPHome Bilder laufen auf einem Raspberry pi4.