[ENG] 16.7. [DKSF 70/71.5 IU] Managing Humidity Sensors

An interface of URL-encoded commands in a device can be used for integration with web applications without using an SNMP protocol. Through the interface of URL-encoded commands, it is possible to manage humidity sensors.

Relative Humidity Status Request

http://192.168.0.100/relhum.cgi?hN

where: 

N  is a number of a humidity sensor

Returned Values

Successful completion of a command:

relhum_result('ok', 55, 2)

where:

The first argument is: always 'ok'

The second argument is: relative humidity, %

The third argument is: sensor status:

 a sensor is not connected or fails

 a humidity is below normal

 a humidity is normal

 a humidity is above normal

Temperature Status Request

http://192.168.0.100/relhum.cgi?tN

where: 

N  is a humidity sensor number

Returned Values

Successful completion of a command:

relhum_result('ok', 25, 2)

where:

The first argument is: always 'ok'

The second argument is: a temperature, °C

The third argument is: a status of a sensor:

 a sensor is not connected or fails

 a temperature is below normal

 a temperature is normal

 a temperature is above normal