Tz00
X
Also, for the Pi to connect to a Windows 7 file share, I had to have the following set before running the setup-teslausb command.
export cifs_version=2.1
export cifs_version=2.1
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.
I had the same issue and did the following to get it recognizable as a USB drive in Windows (no car yet to test).
sudo nano /boot/config.txt
Add the line:
dtoverlay=dwc2
sudo nano /etc/modules
Add the line:
dwc2
And connect the computer to the USB data port on the Pi (not the USB power port), in case that wasn't obvious.
I added a saved.txt file to the Pi USB drive on Windows, and after a reboot of the Pi, it moved the file to my file share.
#####################################################################
# SAMPLE CONFIGURATION FILE FOR TESLAUSB Pi Setup
#
# Example config file for teslausb_setup. Lines with "#" are comments/ignored.
# Remove the "#" before "export" to activate a line. Be sure to rename this file
# to "teslausb_setup_variables.conf" and place it in the "boot" folder of your
# SD card.
#
######################################################################
# Default variables for CIFS (Windows/Mac file sharing) setup
export ARCHIVE_SYSTEM=cifs
export archiveserver=myserver
export sharename=TeslaCam
export shareuser=TeslaCam
export sharepassword=sharepass
export campercent=100
# Wifi setup information
export SSID=myssid
export WIFIPASS=mypass
# If doing a headless (i.e. automatic) setup
export HEADLESS_SETUP=true
# Uncomment if setting up Pushover push notifications
export pushover_enabled=true
export pushover_user_key=myuserkey
export pushover_app_key=myappkey
# Uncomment and change if you want setup scripts to be pulled
# from a different repo than the "main" github.com/cimryan/teslausb
export REPO=jspv
# Uncomment and change if you want a different branch than master
export BRANCH=master
# Uncomment if you're using rsync/ssh for the archive.
# Note: RSYNC_ENABLE=true is going to disable the default archive server.
#
# export RSYNC_ENABLE=true
# export RSYNC_USER=<ftp username>
# export RSYNC_SERVER=<ftp IP/host>
# export RSYNC_PATH=<destination path to save in>
I'm using this from the jspv branch also. The car sees the drive and writes to it but after long periods of sentry mode, the car doesn't see the drive anymore despite the drive still being powered on. I'm also powering the rpi with the 12v but it does not appear to help. There are some threads on github about the issue but I can't seem to resolve it. I went a whole day without issue but on day two it appears to crop up again.
Has anyone just tried using the pi as a usb WiFi mass storage device rather than setting it up to upload files to a server? I’m going to try this and see if it works. I figure I can just tap into the pi through the windows rd client: Microsoft Remote Desktop by Microsoft Corporation
Microsoft Remote Desktop
A lot of ppl is reporting this but I am specifically not having this issue. I am using a battery hat on my pi and on 8.3.
But this setup shouldn't be any different from 12v power...
it's not a rumor, it's a fact. i can 100% confirm that on 5.15 12v is always on, even if sentry mode is turned off. the only question i have is whether or not it will turn itself off if you don't have anything drawing power from it - but if you leave something plugged in and turned on, it absolutely will not time itself out.
I have 5.15 but the 12V power outlet in the center console definitely gets switched off, even when my radar detector is plugged in, turned on and drawing power.
i have no idea then, because mine definitely does not...i have left the xm unit turned on and gone back to check it over an hour later and it was still on.
8.5 seems to have changed the behavior again
Really? I'll have to put in a small USB battery pack or something. It takes quite a while to upload the videos over 2.4GHz WiFi. It was nice that it would stay on for quite a while.
Now I have no idea, as I just came back out to th car after a few hours and my XM is still on. It's frustrating that there seems no rhyme or reason as to when it stays on vs when it doesn't
Anyone get this working on 19.8.5? Just got the pi zero w yesterday. Windows detects my partition both cam and music, but doesn't show up in the car. Tried both USB ports and USB hub in between. Might be a setup issue on my end, or perhaps compatibility issue with the latest update.
Which branch are you using? The main branch by cimryan hasn't been updated since sentry mode came out. Use the ones by therealmarcone or jspv instead.
Thank You. I'll rebuild it later today. I used the "one-step setup" image by rtgoodwin, but it was built off from cimryan so it's outdated like you mentioned.
This fork right? marcone/teslausb