Copyright © NetPing east Co., Ltd E-mail:
Phone:+886-2-23121582
support@netpingdevice.com
[ENG] 14.4. [DKSF 48.4 IU] Controlling 1-wire Smoke Sensors
An interface of URL-encoded commands in a device can be used for integration with web applications without using an SNMP protocol. Controlling
1-Wire smoke sensors is available through the interface of URL-encoded commands.
Requesting a Relay Status
where:
N is a number of a smoke sensor
–
Returned Values
An error in a request (incorrect format, incorrect number of a sensor):
Successful execution of a command:
where:
The first argument 'ok',
The second argument is a status in a number, the third one is a status in a text:
0 - Norm
1 - Alert
4 - Power supply of a loop is disabled
5 - A failure of a sensor or there is no sensor on a 1-Wire bus
Controlling a Loop Power Supply
Switching on, switching off, a short term switching off a voltage, fed to a current loop to power an external fire detector. Switching a voltage off is used
for resetting a triggered detector into an initial status:
where:
is a number of a smoke sensor
N –
Returned Values
Error (incorrect format of a request or an incorrect relay number):
http://192.168.0.100/smoke.cgi?sN
relay_result('error');
smoke_result('ok', 1, 'Norm');
smoke_result('ok', 1, 'OK');
/smoke.cgi?sN&on
/smoke.cgi?sN&off
/smoke.cgi?sN&reset
relay_result('error');