XSECURITY:
http://<IP>:<web_port>/cgi-bin/configManager.cgi?action=setConfig&AlarmOut[<alarm_out>].Mode=<mode>
where:
- <IP>: the IP address of the gadget
- <web_port>: the WEB port. It can be omitted if it is 80.
- <alarm_out>: number of the relay output to be activated, starting from 0. If there is only one output (usual in cameras), this index will be 0.
- <mode>: mode in which you want to put the output. It can be 0 (default status), 1 (force activation) or 2 (force deactivation).
You have to make a usual GET request to the URL. The device returns a 200 OK with body "OK".