D-Link Forums
The Graveyard - Products No Longer Supported => IP Cameras => DCS-932L => Topic started by: rebelo on January 23, 2017, 10:14:14 AM
-
Hi.
Firmware 2.14
Trying to enable/ disable the motion detection feature by a curl command like:
curl -u userid:password http://IPaddress/setSystemMotion –referer http://IPaddress/motion.htm -d « ReplySuccessPage=motion.htm&ReplyErrorPage=motion.htm&MotionDetectionEnable=1&MotionDetectionScheduleDay=0&MotionDetectionScheduleMode=0&MotionDetectionSensitivity=30&ConfigSystemMotion=Save » > /dev/null 2>&1
but keeping getting error
<html><body><h1>The request is forbidden.</h1></body></html>
curl: (6) Could not resolve host: xn--referer-t16c
<html><body><h1>The request is forbidden.</h1></body></html>
curl: (6) Could not resolve host: ReplySuccessPage=motion.htm
The end use is to append this to a virtual switch in Domoticz that allows me to turn this function on/ off remotely via its own control panel.
Any help would be appreciated.
Tks
Rebelo
-
Well found it using the help form this post:
http://forums.dlink.com/index.php?topic=58573.0 (http://forums.dlink.com/index.php?topic=58573.0)
A simple http request assigned in the switch did the trick
http://username:password@cameraIP:port/config/motion.cgi?enable=yes
Try with and without port number.
Tks all
Rebelo
-
Thanks for posting. Hope this help future users.
Enjoy. ;)