My usecase is as follows:
- I switched to openHAB3 and dropped my file-based configuration from OH2
- I used the GUI to add my bindings, configured my things
- I used “add Equipment to Model” and now have a bunch of “raw” items
- Now I want to add metadata to my items like:
3.1. force auto-updates
3.2. alexa-API attributes
3.3. expires
what I am missing now is a bulk update mechanism, so that I can find “all dimmer items” and apply the alexa attributes or use “auto-update” on all my KNX-items, etc.
What would be nice is to have an item export and I can use an editor to filter my items, add my metadata and re-import the items - to have a mass editor in the GUI would be nice, but from what I see with that different item-definitions I’m afraid, that’s a very big issue to get a mass editor in the GUI to work.
I tried to “openhab-cli backup
”, but it won’t export item definitions, which I could edit in use the developer tools “import/update items from text” functionality… or did I miss something?
I did not test to edit the JSONDB and restore it… I don’t know how to mass edit the JSONDB-itemfile