D-Link IP Cameras for Home > DCS-5020L

Script for motion detection ON/OFF

(1/1)

wxppf:
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??

Ago38:
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

wxppf:
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?


--- Quote from: 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

--- End quote ---

Ago38:
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

Navigation

[0] Message Index

Go to full version