Back to file-based openhab configurations in the age of AI?

Hello everyone,

Interesting discussion and interesting activities on-going !

I’m trying to understand if there is a way to enjoy the benefits of versioning .items, .rules etc… files (e.g. with GitHub) while being in the Main UI world?

Jsondb deltas do not seem to be very easy to read…

So what would be the solution? Generate the YAML version of jsondb, and use that to snapshot the config in GitHub?

I’m pretty sure many of you are already doing this (versioning of config, in a readable way, with deltas between x and y versions etc…) one way or the other and I am interested in understanding what you are doing…

I like what @andre showed in this topic:

But a key point there is that he is using file based config.
Even if I would let AI use REST API to update the config (and so possibly would not be able to use the approval solution he has put in place), I would like to be able to a posteriori track what AI did, in a user friendly way…

Am I making sense?