Difference between revisions of "Script"
Jump to navigation
Jump to search
(Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <item type="script" name="Test" path="script-test.txt" addr="125:150" NAME=”VALUE”/> </syntaxhighlig...") |
(No difference)
|
Revision as of 08:25, 23 August 2021
Example of description in XML
1<item type="script" name="Test" path="script-test.txt" addr="125:150" NAME=”VALUE”/>
Parameters
| Name | type and variety | description |
|---|---|---|
| path* | string | path to script file relatively to server folder |
| body* | string | contents of script (instead of path) |
| NAME | string | parameters sent to script |
* – required fields
Possible variants of setting the status
| Byte | description |
|---|---|
| 0 | 0 – off 1 – on 0xFF – Change the status for the opposite one |