Others¶
/stm.cgi?lk3restart=1¶
Restart the device.
GET /stm.cgi?lk3restart=1
Example:
http://192.168.1.100/stm.cgi?lk3restart=1
/stm.cgi?restart_power_on=1¶
Set a restart flag for the function confirming whether the device has been restarted or not. The flag is stored in the variable <!--#restart-->
available in restart
in /json/status.json
.
GET /stm.cgi?restart_power_on=1
Example:
http://192.168.1.100/stm.cgi?restart_power_on=1
/outs.cgi?voutA=B¶
Added in HW 3.5+ SW 1.36
Set the state of the variable EVENT (binary variable).
GET /outs.cgi?voutA=B
A
is index of variable EVENT1-EVENT8, integer0-7
B
is the state to be set, integer0-1
Example:
http://192.168.1.100/outs.cgi?vout0=1
/stm.cgi?eventname¶
Added in HW 3.5+ SW 1.60a
Set the name of the variable EVENT.
GET /stm.cgi?eventname=AB
A
is index of variable EVENT1-EVENT8, integer0-7
B
is the name to set, a string of up to 15 characters
Example:
http://192.168.1.100/stm.cgi?diffname=0T_In-Out
Status pages¶
/post.cgi?pictureupload¶
Upload picture for use in Status for user page.
POST /post.cgi?pictureupload
A
A
is binary file (image)
/stm.cgi?delpicture=0¶
Remove the picture from Status for user page.
GET /stm.cgi?delpicture=0
Example:
http://192.168.1.100/stm.cgi?delpicture=0
/stm.cgi?postop¶
Set the top offset for elements on the Status for user page.
GET /stm.cgi?postop=0*A
A
is a list of values for the top offsets, a chain of 79 (78 prior to SW 1.49, 43 prior to SW 1.44) integers separated by*
Example:
http://192.168.1.100/stm.cgi?postop=0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0
/stm.cgi?posleft¶
Set the left offset for elements on the Status for user page.
GET /stm.cgi?posleft=0*A
A
is a list of values for the left offsets, a string of 79 (78 prior to SW 1.49, 43 prior to SW 1.44) integers separated by*
Example:
http://192.168.1.100/stm.cgi?posleft=0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0*0
/stm.cgi?echeck¶
Set the visibility of items on the Status page.
GET /stm.cgi?echeck=A
A
determines which elements are visible on Status page, chain of 132 integers0-1
(118 prior to SW 1.49, 87 prior to SW 1.44)
Example:
http://192.168.1.100/stm.cgi?echeck=11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
Variables¶
/eeprom.cgi?bitA=B¶
Set a one-bit variable.
GET /eeprom.cgi?bitA=B
A
is a position, integer0-7
B
is a value, integer0-1
Example:
http://192.168.1.100/eeprom.cgi?bit1=0
/eeprom.cgi?byteA=B¶
Set a single byte variable.
GET /eeprom.cgi?byteA=B
A
is a position, integer0-3
B
is a value, integer-128 - 127
Example:
http://192.168.1.100/eeprom.cgi?byte0=127
/eeprom.cgi?wordA=B¶
Set a two-byte variable.
GET /eeprom.cgi?wordA=B
A
is a position, integer0-3
B
is a value, integer-32768 - 32767
Example:
http://192.168.1.100/eeprom.cgi?word0=0
/eeprom.cgi?dwordA=B¶
Set a four-byte variable.
GET /eeprom.cgi?dwordA=B
A
is a position, integer0-3
B
is a value, integer-2147483648 - 2147483647
Example:
http://192.168.1.100/eeprom.cgi?dword0=0
/eeprom.cgi?stringA=B¶
Set a string variable.
GET /eeprom.cgi?stringA=B
A
is a position, integer0-1
B
is a value, a string of up to 15 characters
Example:
http://192.168.1.100/eeprom.cgi?string0=VARIABLE