RepositoryRust
Sentry-Six

Sentry-Six/Sentry-USB-Rusty

Turn a Raspberry Pi into a smart USB drive for your Tesla dashcam: extended storage, automatic archiving and a web viewer

107stars
23forks
1issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: tesla

#1 Repository of the week

1
TINIX TRENDING·Topic: sentry-mode

#1 Repository of the week

1
TINIX TRENDING·Topic: usb-gadget

#1 Repository of the week

Sentry USB

Turn a Raspberry Pi into a smart USB drive for your Tesla's dashcam.
Auto-archives. Modern web UI. Multi-camera viewer. Privacy-first.

Latest release Discord License

Sentry USB dashboard


What it does

  • Plugs into your Tesla's USB port and pretends to be a dashcam drive.
  • Tracks every drive — route on a map, distance, speed, and the dashcam clips that recorded it — built from the metadata Tesla embeds in each clip.
  • Enriches drives with Tesla BLE telemetry — battery, HVAC, cabin and exterior temps, TPMS, odometer, and location — pulled over Bluetooth and layered onto each trip for a much fuller picture than the dashcam metadata gives you on its own.
  • Archives clips automatically to your NAS, cloud, or wherever — over WiFi, in the background.
  • Keeps the car awake (and the dashcam recording) via the same BLE link — no Tesla API subscription needed.
  • Privacy-first. No fingerprinting by default; everything sensitive is opt-in.

The Rust rewrite of the original Go version. Same sentryusb.conf, faster server, more reliable.

Sentry USB is one of four free tools for Tesla owners from the Sentry Six project, alongside Sentry Studio (desktop TeslaCam viewer), Sentry Drive (drive history and FSD analytics), and Sentry Connect (the iPhone companion app for this Pi). Not affiliated with Tesla, Inc. Unrelated to the Sentry (sentry.io) error-monitoring service.

[!IMPORTANT] Beginning with update 2026.20, Tesla has begun offering the ability to encrypt Tesla cam footage, which is enabled by default. Encrypted files cannot be read by Sentry USB. To continue using Sentry USB, please disable the encryption.

You can find the relevant settings in your vehicle's menu under Safety, beneath the dashcam USB storage options.


Screenshots

Drives list
Every drive your Tesla recorded — route, distance, duration, battery deltas, and FSD usage — with rolling totals for the selected time range.

Drive detail
Per-drive deep view: speed curve, battery deltas, climate with HVAC runtime, odometer, and FSD analytics — alongside the route map and synchronized multi-camera dashcam playback.

Charging history
Every charge session — energy added, duration, cost, and charging speed — with per-tag time-of-use electricity rates and rolling totals for the selected range.

Setup Wizard
11-step setup wizard — no SSH, no config files.

Settings
Everything reconfigurable from the browser.


Features

Drives trackingEvery trip with route, distance, duration, battery deltas, and FSD usage — plus the dashcam clips one click in
Tesla BLE telemetryAdds battery, HVAC, cabin/exterior temps, TPMS, odometer, and location to each drive — beyond what Tesla's dashcam metadata carries on its own
Multi-camera viewerSynchronized 6-camera playback with HW3-aware adaptive grid and drift correction
Auto-archiveCIFS / SMB, rsync, rclone (cloud), NFS — kicks off whenever the Pi sees known WiFi
Keep awakeBLE (free, same link as telemetry), TeslaFi, Tessie, or generic webhook
Sentry Cloud (beta)Encrypted cloud sync — drives are encrypted on the Pi before they leave your network
NotificationsPushover, ntfy, Gotify, Discord, Telegram, Slack, Signal, Matrix, AWS SNS, IFTTT, Webhook, iOS app
Privacy-firstNo device fingerprint by default. Opt-in analytics, full per-flow disclosure

Install

No prebuilt SD card image yet. You start from stock Raspberry Pi OS Lite and run a one-liner over SSH. A prebuilt image is on the roadmap — for now this is the only supported install path. See the full Getting Started guide for the click-by-click walkthrough.

On a Pi already running Raspberry Pi OS Lite (64-bit):

sudo apt update && sudo apt upgrade -y
sudo -i
curl -fsSL https://usb.sentry-six.com | bash

The apt update && apt upgrade step is required. Pi OS images bake in an apt cache from whenever the image was built; if Debian has shipped a point release since then, the cache points at .deb versions that no longer exist on the mirrors and the install will hit 404 Not Found errors. Refreshing first avoids the round trip.

Then open http://sentryusb.local in a browser and the setup wizard takes you the rest of the way.

Hardware

TierBoardsNotes
RecommendedRaspberry Pi 4B, Raspberry Pi 5USB 2.0 OTG — fastest archiving, smoothest UI
TestedRaspberry Pi Zero 2 W, Raspberry Pi 3 (A+/B/B+)USB 2.0 OTG — works fine, slower archive speeds
CommunityRadxa Rock Pi 4C+, Radxa Zero 3WUSB 3.0 OTG — reported working, not officially supported

