sle118 / squeezelite-esp32

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

Disable LMS not sufficiant for portable BT speaker Use Case #348

Closed spudje closed 6 months ago

spudje commented 8 months ago

Describe the feature request

Issue https://github.com/sle118/squeezelite-esp32/issues/282 introduced the LMS/squeezelite disable button. This is a good option. However this is not sufficient for a typical use case for a portable (hey, it has a battery) BT speaker.

When at home, it will connect to wifi and will find the LMS server, so with LMS/squeezelite enabled no issues here.

When on the move, it will not find the LMS server and hence ends-up in the repeated rebooting, since squeezlite/LMS is enabled. Now, when I'm on the move, it seems a big hassle to go and connect to the speaker over (ad-hoc/Muse AP) wifi to first turn off LMS/squeezelite to be able to use it as a portable BT speaker. And vice versa, coming back home having to turn it back on is a hassle.

So looking for a solution that simply stops the rebooting after not having found the LMS.. Or turn off LMS after a couple of unsuccessful searches for the server and turn it back on when connected again over wifi with the saved SSID.

Preliminary Information

I'm on this release: 2.1634-16#v4.3#Muse#master-v4.3

Hardware Details

Please describe your hardware setup:

ESP Muse Luxe

philippe44 commented 8 months ago

I've done a quick, "compromise" workaround where it will not reboot as long as you play something on BT

philippe44 commented 8 months ago

It has been released

spudje commented 8 months ago

Super, that's awesome, thanks very much! I will try in the coming days!

philippe44 commented 7 months ago

I'll probably close that soon...

sle118 commented 6 months ago

Closing now because this has become stale