Marco Pontello I came to make the same comment, but glad you already posted. Also for usbs there are some that are mlc nand flash which is also suited for this purpose. I use the mushkin impact.
You used the same link for: "Enhanced project (the one I use for this video):" "Original project:" So a lot of people are probably using the old/original version now.
@@wilcovanhoboken1483 In DSM, I added the userID TeslaSentry with a pw, and provided read/write access to a top level file: TeslaCam (and TeslaMusic if you like), then plugged ID & PW into the conf file variables. You need the correct IP address of your NAS in the conf file, as well. It took 3 tries to get the PI script to set it up correctly, so start again from scratch if it doesn't work. I had to restart the Pi install script (as Chris suggested) once, as well.
@@russ_treadwell looks like i have done the same as you say. need to retry or restart script. you mean toplevel folder. how have you set that in the config? as \\Teslacam\ ?
@@russ_treadwell Hi russ, I have m3 Highland and Synology NAS, is there like a simple guide you can send me / point me to for the setup as this sounds great but im not sure how to do the synology NAS part setup....
@@robturner724 sounds great, Im keen to try this (new Tesla M3 highland driver) - I have Synology NAS also and would love to get it sending files to the NAS... can you help me / send me idiots guide type approach that I need to take?
Just from cost perspective. I was looking into getting an overkill nvme drive, i bought a used intel Mac mini with 1tb of storage running a windows VM, an sd card i already had and the raspi for less than I would have spent on an ssd. But now i have a much better feature in my car! Also makes use of my UniFi AC Mesh pro I have blasting in the front yard/driveway. One-day I hope to have it sync to a NAS
This just connects to an SMB share, so anywhere you can configure an SMB Share you can setup the Pi to connect to that. Almost every OS and every NAS has the ability to create an SMB share just look it up
Chris, if I’m not mistaken, best practice with Windows shares is still to use the Security tab (ACL/permissions), rather than the Sharing tab; am I missing something? Typically Sharing can be set to “Everyone”-yes, that’s confusing to noobs, since it doesn’t actually allow just anyone to connect/see it once proper permissions are set. I’m pretty sure NTFS permissions (Security) still trumps Sharing.
Great video Chris ! question thought... How secure this is since you connected to physical USB hacking into the car is possible ?.... with remotely connected computer (which PI is) its only your trust to the developer and code you run. My guess would be this solution is not certified / approved by TESLA (yet).... You might need to do extra rules in UNIFI to drop all packets going outside your wifi so PI can only access your shared drive and no internet .... or update firewall rules on pie itself to secure it. I'd like this option to be added by TESLA since car is connected to my home wifi....
All the Pi is doing is presenting a writeable partition for the built in Sentry/Recording to write its video files to. When the Pi can see its home wifi, it takes the data written onto that partition, and copies it to a shared drive on the same wi-fi network. Once the file is copied it removes it from the local SD card. No data is being sent to the Tesla computer. For the music, it does the reverse process and puts any new music from the fileshare onto a second partition that the Tesla infotainment system reads. There really is nothing here to be ‘approved’ by Tesla since all it really is is an ‘active’ USB drive that is more sophisticated than one that has built in wi-fi connectivity
@@crispinolson2029 Yes, I understood. This is what stated in the project scope. However PI is almost fully blown up linux and once connected to front end USB port of the car it will have all options to run traces and other programs. Remember, this is how hackers got to control model S previously - you need to be connected to USB so can access the system and run your code. It will not work over WIFI or cellular. If you absolutely trust the developer - sure, go ahead (just validate the source of package and disk image to be genuine first). Personally I like the idea a lot. Just wish this functionality is available naturally from TESLA security screen. Will tweet Elon about this ;).
Oleg Zieaev the Model S USB hacks were by taking the car apart and getting access to a USB header on the MCU board. They were not achieved through the USB socket that provides power and takes a USB stick. If you really think you can hack via that route, enter the annual tesla hackathon and win yourself a car.
Great explanation of the project Chris! I have one question, will this add-on help saving all dashcam videos automatically vs on demand (auto, honk, manual)?
Thanks for the video! I typically have my Tesla parked in the driveway with sentry mode enabled. It seems that the camera is always recording, but only keeps the last hour of video unless a "sentry mode" event occurs. I'm hoping this will enable me to essentially turn my car into a surveillance camera pushing video files to my home NAS as an NVR. Should be fun! :-)
This is a great idea but what's the power drain like? Did I read somewhere that standard sentry mode consumes like 1 mile/hr, what about with a Pi running too? Is there a way to get the Pi to command a shutdown once all the files have finished copying?
Hi, Chris! This is a great idea! I want to modify it to use in my MINI, which does not have the Tesla's capability of delaying the USB power shutoff after the car is turned off. (The connector power stays on for only about 30 seconds after locking the car, which probably isn't enough time to transfer files.) I figure I can add a UPS to the Pi to keep it alive while the car is not running. So, my question is: can you recommend a reliable UPS for the Pi0? Thanks!
Your best bet is to use a USB battery pack to ensure the Pi is powered all the time. See my writeup with pictures and links here: teslamotorsclub.com/tmc/posts/3975052/
I've tried this a couple times, on both a PC and Mac, but the IP address seems to be on the wrong subnet? When checking the log, it keeps repeating "get_script failed, retrying" so it never completes. It never seems to connect to my 2.4Ghz network. I see WIFI_ENABLED and TESLAUSB_SETUP_STARTED. I'm able to SSH in just fine via USB. Thoughts on why it won't connect to the network? I have other Pis on the same WiFi without issue.
I found it more efficient to set up a back and forward standalone rear view mirror cam. It stores video and audio 24/7 and can be viewed on it as well. The one I have is voice activated as well. My music is just Bluetooth through my phone as I play video through my mirroring module.
Getting close. When I run the df -h I don't see the mount for my shared computer. When I run a sudo mount -t cifs //192.168.0.3/TeslaCam then I see the /mnt/archive and can touch the /mnt/archive. What may I have wrong in the config file that it's not mounting my TeslaCam folder? Also, FYI, I was attempting to change my router to the Extended router in the garage with no luck. then I remember you mention to delete the wifi_enable file and when I ran the rc.local again, it went to the correct router. I used the iwconfig to determine what SSID was being used. So much to learn
I'm running into the same problems as you are. Conf file shows everything had been set up as it should be. No error messages. But no /mnt/archive as shown in the video for TeslaCam and TeslaMusic doesn't show. I can like you manually mount them. I am using a synolgy NAS with samba sharing enabled (also samba enabled in the setup of the Rpi W) as archive system. Thinking about moving to rsync option. This is also described and my NAS can also function as a Rsync server. Maybe then it will mount? Did you find a solution for your /mnt problems during setup? Is the manual mount a - one time thing - (I can get over it ;-)) or is it necessary to perform this everytime the Tesla powers down?
WORKING ANSWER: Via GitHub got in contact with Marcone ! It is working as intended. I plugged the Raspberry pi W in a USB port of my computer and then the shares got mounted. So when not plugged into an USB port of (PC /TESLA) they are not mounted and therefore not visible when ssh-ing into the pi by wifi performing an df -h.
I setup a Tesla account on my computer. Where in that account on 9:17are you installing those two folders? I see in your address Data Storage (B:). Did you make a separate partition for those two files?
Thank you this helped me a lot and it was working great until the latest update from Tesla, so you know if there is anything I need to change to get it working again?
Following the recent M3 Dashcam & Sentry mode update, we can now view recordings inside the car..😀 could you provide an update on whether we can now purchase the pi zero (not w) as in the uk the w model is almost impossible to buy, plus at 66 I find this a whole new world. Thanks in advance Paul
Where did you create the shared folder TeslaCam? What is your drive B:? Is it a usb drive? VHD? I created my TeslaCam folder in documents on drive C: but the PI can't seem to find it to mount it.
Instead of "just" saving it to the SD card, would it be possible to stream the video through a 4G router to a streaming service (and be able to see it live from your phone for example)?
Is there any way to add a Lightshows folder to this? Seems to me it is the only thing missing, and I'd hate to have to disconnect the PI every time I wan to load a new show.
I noticed that there are subtle difference between my setup and yours. I got the device up and running. I can ssh to it and when plugged into my windows PC, I can see the local TeslaCam folder with videos in it. It will not upload to my cifs share though. I checked the boot folder and the conf file was gone. I have uploaded it a number of times now and it keeps disappearing. I'm wondering if this is the issue. The setup log folder doesn't show any errors. Can you point me in the direction of someone that can help me troubleshoot this.
I dont see the two folders TeslaCam and TeslaMusic as per 26.36 sec of the video. Is there a different procedure for whs. Added the two folders and shared. Do I need to write the path to it? eg E:ServerFolders\TeslaCam & the other?
not working for me at all. I notice that marcone has single quotes around his share password and the config file does not. I've tried both but no joy. Pi light just stays green for 10 mins plus. Worth formatting and starting again?
late reply, but the config file is picky about passwords. likely your password contains a character that needs escaping. I found I was having the same issue and when I plugged the PI into a screen while booting it gave me a clue that the config file had an error. Changing the password resolved that.
So i'm revisiting this project after about 4 months, and I still can't seem to get it to work! I followed the steps you mentioned, and when I plug the Pi into my computer, I just get a solid green light. It's been about 20 minutes, and nothing has changed. The SD card is in there, I no longer see it showing up on my PC, and plugging it into the car does nothing. I also can't SSH into it. Any ideas?
thanks !!! I have a question .. the Raspberry Pi w and window PC have to be connected with same wifi network to work ? In the video, you put the PC IP, 192.XXX~ , I think it is not public IP, so why I ask about this.
I have faced a problem that i have a problem which the car without carplay and Android auto. Ithink The browser in car system which can be used to get screen shared by my phone. I need the pi and phone in the same wifi, then the pi will mirror the screen of phone to the web (may be is 192.168.xx.xx), at last i will open that ip addresse by using the browser in car system. Do you have some ideas suggests to me?
How often should it be uploading files to the Windows share? Mine connects to Wi-Fi and I can confirm it's able to see the shares, but nothing has appeared on the server yet.
Please fix the following line in the video description: "Enhanced project (the one I use for this video): github.com/cimryan/teslausb" You are linking the wrong project. You should be linking to the marcone branch.
@@CrankyOldNerd 1. So it'll match what he says in the video. 2. Wrong. It is actively being updated, with a new 2.0 beta version based on Buster. Last updated three weeks ago.
Is anyone else's Model 3 not providing power to the Raspberry Pi after it's been sitting a while? If it looses power it doesn't act like a USB drive anymore. After starting the car the power won't come back to the USB and I have to hard reboot the car.
same here I stopped using this, its to unrelyable, I am using 256GBSD , I test this at home and on 10 inserts its only mapped and workd in 4 times.... rest of it all starts, it blinks, but usb never shows up.
@@adamherrmann3456 the hardest part right now is finding a raspberry pi zero. I have a raspberry pi 3b+ however i dont think it makes sense to put it in the space 🤦🏽♂️
Could you not attach pi ups to it , and then have the ups power pi for let's say 1 hour before pi turns itself off?. Giving it plenty of time to copy files, and not needing car to be on?.
For some reason it keeps saying access denied when trying to access the shared folders. I made sure to share them and input the credentials for the user, not sure what I'm doing wrong.
Can I still access to the video footage on the car if I am not at home? Can I plug the USB cable from Raspberry PI to other laptop and able to access the USB drive TeslaCam folder?
@@crispinolson2029 Why not? If the USB cable were connected to a different device, it would surface a USB drive with two partitions, just like it does to the Tesla. That other device could view the videos at will.
Tesla has changed the dashcam saving as it only saves only the last 10 minutes and then overwrites. So you do not have a dashcam of your complete drive. Tesla changed the Dashcam in a release but did not advise anyone in the release notes. Only if you read the latest manual will you find it does not store the drive anymore. So you have to go buy a Dashcam if you can find one that support a Tesla to obtain power from somewhere.
I'm fairly certain the only 10-minute recording interval relates to detected safety incidents. When those happen, Dashcam saves the last 10 minutes of driving footage (as that incident in the file structure). But I believe the entire drive is still being recorded. Or at least, I haven't seen any evidence to the contrary.
Hey dude, you put the wrong link in for the version you wanted to use. Both point to the cimryan version. Should be github.com/marcone/teslausb, methinks.
I've been struggling to get this to work, don't want to admit how many hours spent. Main problem was a bad usb cable. Finally got to the point where my ssh command worked but I'm prompted for a password. From another video they said it was raspberry. That didn't work, so I'm stuck. Anyone please help
Tried to install many times - just cannot get it to work. Using Windows 11 and Rasp Pi Zero 2 W. The program starts but doesn't connect to wi-fi or end. I've been trying for a couple of months but the Pi just shows a constant green light. Very frustrating. Anyone got any ideas?
Noted that my file ended .conf.txt and listed as a TXT file. Edited to a CONF file and now connects to wi-fi. Still not fully working yet, but a significant step forward.
Yes, as long as Sentry mode is enabled, it will record 24/7. In order to access the 24/7 video you must enable the Samba server when editing the setupconf. You can only access the 24/7 video through the network Samba in the "RecentVideos" folder.
Dude! This is awesome stuff - Just don't use SanDisk - they are crap. I would recommend Samsung, Lexar or Kingston Pro or + versions. Updated marcone/teslausb release link: github.com/marcone/teslausb/releases
Phunny Yo “github software”? Don’t you mean “software that someone wrote and posted to GitHub for me to look at, understand, and verify”? And you’d do that with anything you downloaded from the internet, right?? Especially *before* you plug it in to a car with autopilot?
J J Let me put it this way, I'd never add third party software to something that can kill me, like a car. I don't mind messing with computers, servers, network equipment and so on, but a car, nope.
This isn't "putting third party software in the car". This is merely creating an active USB drive for the Tesla to record its video to. There is no path into the Tesla MCU.
Phunny Yo, firstly, as far as the Cam recording goes the Tesla is only WRITING the video files to the USB port. It does not read from it. It does read data for music for the entertainment system from a separate partition on the USB port, but this is an entirely separate computer system from the main control unit. Oh and yes, I absolutely have seen the code in this project and have a firm understanding of how it works. The code is open source and you can see it for yourself
For dashcam applications, it's better to use some high-endurance SD cards, because they are designed to (better) cope with the continuous writes.
Marco Pontello I came to make the same comment, but glad you already posted. Also for usbs there are some that are mlc nand flash which is also suited for this purpose. I use the mushkin impact.
You used the same link for:
"Enhanced project (the one I use for this video):"
"Original project:"
So a lot of people are probably using the old/original version now.
Like your implementation, it took a bit of fiddling and a couple of restarts, but working well with my Model 3 and a Synology NAS. Thanks Chris!
how have you set it to connect to your synology. can not get it to work.
@@wilcovanhoboken1483 In DSM, I added the userID TeslaSentry with a pw, and provided read/write access to a top level file: TeslaCam (and TeslaMusic if you like), then plugged ID & PW into the conf file variables. You need the correct IP address of your NAS in the conf file, as well. It took 3 tries to get the PI script to set it up correctly, so start again from scratch if it doesn't work. I had to restart the Pi install script (as Chris suggested) once, as well.
@@russ_treadwell looks like i have done the same as you say. need to retry or restart script. you mean toplevel folder. how have you set that in the config? as \\Teslacam\ ?
@@wilcovanhoboken1483 would love answers to this as well. Having trouble connecting it to Synology NAS does not create the folders.
@@russ_treadwell Hi russ, I have m3 Highland and Synology NAS, is there like a simple guide you can send me / point me to for the setup as this sounds great but im not sure how to do the synology NAS part setup....
I thought I was losing my mind... I KNEW I had seen this video but this is brand new... 2nd channel FTW, and make me think I'm crazy.
Set this up yesterday, nice to see it still works. Thanks for the video
Which Raspberry PI did you get? The original that was recommended in the video is no longer available.
@@skirenotahoe hi I used the pi zero 2w
@@robturner724 sounds great, Im keen to try this (new Tesla M3 highland driver) - I have Synology NAS also and would love to get it sending files to the NAS... can you help me / send me idiots guide type approach that I need to take?
@@CraigJones-zb2qw I'm not sure I could improve on this video and the original documentation. Chris here talks you through every step
Thanks Rob. It was more the Synology config part I was unsure about as I think Chris talks more about the windows share.
Just from cost perspective. I was looking into getting an overkill nvme drive, i bought a used intel Mac mini with 1tb of storage running a windows VM, an sd card i already had and the raspi for less than I would have spent on an ssd. But now i have a much better feature in my car! Also makes use of my UniFi AC Mesh pro I have blasting in the front yard/driveway. One-day I hope to have it sync to a NAS
Pi Zero - check. MicroSD - check. Tesla - oops.
can't take my eyes off that mic. Great video. Gonna check out that repo.
Chris, the link for the newer TeslaUSB project page in the description points to the older version.
github.com/marcone/teslausb/
This just connects to an SMB share, so anywhere you can configure an SMB Share you can setup the Pi to connect to that. Almost every OS and every NAS has the ability to create an SMB share just look it up
Super Mario Bros share, I'm confused help
Chris, if I’m not mistaken, best practice with Windows shares is still to use the Security tab (ACL/permissions), rather than the Sharing tab; am I missing something? Typically Sharing can be set to “Everyone”-yes, that’s confusing to noobs, since it doesn’t actually allow just anyone to connect/see it once proper permissions are set. I’m pretty sure NTFS permissions (Security) still trumps Sharing.
Probably not very critical as this is your data going to your NAS, but I would go with ACLs ...
Great video Chris ! question thought... How secure this is since you connected to physical USB hacking into the car is possible ?.... with remotely connected computer (which PI is) its only your trust to the developer and code you run. My guess would be this solution is not certified / approved by TESLA (yet).... You might need to do extra rules in UNIFI to drop all packets going outside your wifi so PI can only access your shared drive and no internet .... or update firewall rules on pie itself to secure it. I'd like this option to be added by TESLA since car is connected to my home wifi....
All the Pi is doing is presenting a writeable partition for the built in Sentry/Recording to write its video files to. When the Pi can see its home wifi, it takes the data written onto that partition, and copies it to a shared drive on the same wi-fi network. Once the file is copied it removes it from the local SD card. No data is being sent to the Tesla computer. For the music, it does the reverse process and puts any new music from the fileshare onto a second partition that the Tesla infotainment system reads. There really is nothing here to be ‘approved’ by Tesla since all it really is is an ‘active’ USB drive that is more sophisticated than one that has built in wi-fi connectivity
@@crispinolson2029 Yes, I understood. This is what stated in the project scope. However PI is almost fully blown up linux and once connected to front end USB port of the car it will have all options to run traces and other programs. Remember, this is how hackers got to control model S previously - you need to be connected to USB so can access the system and run your code. It will not work over WIFI or cellular. If you absolutely trust the developer - sure, go ahead (just validate the source of package and disk image to be genuine first). Personally I like the idea a lot. Just wish this functionality is available naturally from TESLA security screen. Will tweet Elon about this ;).
Oleg Zieaev the Model S USB hacks were by taking the car apart and getting access to a USB header on the MCU board. They were not achieved through the USB socket that provides power and takes a USB stick. If you really think you can hack via that route, enter the annual tesla hackathon and win yourself a car.
The share works the same on synology as on windows 10
Hi Chris,
thanks for video! Anyway the Rasberry Pi can sync with google Drive and not a computer?
seeing this video after 5 years. Does everything still apply or are there upgraded options? Thanks again for making this.
Cool Video. I set this up to work with a QNAP NAS server. It works with music, have to wait and see for the cam recordings :-)
Trying this now, did you get it to work?
Yes. But I was quickly filling up my NAS with videos I never used. It worked quite well, though I had some issues with rasp itself once in a while.
Great explanation of the project Chris! I have one question, will this add-on help saving all dashcam videos automatically vs on demand (auto, honk, manual)?
Hi Chris, you have the same GitHub projects listed twice in your description above...
This is the enhanced one: github.com/marcone/teslausb/
Are you going to update this? USB-C. Pi Zero W 2?
Thanks for the video! I typically have my Tesla parked in the driveway with sentry mode enabled. It seems that the camera is always recording, but only keeps the last hour of video unless a "sentry mode" event occurs. I'm hoping this will enable me to essentially turn my car into a surveillance camera pushing video files to my home NAS as an NVR. Should be fun! :-)
it sounds like the Pi would be off when the car is also off, did you try this out yet?
This is a great idea but what's the power drain like? Did I read somewhere that standard sentry mode consumes like 1 mile/hr, what about with a Pi running too? Is there a way to get the Pi to command a shutdown once all the files have finished copying?
Thanks for the tutorial!!!
Hi, Chris!
This is a great idea! I want to modify it to use in my MINI, which does not have the Tesla's capability of delaying the USB power shutoff after the car is turned off. (The connector power stays on for only about 30 seconds after locking the car, which probably isn't enough time to transfer files.) I figure I can add a UPS to the Pi to keep it alive while the car is not running. So, my question is: can you recommend a reliable UPS for the Pi0? Thanks!
Your best bet is to use a USB battery pack to ensure the Pi is powered all the time. See my writeup with pictures and links here: teslamotorsclub.com/tmc/posts/3975052/
Super helpful. Great video. Thank you!
You didn’t tell me who you are. :)
@@CrosstalkSolutions I guess that would help. I don’t comment often. lol. It’s Scott L….Adam’s brother.
is the pi zero powerful enough to handle the uploads? or is the a big diff in performance regarding those tasks
I've tried this a couple times, on both a PC and Mac, but the IP address seems to be on the wrong subnet? When checking the log, it keeps repeating "get_script failed, retrying" so it never completes. It never seems to connect to my 2.4Ghz network. I see WIFI_ENABLED and TESLAUSB_SETUP_STARTED. I'm able to SSH in just fine via USB. Thoughts on why it won't connect to the network? I have other Pis on the same WiFi without issue.
I saw somewhere to make sure the shared folder is all lowercase and that helped me on an older version of MacOS (10.13.6).
Cool project, maybe I'll do this as well, but does the Raspi turns off if the car is sleeping or is it always on?
Was this in the glove box that you plugged your raspberry pi into or the front compartment box?
I found it more efficient to set up a back and forward standalone rear view mirror cam. It stores video and audio 24/7 and can be viewed on it as well. The one I have is voice activated as well. My music is just Bluetooth through my phone as I play video through my mirroring module.
May the schwartz be with you! 😄
funny...he doesn't look Druish.
Might've skipped over this, but once the file is uploaded, is the file removed from the Raspberry side?
Updates? New Tesla only uses glovebox for music
Getting close. When I run the df -h I don't see the mount for my shared computer. When I run a sudo mount -t cifs //192.168.0.3/TeslaCam then I see the /mnt/archive and can touch the /mnt/archive. What may I have wrong in the config file that it's not mounting my TeslaCam folder? Also, FYI, I was attempting to change my router to the Extended router in the garage with no luck. then I remember you mention to delete the wifi_enable file and when I ran the rc.local again, it went to the correct router. I used the iwconfig to determine what SSID was being used. So much to learn
I'm running into the same problems as you are. Conf file shows everything had been set up as it should be. No error messages. But no /mnt/archive as shown in the video for TeslaCam and TeslaMusic doesn't show. I can like you manually mount them.
I am using a synolgy NAS with samba sharing enabled (also samba enabled in the setup of the Rpi W) as archive system.
Thinking about moving to rsync option. This is also described and my NAS can also function as a Rsync server. Maybe then it will mount? Did you find a solution for your /mnt problems during setup?
Is the manual mount a - one time thing - (I can get over it ;-)) or is it necessary to perform this everytime the Tesla powers down?
WORKING ANSWER: Via GitHub got in contact with Marcone ! It is working as intended. I plugged the Raspberry pi W in a USB port of my computer and then the shares got mounted. So when not plugged into an USB port of (PC /TESLA) they are not mounted and therefore not visible when ssh-ing into the pi by wifi performing an df -h.
R.M.F. Hollanders thanks for the feedback
yeahhhhh was looking exactly into this. Thanks!!1111
I setup a Tesla account on my computer. Where in that account on 9:17are you installing those two folders? I see in your address Data Storage (B:). Did you make a separate partition for those two files?
@Chris; You didn't link Marcone's repo properly... Which is awkward, because he's linking to this page now.
Thank you this helped me a lot and it was working great until the latest update from Tesla, so you know if there is anything I need to change to get it working again?
Is the Pi powered the complete time, if the Sentry Mode is active?
Following the recent M3 Dashcam & Sentry mode update, we can now view recordings inside the car..😀 could you provide an update on whether we can now purchase the pi zero (not w) as in the uk the w model is almost impossible to buy, plus at 66 I find this a whole new world.
Thanks in advance Paul
Where did you create the shared folder TeslaCam? What is your drive B:? Is it a usb drive? VHD? I created my TeslaCam folder in documents on drive C: but the PI can't seem to find it to mount it.
Any idea if it works on Mac and how to do it?
Bought, thanks for the awesome video
Instead of "just" saving it to the SD card, would it be possible to stream the video through a 4G router to a streaming service (and be able to see it live from your phone for example)?
Is there any way to add a Lightshows folder to this? Seems to me it is the only thing missing, and I'd hate to have to disconnect the PI every time I wan to load a new show.
I noticed that there are subtle difference between my setup and yours. I got the device up and running. I can ssh to it and when plugged into my windows PC, I can see the local TeslaCam folder with videos in it. It will not upload to my cifs share though. I checked the boot folder and the conf file was gone. I have uploaded it a number of times now and it keeps disappearing. I'm wondering if this is the issue. The setup log folder doesn't show any errors. Can you point me in the direction of someone that can help me troubleshoot this.
I dont see the two folders TeslaCam and TeslaMusic as per 26.36 sec of the video. Is there a different procedure for whs. Added the two folders and shared. Do I need to write the path to it? eg E:ServerFolders\TeslaCam & the other?
not working for me at all. I notice that marcone has single quotes around his share password and the config file does not. I've tried both but no joy. Pi light just stays green for 10 mins plus. Worth formatting and starting again?
late reply, but the config file is picky about passwords. likely your password contains a character that needs escaping. I found I was having the same issue and when I plugged the PI into a screen while booting it gave me a clue that the config file had an error. Changing the password resolved that.
So i'm revisiting this project after about 4 months, and I still can't seem to get it to work! I followed the steps you mentioned, and when I plug the Pi into my computer, I just get a solid green light. It's been about 20 minutes, and nothing has changed. The SD card is in there, I no longer see it showing up on my PC, and plugging it into the car does nothing. I also can't SSH into it. Any ideas?
How can i make it so the tesla is recording all the time? I want 24/7 dashcam video being recorded to the USB drive?
thanks !!! I have a question .. the Raspberry Pi w and window PC have to be connected with same wifi network to work ? In the video, you put the PC IP, 192.XXX~ , I think it is not public IP, so why I ask about this.
Yes it has to be on the same network
I have faced a problem that i have a problem which the car without carplay and Android auto. Ithink The browser in car system which can be used to get screen shared by my phone.
I need the pi and phone in the same wifi, then the pi will mirror the screen of phone to the web (may be is 192.168.xx.xx), at last i will open that ip addresse by using the browser in car system.
Do you have some ideas suggests to me?
How often should it be uploading files to the Windows share? Mine connects to Wi-Fi and I can confirm it's able to see the shares, but nothing has appeared on the server yet.
I know i'm a few years late but can you plug in a t7 1tb to the pi and use it for storage?
Please fix the following line in the video description: "Enhanced project (the one I use for this video): github.com/cimryan/teslausb" You are linking the wrong project. You should be linking to the marcone branch.
why? the marcone branch hasn't been touched for 7 months. The cimryan is updated, active and all that.
@@CrankyOldNerd 1. So it'll match what he says in the video. 2. Wrong. It is actively being updated, with a new 2.0 beta version based on Buster. Last updated three weeks ago.
Oh noooo now I have to buy a Tesla
Is there a way to use an external SSD instead of micro SD card?
Is anyone else's Model 3 not providing power to the Raspberry Pi after it's been sitting a while? If it looses power it doesn't act like a USB drive anymore. After starting the car the power won't come back to the USB and I have to hard reboot the car.
same here I stopped using this, its to unrelyable, I am using 256GBSD , I test this at home and on 10 inserts its only mapped and workd in 4 times.... rest of it all starts, it blinks, but usb never shows up.
Can it not take a 1TiB MicroSD and give you more memory space for programs and data.
Any way you can update this to upload to a cloud based server and show how to implement several known SSID's (work, home, etc) ?
Hey Chris! Are you still using this by chance? Is it still working seamlessly? Trying to decide if I want to pour the time into it or not.
did you get into it?
@@jamzempire not yet. Still waiting to see if it's worth the time.
@@adamherrmann3456 the hardest part right now is finding a raspberry pi zero. I have a raspberry pi 3b+ however i dont think it makes sense to put it in the space 🤦🏽♂️
Cool stuff Chris , but what about security :-(
Yes, biggest concern. I don't want backdoor into my Tesla.
Will this work with the new Raspberry Pi Zero 2 W ?
Could you not attach pi ups to it , and then have the ups power pi for let's say 1 hour before pi turns itself off?. Giving it plenty of time to copy files, and not needing car to be on?.
Sentry mode needs to be able to always see the USB drive. Powering down the pi would essentially turn off Sentry mode.
Do you think it would be possible to sync the videos from the RasPi to a Synology NAS rather than a PC?
See other comments, there has been success with this
I think you and Patton Oswalt should do a video together
How would you add a folder for Boombox?
You didn't link the fork correctly.
For some reason it keeps saying access denied when trying to access the shared folders. I made sure to share them and input the credentials for the user, not sure what I'm doing wrong.
Can I still access to the video footage on the car if I am not at home? Can I plug the USB cable from Raspberry PI to other laptop and able to access the USB drive TeslaCam folder?
Not unless you put a WiFi 4G bridge hotspot in the car that the Pi can connect to.
@@crispinolson2029 Why not? If the USB cable were connected to a different device, it would surface a USB drive with two partitions, just like it does to the Tesla. That other device could view the videos at will.
Tesla has changed the dashcam saving as it only saves only the last 10 minutes and then overwrites. So you do not have a dashcam of your complete drive. Tesla changed the Dashcam in a release but did not advise anyone in the release notes. Only if you read the latest manual will you find it does not store the drive anymore. So you have to go buy a Dashcam if you can find one that support a Tesla to obtain power from somewhere.
I'm fairly certain the only 10-minute recording interval relates to detected safety incidents. When those happen, Dashcam saves the last 10 minutes of driving footage (as that incident in the file structure). But I believe the entire drive is still being recorded. Or at least, I haven't seen any evidence to the contrary.
Can I use a 256 GB SD card with this setup?
Yes. I use a 512GB SD and a 1TB Flash Drive on an 8GB Pi4B.
Can't find teslaUSB folder under assets in Github :(
Hey dude, you put the wrong link in for the version you wanted to use. Both point to the cimryan version. Should be github.com/marcone/teslausb, methinks.
my pi won't stay connected to wifi, it shows up and then disappears
I've been struggling to get this to work, don't want to admit how many hours spent. Main problem was a bad usb cable.
Finally got to the point where my ssh command worked but I'm prompted for a password. From another video they said it was raspberry. That didn't work, so I'm stuck.
Anyone please help
Sill working with version 10 ? :( I have an X on my dashcam icon...
Mine is working with v10.
@@CrosstalkSolutions 2019.32.12.2 ? What sdcard that you use ?
Never mind I see it in the video... Lol What build of the teslausb do you use ?
Tried to install many times - just cannot get it to work. Using Windows 11 and Rasp Pi Zero 2 W. The program starts but doesn't connect to wi-fi or end. I've been trying for a couple of months but the Pi just shows a constant green light. Very frustrating. Anyone got any ideas?
Noted that my file ended .conf.txt and listed as a TXT file. Edited to a CONF file and now connects to wi-fi. Still not fully working yet, but a significant step forward.
will it be able to record 24h/7?
Yes, as long as Sentry mode is enabled, it will record 24/7. In order to access the 24/7 video you must enable the Samba server when editing the setupconf. You can only access the 24/7 video through the network Samba in the "RecentVideos" folder.
Anyone have any success using TeslaUSB with something like iCloud Drive or similar?
I followed this and my Tesla keeps complaing about it being too slow :/
Anyone have an idea of what happens if the music in the share is larger than the size allotment set on the Pi?
did you ever figure this out?
Dude! This is awesome stuff - Just don't use SanDisk - they are crap. I would recommend Samsung, Lexar or Kingston Pro or + versions. Updated marcone/teslausb release link: github.com/marcone/teslausb/releases
Link above is wrong. This is the right project to use: github.com/marcone/teslausb/
github.com/marcone/teslausb is the correct enhanced link. :)
i find etcher to be better than win32diskimager
Nyc bro
Reupload?
I uploaded to the EV Fever channel first.
Anybody tried this with a SSD drive? I'm already using a samsung SSD, and would like to keep it for my storage with a Pi 0 instead of an SD card.
cool but I would never install github software in a car with autopilot
Phunny Yo “github software”? Don’t you mean “software that someone wrote and posted to GitHub for me to look at, understand, and verify”? And you’d do that with anything you downloaded from the internet, right?? Especially *before* you plug it in to a car with autopilot?
J J Let me put it this way, I'd never add third party software to something that can kill me, like a car. I don't mind messing with computers, servers, network equipment and so on, but a car, nope.
This isn't "putting third party software in the car". This is merely creating an active USB drive for the Tesla to record its video to. There is no path into the Tesla MCU.
@@crispinolson2029 How can you know that? Did you read the code?
Phunny Yo, firstly, as far as the Cam recording goes the Tesla is only WRITING the video files to the USB port. It does not read from it. It does read data for music for the entertainment system from a separate partition on the USB port, but this is an entirely separate computer system from the main control unit. Oh and yes, I absolutely have seen the code in this project and have a firm understanding of how it works. The code is open source and you can see it for yourself