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/10 14:23] – [Installation] stokitotoh:d-link:dcs-930l [2024/09/10 18:10] – [IR LED support (932L only)] stokito
Line 54: Line 54:
   "rotate": true,   "rotate": true,
   "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"],   "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"],
-  "filterColumns": {"model": "^DCS-930L/DCS-932L/DCS-933L$"}+  "filterColumns": {"model": "^DCS-930L/DCS-932L$"}
 } --> } -->
  
Line 68: Line 68:
  
  
-  * Turn off the camera and remove the power cord. +  * Turn off the camera by removing the power cord. 
-  * Press and hold "Reset", connect power and hold the Reset until the blue LED goes out (about 8 seconds). +  * Press and hold the Reset button. 
-  * Release reset +  * Plug the power cord back into the device while holding down the Reset until the blue LED goes out (about 8-10 seconds). 
-  * Configure your computer to 192.168.0.with subnet mask 255.255.255.0 (/24).+  * 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.   * 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   * Open in a web browser the emergency web interface on http://192.168.0.20
Line 84: Line 87:
 </code> </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.+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.
  
  
Line 91: Line 96:
 ===== 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 104: 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 =====
  • Last modified: 2024/09/10 18:42
  • by stokito