I’m working to implement openhab2 in my house and I’m at a point where I have a production installation (2.5 testing) and a development installation(2.5 unstable). But I’m missing a place to store usernames and passwords etc. some where so I don’t have to set them when I deploy
I’m using multiple services and bindings: jdbc, unifi, mqtt, openweathermap, openweathermap, ihc, mqtt, verisure, networkupstools, openhabcloud and google-tts
It there a way to do this? Or do you have something like this on your roadmap?
I did get all settings from /var/lib/openhab2 and made my own runtime.cfg. My setup is 98% text file based. This way it was much easier just to have /etc/openhab2/ in my git repo.
I think I’ll make a ansible role and deploy all things, items, etc. and then have services/* as templates
I think that will be an easy way to manage this for now
I also put my config in git. What I do is also store the important parts of /var/lib/openhab2 in git as well. I have a .gitignore to only include the etc and jsondb folders. I should probably add the config folder as well.