But the Item names are difficult to read, remember and trace back to a specific lamp or speaker
And if I look at examples of the Sonos speakers, the items are declared in the item file and I cant get it to work properly with my auto generated item names. when i use them in a sitemap
Wat is best practice and how to handle auto discovered things/Items/channels?
In item, sitemap and rule files
In PaperUI, go to “Things” “Your Binding”, click on it, then unlink the autogenerated channel, click on “+” to add a new channel, in the pop-up scroll all the way down and click on “Create new item”, then you are able to create an individual name for your item.
In paper UI:
If I go to Configuration > Things > e.g. Sonos speaker, I can unlink and link the same channel but I have no option add a channel (not plus symbol or icon)
I didn’t know there was already suds a detailed documentation for installing Openhab 2
I see now that i made some critical mistakes in installing Openhab 2 manual and later on updating openhab manual .
i’m a Windows server guy so shoot me But my powershell skills are of little value in Linux
i will start from scratch so that i will have a solid base to work of , i wil go the apt-get way
i will comeback, hopefully stronger and more knowledgeable
It provides you with a ready to use image. Although I personally still prefer the old school way of manual setup (it gives you a little bit more knowledge about Linux).
One more thing, did you turn off Simple Linking Mode in Configurations - > System? I don’t think it lets you link Things to Items manually in PaperUI with this turned On.
When I go to Configuration > System > Item Linking, and turn of Simple Mode, I can then Add or remove a link
When I add a link, I can make my own item name and label.
I´m not really sure, if my topic belongs to this threat, but as it concerns UI things and sitemap it should be ok.
Yesterday I started with a completly new installation just for test purpose an a Win7 Notebook.
I added one autodiscovered thing, a Onky AV and createt a items file with one knx item.
The connection to knx works fine (tried it out with HABpanel) bus whe I open the basic UI, i just can see the thing (ON/OFF Onky etc) but not my sitemap.
I was wondering, how a sitemap and the things can be combined and how i would combine e.g. a knx item with an autodiscovered thing letzt say to control my AV via knx buttons. In OH i did that in the items file.
You need to create Items that are linked to the Channels on your Things and then create a Sitemap just as you did in OH 1.x.
I’m told you can link Items to Channels in PaperUI or you can do it in an Items file using { channel="channelID" }.
The “default” sitemap you see that has the Things listed is an automatically generated view of your Things and can not show any Items.
Almost. Things are autodetected. A Thing represents a device or API. A Thing can have one or more Channels .One links a Channel to an Item. Everything else in OH uses Items.