Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO ESPHome 2025.10.4
- INFO Reading configuration /config/esphome/musicplayer1.yaml...
- INFO Starting log output from 192.168.178.16 using esphome API
- INFO Successfully resolved musicplayer1 @ 192.168.178.16 in 0.000s
- INFO Successfully connected to musicplayer1 @ 192.168.178.16 in 0.082s
- INFO Successful handshake with musicplayer1 @ 192.168.178.16 in 0.051s
- [12:48:09.418][I][app:185]: ESPHome version 2025.10.4 compiled on Nov 30 2025, 12:28:19
- [12:48:09.419][C][wifi:679]: WiFi:
- [12:48:09.419][C][wifi:458]: Local MAC: 30:ED:A0:BB:8F:34
- [12:48:09.419][C][wifi:465]: IP Address: 192.168.178.16
- [12:48:09.419][C][wifi:469]: SSID: [redacted]
- [12:48:09.419][C][wifi:469]: BSSID: [redacted]
- [12:48:09.419][C][wifi:469]: Hostname: 'musicplayer1'
- [12:48:09.419][C][wifi:469]: Signal strength: -44 dB ▂▄▆█
- [12:48:09.419][C][wifi:469]: Channel: 6
- [12:48:09.419][C][wifi:469]: Subnet: 255.255.255.0
- [12:48:09.419][C][wifi:469]: Gateway: 192.168.178.1
- [12:48:09.419][C][wifi:469]: DNS1: 0.0.0.0
- [12:48:09.419][C][wifi:469]: DNS2: 0.0.0.0
- [12:48:09.423][C][logger:261]: Logger:
- [12:48:09.423][C][logger:261]: Max Level: DEBUG
- [12:48:09.423][C][logger:261]: Initial Level: DEBUG
- [12:48:09.424][C][logger:267]: Log Baud Rate: 115200
- [12:48:09.424][C][logger:267]: Hardware UART: USB_SERIAL_JTAG
- [12:48:09.424][C][logger:274]: Task Log Buffer Size: 768
- [12:48:09.439][C][psram:016]: PSRAM:
- [12:48:09.442][C][psram:019]: Available: YES
- [12:48:09.446][C][psram:021]: Size: 8192 KB
- [12:48:09.449][C][restart.button:015]: Restart Button 'Reboot'
- [12:48:09.453][C][restart.button:018]: Icon: 'mdi:restart'
- [12:48:09.474][C][speaker_mixer:296]: Speaker Mixer:
- [12:48:09.474][C][speaker_mixer:296]: Number of output channels: 2
- [12:48:09.521][C][speaker_mixer:046]: Mixer Source Speaker
- [12:48:09.521][C][speaker_mixer:046]: Buffer Duration: 100 ms
- [12:48:09.521][C][speaker_mixer:051]: Timeout: 500 ms
- [12:48:09.521][C][speaker_mixer:046]: Mixer Source Speaker
- [12:48:09.521][C][speaker_mixer:046]: Buffer Duration: 100 ms
- [12:48:09.521][C][speaker_mixer:051]: Timeout: 500 ms
- [12:48:09.526][C][i2s_audio.speaker:074]: Speaker:
- [12:48:09.526][C][i2s_audio.speaker:074]: Pin: 7
- [12:48:09.526][C][i2s_audio.speaker:074]: Buffer duration: 100
- [12:48:09.531][C][i2s_audio.speaker:080]: Timeout: 500 ms
- [12:48:09.534][C][i2s_audio.speaker:088]: Communication format: std
- [12:48:09.555][C][web_server:317]: Web Server:
- [12:48:09.555][C][web_server:317]: Address: 192.168.178.16:80
- [12:48:09.572][C][esphome.ota:093]: Over-The-Air updates:
- [12:48:09.572][C][esphome.ota:093]: Address: 192.168.178.16:3232
- [12:48:09.572][C][esphome.ota:093]: Version: 2
- [12:48:09.576][C][esphome.ota:100]: Password configured
- [12:48:09.582][C][safe_mode:018]: Safe Mode:
- [12:48:09.582][C][safe_mode:018]: Successful after: 60s
- [12:48:09.582][C][safe_mode:018]: Invoke after: 10 attempts
- [12:48:09.582][C][safe_mode:018]: Duration: 300s
- [12:48:09.628][C][api:222]: Server:
- [12:48:09.628][C][api:222]: Address: 192.168.178.16:6053
- [12:48:09.628][C][api:222]: Listen backlog: 4
- [12:48:09.628][C][api:222]: Max connections: 8
- [12:48:09.628][C][api:229]: Noise encryption: YES
- [12:48:09.629][C][mdns:179]: mDNS:
- [12:48:09.629][C][mdns:179]: Hostname: musicplayer1
- [12:48:23.866][D][media_player:083]: 'Speaker Media Player' - Setting
- [12:48:23.871][D][media_player:090]: Media URL: http://192.168.178.120:8097/flow/Jv88DKej/media_player.musicplayer1_speaker_media_player/35327e41eedd4b8f849564bdabac30b9.flac
- [12:48:23.877][D][speaker_media_player:406]: State changed to PLAYING
- [12:48:23.899][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- [12:48:23.903][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
- [12:48:23.983][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- [12:48:23.988][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
- [12:48:24.058][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- [12:48:24.058][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
- [12:48:24.104][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- [12:48:24.107][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
- [12:48:24.182][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- [12:48:24.185][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
- [12:48:24.228][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- [12:48:24.271][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
- [12:48:24.303][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
- my working code:
- substitutions:
- devicename: musicplayer1
- upper_devicename: MusicPlayer1
- deviceIP: 192.168.178.16
- deviceGatew: 192.168.178.1
- deviceSub: 255.255.255.0
- deviceSSID1: 7390_iot
- deviceSSID2: 7390AP
- esphome:
- name: ${devicename}
- friendly_name: ${devicename}
- platformio_options: #PSRAM stuff
- build_flags:
- -DBOARD_HAS_PSRAM
- board_build.arduino.memory_type: qio_opi
- esp32:
- board: esp32-s3-devkitc-1
- variant: ESP32S3
- flash_size: 16MB
- framework:
- type: esp-idf
- version: recommended
- #logger:
- logger:
- level: debug
- baud_rate: 115200
- # Enable Home Assistant API
- api:
- encryption:
- key: "xxx"
- ota:
- - platform: esphome
- password: "xxx"
- psram:
- mode: octal
- speed: 80MHz
- wifi:
- output_power: 8.5db
- # use_address: 192.168.178.18
- networks:
- - ssid: ${deviceSSID1}
- password: !secret wifi_password
- manual_ip:
- # Set this to the IP of the ESP
- static_ip: ${deviceIP}
- # Set this to the IP address of the router. Often ends with .1
- gateway: ${deviceGatew}
- # The subnet of the network. 255.255.255.0 works for most home networks.
- subnet: ${deviceSub}
- - ssid: ${deviceSSID2}
- password: "1Sussex1" #!secret wifi_password
- manual_ip:
- # Set this to the IP of the ESP
- static_ip: ${deviceIP}
- # Set this to the IP address of the router. Often ends with .1
- gateway: ${deviceGatew}
- # The subnet of the network. 255.255.255.0 works for most home networks.
- subnet: ${deviceSub}
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Musicplayer1 Fallback Hotspot"
- password: "xxx"
- web_server:
- port: 80
- button:
- - platform: restart
- id: reboot
- name: "Reboot"
- i2s_audio:
- - id: i2s_out
- i2s_lrclk_pin: GPIO11
- i2s_bclk_pin: GPIO8
- speaker:
- - platform: i2s_audio
- id: speaker_id
- dac_type: external
- i2s_audio_id: i2s_out
- i2s_dout_pin: GPIO7
- channel: stereo
- sample_rate: 41000
- #timeout: never
- bits_per_sample: 32bit
- buffer_duration: 100ms
- - platform: mixer
- id: mixer_speaker_id
- output_speaker: speaker_id
- num_channels: 2
- source_speakers:
- - id: announcement_spk_mixer_input
- - id: media_spk_mixer_input
- - platform: resampler
- id: media_spk_resampling_input
- output_speaker: media_spk_mixer_input
- sample_rate: 41000
- bits_per_sample: 16
- - platform: resampler
- id: announcement_spk_resampling_input
- output_speaker: announcement_spk_mixer_input
- sample_rate: 41000
- bits_per_sample: 16
- media_player:
- - platform: speaker
- name: "Speaker Media Player"
- internal: False
- id: media_player_id
- buffer_size: 500000
- media_pipeline:
- speaker: media_spk_resampling_input
- format: MP3
- num_channels: 2
- sample_rate: 41000
- announcement_pipeline:
- speaker: announcement_spk_resampling_input
- format: FLAC
- num_channels: 2
- sample_rate: 41000
- on_announcement:
- - mixer_speaker.apply_ducking:
- id: media_spk_mixer_input
- decibel_reduction: 20
- duration: 0.0s
Advertisement
Add Comment
Please, Sign In to add comment