sonocotta/esp32-audio-dock

Loosing connection

Closed this issue · 7 comments

Hi. I have purchased your Louder ESP board on tindie. I find that the connection is often lost to my LMS server during playback. Do you have any suggestions for improving? I haven't been able to find alternative mini ESP32 board with external antenna.

I run squeezelite-esp32 on the unit, its build into an old speaker with wooden cabinet. Stream is from the Music Assistant (LMS functinality) for Home Assistant.

Hey @agdamsbo

Most probably this relates to connectivity quality. Sometimes you can improve by taking the device closer to the WiFi router/repeater or changing your wifi channel. An alternative way is to use Ethernet instead. It is a plug-and-play solution, but you need to have an ethernet wire around.

If you suspect a specific ESP32 module to be defective, you can run some Arduino samples with a wifi scan and compare it to a known good module.

Hi. Thanks. The speaker sits next to my router, forgot to mention. Will try an other board. And might consider adding an external antenna like here

@agdamsbo I'm working on next-generation louder esp now. Please subscribe to my campaign to do not miss when it will be out.

Yes, I have seen that, but I have also recently bought 3 esp louder boards, And I don't want them to be wasted. Also have the Espargus Hifi medialink and it seems to work great.

Just had a look at my router, and the board is reported as having an excellent connection.

@agdamsbo I absolutely want you to keep using Louder-ESPs, it is just for some modules it is really hard to understand why the have connection issues sometimes. RSSI is not always a good indication, WiFi may fail under load specifically, when you're trying to push some data through it. And sometimes it is a bit magical, might work better when placed further away.
I hope you have a change to compare with alternative eps32 modules to figure out what may be a reason for that at least.

Just tried with direct bluetooth connection. Also similar issues with stream interruptions. Will try a different module when I get the chance. Hopefully soon. Also, I will be trying out Snapcast, which I believe is being ported to support the DAC used. As I understand, snapcast may be a better protocol than slimproto.

Please keep me posted. Also interested if snapcast would work better