All Projects → marcone → teslausb

marcone / teslausb

Licence: MIT license
Steps and scripts for turning a Raspberry Pi into a useful USB drive for a Tesla

Projects that are alternatives of or similar to teslausb

PiBuilder
Ideas for building a Raspberry Pi from "bare metal" to ready-to-run IOTstack
Stars: ✭ 26 (-98.18%)
Mutual labels:  raspberry-pi-zero-w, raspberry-pi-4
RPi-TELEBOT
Python based Telegram bot to monitor and control the raspberry pi
Stars: ✭ 19 (-98.67%)
Mutual labels:  raspberrypi, raspberry-pi-4
homeberry
HomeBerry is an Android remote control app for your Raspberry PI
Stars: ✭ 31 (-97.83%)
Mutual labels:  raspberry-pi-zero-w, raspberry-pi-4
EEGwithRaspberryPI
Open-Source board for converting RaspberryPI to Brain-computer interface
Stars: ✭ 402 (-71.81%)
Mutual labels:  raspberrypi, raspberry-pi-4
raspiApWlanScripts
Wifi station/AP mode scripts
Stars: ✭ 24 (-98.32%)
Mutual labels:  raspberrypi, raspberry-pi-zero-w
Debian Pi Aarch64
This is the first 64-bit system in the world to support all Raspberry Pi 64-bit hardware!!! (Include: PI400,4B,3B+,3B,3A+,Zero2W)
Stars: ✭ 2,505 (+75.67%)
Mutual labels:  raspberrypi, raspberry-pi-4
PiBeacon
Low-cost iBeacon using Raspberry Pi
Stars: ✭ 41 (-97.12%)
Mutual labels:  raspberrypi, raspberry-pi-zero-w
Poke-Pi-Dex
Our deep learning for computer vision related project for nostalgic poke weebs (Sistemi digitali, Unibo).
Stars: ✭ 18 (-98.74%)
Mutual labels:  raspberrypi, raspberry-pi-4
vigilantpi
VigilantPI is a lightweight NVR which targets mainly Raspberry Pi
Stars: ✭ 14 (-99.02%)
Mutual labels:  raspberrypi, raspberry-pi-zero-w
jitsi-box
A Raspberry Pi based box to automate holding hybrid conferences with Jitsi
Stars: ✭ 15 (-98.95%)
Mutual labels:  raspberrypi, raspberry-pi-4
Pi-Pool
Cardano Stakepool on Raspberry Pi
Stars: ✭ 204 (-85.69%)
Mutual labels:  raspberrypi, raspberry-pi-4
Raspberry-ili9340spi
ILI9340 SPI TFT Library & XPT2046 Touch Screen Library for Raspberry
Stars: ✭ 26 (-98.18%)
Mutual labels:  raspberrypi
aw-clock
Astronomy/weather clock
Stars: ✭ 41 (-97.12%)
Mutual labels:  raspberrypi
wifi-extender
A WiFi repeater built around Raspberry Pi under 10 US$
Stars: ✭ 64 (-95.51%)
Mutual labels:  raspberry-pi-zero-w
raspberry-noaa
Fully automated ISS SSTV, NOAA and Meteor satellite image downloader using Raspberry PI
Stars: ✭ 155 (-89.13%)
Mutual labels:  raspberrypi
wor-flasher
Legal utility that runs on RPiOS to flash another SD card with Windows 10/11
Stars: ✭ 451 (-68.37%)
Mutual labels:  raspberrypi
TPU-MobilenetSSD
Edge TPU Accelerator / Multi-TPU + MobileNet-SSD v2 + Python + Async + LattePandaAlpha/RaspberryPi3/LaptopPC
Stars: ✭ 82 (-94.25%)
Mutual labels:  raspberrypi
yamete
Yamete - Hentai downloader in PHP CLI - Easy site downloader PHP system
Stars: ✭ 63 (-95.58%)
Mutual labels:  raspberrypi
eliot-os
Minimal Operating System for Eliot
Stars: ✭ 19 (-98.67%)
Mutual labels:  raspberrypi
TeslaKit
Elegant Tesla API in Swift
Stars: ✭ 47 (-96.7%)
Mutual labels:  tesla

teslausb

Intro

A Raspberry Pi Zero W, Raspberry Pi Zero 2 W or Raspberry Pi 4 can emulate a USB drive, so can act as a drive for your Tesla to write dashcam footage to. Because the Raspberry Pi has full access to the emulated drive, it can:

  • automatically copy the recordings to an archive server when you get home
  • hold both dashcam recordings and music files
  • automatically repair filesystem corruption produced by the Tesla's current failure to properly dismount the USB drives before cutting power to the USB ports
  • serve up a web UI to view or download the recordings
  • retain more than one hour of RecentClips (assuming large enough storage)

This video (not mine) has a nice overview of teslausb and how to install it:

teslausb intro and installation

If you are interested in having more detailed information about how TeslaUsb works, have a look into the wiki.

Prerequisites

Assumptions

  • You park in range of your wireless network.
  • Your wireless network is configured with WPA2 PSK access.

Hardware

Required:

  • Raspberry Pi Zero W (Adafruit or Amazon)
    or Raspberry Pi Zero 2 W (Adafruit or Amazon)
    or Raspberry Pi 4 (Adafruit or Amazon)
    Note: Of the many varieties of Raspberry Pi available only the Raspberry Pi Zero W, Zero 2 W, and 4 will work with TeslaUSB.

  • A Micro SD card, at least 64 GB in size, and an adapter (if necessary) to connect the card to your computer.

  • A mechanism to connect the Pi to the Tesla: a USB A/Micro B cable for the Pi Zero W, or a USB A/Micro C cable for Pi 4

Optional:

  • A case for the Pi Zero. The "Official" case: Adafruit or Amazon. There are many others to choose from.
  • A cooler for the Pi 4. The Raspberry Pi 4 uses much more power than the Pi Zero W, and as a result can get quite hot. The "armor case" (available with or without fans) appears to do a good job of protecting the Pi while keeping it cool.
  • USB Splitter if you don't want to lose a front USB port. The Onvian Splitter has been reported working by multiple people on reddit.

Installing

To install teslausb, please use the prebuilt image and one step setup instructions.

Contributing

You're welcome to contribute to this repo by submitting pull requests and creating issues. For pull requests, please split complex changes into multiple pull requests when feasible, and follow the existing code style.

Meta

This repo contains steps and scripts originally from this thread on Reddit

Many people in that thread suggested that the scripts be hosted on GitHub but the author didn't seem interested in making that happen, so GitHub user "cimryan" hosted the scripts on GitHub with the Reddit user's permission.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].