2N Helios IP Configuration Manual v2.8 User Manual
Page 38
38
E.g.: http://192.168.1.50/relay1=off
Enable switch control by HTTP – enable the HTTP switch control option. Refer
to the Switch Control by HTTP details below.
Legacy switch code – enable the option to activate the first-listed switch
When this box is checked,
code from the phone without being confirmed with *.
first code does not require confirmation by *. This setting does not apply to other
switch codes listed and to numeric keypad code activation, those must be always
confirmed by *. The Legacy switch code helps you keep back compatibility with
earlier 2N intercom models.
Switch Control by HTTP
To change the switch state, send the HTTP request (GET request) to the intercom
IP address. Make sure that the function is enabled in the Enable Switch Control by
parameter. The request format is as follows: (use any browser to try):
HTTP
http://intercom_address/enu/lockstate.xml.p?lock state= &answer=
X
Y
Z
where is the switch number (1–4) and specifies the type of action: 0 – switch off, 1
X
Y
– switch on, and 2 – state change.
The response to the HTTP request contains an XML message including the current
states of all switches:
If the
parameter is included in the HTTP request, the response in not in the
answer
XML format, but only contains text .
Z
Note
The HTTP switch control function is available with the Gold or Enhanced
Integration licence only .
Note
The switch time profiles are available with the Gold or Enhanced
Integration licence only.