Some devices don't show up in devices tab

Hi all,

Problem:
When i go to the devices tab on the home page of openhab it seems like not all of my devices are shown.
In my case this is about my lightbulbs.

Test:
For testing, i’ve adjusted the semantic class to a different one and then re-adjusted this to the one it should be.
After doing that the device is showing up in the devices again.

Question:
How is this possible and is there a way to reload this without doing this for all the affected devices?

The user-facing semantic data is held in the the items tags that you apply. The tags, however, are not used directly by the model pages, instead when you add or change the tags that information is converted into a semantics metadata associated with that item.

At least, that should be how it happens, but your issue is just one of an increasing number of reports that indicate that transfer from tags → metadata is not happening properly in all circumstances. You can verify this by going to the items detail page for the item you just changed, then click on Add Metadata and choose the Enter custom namespace option. In the input that comes up type semantics and you should be presented with a short yaml configuration that looks like this:

value: Point_Status
config:
  isPointOf: Some_Equipment_Item

Then check one of the items that is not currently working and see if there is any semantics metadata or not. I suspect the answer is ‘no’.

The different situations, have so far been insufficient to narrow down where the problem is, so any additional detail you can add will be helpful.

  • Do you remember how you created the items in the first place?
  • Did these items appear in the model time and then disappear later or were they never in these until your edits?
  • From which page did you edit the item to make it work?
  • It is only one particular type of item or one particular semantic class of item?

Unfortunately, probably not. Because this seems to be an issue with the underlying code that creates the semantics metadata, you need to perform an action on each item that triggers that underlying code to run again.

Hi Justin,

Thanks for your reply and sorry for my late one.
I didn’t got a notification of your reply, i’ll check if this possible or check forum more often.

The items are all created in the past and this morning suddenly everything was working like before but only for a short time.
Don’t know why it worked but when i’ve updated some items the problem reoccured and now it’s back to where it was.

For 1 room i’ve previously created groups since there are to many items available.
The items in these groups keep working but all the rest is not.

I’ll explain with an example :
Salon (lightbulb)
Class: Point
isPointOf : Licht
Direct parent group : Licht

(in Model)
Room : Living
Group : Licht
All lights in this group show in up in my devices under lamps.

Studio (lightbulb)
Class: Point
hasLocation : studio
isPointOf : studio

(in Model)
Room : studio
This light does not show up in my devices under lamps.

Hope this clears out anything but i find it weird that this morning my groups seem to be complete but after adjusting temperature from point to setpoint everything was broken again.
It’s like everything goes wrong after changing any thing on openhab.
The device feature was so great and easy to handle the home and it seems broken for a while now.

Do you see anything in the openhab or events log files after making one of these breaking changes?

Hi Justin,

I’ve looked up the events but could not find anything special.
I see stuff updating but it doesn’t show what did break it.
After these changes my temperature also stopped updating.
The are different channels but after changing the temperature item to setpoint, the actual temperature does not show up anymore and took over the set value.

See my reply in the other thread, it looks like your model is configured incorrectly.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.