marcone / teslausb

A smart USB drive for Tesla Dashcam - extended storage, auto archive, web viewer
MIT License
1.95k stars 356 forks source link

Unable to disable AP when enabled + Onedrive token issue + Keep alive issue #826

Open mews-se opened 8 months ago

mews-se commented 8 months ago

Describe the problem

After enabling the internal wifi-AP - it's not longer possible to disable it just by editing the config.

I tried enabling it on my Zero 2 W but it took to much resources. Unfortunatly the only solution was to flash and start over.

I changed to a Pi4 which handled it much better.

Regarding Rclone. No matter how many tries, the token is unable to be accepted (prob because its 4 miles long), and the only workaround seem to be to create the rclone.conf on another machine and then copying it over. A bit wonky.

Regarding the keep alive. Neither the Tesla token or sentry command works. Car keeps falling asleep. Hopefully with the RPI4 and its 5ghz connection and faster network speed this is no longer an issue

Device

Raspberry Pi Zero 2 W

OS Image

Prebuilt TeslaUSB image

Car Model

Model 3

USB connection

Glove box

Logs

No response

Additional information

No response

marcone commented 8 months ago

I tried enabling it on my Zero 2 W but it took to much resources.

What do you mean by that?

mews-se commented 8 months ago

I tried enabling it on my Zero 2 W but it took to much resources.

What do you mean by that?

The Zero W2 didnt like having the ap running and a webserver. It took to much resources - so much that it affected the normal dashcam performance. Just opening and browsing current dash events (in the car) could take up to 2 minutes

marcone commented 8 months ago

That's... unexpected. I'm using a Raspberry Pi Zero and have no problems with the AP. Having it enabled has no noticeable effect on CPU load or memory use of the Pi.

mews-se commented 8 months ago

That's... unexpected. I'm using a Raspberry Pi Zero and have no problems with the AP. Having it enabled has no noticeable effect on CPU load or memory use of the Pi.

Interesting... Oh well - the plan was a 4 from the beginning and its running like a charm with better speeds overall!

EDIT: forgot to mention that Im using the bullseye image!

Arthur-Philip-Dent commented 8 months ago

I have a RPi0W2 since 3 years working great. A significant factor I observed were good cables to connect it to the car and as well a good performing and error free Micro-SD-card. I guess, you ruled that out?

mews-se commented 8 months ago

I have a RPi0W2 since 3 years working great. A significant factor I observed were good cables to connect it to the car and as well a good performing and error free Micro-SD-card. I guess, you ruled that out?

Yes sir. Also, before activating the AP and webserver all was well (as good as a zero w can do via 4g :) )