百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

Overdrive-release

> 编程语言
开源

适用于比亚迪汽车的高级监控模式

186 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

适用于比亚迪汽车的高级监控模式

OverDrive

Advanced Sentry Mode for BYD Vehicles

Download Alpha • Website • Discord • Features • Setup Guide • Home Assistant • Translate

Free, open-source dashcam and sentry mode app built specifically for BYD vehicles with DiLink v3. All data stays on your device — no cloud, no accounts, no subscriptions.



Quick Start (Use Pre-built APK)

Download the latest APK from GitHub Releases and install it directly on your BYD head unit.

1. Prerequisites

  • Ensure Wireless ADB is enabled on your device before launching the app.

2. Initial Configuration

  1. Authorize ADB: On first launch, accept the ADB authentication prompt on your device screen.
  2. Background Persistence: In Settings, ensure the "Disable Autostart" toggle is unchecked. This is critical for reliable background operation.

⚠️ CRITICAL: Hard Reboot Required After the first installation and initial run, you must hard reboot the device: Press and hold the Volume Down button for 5 seconds. Wait for the system to fully restart. This step is necessary to finalize the installation.

3. Network & Tunnel Setup

Enable your preferred tunnel (Zrok, Cloudflared or Tailscale).

Telegram Notifications Setup

  1. Message @BotFather on Telegram → /newbot → follow prompts → get your bot token
  2. Message @userinfobot → /start → copy your Chat ID
  3. In OverDrive: Settings → Notifications → enter bot token & chat ID

Why OverDrive?

