Page 1 of 1

Script to toggle motion detection alarm on new FOSCAM's

Posted: Monday 26 December 2016 18:55
by cato
I use a virtual switch in domoticz to turn on and off motion detection on a FOSCAM FI8910W using a simple CGI command as ON action for the switch:
http://IPADDRESS:PORT/set_alarm.cgi?motion_armed=1&user=USERNAME&pwd=PASSWORD
This simple command does not work on the new models that I have (FI9831P and FI9828P but I guess this problem is for all their new netcams).
It seems that FOSCAM does not release anymore the CGI doc and I could not find any script (LUA/bash) to do this.
Has anyone solved the problem or has any clue?

Thanks!

Re: Script to toggle motion detection alarm on new FOSCAM's

Posted: Thursday 05 January 2017 17:33
by Ittiz
Foscam has a new API. Here is the documentation: http://www.foscam.es/descarga/Foscam-IP ... .11.06.pdf