Car’s Camera Footage Backed Up To NAS

For as many sensors, cameras, and computers as there are on modern cars, they ought to be a dream to poke around in and customize to one’s liking. Unfortunately they’re generally plagued by the same locked-down, proprietary software that most consumer electronics ship with, making it very difficult to interact with these systems in ways the manufacturer doesn’t approve of. There are a few exceptions to this rule, though, and [Sasha] built this system which backs up the footage from their electric car’s on-board cameras automatically to a NAS.

The system is built around a Raspberry Pi Zero 2 W which plugs directly into a USB port in the car’s glovebox. To set it up, the software only needs to be flashed onto the Pi and then it can be controlled from a smartphone. It can connect to any NAS over a variety of protocols and keeps track of what footage has been backed up, and can even automatically restart a backup if the car drives away before it has completed. It also automatically frees up space on the car’s internal drives by deleting any files that have already been synced to the NAS. All of the data is kept in the user’s control as well, and nothing leaves the LAN unless the user sets up backups to a cloud service on their own.

If you have the correct electric car and a Pi other than a Zero 2 W, [Sasha] also has a package for other Raspberry Pis that should work. Unfortunately this was designed for a specific electric car; other makes and models won’t work with this out of the box, but we hope that won’t stop others from checking out the GitHub page anyway trying to figure out what’s going on under the hoods of their car’s electrical and computer systems. Sometimes this leads to things you might not expect, like using the car itself as a video game controller.

24 thoughts on “Car’s Camera Footage Backed Up To NAS”

  1. I wish manufacturers put cameras in cars straight out of the factory. I’m kind of sick of all dash cams, the 30$ and 300$ ones alike.

    They’re always such poor quality cameras, their compatibility with SD cards is just poor, many cards not supported randomly for no reason. Not to mention the car interiors in summers just eats up sdcards like candies, one failing after the other. I don’t blame the cards honestly, car interiors can each 70C or higher in the direct sun.

    But that does raise the point, maybe consumer ads cards are not the best option for this application? Although I won’t pretend to know what is a better alternative for high temp application

    1. “Industrial grade wide-temperature” is the buzzword you are looking for if you want SSDs that work on a cold winter day and in a baking-hot car.

    2. They always have an android device of some kind built into the dashboard anyway, why has some insurance company not simply asked them to make it record the backup cam and a forward camera and keep the video for a month

      1. I don’t know how all 50 states would react, some would no doubt argue such a move would be overreach by a private company and it would be infringing on what is the job of lawmakers to decide not insurance companies. And I tend to agree on the subject of keeping it for a month idea, that would be so tricky and would lead to the cops constantly wanting footage for all kinds of things that a large portion of the population does not support at all and that would violate the constitutional protections.

    3. I agree it’s frustrating that most modern cars don’t seem to let the existing onboard carmeras to work as a dash cam. My wife’s Tesla obviously does, but my VW ID Buzz keeps it all locked away. They even provide a handy USB C port near the rear view mirror to power a dash cam you might want to add, but no way to make use of the ones aready there.

      Having the opportunity to compare long term day-to-day use of both a Tesla and a VW EV (and a Zero electric motorbike) is obvious how many things Tesla just get right.

    4. nah, i prefer that cars don’t come with spyware and spying enhancing devices, you do know some of them relay info captured by mic and camera back to the manufacturer. Sure it is for ads, but either way, i’d rather they don’t have that capability, and what can be used for ads, can also be used to spy on the users…

  2. Great idea for someone with a Tesla but many TVs with built in dash cams let you record to a thumb drive in the car plugged into a USB port. Seems like a far better solution as no subscription is required when it’s stored locally.

    1. True but look at the limitations of those usb drive recordings as well. I know GM limits it to only 2 hours of kept recordings then it overwrites it no matter how large the drive is. So I agree with what you are saying but the manufacturers are still screwing people over and something like this is still needed even though in reality it should not be.

      1. This solution actually solves that issue. Tesla has a similar 1hour limit. This will take snapshots and move footage to a partition. The car cannot see. To the vehicle (Tesla in this case) it looks just like a normal usb stick.

    1. The psychic damage done by the prodigal electric car and American rocket to bourgeois brains because he also bought twitter is immeasurable

    2. I noticed that. I’d assumed it was because it was some very obscure model that hardly anybody had and it would be of little use to anybody. Disappointed to see it’s just some personal posturing.

  3. Foy my (insert brand of car that apparently we aren’t supposed to mention) I just put in a properly formatted NvME drive in a decent enclosure. It has already lasted longer than the USB stick that the dealer recommended.

    Next step will be to find or build a RAID-1 setup or something like that. But I do like the idea of syncing to my NAS when the car is at home, so I’ll probably give this a try.

  4. A Pi Zero 2 W in the glovebox is a neat, low-cost way to stop dashcam footage from being locked inside the car. I like that it works with any NAS and is controlled from a phone, since that makes it practical for people who are not tinkerers.

  5. ahh. so thats why the headlights are so strong nowadays. its for those stupid cameras. nothing to do with “better visibility” for us meatbags. its moot anyway if everybody is wearing those yellow glasses.

    1. Having a mirror on the parcel shelf for the car behind you that keeps main beam on is pretty tempting.
      The amount of times I end up shielding my eyes from on coming traffic, even dipped headlights seem like main beam these days.
      It’s as if they’ve all got them adjusted to too high of an angle.

      1. In my area you see it on bicycles these days, they have lights that outshine the sun and they are aimed way up for some reason, with a number of them not even being adjustable because the fancy ‘design’ electric bikes have them built in and factory-set to aim upwards.
        And of course it’s that very cold color light to be extra annoying.

        1. P.S. I would not be surprised to see ‘laser headlights’ for bicycles in the future. And if they come I hope the government finally says something, FFS.

  6. Years back I set up dual cameras front and back after getting rear ended 1 too many times and fighting insurance. Just daisy chained the a to d over 2 wires with a reversal toggle. Both had impact sensors, option auto delete for those pulled over situations where you didn’t want a record. SD micro and a third master chip hidden encrypted because science!

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.