[ENG] 16.3. [DKSF 70/71.5 IU] Managing Temperature Sensors

The interface of URL-encoded commands in the device can be used to integrate with web applications without using the SNMP protocol. Via the interface of URL-encoded commands, control of temperature sensors is available.

Request of the state

http://192.168.0.100/thermo.cgi?tN

where:

N — number of the temperature sensor, indicated after ?t.

Return values

Error in the request (wrong format or wrong number of sensor):

thermo_result('error')

Successful completion of the command

thermo_result('ok', 36, 2);

where:

The first argument: always 'ok' (upon request error - 'error').

The second argument: current temperature.

The third argument: the sensor status

0 - Sensor not connected or malfunctioning

1 - Temperature is below normal

2 - Temperature is normal

3 - Temperature above normal