Skip to content

Instantly share code, notes, and snippets.

@standyro
Last active June 9, 2019 23:27
Show Gist options
  • Select an option

  • Save standyro/52804f59591d3de83e98bc99f79fa888 to your computer and use it in GitHub Desktop.

Select an option

Save standyro/52804f59591d3de83e98bc99f79fa888 to your computer and use it in GitHub Desktop.
How to Setup TeslaCam for Tesla Model 3/X

Buy

  • Tesla (Model S,3,X,Y?)
  • Raspberry Pi Zero
  • Micro USB to USB A cable
  • Micro SDHC Card

Install (using Mac OS X)

  1. Download and install Etcher (https://github.com/balena-io/etcher/releases/download/v1.5.45/balenaEtcher-1.5.45-mac.zip)
  2. Download Raspbian Lite (Debian distro for Raspbery Pi)
  3. Copy Raspbian Lite to your SD card (using a USB Micro SD card reader or SD card adapter on your Mac) using Etcher
  4. Open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
  5. Create a new file simply called ssh in the SD card as well. By default SSH is now disabled so this is required to enable it. Remember - Make sure your file doesn't have an extension (like .txt etc)!
  6. Open up the cmdline.txt. Be careful with this file, it is very picky with its formatting! Each parameter is seperated by a single space (it does not use newlines). Insert modules-load=dwc2,g_ether after rootwait
  7. Add your WIFI configuration details (consider adding several, including a portable hotspot such as your phone)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment