-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not recording continuously #909
Comments
Perhaps SNAPSHOT_INTERVAL needs to be set for your location? |
How do I know what the interval needs to be for my location? I am in the UK that helps. |
You can start by just using the |
So I used the default |
Does the car show a red dot on the camera icon? It kind of sounds like the car isn't seeing the Pi's drive, or only intermittently. |
I missed that you said it works fine for sentry but not for dashcam. Could it be that you have a loose connection somewhere or a bad cable, and vibration from driving is making the car repeatedly lose and regain the connection to the Pi? |
I did a few trips yesterday evening and again both of those trips did not get recorded. On one occasion I even pressed the dashcam icon on screen to manually saved the recording. This displayed a green check mark to confirm it had been saved but the recording is nowhere to be seen in TeslaUSB nor can I see it from the Tesla App under the new dashcam clips section. I have attached the logs in the opening post so you can take a look. |
I don't see any obvious problems in the logs, though it's weird that when the free space manager deletes older snapshots to free up space that it sometimes deletes so many in a row. On my own device I see it delete up to 10 at a time to free up space, but in your logs I see it deleting up to 85 in a row. Where are you actually looking for these recordings and see them missing? |
I am looking for them under recent clips using the web ui. Yesterday I drove between 19:14 and 19:28 but its not showing in the recordings. Please see the screenshot attached to see that there is no recording that covers the time I was driving. Also, on a side note, I have noticed that when I am trying to access the folder for the current day’s recordings via the web ui, 9 times out of 10 I get a 500 Internal Server Error message displayed on screen instead. This doesnt happen for previous days’ folders |
Can you grab another diagnostics or archiveloop log and attach it here? |
Here is the archiveloop log file. |
So assuming that when you said that you drove yesterday between 19:14 and 19:28 you were talking about Friday the 10th of January, and that you're in the GMT time zone, here are the logs from around that period:
so it took 3 snapshots that cover some part of your drive, and each snapshot differed from the previous one, so it looks like the car was recording during that time (though technically it's possible the car didn't record anything new and only deleted previously recorded stuff).
and reply here what it says? |
|
That looks fine. I am frankly at a loss as to why your setup is behaving the way it is. I will try adding some more logging to debug further. |
I’ll just reinstall it and see if that sorts this issue out. Just to be clear, the dashcam is expected to continuously record without the need to manually (using horn or pressing icon) save the clips right? Also, should the dashcam clips not stay on the sd card for longer than a few days? Its a 256gb card of which 120gb was selected for cam |
Dashcam should record whenever the car is on. See here for more details.
TeslaUSB will keep older recordings until the space is needed for newer recordings. I would suggest setting CAM_SIZE a lot smaller than 120 GB though, unless you have a specific reason for it to be that large. Did reinstalling fix the issue? |
Is there a particular reason it should be a lot smaller? I have a 256 GB card which has no other use besides TeslaUSB, so I thought the more space I give it then the more recordings it can hold at once. I was actually thinking of just increasing it to over 200 GB.
The last 2 days I did a few short trips and they have appeared in my recordings so I just want to give it a few more days to see if the issue sorted itself out. |
That's now how TeslaUSB works. The CAM_SIZE you specify is the size of the drive that the car will see. Within that drive, the car will still only keep one hour of dashcam footage. To keep more than an hour, TeslaUSB needs to copy the older footage before the car deletes it. TeslaUSB needs space to store those copies, but if all the space is already used (because you specified 120G or even 200G for the drive size) then TeslaUSB can't do that. |
Describe the problem
I have installed the 20211106.2 without any problems and it works absolutely fine for sentry recordings but doesn’t quite work properly for dashcam recordings. Correct me if I am wrong but I thought TeslaUSB was supposed to continuously record when driving so that I do not need to manually save any footage. On all of my journeys so far since the install, I might get one or 2 clips saved which will be around a few minutes. This is usually well into my journey, so nothing from beginning to end continuously, only usually a few clips towards the end of the journey. What could be wrong? When parked with the car on, it seems to record more often but during the actual drive, not so much
Device
Raspberry Pi Zero 2 W
OS Image
Prebuilt TeslaUSB image
Car Model
Model 3
USB connection
Glove box
Logs
diagnostics.txt
Additional information
No response
The text was updated successfully, but these errors were encountered: