Automatically Starting or Stopping a Lua Script
If you created or loaded a Lua script file into the HPDU, you can have that
script automatically run or stop in response to a specific event.
-
Select Device Settings → Event Rules → + New Action.
-
Select Start/stop Lua script from the Action list.
-
In the Operation field, select Start Script or Stop Script.
-
In the Script field, select the script that you want it to be started or
stopped when an event occurs.
Note -
If you did not create or load a script into the HPDU, a script does
not appear in the Script list.
-
To apply different arguments other than the default, perform these
steps.
-
Click + Add argument
-
Type the key and value.
-
If you need to enter additional arguments, repeat Steps
6a-6b.
Note -
The new arguments override the Lua script default
arguments.
-
To remove an argument, click the - (Minus button) next to the
argument.