Configure gateway through scripting

Is it possible to add various settings in gateway through scripting instead of doing it manually. E.g, we can create the database connection manually or through function system.db.addDatasource. Same for adding devices as well.

Similarly, we want to configure other settings like Gateway settings for example. I did not find similar functions mentioned above, but is there any other way to achieve these to basically update internal DB where settings are stored?

As of this moment no. You cannot modify it directly through scripting. During ICC this year Carl and Colby alluded to wanting to make it easier to modify the gateway configuration. My personal take is that all of the gateway config will eventually be extracted to the file system so that GIT can integrate with it. So in theory you could then change it via an editor like notepad++… If you’re brave enough. :sweat_smile:

1 Like