OpenHAB REST Exporter/Importer for Items and Links
These files will allow you to make all your items editable (RW) in a couple of minutes. It doesn't matter if items are created in PaperUI, HabMIN, .items-files. All items will be inserted into the OpenHAB JSON dB and editable through PaperUI.
The main purpouse is adding tags enabling Google Home (and likely Alexa?).
This is for RaspberryPi, OpenHab 2 (snapshot), SSH. It probably works for most platforms as long as you can SSH.
I'm using OH2 aliases mapped to /srv/ instead of hard paths, which makes it less platform dependent.
I'm using OH2 aliases mapped to /srv/ instead of hard paths, which makes it less platform dependent.
The boring stuff: "Use it at your own risk!" I have +200 items and used this method 20 times now, rebooted plenty, tested again... but it may behave differently at your system.
Download .7z and extract to /srv/openhab2-conf/htmlCareful if you already have an index.html
The script does not change anything in OH and cannot break anything. The magic happens when you (manually and easily) import the data again. HowTo: Move ALL items to JSON dB for easy editing in PaperUI and tagging for Google Home (and Alexa)
Best Regards
PeteR