I purchased two Espressif ESP32-DevKitC-VIE boards to run Squeezelite and pair to bluetooth speakers but I am having nothing but issues with them. I got one to work intermittently but they crash constantly and buffer pretty often even after a lot of tinkering. These boards meet the specifications for Squeezelite but I just cannot make them work. Does anyone have Squeezelite and bluetooth speakers working with Music Assistant in a stable configuration and use it often? I wanted to use these to put speakers throughout the house and sync them up, but if this isn’t a stable solution I am going to move away from trying to make this work.
I put Squeezelite on an old cellphone and that works, so I know Squeezelite and Music Assistant work in my environment.
(I was going to post this on discord, created an account but it won’t let me post to the hardware channel.)
I have 2, not exactly the same board, working quite fine.
For streaming from MA to the device via wifi you have to select low quality stream, it was with old interface and I don’t remember where was the settings.
I feel that with the latest update of MA these player works better.
Sometimes I have small issues, just a matter of restarting.
Bluetooth connect with a phone is just always working fine.
I reinstalled and reconfigured the one board that I had better luck with. It plays music but it is playing it slow, almost at 1/2 speed. Here is some output from the logs.
W (2892) console: Processing autoexec commands while network manager active. Wifi related commands will be ignored.
I (2892) console: autoexec is set to perform auto-process
I (2892) console: Running command autoexec1 = squeezelite -o bt -n Squeezelite_1 -s 192.168.1.245:3483 -b 1000:2000
-C 30 -d all=sdebug -r 96000 -R
W (2892) config: Value not found for key autoexec2
squeezelite-esp32> I (2892) squeezelite_cmd: Calling squeezelite
[00:00:01.472] sb_controls_init:249 initializing audio (buttons/rotary/ir) controls (raw:0)
[00:00:01.473] sb_displayer_init:327 no display or led visualizer for LMS
[00:00:01.473] stream_init:539 init stream
[00:00:01.474] stream_init:540 streambuf size: 1024000
[00:00:01.474] output_init_embedded:78 init device: bt
[00:00:01.474] output_init_common:357 outputbuf size: 2048000
[00:00:01.475] output_init_common:381 idle timeout: 30000
[00:00:01.475] output_init_common:433 supported rates: 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
[00:00:01.475] output_init_embedded:94 init Bluetooth
I (2902) BTDM_INIT: BT controller compile version [2c56073]
[00:00:01.476] equalizer_set_samplerate:122 equalizer sample rate 44100
[00:00:01.477] output_visu_init:75 Initialize VISUEXPORT 512 16 bits samples
[00:00:01.477] output_init_embedded:108 init completed.
[00:00:01.478] decode_init:153 init decode
[00:00:01.478] register_alac:547 using alac to decode alc
[00:00:01.478] register_helixaac:686 using helix-aac to decode aac
[00:00:01.479] register_vorbis:526 using vorbis to decode ogg
[00:00:01.479] register_opus:458 using opus to decode ops
[00:00:01.480] register_flac:338 using flac to decode ogf,flc
[00:00:01.480] register_pcm:483 using pcm to decode aif,pcm
[00:00:01.480] register_mad:417 using mad to decode mp3
[00:00:01.480] decode_init:206 include codecs: exclude codecs:
[00:00:01.481] resample_init:159 Resampling with filter 0
[00:00:01.485] slimproto:964 connecting to 192.168.1.245:3483
[00:00:01.486] slimproto:989 unable to connect to server 0
I read the sendspin page but am confused what that does, I have seen that listed before but thought there isn’t any other component needed as squeezelite on the board should be enough.
Sendspin is the open home foundation replacement for squeezelite. They posted the reasoning behind making a new protocol and maybe it make sense or maybe it’s silly, ultimately it is the direction they are going and overall it may be best direction as sendspin devices are auto discovered by Musicassistant and HA function may be cleaner once completed. It is not completed but functional!
To use I had most success modifying yaml from HAVPE to my device.
I success esp32-s3. no success esp32.
as far as I understand the log you are playing a flac audio file, the quality is too high for Squeezelite on Esp try with mp3 quality, you should select it in the player properties, if I recall correctly.
I am converting all my ESP32 players from Squeezelite-ESP32 to Sendspin. I have had probably better luck with the Sendspin firmware vs the Squeezelite firmware.