Script to toggle motion detection alarm on new FOSCAM's

Moderator: leecollings

Post Reply
cato
Posts: 13
Joined: Friday 15 May 2015 8:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.25
Contact:

Script to toggle motion detection alarm on new FOSCAM's

Post 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!
RPi 2 + RazBerry
Ittiz
Posts: 48
Joined: Tuesday 03 January 2017 0:37
Target OS: Linux
Domoticz version: 13939
Location: USA
Contact:

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

Post by Ittiz »

Foscam has a new API. Here is the documentation: http://www.foscam.es/descarga/Foscam-IP ... .11.06.pdf
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest