Hi there, I am stuck at a probably trivial point.
I have a semantic model with rooms. within a room I create equipment from things.
But all the groups that I create have the semantic classification “Equipment” which results in my model being wrong (everything under equipment is in just one big group)
ow do I change that. In Living Room for example I want a group called blinds which will then show up in the equipment tab under blinds.
I would be very grateful for any help.
rlkoshak
(Rich Koshak)
August 22, 2023, 6:15pm
2
When you “add equipment to model” you have the option to set the Equipment tag to what ever you want.
After the fact you can change the tag from the model:
or from the Item page
Tuny
(Sebastian)
August 22, 2023, 7:47pm
3
What OpenHAB Version are you using?
There is a problem in OH4.0.X which might lead to some errors. See also here:
opened 05:01PM - 03 Aug 23 UTC
closed 05:47PM - 19 Aug 23 UTC
bug
main ui
<!--
Please DO NOT ERASE this template, but fill in the details as requested. T… his will ensure your issue is properly filed and will be considered. Otherwise, we may reserve the right to close it without further action.
-->
## The problem
In OH4.0.1 the "Equipment" as default Semantic Class is completely missing.
When adding a new Equipment in the Model view the default Semantic Class is "Apartment" which is a "location", which is wrong.
<!--
Describe the issue you're having. In most cases it is appreciated to share screenshots or
even animated GIFs of your issue.
To make screenshots:
* On Windows: use Win+Shift+S
* On macOS: use Cmd+Shift+4
To make animated GIFs we recommend:
* On Windows: ShareX - https://getsharex.com/
* On macOS: Giphy Capture - https://giphy.com/apps/giphycapture
* On GNU/Linux: Peek - https://github.com/phw/peek
-->
## Expected behavior
Equipment Semantic Class should exist, like it is in OH 3.4.4. See printscreen on the right, compared to OH4.0.1 on the left.

<!--
Describe what you expected to happen or how it should look/behave.
-->
## Steps to reproduce
<!--
Provide accurate steps to reproduce the issue, including pastes of widget/page code if necessary.
-->
1. Open Semantic Model and "Add Equipment". There is no "Equipment" as Semantic Class shown.
## Your environment
<!--
As an admin, in the main UI, choose *Help & About* on the left sidebar, expand *Technical information* and click on *View details*, then click *Copy* and paste the results here. You may omit information that is not pertinent to this issue if you feel it's divulging information you'd like not to share.
-->
```
runtimeInfo:
version: 4.0.1
buildString: Release Build
locale: de-DE
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 17.0.8
javaVendor: Private Build
osName: Linux
osVersion: 6.1.11-meson64
osArchitecture: aarch64
availableProcessors: 4
freeMemory: 239029432
totalMemory: 717225984
startLevel: 70
```
## Additional information
<!--
Provide any information not pertinent to the above sections that you'd still like to share.
-->
https://community.openhab.org/t/oh4-semantic-model-create-equipment-from-thing-adds-equipment-tag/148299/2?u=tuny
The problem is fixed in the newst snapshots.
Matze0211
(Matthias)
August 23, 2023, 5:07am
4
If you open your room item, the item should have an additional equipment tag. Edit the item and remove the equipment tag, so that item is not room & equipment at the same time, but only a room anymore
Thank you very much for your help.
I seem to have the Version that has apartment listed as the deault for Equipment.
However, whatever kind of semantic class i define it sill ends up only as equipment.
It worked flawless in my last Openhab configuration.