Guest User

Untitled

a guest
Nov 30th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.10 KB | None | 0 0
  1. INFO ESPHome 2025.10.4
  2. INFO Reading configuration /config/esphome/musicplayer1.yaml...
  3. INFO Starting log output from 192.168.178.16 using esphome API
  4. INFO Successfully resolved musicplayer1 @ 192.168.178.16 in 0.000s
  5. INFO Successfully connected to musicplayer1 @ 192.168.178.16 in 0.082s
  6. INFO Successful handshake with musicplayer1 @ 192.168.178.16 in 0.051s
  7. [12:48:09.418][I][app:185]: ESPHome version 2025.10.4 compiled on Nov 30 2025, 12:28:19
  8. [12:48:09.419][C][wifi:679]: WiFi:
  9. [12:48:09.419][C][wifi:458]: Local MAC: 30:ED:A0:BB:8F:34
  10. [12:48:09.419][C][wifi:465]: IP Address: 192.168.178.16
  11. [12:48:09.419][C][wifi:469]: SSID: [redacted]
  12. [12:48:09.419][C][wifi:469]: BSSID: [redacted]
  13. [12:48:09.419][C][wifi:469]: Hostname: 'musicplayer1'
  14. [12:48:09.419][C][wifi:469]: Signal strength: -44 dB ▂▄▆█
  15. [12:48:09.419][C][wifi:469]: Channel: 6
  16. [12:48:09.419][C][wifi:469]: Subnet: 255.255.255.0
  17. [12:48:09.419][C][wifi:469]: Gateway: 192.168.178.1
  18. [12:48:09.419][C][wifi:469]: DNS1: 0.0.0.0
  19. [12:48:09.419][C][wifi:469]: DNS2: 0.0.0.0
  20. [12:48:09.423][C][logger:261]: Logger:
  21. [12:48:09.423][C][logger:261]: Max Level: DEBUG
  22. [12:48:09.423][C][logger:261]: Initial Level: DEBUG
  23. [12:48:09.424][C][logger:267]: Log Baud Rate: 115200
  24. [12:48:09.424][C][logger:267]: Hardware UART: USB_SERIAL_JTAG
  25. [12:48:09.424][C][logger:274]: Task Log Buffer Size: 768
  26. [12:48:09.439][C][psram:016]: PSRAM:
  27. [12:48:09.442][C][psram:019]: Available: YES
  28. [12:48:09.446][C][psram:021]: Size: 8192 KB
  29. [12:48:09.449][C][restart.button:015]: Restart Button 'Reboot'
  30. [12:48:09.453][C][restart.button:018]: Icon: 'mdi:restart'
  31. [12:48:09.474][C][speaker_mixer:296]: Speaker Mixer:
  32. [12:48:09.474][C][speaker_mixer:296]: Number of output channels: 2
  33. [12:48:09.521][C][speaker_mixer:046]: Mixer Source Speaker
  34. [12:48:09.521][C][speaker_mixer:046]: Buffer Duration: 100 ms
  35. [12:48:09.521][C][speaker_mixer:051]: Timeout: 500 ms
  36. [12:48:09.521][C][speaker_mixer:046]: Mixer Source Speaker
  37. [12:48:09.521][C][speaker_mixer:046]: Buffer Duration: 100 ms
  38. [12:48:09.521][C][speaker_mixer:051]: Timeout: 500 ms
  39. [12:48:09.526][C][i2s_audio.speaker:074]: Speaker:
  40. [12:48:09.526][C][i2s_audio.speaker:074]: Pin: 7
  41. [12:48:09.526][C][i2s_audio.speaker:074]: Buffer duration: 100
  42. [12:48:09.531][C][i2s_audio.speaker:080]: Timeout: 500 ms
  43. [12:48:09.534][C][i2s_audio.speaker:088]: Communication format: std
  44. [12:48:09.555][C][web_server:317]: Web Server:
  45. [12:48:09.555][C][web_server:317]: Address: 192.168.178.16:80
  46. [12:48:09.572][C][esphome.ota:093]: Over-The-Air updates:
  47. [12:48:09.572][C][esphome.ota:093]: Address: 192.168.178.16:3232
  48. [12:48:09.572][C][esphome.ota:093]: Version: 2
  49. [12:48:09.576][C][esphome.ota:100]: Password configured
  50. [12:48:09.582][C][safe_mode:018]: Safe Mode:
  51. [12:48:09.582][C][safe_mode:018]: Successful after: 60s
  52. [12:48:09.582][C][safe_mode:018]: Invoke after: 10 attempts
  53. [12:48:09.582][C][safe_mode:018]: Duration: 300s
  54. [12:48:09.628][C][api:222]: Server:
  55. [12:48:09.628][C][api:222]: Address: 192.168.178.16:6053
  56. [12:48:09.628][C][api:222]: Listen backlog: 4
  57. [12:48:09.628][C][api:222]: Max connections: 8
  58. [12:48:09.628][C][api:229]: Noise encryption: YES
  59. [12:48:09.629][C][mdns:179]: mDNS:
  60. [12:48:09.629][C][mdns:179]: Hostname: musicplayer1
  61. [12:48:23.866][D][media_player:083]: 'Speaker Media Player' - Setting
  62. [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
  63. [12:48:23.877][D][speaker_media_player:406]: State changed to PLAYING
  64. [12:48:23.899][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  65. [12:48:23.903][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
  66. [12:48:23.983][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  67. [12:48:23.988][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
  68. [12:48:24.058][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  69. [12:48:24.058][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
  70. [12:48:24.104][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  71. [12:48:24.107][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
  72. [12:48:24.182][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  73. [12:48:24.185][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
  74. [12:48:24.228][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  75. [12:48:24.271][E][speaker_media_player:315]: The media pipeline's file reader encountered an error.
  76. [12:48:24.303][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
  77.  
  78. my working code:
  79. substitutions:
  80. devicename: musicplayer1
  81. upper_devicename: MusicPlayer1
  82. deviceIP: 192.168.178.16
  83. deviceGatew: 192.168.178.1
  84. deviceSub: 255.255.255.0
  85. deviceSSID1: 7390_iot
  86. deviceSSID2: 7390AP
  87.  
  88. esphome:
  89. name: ${devicename}
  90. friendly_name: ${devicename}
  91. platformio_options: #PSRAM stuff
  92. build_flags:
  93. -DBOARD_HAS_PSRAM
  94. board_build.arduino.memory_type: qio_opi
  95.  
  96. esp32:
  97. board: esp32-s3-devkitc-1
  98. variant: ESP32S3
  99. flash_size: 16MB
  100. framework:
  101. type: esp-idf
  102. version: recommended
  103.  
  104. #logger:
  105. logger:
  106. level: debug
  107. baud_rate: 115200
  108.  
  109. # Enable Home Assistant API
  110. api:
  111. encryption:
  112. key: "xxx"
  113.  
  114. ota:
  115. - platform: esphome
  116. password: "xxx"
  117.  
  118. psram:
  119. mode: octal
  120. speed: 80MHz
  121.  
  122. wifi:
  123. output_power: 8.5db
  124. # use_address: 192.168.178.18
  125. networks:
  126. - ssid: ${deviceSSID1}
  127. password: !secret wifi_password
  128. manual_ip:
  129. # Set this to the IP of the ESP
  130. static_ip: ${deviceIP}
  131. # Set this to the IP address of the router. Often ends with .1
  132. gateway: ${deviceGatew}
  133. # The subnet of the network. 255.255.255.0 works for most home networks.
  134. subnet: ${deviceSub}
  135. - ssid: ${deviceSSID2}
  136. password: "1Sussex1" #!secret wifi_password
  137. manual_ip:
  138. # Set this to the IP of the ESP
  139. static_ip: ${deviceIP}
  140. # Set this to the IP address of the router. Often ends with .1
  141. gateway: ${deviceGatew}
  142. # The subnet of the network. 255.255.255.0 works for most home networks.
  143. subnet: ${deviceSub}
  144.  
  145. # Enable fallback hotspot (captive portal) in case wifi connection fails
  146. ap:
  147. ssid: "Musicplayer1 Fallback Hotspot"
  148. password: "xxx"
  149.  
  150. web_server:
  151. port: 80
  152.  
  153. button:
  154. - platform: restart
  155. id: reboot
  156. name: "Reboot"
  157.  
  158. i2s_audio:
  159. - id: i2s_out
  160. i2s_lrclk_pin: GPIO11
  161. i2s_bclk_pin: GPIO8
  162.  
  163. speaker:
  164. - platform: i2s_audio
  165. id: speaker_id
  166. dac_type: external
  167. i2s_audio_id: i2s_out
  168. i2s_dout_pin: GPIO7
  169. channel: stereo
  170. sample_rate: 41000
  171. #timeout: never
  172. bits_per_sample: 32bit
  173. buffer_duration: 100ms
  174.  
  175. - platform: mixer
  176. id: mixer_speaker_id
  177. output_speaker: speaker_id
  178. num_channels: 2
  179. source_speakers:
  180. - id: announcement_spk_mixer_input
  181. - id: media_spk_mixer_input
  182.  
  183. - platform: resampler
  184. id: media_spk_resampling_input
  185. output_speaker: media_spk_mixer_input
  186. sample_rate: 41000
  187. bits_per_sample: 16
  188.  
  189. - platform: resampler
  190. id: announcement_spk_resampling_input
  191. output_speaker: announcement_spk_mixer_input
  192. sample_rate: 41000
  193. bits_per_sample: 16
  194. media_player:
  195. - platform: speaker
  196. name: "Speaker Media Player"
  197. internal: False
  198. id: media_player_id
  199. buffer_size: 500000
  200. media_pipeline:
  201. speaker: media_spk_resampling_input
  202. format: MP3
  203. num_channels: 2
  204. sample_rate: 41000
  205. announcement_pipeline:
  206. speaker: announcement_spk_resampling_input
  207. format: FLAC
  208. num_channels: 2
  209. sample_rate: 41000
  210. on_announcement:
  211. - mixer_speaker.apply_ducking:
  212. id: media_spk_mixer_input
  213. decibel_reduction: 20
  214. duration: 0.0s
  215.  
  216.  
Advertisement
Add Comment
Please, Sign In to add comment