Analog inputs¶
/stm.cgi?iname¶
Set a name for the analog input.
GET /stm.cgi?iname=AB
A
is index of input INPA1-INPA6, integer0-5
B
is the name to set, a string of up to 15 characters
Example:
http://192.168.1.100/stm.cgi?iname=0Voltage
/inpa.cgi?sensor¶
Select sensor for the input.
GET /inpa.cgi?sensor=AB
A
is index of input INPA1-INPA6, integer0-5
-
B
determines the sensor connected to the input, integer0-20
(different values depending onA
-0-13, 15-20
for INPA1-INPA4,0-9, 13-18
for INPA5-INPA6,20
is not available in HW 3.0){ "0": "off", "1": "vin=3.3V/5V", "2": "vin=33V/55V", "3": "ACS711EX_15", "4": "ACS711EX_30", "5": "ACS709_75", "6": "R=0.1", "7": "R=0.05", "8": "R=0.01", "9": "LA100-P", "10": "SCT-013-000", "11": "SCT-013-030", "12": "TR-12V", "13": "PT1000", "14": "4..20mA", "15": "AC meter", "16": "ACS711LC-12.5A", "17": "ACS711LC-25A", "18": "ACS712-20A", "19": "WCS1800", "20": "HV DC meter", }
Example:
http://192.168.1.100/inpa.cgi?sensor=01
/inpa.cgi?igain¶
Set the gain for the input. Can be only selected for INPA1-INPA4 when the sensor is set to vin=3.3V/5V (1
).
GET /inpa.cgi?igain=AB
A
is index of input INPA1-INPA4, integer0-3
B
is a input gain 1/10/50, integer1-3
Example:
http://192.168.1.100/inpa.cgi?igain=01
/inpa.cgi?calibration¶
Set the calibration for the input.
GET /inpa.cgi?calibration=AB
A
is index of input INPA1-INPA6, integer0-5
B
is the calibration value, integer
Example:
http://192.168.1.100/inpa.cgi?calibration=00
/inpa.cgi?multiplier¶
Set the multiplier for the input reading.
GET /inpa.cgi?multiplier=AB
A
is index of input INPA1-INPA6, integer0-5
B
is a multiplier, integer (desired value multiplied by 100)
Example:
http://192.168.1.100/inpa.cgi?multiplier=0100