• March 28, 2024, 10:28:18 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Script for motion detection ON/OFF  (Read 19408 times)

wxppf

  • Level 1 Member
  • *
  • Posts: 10
Script for motion detection ON/OFF
« 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??
Logged

Ago38

  • Level 1 Member
  • *
  • Posts: 4
Re: Script for motion detection ON/OFF
« Reply #1 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
Logged

wxppf

  • Level 1 Member
  • *
  • Posts: 10
Re: Script for motion detection ON/OFF
« Reply #2 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
« Last Edit: June 12, 2016, 03:15:43 AM by wxppf »
Logged

Ago38

  • Level 1 Member
  • *
  • Posts: 4
Re: Script for motion detection ON/OFF
« Reply #3 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
Logged