Initial setup per config file?

Hi there,

I want to automate the deployment of openhab completely and therefor I need a way, to avoid the manual initial setup by specifiying everything in config files
What I didn´t find out, yet, is how to set the admin user & pw, the region and the geographical data (coordinates) over files .
Is there a way ?

Thanks and greetings,

Julian

for the regional settings you can set this, it seems … it´s working for me at least:

conf/services/runtime.cfg

org.openhab.i18n:language=de
org.openhab.i18n:location=43.83653763347002,11.169813987770812
org.openhab.i18n:region=de
org.openhab.i18n:service.pid=org.openhab.i18n
org.openhab.i18n:timezone=Europe/Berlin

for the admin-user, though, I found nothing beautiful.

I´m just copying an predefined users.json to userdata/jsondb/users.json, but that´s obviously not very clean :frowning:

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.