Thanks for this code. Hoping to get it fully working. Here are the steps I've taken to go through the install. I've done everything thus far as root:
`Insert your SDHC card into your PC. Launch Etcher. Point it to the location of the Raspbian .zip file and flash the card. When that is completed, I ejected the card and reinserted it.
Connect the Micro USB to USB cable to the USB labeled port on the Pi Zero W
Use an SSH client to SSH to the Pi Zero W
hostname: rasbperrypi.local
username: pi
password: raspberry
When I plug it into the USB port on the PI and the front USB on the Tesla M3, I never see the icon on the touchscreen that signifies the USB drive is seen.
I haven't done any DropBox integration yet as ultimately I want to upload to my Synology NAS
i added the /command/svscanboot to the end of rc.local, it needed to be above the exit 0 line.
the file svscanboot pointed to /service in three locations, I changed all to /etc/service. I will try to install in my car later today. but it boots and drive mount appears on my mac.
Thanks for this code. Hoping to get it fully working. Here are the steps I've taken to go through the install. I've done everything thus far as root:
`Insert your SDHC card into your PC. Launch Etcher. Point it to the location of the Raspbian .zip file and flash the card. When that is completed, I ejected the card and reinserted it. Connect the Micro USB to USB cable to the USB labeled port on the Pi Zero W
Use an SSH client to SSH to the Pi Zero W
hostname: rasbperrypi.local username: pi password: raspberry
Do everything as root:
sudo su - cd /boot vi wpa_supplicant.conf
Paste this for the WiFi Setup:
country=us update_config=1 ctrl_interface=/var/run/wpa_supplicant
network={ scan_ssid=1 ssid="yourwifi" psk="yourpassword" }
reboot
SSH back into the Pi to install DaemonTools:
mkdir -p /package chmod 1755 /package cd /package
wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz tar -xpf daemontools-0.76.tar.gz rm -f daemontools-0.76.tar.gz cd admin/daemontools-0.76
ed ./src/conf-cc 1s/$/ -include errno.h/ wq package/install
apt-get install csh csh -cf '/command/svscanboot &' sed -i "1 a\csh -cf '/command/svscanboot &'" /etc/rc.local chmod +x /etc/rc.local
Install Node.js: mkdir -p /opt/node; cd /opt/node wget https://nodejs.org/dist/v10.16.0/node-v10.16.0-linux-armv6l.tar.xz tar -xvf node-v10.16.0-linux-armv6l.tar.xz chown -R root:root node-v10.16.0-linux-armv6l ln -s /opt/node/node-v10.16.0-linux-armv6l/bin/* /usr/bin/
apt-get install git git config --global user.name "Me" git config --global user.email myemail@user.com cd /home/pi git clone https://github.com/milesburton/teslacam mkdir -p /etc/service;cd /etc/service;ln -s /home/pi/teslacam/services/* . cd /home/pi/teslacam;npm install cd /home/pi/teslacam/src/remote;npm install`
When I plug it into the USB port on the PI and the front USB on the Tesla M3, I never see the icon on the touchscreen that signifies the USB drive is seen.
I haven't done any DropBox integration yet as ultimately I want to upload to my Synology NAS