Merge branch 'master' into u/cimryan/readonlyrootfs

This commit is contained in:
cimryan
2018-10-16 07:29:48 -07:00

View File

@@ -7,12 +7,6 @@ This repo contains steps and scripts originally from [this thread on Reddit]( ht
The original post on Reddit assumed that the archive would be hosted on Windows and that the Pi would be set up using a Windows machine but this Git repo welcomes the contribution of instructions for other platforms.
TODO/Asks
* Script to make this easy to get going. Ideally supports multiple targets (see further TODO/Asks)
* Copy to AWS S3 / Google Drive / Etc
* Copy to SSH/SFTP
## Intro
You can configure a Raspberry Pi Zero W so that your Tesla thinks it's a USB drive and will write dashcam footage to it. Since it's a computer, you can run scripts on the Pi to automatically copy the clips to an archive server when you get home. The Pi is going to continually:
@@ -21,7 +15,7 @@ You can configure a Raspberry Pi Zero W so that your Tesla thinks it's a USB dri
1. Wait until it can't connect to the archive server
1. GOTO 1.
Disclaimer: It hasn't been confirmed that this solution will work with v9 of the Tesla software. It has been verified that when files are present in the TeslaCam directory they are archived to a server when the car gets back on the wireless network.
The scripts in this repo will also allow you to use the Pi to store music that the Tesla can read through the USB interface.
## Prerequisites
@@ -147,6 +141,8 @@ Now that you have a shell on the Pi you can turn the Pi into a smart USB drive.
### Get the Pi set up for your Tesla.
If you set up the Pi with a keyboard and a monitor disconnect it and connect it to a PC. If you're using a cable be sure to use the port labeled "usb" on the circuitboard.
1. Wait for the Pi to show up on the PC as a USB drive.
1. Create a directory named TeslaCam at the root of the drive.
1. Eject the drive.
1. Plug the Drive into your Tesla.
1. Create a directory named TeslaCam at the root of the drive labeled CAM.
1. Copy any music you'd like to the drive labeled MUSIC.
1. Eject the drives.
1. Unplug the Pi from the PC.
1. Plug the Pi into your Tesla.