NetPing server room environmental monitoring solutions and IP power distribution units.
Copyright © NetPing east Co., Ltd / E-mail:
/ Phone: +886-2-23121582
support@netpingdevice.com www.netpingdevice.com
[ENG] 15.6. [DKSF 48.5 IU] Control of the Humidity 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, humidity sensor control is available.
REQUEST ABOUT THE STATE
RETURN VALUES
Successful execution of the command
where:
The first argument: always 'ok'.
The second argument: relative humidity,%.
The third argument: temperature of the humidity sensor
The forth argument: ths sensor status
0 - the sensor is not connected or fails;
1 - humidity is below the safe range;
2 - humidity is in the safe range;
3 - humidity is above the safe range.
AUTHORIZATION
http://192.168.0.100/relhum.cgi
relhum_result('ok', 55, 25, 2)
To add a login and password to the structure of a URL-encoded command, it is possible to use the next scheme:
http://<username>:<password>@<host>:<port>/<URL‐path>?<parameters>
where:
<username>:<password>
web interface;
– are credentials for authorization in a device
<host> is an IP address of a device;
–
<port> is a port of an HTTP server;
–
<URL‐path>?<parameters> is a URL-encoded command
–