• December 18, 2017, 08:49:11 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.

Pages: 1 [2]

Author Topic: Api control or change settings with script  (Read 10535 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 43934
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Api control or change settings with script
« Reply #15 on: January 02, 2017, 09:46:33 AM »

D-Link may have removed script support due to security reasons.

In the latest DCS-932L firmware (1.14.04), direct access to these URLs are no longer possible and results in the message: "The request is forbidden."

Has anyone figured out a way around this that they could share? I have tried downgrading the firmware but then you cannot use the mydlink remote viewing service.
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

zdavstvuy

  • Level 1 Member
  • *
  • Posts: 2
Re: Api control or change settings with script
« Reply #16 on: February 09, 2017, 07:32:48 PM »

I wanted to write a program on Linux that can get motion alerts. How do they work? Does the camera visit a link at the DLink site and provide its ID number, which is hashed to my mydlink account only (thus making this impossible)? Or can I somehow receive the data from the camera to my software? If the latter is the case, how? Many thanks!
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 43934
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Api control or change settings with script
« Reply #17 on: February 10, 2017, 06:54:04 AM »

You have it right. There is a unique ID number for D-Link products that get associated to there Cloud services.
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

Dangar

  • Level 1 Member
  • *
  • Posts: 1
Re: Api control or change settings with script
« Reply #18 on: October 24, 2017, 01:58:24 AM »

In the latest DCS-932L firmware (1.14.04), direct access to these URLs are no longer possible and results in the message: "The request is forbidden."

Has anyone figured out a way around this that they could share? I have tried downgrading the firmware but then you cannot use the mydlink remote viewing service.

I think you have to add

--referer http://URL-CAM/email.htm

I had similar problem with enabling/disabling motion detection and in this case referer url was motion.htm

Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 43934
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Api control or change settings with script
« Reply #19 on: October 24, 2017, 10:02:44 AM »

Thanks for posting this info. Hope it helps future users...   ;)
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting
Pages: 1 [2]