I am using OH 2.1 on a RPi3.
IAs I use both ImperiHome and Homekit (works great) I have added a lot of tags to my items. I add & edit tags via habmin.
Now, it has happend already the 2nd. time that tags disappear after a reboot. The system works still fine - but just most of the tags have vanished.
When this has happend the 1st. time , I just re-entered all tags again (which takes quite a time, especially for the imperihome-tags).
However, yesterday it has happend again: after a reboot the tags have been gone.
What have I tried to solve the problem?
cleared the cache
rebooted again
shutdown , removed from power-supply, rebooted again
-> tags still gone.
Maybe it’s a bug - so I want to report it.
Or maybe someone has a soluation - I would appreciate that.
Please dont misunderstand me: it’s not really a big deal, I have no problem to re-enter the tags manually.
Maybe a silly question, but what is a tag ? Where exactly do you enter it (show a screenshot maybe) ?
I assume you’re using some field that is not supposed to be used for that purpose.
Does it appear in jsondb after you enter it ? (/var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json).
If you want to report this as an error, please open a Github issue.
This is a screen-shot of Habmin where you can add or edit tags. (I am runninbg Habmin in German language ; so “Kennzeichen” = “tags”)
In this example I have added the tag “Ligthing” to this items; with this tag Apple’s HomeKit can find this item in your system.
Concerning my problem of “disappearing tags” after a re-boot:
I have decided to re-enter the tags once again manually - I just hope this happens not too often.
jsondb is where habmin will store what you enter, so please check if your tags are in.
Either way, now while I didn’t know tags, you seem to use them the intended way, so if they’re not properly stored in jsondb (or maybe stored but not loaded on startup?), that’s probably a bug. So open a Github issue and describe this behavior there.