Plus a 256 GB+ MicroSD card and a USB 3.0 data cable (not charge-only) between the Pi and your Tesla. Use a 3.0 cable even on USB 2.0 boards — it delivers more power and keeps lower-end Pis stable.


Privacy

By default, Sentry USB sends no device identifier to our servers. Here's everything it ever sends:

WhenWhatIdentifier?
Daily update checkSoftware version, CPU arch, board modelNone by default
Once per installEmpty ping (no body)None — anonymous counter
Wraps / lock chime submissionsThe file + your IP for rate-limitingNone
Sentry Cloud (if signed in)Your account + synced filesAccount credentials
iOS push pairing (if enabled)Random pairing IDNot tied to hardware

The only way a device fingerprint is sent is if you explicitly opt in to Settings → Privacy → Analytics opt-in (default: off). Full disclosure including legal basis, retention, and how to disable each flow lives in wiki/Privacy.md.


Documentation

  • Wiki — Getting Started, Setup Wizard Guide, Archive Methods, Notifications, Privacy, Troubleshooting, FAQ
  • BUILD.md — Building from source

Build from source

Prerequisites: Rust stable, Node 20+, and cross (cargo install cross).

# Web UI
cd web && npm ci && npm run build && cd ..
rm -rf crates/sentryusb/static && cp -r web/dist crates/sentryusb/static

# Binaries (aarch64)
cross build --release --target aarch64-unknown-linux-gnu -p sentryusb

# 32-bit (armhf — Pi 3 with 32-bit Pi OS):
cross build --release --target armv7-unknown-linux-gnueabihf -p sentryusb

See BUILD.md for details.

Build a full Pi image (advanced)

./build-image.sh                 # 64-bit image (Pi 3/4/5/Zero 2)
./build-image.sh --32bit         # 32-bit image (armhf — Pi 3 with 32-bit Pi OS)

The build-image script is for developers and CI; end users should use the curl-one-liner install above.


Based on

A Rust rewrite of the original Go Scottmg1/Sentry-USB, itself a modernized fork of TeslaUSB by marcone and contributors.

Community

License

PolyForm Noncommercial 1.0.0 — free for any noncommercial use; commercial use requires a separate license. See LICENSE. Some bundled shell scripts are derived from TeslaUSB and remain under the MIT License; see NOTICE for the file-by-file breakdown.

This is source-available software, not open source — commercial use is not permitted under this license. To inquire about a commercial license, contact the authors.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
baicyber/tesla-sentry-f50

把任意 USB Gadget 小设备(随身WiFi/树莓派/电视盒子)变成特斯拉虚拟哨兵U盘 + Web 查看器:四/六路同步回放、SEI 行车遥测 HUD、水印导出;x86/NAS 也能跑纯网页模式

51
Nov 26, 2026
RepositoryRust
Sentry-Six/Sentry-Six

Sentry Studio is a modern viewer and exporter for TeslaCam and GM Surround Vision footage. Trim and export clips with camera layouts and a telemetry overlay. Windows, macOS and Linux (.deb).

128
Nov 30, 2026
RepositoryPython
ssrajadh/sentrysearch

Semantic search over videos using Gemini Embedding 2 or Qwen3-VL.

4.6k
Nov 22, 2026
Dataset
cfahlgren1/tesla-fsd-drive-5min

Tesla FSD Drive Five continuous minutes · six cameras · per-frame telemetry Top: left pillar · front · right pillarBottom: left repeater · rear · right repeater Five continuous minutes of a Tesla Model Y (HW4) driving with FSD (Supervised) on suburban roads and a divided highway in daylight. Each camera is kept as its own MP4 (location and time metadata removed, the recording car's own plate masked), paired with the per-frame telemetry Tesla embeds in its dashcam… See the full description on the dataset page: https://huggingface.co/datasets/cfahlgren1/tesla-fsd-drive-5min.

♥0
4.3k
Nov 23, 2026
RepositoryTypeScript
Mario34/tesla-camera

🕹 Lightweight TeslaCam player 轻量的Tesla行车记录仪播放器

126
Jun 11, 2026
RepositoryPython
home-assistant/core

:house_with_garden: Open source home automation that puts local control and privacy first.

92.6k
Nov 27, 2026
RepositoryShell
pi-hole/pi-hole

A black hole for Internet advertisements

62.3k
Nov 29, 2026
RepositoryC
raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

35.8k
Nov 25, 2026
RepositoryRust
timothymiller/cloudflare-ddns

🦀 Rust based dynamic DNS (DDNS) updater for Cloudflare

4.6k
Nov 24, 2026