Ok, good. And when you click on the player thing and look at the channel list, do you see the Notification Volume
channel like this? If not, you must be on an older version that doesn’t have Audio Sink support.
there’s no notification volume… how can i check version (with openhabian?)?
This document explains how to use the Karaf console.
Once in the Karaf console, you can run:
bundle:list -s org.openhab.binding.squeezebox
This will show the date of the squeezebox build. For example, mine looks like this.
openhab> bundle:list -s org.openhab.binding.squeezebox
START LEVEL 100 , List Threshold: 50
ID | State | Lvl | Version | Name | Symbolic name
---------------------------------------------------------------------------------------------
200 | Active | 80 | 2.1.0.201704302130 | SqueezeBox Binding | org.openhab.binding.squeezebox
ID | State | Lvl | Version | Name | Symbolic name
----------------------------------------------------------------------------------
184 | Active | 80 | 2.0.0 | SqueezeBox Binding | org.openhab.binding.squeezebox
how can i update?
Unfortunately, I’m not at all familiar with openHABian.
@ThomDietrich Can you provide some guidance for how he can get on a more current version of openHABian?
openHABian is only the underlying Linux distribution (based on Raspbian), it’s not influencing how you use and upgrade openHAB on top of it.
If you want to use a newer snapshot build of a binding, you have two options. Either upgrade openHAB from stable to snapshot build or install the snaphot build of the single binding.
(Feel free to modify the FAQs, everyone can edit)
okay, i was able to upgrade the squeezebox binding (openHAB2 still stable):
203 | Installed | 80 | 2.1.0.201705130731 | SqueezeBox Binding
unfortunately i can’t look for things in paper ui, as the binding doesn’t show up there
do i have to make configs? there’s no cfg. under services?
With the latest version of the binding installed, it should’ve started when you restarted openHAB.
You could try this in the Karaf console:
bundle:start org.openhab.binding.squeezebox
Then run this to see if it’s active:
bundle:list -s org.openhab.binding.squeezebox
Wait! There’s one other thing. There’s a dependency that may be missing that’s preventing the binding from starting. When you put a binding into addons, the dependencies are not resolved automatically like they are when you install it in Paper UI.
Gimme a minute to look into it.
Put this file in the addons directory.
alright, got i running with this *.jar!
and now i can also find the sb und audio sinks.
strange thing in openhab.log.
2017-05-14 22:45:10.666 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-14 22:45:10.667 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-14 22:45:10.670 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-14 22:45:10.671 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-14 22:45:10.692 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-14 22:45:10.694 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
thats not my thing and i have no idea where it gets the thing from. the device powerer ON just like it should. didn’t get this error before.
Not really sure.
The warning means that a command (in this case the ON command) is being sent to the item sq_kuchl_power
which is linked to the power
channel of this squeezebox player thing.
squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714
In Paper UI, if you go to Configuration->Items, does this item exist?
no, there’s just my 4 items for my “real” player, one of them is sq_kuch_power
UPDATE:
Tried this:
- delete all linked items (channels?
- remove thing
- add thing
- and link to new items…
but no. after reboot:
2017-05-15 20:34:38.905 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-15 20:34:38.906 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-15 20:34:38.911 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '10' for item 'sq_kuchl_volume' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-15 20:34:38.913 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '10' for item 'sq_kuchl_volume' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:volume', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-15 20:37:56.460 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-15 20:37:56.474 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-15 20:37:56.474 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-15 20:37:56.482 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-15 20:37:56.506 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb3fd714' could be found.
2017-05-15 20:37:56.508 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
i don’t get it. sq_kuchl_power and sq_kuchl_volume work just as expected (with thing squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000)
Hmm. Something doesn’t seem right with this. Normally, the last segment of a squeeze player thing will be the MAC address of the player (sans the colons). In this case, it is 000000000000.
The MAC address of the player in those log messages is b827eb6a8241
.
In the Logitech Media Server web interface, if you go to Settings… On the Information page, you should see the MAC address of your player. By any chance, is it b827eb6a8241
? I’ll bet it is. You’re running a piCorePlayer, and the pi MAC addresses start with b8:27
.
In Paper UI, maybe try deleting the squeeze player thing, then add it back after it’s rediscovered.
did this several times, new thing comes always up with 592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000 and error remains. i’ll take a look at mac address as soon as i’m home.
One other thing I noticed on a few occasions. If my piCorePlayers power up before the switch to which they’re connected, they sometimes show up with a MAC address of 000000000000. I think this has something to do with them being unable to reach the DHCP server to get an IP address.
If you haven’t done this yet, maybe try power cycling the piCorePlayer to see if it comes up with a MAC address other than 000000000000.
well, it seems pCP 3.20 has problems with wifi…
that’s why i used the lan port, i didn’t deactivate wifi though
so i had 2 mac address (none of them 000000000000), probably that created some confusion.
i deactivated wifi, unlinked item, deleted thing, added new thing (with new name even!), linked items. still:
2017-05-16 22:16:45.556 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:16:45.556 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:16:45.557 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:16:45.557 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:16:45.580 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:16:45.582 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:16:46.334 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:16:46.335 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:16:46.337 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:16:46.339 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:16:46.358 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:16:46.359 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:17:01.639 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:17:01.641 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'OFF' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:17:07.160 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:17:07.161 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:17:07.162 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:17:07.163 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
2017-05-16 22:17:07.181 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000' could be found.
2017-05-16 22:17:07.185 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'sq_kuchl_power' to handler for channel 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power', because no thing with the UID 'squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241' could be found.
none of these mac address show up under LMS, pCP or paperUI Things. why does openHAB (or the binding) even try to delegate to these channels, when the things item is different?
I don’t know what to say. I’ve never seen that sort of behavior.
openHAB thinks there’s an item called sq_kuchl_power
, and that that item now is linked to the power channel of these two things that apparently don’t exist.
squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:000000000000:power
squeezebox:squeezeboxplayer:592AAC9D-2D85-4E22-9E16-B4460D36CE16:b827eb6a8241:power
I wonder if you should get on the latest version of openHAB (according to the directions provided above by @ThomDietrich). If you decide to do that, I also might suggest that you also disable Simple Mode
in Paper UI under Configuration->System->Item Linking
.
my system is pretty stable atm so switching to beta would be my last resort…
the item DOES exist, it’s just not linked to those two things. (according to paperUI)
i think my previous configuration (where the 00* mac address still “existed” and maybe the *241 mac address was the old pCP lmac address) wasn’t deleted when i removed the 2.0.0 binding and now the “old” conf. is cached somewhere?
I understand your point about it being a last resort – trade one set of problems for another set of problems… OTOH, at this point the 2.0 release is pretty old. There have been a lot a changes and fixes since then.
I’m running out of ideas, as this doesn’t appear to be an issue with the binding. I have only a couple other thoughts.
Not sure if you define your items through Paper UI, or in .items files.
-
Double check that you don’t have any .items files containing items that link to these channels. I’m sure you’ve already done this, but I’ll mention it anyway.
-
Look in the files in userdata/jsondb to see if there are entries for those item-channel links. The likely place to look would be
org.eclipse.smarthome.core.thing.link.ItemChannelLink.json
There would be entries in this file only if the links were created with Paper UI. Links defined in files (such as .items) would not be here. -
In the Karaf console, run the following commands to see if there’s anything that doesn’t look right:
1 - This should show the item that’s in the WARN log messages:
smarthome:items list | grep sq_kuchl_power
2 - Look here for the item-channel links that involve the above item. If there are links between sq_kuchl_power
and the power
channel of the non-existent things, those links should show up here.
smarthome:links | grep sq_kuchl_power
3 - Look here for links involving the power channel.
smarthome:links | grep :power