8.7 SCRIPT COMMANDS
Script variables for GFG.get and CFG.set. Please check Player LUA manual. Script variables.
RELOAD SCRIPT
Reload script configuration. Index should be script index 1 to 20. Must be called after modifying
Script variables and call commit command. Reload script 7 example:
{"jsonrpc":"2.0","method":"Script.Reload","Index":7}
EXECUTE SCRIPT 6
{"jsonrpc":"2.0","method":"Script.Command","Index":6,"Command":"Start"}
KILL SCRIPT 3
{"jsonrpc":"2.0","method":"Script.Command","Index":3,"Command":"Stop"}
QUERY SCRIPT 11 STATUS
{"jsonrpc":"2.0","method":"Script.Status","Index":11}
{"status":"Idle"}
8.8
REGISTER COMMANDS
ADD REGISTER LINE
Add line to device LOG. Possible line values are: Trace, Warning, Error.
Add a warning line example:
{"jsonrpc":"2.0","method":"Device.Log","Severity":"Trace","Message":"This is a
warning message"}
8.9
DEVICE COMMANDS
DEVICE REBOOT
{"jsonrpc":"2.0","method":"Device.Reboot"}
GET DEVICE VERSION
{"jsonrpc":"2.0","method":"Device.GetVersion"}
{"version":"3.04r0"}
DEVICE UPDATE FIRMWARE
With this function user could update device firmware to an specific version. User must provide
firmware url. Device setting will be saved.
{"jsonrpc":"2.0","method":"Device.Update","url":"https://www.ecler.com/new_fir
mware.bin"}
DEVICE BOOT CONFIG COMMAND
Available BootPreset1 options are: 1 – PRESET1, 2 – keep status
{"jsonrpc":"2.0","method":"Device.BootPreset1","BootPreset1":2}
SW
101