Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.65 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.65 KB

BlackvueDownloader

Download clips from Blackvue dashcam. This script is designed to run in a FreeNAS 11 Jail and called from the host machine's crontab.

Installation

  1. Download and extract zip
  2. npm i in directory the zip was extracted to
  3. Edit run.sh to reflect the IP addressed assigned to your Blackvue dashcam on your network
  4. Add any arguments to the node index.js command
  5. Add a cronjob to FreeNAS using jexec <jail id> </path/to/>run.sh
  6. ?????
  7. Profit

Node Arguments

Option Alias DefaultValue Description
ipaddress i http://192.168.1.104 The ip address of your blackvue. I suggest you reserve an IP for your camera's MAC address if using DHCP
destination d /mnt/BlackvueVODs/ The destination path for completed downloads. Try using Jail Storage to link to a separate dataset
tempdir t __dirname + "/temp/" A cache path for in progress downloads. This ensures that partially downloaded files are not mistaken for being completed
excludegps g false Prevents downloading of gps data
excludeaccelerometer a false Prevents downloading of accelerometer data
excluderearcam r false Prevents downloading of rear cam. Enable flag if you have a 1CH model to save resources
downloadthreads c 1 Set the download thread concurrency. >1 Might be result in a net increase in transfer speed