• October 04, 2024, 01:53:55 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: Disable Recording/Motion Detection via Script?  (Read 27506 times)

Zahackn

  • Level 1 Member
  • *
  • Posts: 1
Disable Recording/Motion Detection via Script?
« on: January 02, 2015, 07:22:13 AM »

Is there a chance to control the Webcam via script?

I am using a Home Automation System and I want to send an disable command when I am at home and reenable it when i am not at home.
Logged

maat

  • Level 1 Member
  • *
  • Posts: 3
Re: Disable Recording/Motion Detection via Script?
« Reply #1 on: April 23, 2015, 11:50:37 PM »

I also am interested in this function.
Logged

gerardosamara

  • Level 1 Member
  • *
  • Posts: 2
Re: Disable Recording/Motion Detection via Script?
« Reply #2 on: November 21, 2015, 07:54:46 AM »

This is an old post but  still valid.

Based on internet search , I was abe to ( perhaps ) find the HTTP command to enable/disable motion detetion from an App :

http://IP camera:port/config/motion.cgi?enable=yes&user=xxx&password=xxx
http://IP camera:port/config/motion.cgi?enable=no&user=xxx&password=xxx

Bu the App replies --->  Please enter correct account/password.

The proble is that them API document for this 942L amera is unavailable in the Dlink support site as per my search.

Please any advice for the correct synax ?
Thanks





« Last Edit: November 21, 2015, 08:05:58 AM by gerardosamara »
Logged

gerardosamara

  • Level 1 Member
  • *
  • Posts: 2
Re: Disable Recording/Motion Detection via Script?
« Reply #3 on: November 22, 2015, 08:21:00 AM »

Found the correct syntax pour the camera user identification :

http://USER:PSSWORD@IP CAM:PORT/config/motion.cgi?enable=yes  (enable)
http://USER:PSSWORD@IP CAM:PORT/config/motion.cgi?enable=no (disable)
Logged

maat

  • Level 1 Member
  • *
  • Posts: 3
Re: Disable Recording/Motion Detection via Script?
« Reply #4 on: January 28, 2016, 03:59:15 AM »

FINALLY i found all the correct sintaxt thanks to this forum (and some work).

Motion
menu:
http://USER:PSSWORD@IP CAM:PORT/eng/admin/mot_detect.cgi

enable motion:
http://USER:PSSWORD@IP CAM:PORT/eng/admin/mot_detect.cgi?enable=1

disable motion:
http://USER:PSSWORD@IP CAM:PORT/eng/admin/mot_detect.cgi?enable=0

Send Snapshot
menu
http://USER:PSSWORD@IP CAM:PORT/eng/admin/adv_snapshot.cgi

enable snapshot
http://USER:PSSWORD@IP CAM:PORT/eng/admin/adv_snapshot.cgi?enable=1

disable snapshot
http://USER:PSSWORD@IP CAM:PORT/eng/admin/adv_snapshot.cgi?enable=0

Send Videoclip
menu
http://USER:PSSWORD@IP CAM:PORT/eng/admin/adv_videoclip.cgi

enable sending videoclip
http://USER:PSSWORD@IP CAM:PORT/eng/admin/adv_videoclip.cgi?enable=1

disable sending videoclip
http://USER:PSSWORD@IP CAM:PORT/eng/admin/adv_videoclip.cgi?enable=0

All working perfectly, also on smartphone :)
Now... how i can make a beautiful app that include all commands?

Thanks forum

EDIT:
A dedicated app is fine but links in smartphone home also works well ;)
« Last Edit: January 28, 2016, 04:10:08 AM by maat »
Logged

wxppf

  • Level 1 Member
  • *
  • Posts: 10
Re: Disable Recording/Motion Detection via Script?
« Reply #5 on: April 11, 2016, 02:07:26 AM »

Luv to see an app who can handle this.. pls hook me up to test??
Logged

winny72

  • Level 1 Member
  • *
  • Posts: 7
Re: Disable Recording/Motion Detection via Script?
« Reply #6 on: June 23, 2017, 12:10:52 AM »

I use the command for disable motion detection but i have this response:

The request is forbidden.
 :-[
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Disable Recording/Motion Detection via Script?
« Reply #7 on: June 23, 2017, 11:19:26 AM »

Possible that it's not supported or the behavior was removed in recent FW?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

maat

  • Level 1 Member
  • *
  • Posts: 3
Re: Disable Recording/Motion Detection via Script?
« Reply #8 on: July 05, 2017, 11:31:40 AM »

This system is not more supported... i try other way
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Disable Recording/Motion Detection via Script?
« Reply #9 on: July 06, 2017, 09:31:29 AM »

Let us know if you find a different way...Good Luck.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.