I assume by Network ID you mean IP address?
The device has a field for Device Network Id; this is where you enter IPAddress:portNumber. But the hub requires that both these be converted to hexadecimal.
would you simply convert the string to hex?
e.g. using a converter
192.168.0.20:80 --> 3139322e3136382e302e32303a3830
I tried several different combinations and still canāt get the ST to read my cameraās feed.
@thegibertchan I believe the IP is the one assigned by the ISP, not the local network IP ā¦
Err. wait. @scottinpollock is the network ID the local network ID ??
@kmugh Itās local.
@thegibertchan You want to convert the individual numbersā¦ not the entire string. In your case this would be C0A80014:0050
Have no idea what the calculator in your link is doing. Try this one.
@scottinpollock I am using a DCS-930L, I did use your link to create and set the device ID to the local hex IP address + port.
However, I am not able to access the camera - do I need to also set anything under the device preferences?
Can you please let us know what the following preferences should be set to:
- Camera Path to Image - Please enter the path to the image *
- Does Camera require User Auth? - Please choose if the camera requires authentication (only basic is supported)
- Camera User - Please enter your cameraās username
- Camera Password - Please enter your cameraās password
When linking the camera to the MyDlink account, I had to provide a camera password (no username), but then link it to the MyDlink account (username + separate password). Do any of these usernames/passwords need to be put in any of the device preferences above?
For my code, Generic Camera Device, which Scottinpollockās code is based on the path for a D-Link camera in the device preferences is:
/image/jpeg.cgi
false for requires auth
no need for anything in user or password
POSTGET should be GET
This will access you camera locally, same way if you went to a browser and accessed it via http://ip/image/jpeg.cgi
@pstuart @scottinpollock Many many thanks. I now have it working :).
If it helps anyone, hereās what I had to set for a DCS-930L:
- Camera Path to Image - Please enter the path to the image *: /image/jpeg.cgi
- Does Camera require User Auth? - Please choose if the camera requires authentication (only basic is supported): true
- Camera User - admin
- Camera Password - The āDevice passwordā for the camera
What happens to the photos that I take - are they stored somewhere? I cannot seem to find the location.
If I go to the activity log, I can see a photo has been taken (and the name, which is partially hidden), but no way to bring those photos up.
Can I access the last few photos, or have them emailed anywhere once they are taken?
Let me guess, on Android? Only the images you take in the device Thing clicking the take action will show. For whatever reason the iOS version allows access to the stored images. I havenāt figured out how to email them, it doesnāt appear to have any decent method to email at the moment.
Or to paraphrase, its pretty much useless on Android. Creating a driver that works was pretty much just an exercise in learning.
Does this thread/code help?
Thanks for posting! I just got it working with my 930L.
Same here. It works with the photoburst app as well. I have a SmartSense sensor placed on top of my puppy crate that takes pictures of my puppy when Iām in "away"mode and sheās causing a ruckus.
Itās working! https://twitter.com/thegilbertchan/status/488446677682888706/photo/1
Advise, that the photoburst app doesnāt take multiple pictures well, so I only have it set to take a single shot.
I just used this device type with a Foscam FI8904W. All I did was change the path to /snapshot.cgi and it worked like a charm.
Thanks again for creating!
Can you explain more how the āonā and āoffā works for the camera? I have the 930L so maybe this doesnāt apply, but how can that tell it now to record motion? What are you recording to? Thanks
Any chance you could do the off and on for a Hikvision camera?
From what Iāve read and tested, if you input this command to the camera URL:
http://{settings.username}:{settings.password}@{settings.host}:{settings.port}/MotionDetection/1
It returns this XML:
Last post in this thread explains that you use the same command as a āPUTā and include the XML but change the enable true to false:
http://www.cam-it.org/index.php?topic=7888.0
Full Hikvision API guide here (specifically section 8.10.1):
Thanks
Hi Scott,
Thanks for this device working w local IP. Actually my old DLink DCS-930 (no L) is just unable to work. When using the device, it goes in a āTakingā state, and never transition back or display anything on my Android app. Any guess?
Regards,
Olivier
None, as I donāt know whats different between the āLā and ānon Lā models. Have you tested the url passed to the camera in a browser to see if it returns an image?