The log output in esphome is
[15:37:00][D][media_player:074]: 'assist - Setting [15:37:00][D][media_player:084]: Volume: 0.50 [15:37:01][D][media_player:074]: 'assist' - Setting [15:37:01][D][media_player:081]: Media URL: http://xxx.xxx.xx.xxx:8097/pluginsource/spotify_connect--m9Jjt9dk/media_player.persist_v1.wav [15:37:01][D][speaker_media_player:426]: State changed to ANNOUNCING [15:37:02][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL [15:37:02][E][speaker_media_player:339]: The announcement pipeline's file reader encountered an error. [15:37:02][E][speaker_media_player.pipeline:112]: Media reader encountered an error: ESP_FAIL
#Music Assitant is not playing music on my sattlite
1 messages · Page 1 of 1 (latest)
what sattelite are you using?
It looks like ESPHome. Why there's wav? Should be MP3 or flac for those.
my guess is a totally outdated ESPHome config. but was laying the stepping stones
i made my own use an esp32 s3 ,inmp441, max98357a and a MMwave
the configuration
quick and dirty thing to try: remove the codec disable (without the line it defaults to true) and switch pipeline to flac and also add media pipeline:
media_player:
- platform: speaker
name: None
id: output_media_player
announcement_pipeline:
speaker: spk_i2s
format: FLAC
num_channels: 1
sample_rate: 48000
media_pipeline:
speaker: spk_i2s
format: FLAC
num_channels: 1
sample_rate: 48000
buffer_size: 6000
you probably don't need the buffer size either but I am not 100% sure
i dont know if mixer is required for this config. i do have it one of mine.
is it saying you should use mixer?
Yes
ok give me a moment
`speaker:
- platform: i2s_audio
id: spk_i2s
i2s_dout_pin: GPIO9
i2s_audio_id: i2s_out
dac_type: external
bits_per_sample: 32bit
channel: mono
buffer_duration: 60ms - platform: mixer
id: mixer_speaker_id
output_speaker: spk_i2s
source_speakers:- id: announcement_spk_input
- id: media_spk_input
`` ` media_player:
- platform: speaker
name: None
id: output_media_player
announcement_pipeline:
speaker: announcement_spk_input
format: FLAC
num_channels: 1
sample_rate: 48000
media_pipeline:
speaker: media_spk_input
format: FLAC
num_channels: 1
sample_rate: 48000
buffer_size: 6000 `` `
like this?
yeah something like that maybe works. i have a slightly different setup in my custom VA and its been a while since i did much with it
could u show it ?
this is a raw paste - https://pastebin.com/5WP710iu
you can maybe use it to adapt stuff
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
its a bit of a mess though
random stuff commented out and stuff added here and there
i keep meaning to rework it, clean it up and add some extra stuff
i dont really use that device that much. i have a plan for it eventually but i ended up just getting another VPE
ok