Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Wifi drops while playing through cspot, squeezeamp gets stuck #390

Open
bungh0l10 opened this issue Jan 30, 2024 · 4 comments
Open

If Wifi drops while playing through cspot, squeezeamp gets stuck #390

bungh0l10 opened this issue Jan 30, 2024 · 4 comments

Comments

@bungh0l10
Copy link

Describe the bug

Cspot on Squeezeamp will get stuck if WiFi drops.
Usually while playing music through LMS, Squeezeamp will reboot/ rediscover connection as soon as you loose WiFi or restart LMS (eg. update to latest LMS).
Now when you are listening through cspot instead, the Squeezeamp will get in a stuck state (LED will stay green (playing state), you need to powercycle/ press reset button on pcb).
On the other hand stopping / restarting LMS pretty much has no sideeffects while listening through cspot but as soon as Wifi drops you need to "recover" the squeezeamp.

Preliminary Information

  1. 1670
  2. 0.600
    1. LMS latest 8.4

Hardware Details

  • Squeezeamp v3.20

Sorry guys but I couldn't provide logs for now because I haven't had a squeezamp without housing available and don't wanted to dissamble one --- but definetly will if you can not reproduce on your end, just let me know ;)

@sle118
Copy link
Owner

sle118 commented Jan 31, 2024

Definitely enable Telnet to get some logs as it helps to understand the issue was better than a description. This is the first step before I/we even attempt to reproduce as logs contain precious clues about what might be happening

@bungh0l10
Copy link
Author

Sorry but I can't provide sufficient logs from/through telnet because if I turn WiFi off (to reproduce the mentioned issue) there won't be wireless connection for any device anymore and telnet could not output anything of information because of that :) .
Anyways I'll try to find some time within the next days to figure out if I can get some useful data through serial and update you.

@bungh0l10
Copy link
Author

390_issue_complete.log

I hope the serial log helps :)

thanks & cheers

@sle118
Copy link
Owner

sle118 commented Feb 1, 2024

I have re-written a good deal of the wifi AP/STA handling in the new refactoring branch I've been working on since last September (see: #342) so I think I will park this issue for now until I get to test in the new environment. The new capabilities supports multiple known access points, allowing better roaming capabilities. The main scenario being when you take a portable speaker and bring it to a different home for example. I still need to test the roaming piece and make sure it behaves well.

as for the watchdog being triggered by cspot, this is something that could also perhaps happen even when the system is able to roam to different APs. @philippe44 @feelfreelinux ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants