Lua Script for File-Based Packages
You can create software packages locally and upload them to the TW.RSM.Thing.FileRepository folder in the ThingWorx repository. Each package consists of a ZIP file containing a Lua instruction script file (luaScriptResource) and any other files required for the package. The Lua script extension includes the instructions that must be executed on the Edge MicroServer (EMS) after it receives the package (that is, when Software Content Management downloads the package to that asset).
Refer to the
ThingWorx Lua script API for all operations that are possible on the
ThingWorx Edge MicroServer (EMS). For more information, see the
ThingWorx Edge MicroServer (EMS) and Lua Script Resource (LSR) Help Center.