Author Topic: How to Create Scene to enable/disable Foscam mail notification?  (Read 11779 times)

Offline homeuser

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +2/-0
Re: How to Create Scene to enable/disable Foscam mail notification?
« Reply #15 on: March 18, 2016, 08:51:01 am »
I've run the scenes for a few days now and it is enabling and disabling the motion detection. The problem is when the enable scene runs, it wipes out all the other settings. It doesn't record video, take and email the snapshots or send notifications. Without all that the motion detection is useless to me. When I manually check all those options, the camera does what I need it to.
I've changed my code to include sensitivity but the
Code: [Select]
mail=1& code doesn't work. I also noted that for
Code: [Select]
&motion_sensitivity=2 2 is the highest. 9 sent it to the lowest.


Any ideas how to get the mail and record functions to work also?

I'm using F19831P V2

Offline richgodfrey

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +1/-0
Re: How to Create Scene to enable/disable Foscam mail notification?
« Reply #16 on: December 02, 2016, 07:07:51 am »
You need something like this:

http://<IPADDRESS>:<PORT>/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=1&linkage=1230&snapInterval=2&sensitivity=0&triggerInterval=5&schedule0=281474976710655&schedule1=281474976710655&schedule2=281474976710655&schedule3=281474976710655&schedule4=281474976710655&schedule5=281474976710655&schedule6=281474976710655&area0=1023&area1=1023&area2=1023&area3=1023&area4=1023&area5=1023&area6=1023&area7=1023&area7=1023&area8=1023&area9=1023&usr=<UN>&pwd=<PWD>

It's a royal pita.

Offline homeuser

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +2/-0
Re: How to Create Scene to enable/disable Foscam mail notification?
« Reply #17 on: March 17, 2017, 02:38:45 am »
Thank You. This code worked perfectly

You need something like this:

http://<IPADDRESS>:<PORT>/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=1&linkage=1230&snapInterval=2&sensitivity=0&triggerInterval=5&schedule0=281474976710655&schedule1=281474976710655&schedule2=281474976710655&schedule3=281474976710655&schedule4=281474976710655&schedule5=281474976710655&schedule6=281474976710655&area0=1023&area1=1023&area2=1023&area3=1023&area4=1023&area5=1023&area6=1023&area7=1023&area7=1023&area8=1023&area9=1023&usr=<UN>&pwd=<PWD>

It's a royal pita.