bvSync - Advanced Blackvue Downloader for Bash/Synology DSM

sacky

New Member
Joined
Jun 17, 2019
Messages
1
Reaction score
0
Location
Victoria
Country
Australia
Dash Cam
DR900s
Yet another Blackvue downloader - this time done entirely in bash with curl (or wget).
Loosely based off of the numerous bash scripts out in the wild.

This script was created out of the need for something that fit my exact needs.
I'm sharing it here with little to no support as I've stopped development for the time being.
I'd strongly recommend against using this script unless you're somewhat familiar with bash/DSM.
Use at your own risk :)

Features:
- Hugely customisable.
- Differentiates between Files recorded at Home and Away from Home.
- Separate file archival settings for Events, Home and Everything else.
- Download prioritization in the order: Manual, Event, Parking/Normal Away, Normal and Parking Home.
- Keeps track of files that have been downloaded to speed up resuming.
- Completion push notifications via PushBullet.
- Synology DSM notifications (currently not used).
- Optimized to be as fast as possible.

Caveats:
- In it's current form, Requires DSM task set to run every minute (for checking if the camera is at Home).
- May not work properly if your DSM and Blackvue time are out of sync.

Edit:
g_bv_ip=<BLACKVUE_IP>
g_pushbullet_f="<PUSHBULLET_KEY_.TXT_PATH>"

Usage:
bvSync.sh [-v|--verbose] [-e|--eventonly] [-d|--debug] [-t|--timeoffset] <save_directory>

DSM:
Scheduled task set to run every minute.

ToDo:
- Add Blackvue IP and pushbullet path to arguments
 

Attachments

  • bvSync.zip
    9.6 KB · Views: 32
sacky, this is complex and detailed. :) I have three blackvue cameras and a synology NAS. I am looking for something that can download just the event files and put each camera in a separate directory under the same share folder.
your work is more than I am looking for, but I do appreciate your work and talent.

Thanks for this,
I am not sure you are willing to help out..
 
Back
Top