When installed, the Octave
cloudInterface app acts as an “administrator” for the Data Hub. The
cloudInterface receives settings from the Octave cloud application and saves it to flash locally. Then, whenever it starts up, it reads the local configuration file and applies those settings to the Data Hub. The Data Hub does not persist those settings itself. You can create your own administrator app that adds your own Data Hub configuration when it starts. As @jyijyi suggested, you can do that using a script or a C program that invokes the
dhub command-line tool to do it, or you can use the Data Hub’s Admin API to do it from a C program (this is the approach I would recommend).
To see the documentation for the various Data Hub APIs, go into the Data Hub app’s directory and run
make docs. The documentation will appear under a directory called
docs/html. You can open the
index.html file in a web browser to view it. Even if you want to use a script to control the Data Hub, I recommend having a look at the API documentation anyway, because it explains a few things about the Data Hub that you’ll probably find good to know. Start with the I/O API, then read the Admin API.