Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:d-link:dcs-930l [2024/09/09 21:53] – [D-Link DCS-930L/932L/933L] stokitotoh:d-link:dcs-930l [2024/09/10 18:10] – [IR LED support (932L only)] stokito
Line 3: Line 3:
 {{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}} {{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
  
-The D-Link DCS-930L, DCS-932L and 933L are IP cameras and WiFi repeaters based on custom Linux distribution.\\   +The D-Link DCS-930L, DCS-932L and DCS-933L are IP cameras and WiFi repeaters based on custom Linux distribution.\\   
  
- +^ DCS-930L  ^ 933L (932L similar) ^ 
-{{:media:dlink:dcs-930l:side.jpg?direct&400 | DCS-930L}} +{{:media:dlink:dcs-930l:side.jpg?direct&400|}} {{:media:dlink:dcs-933l:front.jpg?direct&400|}} |
- +
-{{:media:dlink:dcs-933l:front.jpg?direct&400 | DCS-933L (DCS-932L is similar) }} +
-DCS-933L (DCS-932L is similar) has a night vision with infra red LEDs.+
  
 ===== Supported Versions ===== ===== Supported Versions =====
Line 61: Line 58:
  
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
 +
 +
 +**Note:** Currently the instruction bellow doesn't work. Check the [[https://forum.openwrt.org/t/support-for-the-d-link-dcs-930l-webcam/89212/|forum topic]].
  
  
 You do not need serial console to install OpenWrt. \\ You do not need serial console to install OpenWrt. \\
 There is an emergency web interface, which has to be used to flash OpenWrt. \\ There is an emergency web interface, which has to be used to flash OpenWrt. \\
-Uploading via the regular web interface does not work.+Uploading via the regular web interface doesn'work
 + 
 + 
 +  * Turn off the camera by removing the power cord. 
 +  * Press and hold the Reset button. 
 +  * Plug the power cord back into the device while holding down the Reset until the blue LED goes out (about 8-10 seconds). 
 +  * Release reset. 
 +  * The camera will boot and therefore the web interface for emergency recovery will default to IP 192.168.0.20 
 +  * Connect your computer to the camera with an Ethernet cable. 
 +  * Configure your computer to a static IP 192.168.0.10 with subnet mask 255.255.255.0 (/24). 
 +  * Now you need to upload your new firmware in the emergency web interface. 
 +  * Open in a web browser the emergency web interface on http://192.168.0.20 
 + 
 +You should see the following message: "The browser you are using may have difficulty receiving images and video. If you experience any issues viewing this page, we suggest using Internet Explorer."
 + 
 +The old camera mainly used ActiveX from IE to show a player in a browser. So it checks if the User-Agent of a browser to determine the browser. But the restriction mistakenly also applied for the emergency interface. 
 + 
 +To bypass this limitation you can install the [[https://webextension.org/listing/useragent-switcher.html|User Agent switcher]] extension and select the Internet Explorer and Windows. Or you can upload the firmware directly from a command line with curl or wget like: 
 +<code> 
 +curl -F firmware=@/tmp/openwrt-ramips-rt305x-dcs-930-squashfs-factory.bin http://192.168.0.20/ 
 +</code> 
 + 
 +Wait until end of upload procedure and the camera will reboot. This can take up to 5 minutes. 
 +After bootup, OpenWrt is reachable at 192.168.1.1 via LAN. 
 +Do not forget to reconfigure your network interface on the computer back to DHCP. 
 +By default, OpenWrt hands out IP addresses on this interface.
  
-  * Disconnect Power 
-  * Press and hold "Reset", connect Power and hold Reset until the blue LED goes out (about 8 seconds). 
-  * Release reset 
-  * Configure your computer to 192.168.0.x 
-  * Fire up a web browser and connect to 192.168.0.20 
-  * Upload your new firmware in the emergency web interface 
  
-After bootup, OpenWrt is reachable at 192.168.1.1 via LAN. Do not forget to reconfigure your network interface on the computer to DHCP. By default, OpenWrt hands out IP addresses on this interface. 
  
 ===== IR LED support (932L only) ===== ===== IR LED support (932L only) =====
  
-The IR LEDs and the IR cutoff filter can be controlled via 3 GPIO lines. A userspace daemon that reads the light sensor and control the circuitry can be found at [[http://www.aboehler.at/hg/lightSensor-daemon]]. Makefiles for OpenWrt are also included, but you have to compile the package yourself for now. +The IR LEDs and the IR cutoff filter can be controlled via 3 GPIO lines. Use the [[https://gitlab.aboehler.at/andreas/lightsensor-daemon|lightSensor-daemon]] which is a user space daemon that reads the light sensor and control the circuitry. Makefiles for OpenWrt are also included, but you have to compile the package yourself for now. 
-After installing lightSensor-daemon, the sensor is polled for light changes and the filter and IR LEDs are controlled accordingly. It seems to react faster to changes in lightning than the original firmware does.+After installing the ''lightSensor-daemon'', the sensor is polled for light changes and the filter and IR LEDs are controlled accordingly. It seems to react faster to changes in lightning than the original firmware does.
  
 ===== Motion Detection support ===== ===== Motion Detection support =====
Line 91: Line 109:
  
 mjpg_streamer works flawlessly and with very little CPU usage. Recently, I replaced the motion setup on my cameras by mjpg_streamer and put motion on my (more powerful) main router.  mjpg_streamer works flawlessly and with very little CPU usage. Recently, I replaced the motion setup on my cameras by mjpg_streamer and put motion on my (more powerful) main router. 
 +
 +===== Stock firmware =====
 +
 +The original firmware provides the http://camera_ip/vjview.htm to see the camera from a browser with Java applet. This is not supported nowadays but you may try to use IcedTea.
 +
 +You may watch the stream directly with VLC player or MXPlayer.
 +Here are some links that should work:
 +
 +  * /video/mjpg.cgi
 +  * /mjpeg.cgi
 +  * /mjpeg.cgi?user=[USERNAME]&password=[PASSWORD]&channel=[CHANNEL]
 +  * /video.cgi
 +  * /video.cgi?resolution=vga
 +  * /audio.cgi
 +  * /Image.jpg
 +  * /image/jpeg.cgi
 +
 +For the VLC or MXPlayer use a URL like ''http://admin:your_pasword@camera_ip/''.
 +
 +Usually the video delay is about a second over a cord and about 3 seconds over WiFi.
 +
 +Use the command to merge two streams of video and audio:
 +<code>
 +ffmpeg -f mjpeg -i http://1:1@192.168.1.9/mjpeg.cgi -i http://1:1@192.168.1.9/audio.cgi -ar 16000 /home/stivali/$FILENAME.avi
 +</code>
 +
  
 ===== Hardware ===== ===== Hardware =====
 +
 ==== Opening the Device ==== ==== Opening the Device ====
  
  • Last modified: 2024/09/10 18:42
  • by stokito