Hello friends,
I’m running openHAB 2.5.2 on raspberry pi 4 using automatic installation option.
Can anyone tell me in which folder I can find the items file automatically created when creating items in Paper UI?
I want to add HomeKit tags to my items, but I can’t find the items file.
I also want to add the Expire Binding info for a few of my switches. Should I add the expire rules to the items files too?
Second file I’m searching for is the jar file for the Samsung Air Conditioner binding. I need to find my AC’s IP and MAC address, but I can’t find the binding’s location on my system to run the IP and MAC address finder process suggested on the binding’s info page.
There will be no .items file created if you use PaperUI for creating items. They are all stored in jsondb (json files). But it is not recommended to edit these files. The Jsondb is located here.
Thanks, Alex. Your suggestion worked and I can see my devices in the Apple Home app
Do you know if I can use the REST API to add the Expire Binding settings to my items?
@Andrew_Rowe
Do I need to delete ALL my Paper UI items and then add them to a manual .items file?
Or can I just delete the particular items that need Expiry settings and add only them to a manual .items file (while items without expiry settings stay as Paper UI items)?
That is what @mjeshurun is using. But he wants to add an expire parameter via REST API.
He has no .items file and created all items via PaperUI. In PaperUI you have to select a profile e. g. “system:default” while linking an item to a channel (+create new item). This is then shown in REST API → GET /links/{itemName}/{channelUID}
To use the expire v1.x binding, you must create the item in xxx.items file (to be able to link to a 1.x binding)
When you create an Item from xxx.items file, it is treated as “not manageable” from PaperUI , REST API etc.
For some reason, I’m getting an error message when running the PUT, which means the GET /links/{itemName}/{channelUID} doesn’t update with the added expire line in the result.