Eng] 15.4. [Dksf 48.5 Iu] The Control Of The 1-Wire Smoke Sensors - NetPing 8/PWR-220 v4/SMS User Manual

Hide thumbs Also See for 8/PWR-220 v4/SMS:
Table of Contents

Advertisement

NetPing server room environmental monitoring solutions and IP power distribution units.

[ENG] 15.4. [DKSF 48.5 IU] The Control of the 1-wire Smoke Sensors

The interface of URL-encoded commands in the device can be used to integrate with web applications without using the SNMP protocol. Through
the interface of URL-encoded commands, control of 1-wire smoke detectors is available.
REQUEST ABOUT THE RELAY STATE
http://192.168.0.100/smoke.cgi?sN
where: 
N — the number of the smoke sensor.
RETURN VALUES
Error in the request (wrong format, wrong number of sensor)
relay_result('error');
Successful execution of the command
smoke_result('ok', 1, 'Норма');
smoke_result('ok', 1, 'OK');
where:
The first argument is 'ok',
The second  - status in numbers, the third  -  status in text:
0 - Norm;
1 - Alert;
4 - The loop power is off;
5 - Sensor failure, or the sensor is absent on the 1-wire bus.
CONTROL OF THE LOOP POWER
Switching on, off, short-term shutdown of the voltage supplied to the current loop to power an external fire detector. Voltage relief is used to reset
the triggered detector to its initial state:
/smoke.cgi?sN&on
/smoke.cgi?sN&off
/smoke.cgi?sN&reset
where:
N
 — the number of the state.
RETURN NUMBER
Error (wrong format of the request or wrong relay number
relay_result('error');
Successful execution of the command
relay_result('ok');
Copyright © NetPing east Co., Ltd / E-mail:
support@netpingdevice.com www.netpingdevice.com
/
/ Phone: +886-2-23121582

Advertisement

Table of Contents
loading

Table of Contents