Copyright © NetPing east Co., Ltd E-mail:
Phone:+886-2-23121582
[ENG] 14.6. [DKSF 48.4 IU] Controlling a Humidity Sensor
An interface of URL-encoded commands in a device can be used for integration with web applications without using an SNMP protocol. Controlling a
humidity sensor is available through an interface of URL-encoded commands.
Requesting a Status
Returned Values
Successful execution of a command:
where:
The first argument: always 'ok'
The second argument: relative humidity in %
The third argument: a temperature of a humidity sensor
The fourth argument is a status of a sensor:
0 a sensor is not connected or fails
–
1 a humidity is below a norm
–
2 a humidity is normal
–
3 a humidity is above a norm
–
http://192.168.0.100/relhum.cgi
relhum_result('ok', 55, 25, 2)