D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-5020L => Topic started by: wxppf on April 12, 2016, 07:45:00 AM

Title: Script for motion detection ON/OFF
Post by: wxppf on April 12, 2016, 07:45:00 AM
I'm looking for a script to turn on and off my DCS-5020L 's motion detection

The 1 I'm using for MY DCS-932L are not working on the 5020l

Motion On:
http://admin:PW@URL-CAM:port/setSystemMotion?ReplySuccessPage=motion.htm&ReplyErrorPage=motion.htm&MotionDetectionEnable=1&ConfigSystemMotion=Save
/setSystemMotion

Motion Off:
http://admin:PW@URL-CAM:port/setSystemMotion?ReplySuccessPage=motion.htm&ReplyErrorPage=motion.htm&MotionDetectionEnable=0&ConfigSystemMotion=Save



Anybody got the right formula??
Title: Re: Script for motion detection ON/OFF
Post by: Ago38 on April 28, 2016, 02:05:42 AM
Hello,

Here is the URL to use:

Motion on:
http://CAM-IP:port/motion.cgi?user=#username#&pwd=#password#&MotionDetectionEnable=1&ConfigReboot=no

Motion off
http://CAM-IP:port/motion.cgi?user=#username#&pwd=#password#&MotionDetectionEnable=0&ConfigReboot=no
Title: Re: Script for motion detection ON/OFF
Post by: wxppf on June 12, 2016, 03:08:47 AM
THX,
but I'm not able to get it to work??

http://192.....:.../motion.cgi?user=#user#&pwd=#password#&MotionDetectionEnable=1&ConfigReboot=no

I changed the one in BOLD but still no go? I need to write 2 times the password?

Hello,

Here is the URL to use:

Motion on:
http://CAM-IP:port/motion.cgi?user=#username#&pwd=#password#&MotionDetectionEnable=1&ConfigReboot=no

Motion off
http://CAM-IP:port/motion.cgi?user=#username#&pwd=#password#&MotionDetectionEnable=0&ConfigReboot=no
Title: Re: Script for motion detection ON/OFF
Post by: Ago38 on August 12, 2016, 07:36:07 AM
Hello,

You must replace #user# and #password# with yours (not &pwd !).
Ex:
Login: barack
Password: obama

http://192.....:.../motion.cgi?user=barack&pwd=obama&MotionDetectionEnable=1&ConfigReboot=no