add on / binding specific *.cfg files in /etc/openhab2/services
Now a couple of questions:
Inside the /etc/openhab2/services/addons.cfg there is a comment Note: This is only regarded at the VERY FIRST START of openHAB. Is “start” referring to starting the OH service (which may occur several times) or with the installation of OH and the first start of OH service?
Are addons which i configure in /etc/openhab2/services/addons.cfg reflected in PaperUI?
Some addons are added through PaperUI. How do I effectively remove the addons i added through PaperUI?
How do I effectively remove things and items I’ve added in paper UI?
If you choose to use text files, like I do, I recommend not using text files for Things unless required. Discovered Things usually work well and are accurately configured. Text file Things can be problematic.
I have everything configured through text files only as well. In regards to your questions
This note is only about the package definition in the addons.cfg. As with the very first run of OH, when you select the required package once (simple, standard, expert, demo)
Yes, they are reflected in the Add-ons section as installed under the various headers - actions, bindings, misc, persistence, transformations, uis and voice. Additionally the Bindings are also listed in the Configuration - Bindings section.
You can UNINSTALL them in the Add-ons section
You can delete them by using the trash can icon - the things, the linked items will follow
It is not well documented for all bindings, which attributes are necessary to set. So, for each binding you need to figure, which attributes to set. And, of course, you can make errors.
They work currently fine for (i use these bindings with things files):
I use them because i like to have control over the thing names and usually have multiple instances of the same types. Copy/Paste in a text file is much more convenient then clicking in PaperUI. Additionally, if you need to remove the bridge, you do not need to rediscover all things again. (Not sure if that is still the case, i am using things files since OH2.3.)
Sometimes its difficult to tell which channels to create. If you know for sure, there are no problems in using things file.
Zwave can become a huge problem cause the channels are not documented. Same goes for Zigbee.
However I do use some things files, but only for devices where I know for sure which channels to create or if the binding doesnt support auto discover. I personally prefere things files, because it´s easyer to handle. Often one can make use of copy/paste, which isn´t possible in PaperUI. And its alot better overview having things in seperate files, rather than scrolling down on tons of devices in PaperUI. PaperUI items makes that issue alot worse. If you have a ton of devices, you´ll probably have a zillion items as well. I really hate PaperUI on this matter.
I prefer text files for quite the same reasons mentioned above. That also includes text files for things.
If the docs for a binding a not up to all the possible channels for a thing it can help to add things via PaperUI, create your text files for things / the bridge & items and delete the PaperUI things again…
It’s also possible to go through the binding on github to discover some of the possible channels and their correct names. Either way, in the end it is best to make updated changes to the binding docs, so that these discoveries can be shared with other users who prefer text file definitions
I use PaperUI for installing Bindings/Addons, since this is a single simple task. (I only would use files for that, if i had to build several identical OpenHAB instances or would plan to rebuild from scratch quite often.)
For all other stuff i use files.
If you know you have to accurate with the syntax it’s quite easy to use files, at least with the bindings i am using.