sle118 / squeezelite-esp32

ESP32 Music streaming based on Squeezelite, with support for multi-room sync, AirPlay, Bluetooth, Hardware buttons, display and more
1.27k stars 115 forks source link

Can't find device via Airplay or Spotify Connect #273

Closed davidakr closed 1 year ago

davidakr commented 1 year ago

Hi,

first of all, thank you for such a great project!

I built squeezelite with the Docker container, flashed it to my ESP32-A1S module, and connected it to my home network. It shows up as Bluetooth but it's not being detected in Spotify (premium) or via airplay. Both are checked in the UI. Anything I can do to troubleshoot? Playing music via bluetooth works fine

The apple and speaker icon in the top right corner disappear after a few seconds.

sle118 commented 1 year ago

This needs more details. Which Docker image, for example, and which branch? Also, did you enable the services in the Web UI?

@davidakr you can also get some serial logs from the player, just in case something stands out. Since no one else has reported this, I tend to believe this is an issue with your configuration. Spotify has some issues of its own, but it should be visible. Airplay has been stable for a while.

davidakr commented 1 year ago

I took the latest sle118/squeezelite-esp32-idfv4-master image to build and master-v4.3 branch. I used the flash command from the Readme. Yes, all services are enabled in the UI. It might also be our current home network configuration. Do both of them use MDNS for discovery? The device is on the same network as my phone. I can discover other devices on my network via MDNS. Here is the output from telnet. telnetresult.txt

Also, the Bluetooth keeps disconnecting. I checked the logs there is nothing unusual besides the disconnect message. I attached my current config. nvs_config_kitchen-speaker.txt

What can I do to further debug the issues?

davidakr commented 1 year ago

It was an MDNS issue in my network. The configuration didn't allow for device discovery. I mark this issue as resolved for anyone who has the same issue.