[ENG] 16.5. [DKSF 70/71.5 IU] Managing 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. Through the interface of URL-encoded commands, it is possible to manage 1-Wire smoke sensors.

Relay Status Request

http://192.168.0.100/smoke.cgi?sN

where: 

N  is a number of a smoke sensor

Returned Values

Request error (incorrect format, incorrect number of a sensor):

relay_result('error');

Successful completion of a command:

smoke_result('ok', 1, 'Normal');

smoke_result('ok', 1, 'OK');

where:

The first argument is 'ok',

the second argument is a numeric status, the third one is a text status:

0 - Normal

1 - Alert

4 -  Loop power is switched off

5 - Sensor failure or there is no sensor at a 1-Wire bus 

Managing Loop Power Supply

Switching on, switching off, short-term switching off a voltage, supplied to a current loop, for powering external fire alarm. Voltage drop is used to reset a triggered alarm into initial status:

/smoke.cgi?sN&on

/smoke.cgi?sN&off

/smoke.cgi?sN&reset

where:

N  is a smoke sensor number

Returned Values

Error (incorrect request format or incorrect relay number):

relay_result('error');

Successful completion of a command:

relay_result('ok');