When the TeslaCam feature was release I figured it would be a good opportunity to play with and learn about the RPi Zero W's ability to emulate USB devices. I set out to build something that I didn't have to think about a solution that would automatically collect and archive the TeslaCam recordings.
Because the Tesla cuts power to the USB ports abruptly, I am using a PiJuice to keep the RPi online long enough to shut down cleanly -or- if WiFi is available rsync the recordings to server running in my home.
All of the code and documentation can be found on GitHub. (link below) I consider the code/implementation "good enough for me for now" I will make improvements as the need arises -or- if ya'll have feedback.
LelandSindt/teslacam
Because the Tesla cuts power to the USB ports abruptly, I am using a PiJuice to keep the RPi online long enough to shut down cleanly -or- if WiFi is available rsync the recordings to server running in my home.
All of the code and documentation can be found on GitHub. (link below) I consider the code/implementation "good enough for me for now" I will make improvements as the need arises -or- if ya'll have feedback.
LelandSindt/teslacam