DopeGhoti
Active Member
There is some magic with taking snapshots of the actual "live" (as far as the car sees) TeslaCam directories that I won't get into for the purposes of simplification.
When the Pi first boots, it will upload any TeslaCam and Sentry footage, and download any music found on the optional music share. It will then go to "sleep" until it's out of range of your wireless network. When it's "asleep", it presents itself as two USB Mass Storage Devices to the Tesla.
When you go out of range, it starts to watch for when you are back in range again. Once you're back in range, it will make sure you're still in range for a good twenty (by default seconds) and then:
If you've set up your Tesla credentials on the configuration file, it will make a note as to whether Sentry mode is on; if it is off, it will turn it on to keep the Tesla awake (and thereby powering the USB ports). It will then upload camera footage and download music again. Once this is complete, it will restore Sentry to its prior state, and go back to "sleep". My understanding (though I need to review the scripts more) is that it does remove the files from your flash media after they are uploaded, so it should never get full unless you're away from home for a long, long time.
When the Pi first boots, it will upload any TeslaCam and Sentry footage, and download any music found on the optional music share. It will then go to "sleep" until it's out of range of your wireless network. When it's "asleep", it presents itself as two USB Mass Storage Devices to the Tesla.
When you go out of range, it starts to watch for when you are back in range again. Once you're back in range, it will make sure you're still in range for a good twenty (by default seconds) and then:
If you've set up your Tesla credentials on the configuration file, it will make a note as to whether Sentry mode is on; if it is off, it will turn it on to keep the Tesla awake (and thereby powering the USB ports). It will then upload camera footage and download music again. Once this is complete, it will restore Sentry to its prior state, and go back to "sleep". My understanding (though I need to review the scripts more) is that it does remove the files from your flash media after they are uploaded, so it should never get full unless you're away from home for a long, long time.