You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
how long does it take the usb drive to become available when you get in the car?
my mass storage drives keep getting corrupted and i have to flash the image over again
I have a small USB battery pack on mine, so it is available immediately. If the Pi loses power, it is going to take a minute or so for it to boot up for the car to be able to use it. A standard USB memory stick wouldn't have any boot-up time. So that seems normal. Same thing happens to me if I power cycle the Pi while in the car driving.
Do you mean the USB virtual mass storage gets corrupted? This custom Pi software has code in there to detect that and fix it automatically, each time it mounts the drive to upload I think. I've never had to flash the whole Pi image again.
I'm on 16.2 and can't say I'm having this issue. Do you get a notification on your phone when the alarm is triggered also?Not sure if this is happening to everyone or if you came across this, but after the 2019.16.x usb disconnects will trigger the alarm. So when the raspberry pi zero decides to randomly disconnects with sentry mode on, your alarm will trigger. Had this happened to me a couple of times recently and came across this info under the issue section for marcones Github.
Yes, I do when it triggers. Has yours ever randomly disconnect? And the only way for the car to detect it again is to unplug and plug it back in?I'm on 16.2 and can't say I'm having this issue. Do you get a notification on your phone when the alarm is triggered also?
Very rarely does it disconnect when driving or in sentry mode (that I'm aware of), maybe once a month I'll notice it not connected while driving requiring me to unplug and reinsert. I do have it powered via the 12v, not sure if it matters. I use sentry mode anytime the car isn't parked at home but I do have it set up to turn sentry mode at home for 30 minutes to sync up files overnight, but never had the alarm trigger.Yes, I do when it triggers. Has yours ever randomly disconnect? And the only way for the car to detect it again is to unplug and plug it back in?
Has yours ever randomly disconnect? And the only way for the car to detect it again is to unplug and plug it back in?
I've had it happen a few times, and it seemed to be when I was at home (connected to WiFi) for a short time, where the Pi didn't have enough time to finish uploading all of the video, before the WiFi connection dropped when I drove away.
I've written my own Perl script to upload the data instead of the multiple shell scripts. I've had to work out a few bugs and have only been running it a few days, but it seems to not lose the connection to the car now, when I specifically drop the WiFi connection. Time will tell if this fixes the issue or not though.
I've still got an issue with that. I thought it was fixed, but I had that situation today, and it hung up.
I've made some changes, so I'll see if that helps.
I've still got an issue with that. I thought it was fixed, but I had that situation today, and it hung up.
I've made some changes, so I'll see if that helps.
any luck with your script?
Any chance you'd be willing to share that script? I'm all in for reliability over speedYes, it appears to work so far. Basically the copy command was hanging forever, so I created an alert of 90 seconds that would kill it if it took more than 90 seconds to copy one file. Then before each file copy command, I check to make sure I can ping the server and check to make sure the archive is mounted before trying to copy the next file. Then it goes back to mount the USB again and only re-tries copying once it can ping the archive host again and the archive is mounted. I added a bunch of sleeps around things, as I want reliably over speed.
sudo -i
/etc/rc.local
Mind sharing which battery pack you use?I have a small USB battery pack on mine, so it is available immediately.
You just described my experience. I tried the manual install twice and it failed, one step worked fine after 2 tries... First attempt was the same as yours.Holy cow! I just did this! Just in case anyone is wondering, I did the One step setup from the marcone repository. I have a NAS box at home, so I made a "TeslaCam" SMB share. Went for a test drive, recorded some clips, got back, pulled into the garage, walked into the house and mounted the share and, sure enough, my clips were uploaded!
One FYI. When I first booted after inserting the SD card, I waited about 10 min, but the LED was just on solid... so I logged in and looked at /boot/teslausb-headless-setup.log, but the last entry was over 5 min ago... so, following the troubleshooting steps, I did
and it then proceeded with the rest of the setup and that's it!Code:sudo -i /etc/rc.local
The only downside I see with this is that takes about 30-60 seconds from when you "start" the car until it starts recording