Feature OverDrive Other Apps
CPU Usage **:8080` when on the same WiFi. Zero setup, fastest streaming.

Cloudflare Tunnel

Access from anywhere via https://.trycloudflare.com. No port forwarding, HTTPS by default. Video streaming can be slow due to Cloudflare limitations.

Zrok Tunnel (Recommended)

Free, open-source tunneling with no bandwidth limits at https://.share.zrok.io. Best for video streaming.

Quick Zrok setup:

  1. Sign up at zrok.io
  2. Get your invite token from email
  3. Enter token in OverDrive settings
  4. Done — tunnel URL is auto-generated

Tailscale Tunnel

Free, with no bandwidth limits. Connect from any device connected to tailscale.

Quick Tailscale setup:

  1. Sign up at tailscale.com
  2. Open tailscale settings in Overdrive
  3. Generate a login URL and login
  4. Optionally, disable key expiry in tailscale if you would not like to log in every 6 months

Tailscale proxy

With tailscale enabled, the tailscale proxy can be enabled from the tailscale settings. This allows accessing an MQTT server through tailscale without port forwarding. This can be accessed via the tailscale IP or a subnet that has been advertised on tailscale.

Home Assistant Integration

OverDrive can publish your vehicle's live telemetry to Home Assistant over MQTT and let Home Assistant send commands back to the car (climate, windows, seats, charge limit, and more). Entities appear in Home Assistant automatically — no YAML editing required.

Everything is local. Commands are sent straight to the car's own software (the BYD SDK on the head unit). They never go through the BYD cloud. Your data and controls stay between your car and your Home Assistant.

What you get

  • Sensors (read-only): battery %, range, speed, location (as a device tracker on your HA map), tyre pressures, cabin/battery temperature, charging state, doors/windows status, and more.
  • Controls (optional, off by default): climate on/off + temperature + fan, windows, tailgate, sunroof/sunshade, seat heating/ventilation, daytime running lights, charge limit, child lock, wireless phone charger, and assorted car settings.

Before you start — what you need

  1. A running MQTT broker. If you use the Mosquitto add-on in Home Assistant, you already have one.
  2. The MQTT integration enabled in Home Assistant (Settings → Devices & Services → Add Integration → MQTT).
  3. Your broker's address and port (default port is 1883, or 8883 for TLS), and a username/password if your broker requires one.
  4. Your car and Home Assistant able to reach each other on the network. If they're not on the same LAN, enable the Tailscale proxy (see Tailscale proxy above) so the car can reach your broker without port forwarding.

Step 1 — Add the connection in OverDrive

Open OverDrive → MQTT (sidebar or app drawer) → Add Connection, then fill in:

Field What to enter
Connection Name Anything, e.g. Home Assistant
Broker URL Your broker's host, e.g. 192.168.1.10 (or mqtts://... for TLS)
Port 1883 (plain) or 8883 (TLS)
Username / Password Only if your broker requires login (leave blank otherwise)
Topic Leave the default overdrive/vehicle/telemetry unless you have a reason to change it

Self-signed / Mosquitto TLS certificate? Enable the trust self-signed certificates option on the connection so OverDrive accepts your broker's cert.

Step 2 — Turn on Home Assistant discovery

  1. Switch on Home Assistant discovery.
  2. Leave Discovery prefix as homeassistant (this matches Home Assistant's default — only change it if you customised yours).
  3. Save. Within a few seconds a new OverDrive device appears in Home Assistant under Settings → Devices & Services → MQTT, with all the sensors already populated.

That's it for read-only telemetry. ✅

Step 3 — Enable controls (optional)

By default OverDrive only publishes data — it ignores any command. To let Home Assistant actually control the car:

  1. On the same MQTT connection, turn on Allow vehicle control (this option only appears once Home Assistant discovery is enabled).
  2. Save. The controllable entities (climate, windows, seats, charge limit, …) now show up on the OverDrive device in Home Assistant, and you can operate them from any dashboard, automation, or voice assistant.

⚠️ Safety: "Allow vehicle control" is off by default and is a real control path to your car. Some actions move physical parts (windows, tailgate, sunroof). Only enable it on a broker you trust, behind a username/password, and ideally on a private network or your Tailscale tailnet.

Using the controls

Once discovery + control are on, the entities are standard Home Assistant entities — drag them onto a dashboard, call them from automations, or ask your voice assistant. No topic juggling needed.

Advanced: sending commands manually

Under the hood every control listens on //set (where `` is the connection's Topic from Step 1, default overdrive/vehicle/telemetry). Handy for testing with mosquitto_pub or for templated automations:

…

Full list of controllable entities and their accepted payloads:

Control Key Payloads
Climate mode climate/mode off, auto
Climate temperature climate/temperature 17–33 (°C)
Climate fan climate/fan_mode 0–7
Windows windows_all OPEN, CLOSE, STOP
Tailgate tailgate OPEN, CLOSE, STOP
Sunroof sunroof OPEN, CLOSE, STOP
Sunshade sunshade OPEN, CLOSE, STOP
Driver / passenger seat heating seat_heat_driver, seat_heat_passenger off, low, medium, high
Driver / passenger seat ventilation seat_vent_driver, seat_vent_passenger off, low, medium, high
Recall driver seat memory seat_memory_driver PRESS
Daytime running lights drl on / off (or 1 / 0)
Speed-limit warning adas_slw on / off
Charge limit on/off charge_cap_enabled 1 / 0
Charge limit % charge_cap_percent 50–100 (step 5)
Child lock child_lock 1 / 0
Phone wireless charger wireless_charging 1 / 0
Car settings setting_ depends on setting (on/off, a number, or a fixed list)

Troubleshooting

  • No OverDrive device in Home Assistant? Check the MQTT connection shows Connected in OverDrive, confirm the Discovery prefix matches HA's (default homeassistant), and make sure the HA MQTT integration points at the same broker.
  • Sensors show but controls are missing? "Allow vehicle control" isn't enabled — see Step 3 (it only appears after discovery is on).
  • A command does nothing? The car must be awake/accessible to the head-unit SDK for that action. OverDrive optimistically updates the entity, then the next telemetry refresh reconciles the true state.
  • Broker on a different network? Enable the Tailscale proxy so the car can reach it without port forwarding.

Tech Specs

Category Detail
Resolution Up to 2560×1920
Codec H.264 / H.265 (HEVC)
Bitrate 2–12 Mbps (configurable)
FPS 15–30 fps
CPU Usage Should work on all BYD vehicles with DiLink v3 and panoramic camera system.

Building from Source

bash
git clone https://github.com/yash-srivastava/Overdrive-release.git

Set up signing by exporting these environment variables before building:

bash
export KEYSTORE_FILE=/path/to/your/release.jks
export KEYSTORE_PASSWORD=your_password
export KEY_PASSWORD=your_key_password
export KEY_ALIAS=your_alias

Then build with Gradle:

bash
./gradlew assembleRelease

Closed component: libod.so

The blind-spot lens-projection coefficients ship as a prebuilt, closed-source libod.so (app/src/main/jniLibs/arm64-v8a/); its source (cpp/od/) is not part of this repository. At runtime the library authorizes against the app's signing certificate, so a release build signed with a different key will render the blind-spot camera card black.

Debug builds bypass this check — ./gradlew assembleDebug works normally from a clean clone, including for contributors, and the native build configures fine without the od source. Only release forks signed with a non-matching key are affected.

VLESS Proxy Setup (Optional)

The ISP blocklist bypass feature uses a VLESS Reality proxy. The app ships with placeholder credentials — you need to supply your own.

  1. Edit app/src/main/cpp/secrets/secrets.json and fill in your VLESS server details:

    json
    "proxy": {
      "PROXY_SERVER_IP": "your.server.ip",
      "PROXY_SERVER_PORT": "443",
      "PROXY_UUID": "your-uuid-here",
      "PROXY_SHORT_ID": "your-short-id",
      "PROXY_PUBLIC_KEY": "your-public-key",
      "PROXY_SNI": "google.com"
    }
  2. Encrypt each value using the helper script:

    bash
    pip install pycryptodome
    python3 generate_safe_enc.py "your.server.ip"
  3. Replace the corresponding Safe.s("...") values in app/src/main/java/com/overdrive/app/daemon/GlobalProxyDaemon.java (lines 71–79).

  4. Rebuild the app.

If you don't need the proxy feature, you can skip this — the app works fine without it.

Zrok Token Setup (Optional)

If you want to use Zrok tunneling for remote access, you need your own Zrok invite token:

  1. Sign up at zrok.io and get your invite token from email
  2. Enter the token in the app: Daemons → Zrok settings
  3. If building from source, also replace YOUR_ZROK_TOKEN in app/src/main/java/com/overdrive/app/daemon/telegram/DaemonCommandHandler.java with your token (this is only used for the Telegram bot's /tunnel zrok command)

Privacy

  • 100% local storage — all recordings saved on device
  • No account required
  • No cloud upload — remote viewing is direct via tunnels
  • Open source — audit the code yourself

Translations

OverDrive's UI is translated through Crowdin. The app currently ships in **16 langua

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言