Donât give the Item a semantic tag. Not all Items need to be in the model. In fact Iâve only about 60% of my Items in the model.
If the Item doesnât contribute to the model and doesnât need to be shown in the Overview Pages, leave them out of the model. Remove their semantic tags.
I too struggled a lot with adding items from text files to the model. Actually the solution is quite simple.
Choose a position in your model where to put those items. I created a location (=Group) âAllgemeinâ in house. There I added a thing using the gui - no items, just a generic thing. I then chose the thing and clicked on âadd pointsâ (=items). In the following dialogue make sure to also show items outside the model.
Check the items you want to add to the thing and voila: items from text files are added to the model.
Mind that things from text files cannot be added that way.
The not recommended but hardcore way would be to manually edit the json DB - that also worksâŠ
I have a similar problem during OH4 setup. I created a location tree with a location called âlaundy roomâ. There I have a shelly relay to control the washing machine. So I created a thing for the relay and linked 3 channels to newly created items. Afterwards I selected the location and called âcreate equipement from thingâ, which results in an equipment at the location and three items? points? whatever as children of the equipment. Ok so far.
But I also have the three items as children of the root node of the model. How can I get rid of them (preserving the entries at the equipment) ?
From what you describe you created Items for this one Thing twice meaning you have two of each Item. Only one set of Items is under the Equipment Group and the other set is no.
You can verify this by navigating to the Thing and the Channels. If there is a 2 next to a Channel it means that Channel is linked to two different Items.
Thanks a lot, youâre correct. If I donât create items during thing creation and create them during âcreate equipment from thingâ the result is like I want it.