steve192/dashcam-transporter
关于
Application running on a raspberry pi, to transfer your dashcam video files to your preferred storage
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文dashcam-transporter
Application running on a raspberry pi (or other debian based platforms), to transfer and archive your dashcam video files to your preferred storage
How it works
- The application is searching for the WIfi of your dashcam
- If found it connects to it in searches for locked videos (those where something happened), downloads them and deletes them from the dashcam
- The application then searches for your home network, connects and uploads the videos and deletes them from the pi
Currently supported dashcams
- ✅ Viofo Dashcams
- ✅ Viofo A119 Mini
- ✅ Viofo A229 Pro
- Other Viofo Dashcams (untested)
Currently supported target storages
- ✅ Samba (SMB) Windows Share
- ✅ Nextcloud WebDAV
Installation
The supported installation method is the .deb package (install script or manual download). Source installs are for development only.
Automated script
- Setup raspbian lite (or other debian based os, this is not tested though) and execute
curl -o- https://raw.githubusercontent.com/steve192/dashcam-transporter/main/install.sh | bash
This installs the latest .deb release, sets up a systemd service, and keeps configuration in /etc/dashcam-transporter/settings.ini.
Update
- Update to the latest release with
sudo dashcam-transporter update
Logs
- Logs are written to
/var/log/dashcam-transporter/app.log - View logs with
sudo dashcam-transporter logs - Configure log level in
/etc/dashcam-transporter/settings.iniunder[logging](debug/info/warn/error)
Uninstall
- Remove the package (keep config):
sudo apt remove dashcam-transporter - Remove everything including config:
sudo apt purge dashcam-transporter
Manual
- Download the
.debrelease for your architecture (armhf/arm64/amd64/i386) - Install it:
sudo apt install ./dashcam-transporter_<version>_<arch>.deb - Edit the configuration:
sudo nano /etc/dashcam-transporter/settings.ini - Check service status:
sudo dashcam-transporter status
Network manager
- The installer enables NetworkManager and disables
dhcpcd(required for nmcli-based WiFi control). - To skip this step, create
/etc/dashcam-transporter/skip-networkmanager-setupbefore installation.
Test a branch on Raspberry Pi
This runs the app from source on the Pi for development.
- If you installed the stable version: SSH into the Pi and stop the service so only one instance runs:
sudo systemctl stop dashcam-transporter - Clone the repo:
git clone https://github.com/steve192/dashcam-transporter.git - Fetch and checkout the branch:
git fetch origin && git checkout <branch> - Enter the directory:
cd dashcam-transporter - Install dependencies and build:
cd backend && npm ci && npm run build - Run the branch build:
node dist/app.js - When done, stop the process and restart the service:
sudo systemctl start dashcam-transporter
Tip: Use a separate settings file by exporting DASHCAM_TRANSPORTER_SETTINGS=/etc/dashcam-transporter/settings.test.ini before running node dist/app.js.
Releases and dependency updates
- Releases are made by the Release workflow with semantic-release, from the conventional commit messages on
main. It tags the release, builds the.debfor armhf, arm64, amd64 and i386, installs each one on Debian Bookworm and Trixie, and only then publishes the GitHub release thatinstall.shanddashcam-transporter updatedownload. - Renovate keeps the dependencies up to date. When every commit since the last release comes from Renovate, CI releases automatically once it passes. Any other commit needs a manual run: Actions → Release → Run workflow.
- The package runs on the
nodejsthat the OS installs from apt. The oldest supported OS is Raspberry Pi OS Bookworm (Debian 12), which ships Node.js 18.20.4 and npm 9.2.0, so every dependency has to run on that; Renovate does not offer updates that don't, and CI installs withengine-strict. To drop Bookworm, change.nvmrc,enginesinbackend/package.jsonandconstraintsinrenovate.jsontogether.
Meaning of leds
The script controls the raspberrys leds
- Fast blinking LEDs - Transferring from dashcam to the Pi
- Slow blinking LEDs - Transferring from the Pi to the target storage
- Double blink then pause - Idle (waiting for next transfer)
探索相关项目
加载中…