contact@webdyn.com | webdyn.com
V2.05 subject to changes | Webdyn © by Flexitron Group
header = {
version = 1.1,
label = “Demo control power”
}
The name is displayed which comes from the “label” information as well as the version number which
comes from the “version” information. See the “WebdynSunPM LUA User Guide.pdf” document for more
details.
3.2.3.1.2 Enabling/Disabling a Script
Enabling a script means starting to run it on the concentrator. In practice, the LUA script “wsinit()” function
is run:
function wsInit()
wd.log(“Control power initialized”)
end
See the “WebdynSunPM LUA User Guide.pdf” document for more details of what can be done.
Disabling a script meets stopping it from running.
Note that scripts are run automatically when the WebdynSunPM concentrator starts up, even if
they were disabled before the start up.
A specic button is used to enable and disable:
When the script is disabled, its status is greyed out and “Disabled” is displayed.
When the script is enabled, its status is black and “Enabled” is displayed.