Squeezebox Binding setup for OH2 - Need Help!

I have Squeezebox working in OH1.8.2 but having issues getting it work with OH2.

Do I need a squeeze.cfg setup to take the place of the entries that used to be in openhab.cfg?

My Squeeze devices are discovered and online in Paper UI but I get errors like this in the log:

6:26:38.208 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Squeeze_MasterBedroom_Volume' received command 35 16:26:38.218 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command '35' for item 'Squeeze_MasterBedroom_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:0004202648ce::volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:0004202648ce:' could be found. 16:26:38.219 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '35' for item 'Squeeze_MasterBedroom_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:0004202648ce::volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:0004202648ce:' could be found.

My items:

/* Squeezebox */ Player Squeeze_MasterBedroom_Control "Master Bedroom Radio" (Music, MasterBed) { channel="squeezebox:squeezeboxplayer:6f0705e0:0004202648ce:control" } Switch Squeeze_MasterBedroom_Play "Master Bedroom Radio Play" (Music, MasterBed) { channel="squeezebox:squeezeboxplayer:6f0705e0:0004202648ce:play" } String Squeeze_MasterBedroom_Title "Now Playing [%s]" (Music, MasterBed) { channel="squeezebox:squeezeboxplayer:6f0705e0:0004202648ce:title" } Dimmer Squeeze_MasterBedroom_Volume "Volume [%.1f %%]" (Music, MasterBed) { channel="squeezebox:squeezeboxplayer:6f0705e0:0004202648ce:volume" }

Paper Ui
https://www.evernote.com/l/AAtAB5Jc5_9AF4jm0Fb_2qopVoWQdYHXZwUB/image.png

This double colon before volume is bugging me and I think that was a typo that I corrected in the items files.
squeezebox:squeezeboxplayer:6f0705e0:0004202648ce::volume

I deleted the player thing from the Paper UI and then re-added it. This got rid of the double colon.

Also decided to get another SqueezePlayer that was physically near me added so I could actually hear if the volume was working and if play/stop was working.

Volumes control works even though I see errors:

17:12:02.946 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Squeeze_iMac_Volume' received command 64 17:12:02.947 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '64' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found. 17:12:06.630 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found. 17:12:06.633 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found. 17:12:06.633 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Squeeze_iMac_Volume' received command 100 17:12:06.643 [INFO ] [marthome.event.ItemStateChangedEvent] - Squeeze_iMac_Volume changed from 64 to 100 17:12:06.763 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found. 17:12:06.815 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found. 17:12:06.816 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found. 17:12:06.818 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Squeeze_iMac_Volume' received command 100

Trying to figure out the rest of the controls now…

Hi @RichP, did you get this working? I have not tested the 2.0 binding in a while, so it’s possible something has broken with upstream ESH changes.

1 Like

Hi Dan!

I just have Title & Volume working but didn’t have any time to mess it over the weekend.

I do get these errors but it does successfully change the volume:

08:31:47.802 [INFO ] [marthome.event.ItemStateChangedEvent] - Squeeze_iMac_Volume changed from 47 to 100
08:31:47.803 [INFO ] [smarthome.event.ItemCommandEvent    ] - Item 'Squeeze_iMac_Volume' received command 100
08:31:47.944 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found.
08:31:48.188 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found.
08:31:48.195 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command '100' for item 'Squeeze_iMac_Volume' to handler for channel 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:6f0705e0:001ec20ac5cbe' could be found.