Problem with re-added Hue bulbs

Hi everybody,

not sure if this is a runtime or (hue) binding problem.
After I had to replace a whole hue starter set with a new bridge and three new bulbs I am getting warnings in openhab. All things (bridge + three bulbs) have been configured in OH2. I deleted the things, set up the new bridge and the three new bulbs and added the things to OH2 again. Then I linked the existing items to the new things.

Now, I am receiving this warning:

15:05:28.163 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '84,47,0' for item 'Hue_Bulb1_Color' to handler for channel 'hue::001788279428:1:color', because no thing with the UID 'hue::001788279428:1' could be found.
15:05:28.180 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'SELECT' for item 'Hue_Bulb1_Alert' to handler for channel 'hue::001788279428:1:alert', because no thing with the UID 'hue::001788279428:1' could be found.
15:05:28.193 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '81,55,12' for item 'Hue_Bulb2_Color' to handler for channel 'hue::001788279428:2:color', because no thing with the UID 'hue::001788279428:2' could be found.
15:05:28.205 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '68,88,0' for item 'Hue_Bulb3_Color' to handler for channel 'hue::001788279428:3:color', because no thing with the UID 'hue::001788279428:3' could be found.
15:05:28.232 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '67,8,0' for item 'Hue_Bloom1_Color' to handler for channel 'hue::001788279428:4:color', because no thing with the UID 'hue::001788279428:4' could be found.
15:05:28.245 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '67,8,0' for item 'Hue_Lightstrip1_Color' to handler for channel 'hue::001788279428:5:color', because no thing with the UID 'hue::001788279428:5' could be found.

The thing (e.g.) “hue::001788279428:1” does not exist, but I don’t know where it is referenced.

Thanks in advance for any help.

This sounds as if there are still links to your old things present. Could you check what the console command

smarthome:links

shows you?

Hi Kai,

thanks for your reply.
It does show the “old” (I deleted them meanwhile) items linked to the “old” (I deleted them as well) things.

Hue_Bloom1_Color -> hue::001788279428:4:color
Hue_Bulb1_Alert -> hue::001788279428:1:alert
Hue_Bulb1_Color -> hue::001788279428:1:color
Hue_Bulb2_Color -> hue::001788279428:2:color
Hue_Bulb3_Color -> hue::001788279428:3:color
Hue_Lightstrip1_Color -> hue::001788279428:5:color

When I do a

smarthome:items
smarthome:things

Neither the item, nor the thing is listed, so they only exist as a link.

I did all of that in the Paper UI and things and items are stored in the DB, not configured in config files.

(How) can I delete these links?

Thanks in advance.

smarthome:links clear, see http://docs.openhab.org/administration/runtime.html#links

1 Like
openhab> smarthome:links clear
43 links successfully removed.

This is not what I expected. Next time I will read the docu first … :grin:

I have the same problems. Some old entries are still in the internal DB and even a

smarthome:links clear

does not solve the problem.

i still find noumerus items with the same name but different links in the smarthome:links output

LC_Flur_Temp -> jeelink:lacrosse:1479642265933:temperature
LC_Keller_Temp -> jeelink:lacrosse:1479642265790:temperature
LC_Bad_Temp -> jeelink:lacrosse:1479642265681:temperature
LC_Keller_Temp -> jeelink:lacrosse:1479642265681:temperature
LC_Flur_Temp -> jeelink:lacrosse:1479642265790:temperature
LC_Bad_Temp -> jeelink:lacrosse:1479642265933:temperature
LC_Keller_Humi -> jeelink:lacrosse:1479648824103:humidity
LC_Bad_Humi -> jeelink:lacrosse:1479648824103:humidity
LC_Balkon_Humi -> jeelink:lacrosse:1479648824103:humidity
LC_Flur_Temp -> jeelink:lacrosse:1479648824103:temperature
LC_Flur_Humi -> jeelink:lacrosse:1479648824103:humidity
LC_Keller_Temp -> jeelink:lacrosse:1479648475727:temperature
LC_Keller_Humi -> jeelink:lacrosse:1479648475727:humidity
LC_Bad_Temp -> jeelink:lacrosse:1479648154278:temperature
LC_Bad_Humi -> jeelink:lacrosse:1479648154278:humidity
LC_Balkon_Temp -> jeelink:lacrosse:1479642265871:temperature
LC_Balkon_Humi -> jeelink:lacrosse:1479642265871:humidity

I manage my items via item-files and there only the current “things” are present.
Even a removechannel does not work

openhab> smarthome:links removeChannelLink LC_Flur_Temp jeelink:lacrosse:1479642265933:temperature
Could not remove link LC_Flur_Temp -> jeelink:lacrosse:1479642265933:temperature.

or am i doing something wrong?

Hey @DRAGandDROP,

for me the removeChannelLink Command works well.
Thanks for the hint.

Regards,
Matthias

Hi Kai,

FWIW, I just ended up chasing a problem with old links for about two hours before I ran across this post. Very helpful. But @ThomDietrich, I wonder if there is a need for a “Troubleshooting” section, or at least a “Additional Resources” section in the documentation so people can know about these issues? I have developed a number of useful bookmarked links that are essentially additional information that is not included in the current documentation. I am happy to create such a section and seed it with a few links to things I have found to be useful.