First thanks fort the great binding, one of my most used
I have recently migrated from openHAB 3.1 to 3.2 (yesterday) and was just testing all was good when I ran into this issue.
When I use (operate) items linked to the media control or the next and previous channels of the Squeezebox binding, I lose control of all players; that is play, pause etc stop working and the status items no longer update: play time, duration, album details, cover art etc.
To recover I remove all squeezebox items and things, followed by reinstalling the things and all the items. Reconnection to LMS is re-established until I use the next/previous transport control again.
Tried to uninstall and reinstall the binding as I had just migrated OH3.1 -->3.2, log output:
Removing features: openhab-binding-squeezebox/[3.2.0,3.2.0]...
Adding features: openhab-binding-squeezebox/[3.2.0,3.2.0]...`
… this had no effect on the problem.
Also restarted LMS a couple of times and that made no difference either.
Control at the physical player, via the Squeeze App and through the LMS IP:9000 worked continuously.
The problem seems to be when I’m getting this debug from the squeezebox binding:
Debug gives me this periodically, after I try to use next/previous item.
2021-12-28 17:00:00.900 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - no connection to squeeze server when trying to send command, returning...
2021-12-28 17:00:42.243 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - no connection to squeeze server when trying to send command, returning...
And here is a cutting of the debug log at the point I pressed next " >>" on the player transport.
2021-12-28 17:15:15.198 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: favorites items 0 100
2021-12-28 17:15:22.182 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: players 0
2021-12-28 17:16:03.226 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:22:96:40 pause 1
2021-12-28 17:16:10.826 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:22:96:40 play
2021-12-28 17:16:22.186 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: players 0
2021-12-28 17:17:22.188 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: players 0
2021-12-28 17:17:43.233 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:22:96:40 pause 1
2021-12-28 17:17:45.706 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:22:96:40 play
2021-12-28 17:17:48.363 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: 00:04:20:22:96:40 playlist index +1
2021-12-28 17:17:53.880 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - no connection to squeeze server when trying to send command, returning...
2021-12-28 17:18:00.673 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - no connection to squeeze server when trying to send command, returning...
May be related to the following post but the symptoms are different: https://community.openhab.org/t/oh3-squeezebox-binding-constantly-going-online-offline/129140
I have been running the squeezebox binding in OH2.X for two years without issue and I have made no changes to my LMS.
My bindings, things and items are all configured through files.
Help would be greatly appreciated.
My openHAB was setup via openhabian on a RasPi4 4GB:
## Release = Raspbian GNU/Linux 10 (buster)
## Kernel = Linux 5.10.63-v7l+
## Platform = Raspberry Pi 4 Model B Rev 1.2
## Uptime = 0 day(s). 23:58:26
## CPU Usage = 17.54% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.34, 5m: 0.40, 15m: 0.50
## Memory = Free: 0.70GB (18%), Used: 3.09GB (82%), Total: 3.79GB
## Swap = Free: 2.43GB (100%), Used: 0.00GB (0%), Total: 2.43GB
## Root = Free: 22.45GB (80%), Used: 5.31GB (20%), Total: 28.98GB
## Updates = 0 apt updates available.
## Sessions = 1 session(s)
## Processes = 132 running processes of 32768 maximum processes
and OpenHAB runtimeInfo:
version: 3.2.0
buildString: Release Build
locale: en-GB
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 11.0.13
javaVendor: Azul Systems, Inc.
javaVendorVersion: Zulu11.52+13-CA
osName: Linux
osVersion: 5.10.63-v7l+
osArchitecture: arm
availableProcessors: 4
freeMemory: 32687816
totalMemory: 324403200
bindings:
- amazonechocontrol
- astro
- bluetooth
- exec
- gpstracker
- harmonyhub
- http
- hue
- neato
- network
- sonoff
- squeezebox
- wemo
- zwave