Sounds like you have the right approach for both preprocessing and post-processing your data. I would recommend to keep doing what you described.
Exoline is a good tool for interacting with resources in the Exosite One Platform. It has some device deployment features that might come in handy for you to update your scripts. The ‘spec’ command can be used to create a specification file of your devices, and then iteratively apply that to other devices in your domain. I would recommend using the web interface to make the update to its Lua script by hand, and then use the spec command to create a local template and apply that template to the other devices in a given domain or portal. Rough usage should look like this:
- Push your script change to one device.
- Make a directory to hold your spec file, and in that directory make another dir to hold scripts.
- Make a spec file of your update device using the --generate option.
- Using RIDs, --portal, or --domain options roll your update to the other devices.
For more information type
$ exo spec --help in your terminal.
Because Exoline is using the RPC API, you should be able to do what it does using a script or something else. The primary procedure that you would probably want to use, would be the update procedure. By encoding your updated Lua script as a string, you could iterate over a collection of RIDs or CIKs to roll out your updates.
Both of these methods will of course restart your scripts.
Let me know if you have questions about how to do this,