Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Significant gap in collection #92

Open
ybizeul opened this issue Jan 3, 2021 · 2 comments
Open

Significant gap in collection #92

ybizeul opened this issue Jan 3, 2021 · 2 comments

Comments

@ybizeul
Copy link

ybizeul commented Jan 3, 2021

Not sure what is causing this, but I don't think the car had been disconnected from network that long.

screencapture-grafana-r2-lab-d-RfV-d0RWk-tesla-metrics-v2-2021-01-03-12_17_41

We have two main gaps here, at the beginning of the trip (15:00 to 16:42), and then again 17:28 - 18:04

Anybody experienced something similar ?

@lemassykoi
Copy link

Related to Tesla, not to APIScraper :

I already exeprienced a longer car disconnection from the network. Causes can be multiples : Network loss, or maintenance, or car have a temporary problem with 4G chip.

for this drive below, I had frequently this error message : API Error - Data Request Timeout
image

For this other drive, no data during 2h06 :

image

image

@ybizeul
Copy link
Author

ybizeul commented Jan 5, 2021

I'm still seeing significant gaps, making it kind of useless at this point. The app works fine and connects to the car without problems, but for some reason the api doesn't seem to be working or something else is wrong.

Now, looking at the logs, it seems to be ok and not reporting connectivity issues, so I'm wondering what the problem is :

INFO:apiscraper:Asleep since: 0 Sleeping for 16.0 seconds..
2021-01-05 07:11:55 INFO     Asleep since: 0 Sleeping for 32.0 seconds..
INFO:apiscraper:Asleep since: 0 Sleeping for 32.0 seconds..
INFO:apiscraper:Asleep since: 0 Sleeping for 64.0 seconds..
2021-01-05 07:12:30 INFO     Asleep since: 0 Sleeping for 64.0 seconds..
2021-01-05 07:13:34 INFO     >> self.connection.refresh_vehicle()
INFO:apiscraper:>> self.connection.refresh_vehicle()
INFO:apiscraper:Asleep since: 0 Sleeping for 128.0 seconds..
2021-01-05 07:13:36 INFO     Asleep since: 0 Sleeping for 128.0 seconds..
2021-01-05 07:15:44 INFO     >> self.connection.refresh_vehicle()
INFO:apiscraper:>> self.connection.refresh_vehicle()
2021-01-05 07:15:58 INFO     Too long processing loop: 14 seconds... Tesla server or DB slow?
2021-01-05 07:15:58 INFO     Asleep since: 0 Sleeping for 256.0 seconds..
INFO:apiscraper:Too long processing loop: 14 seconds... Tesla server or DB slow?
INFO:apiscraper:Asleep since: 0 Sleeping for 256.0 seconds..
2021-01-05 07:20:14 INFO     >> self.connection.refresh_vehicle()
INFO:apiscraper:>> self.connection.refresh_vehicle()
2021-01-05 07:20:17 INFO     Asleep since: 0 Sleeping for 512.0 seconds..
INFO:apiscraper:Asleep since: 0 Sleeping for 512.0 seconds..
2021-01-05 07:28:49 INFO     >> self.connection.refresh_vehicle()
INFO:apiscraper:>> self.connection.refresh_vehicle()
INFO:apiscraper:Writing Points to Influx: charge_state
2021-01-05 07:28:51 INFO     Writing Points to Influx: charge_state
2021-01-05 07:28:51 INFO     Asleep since: 0 Sleeping for 256.0 seconds..
INFO:apiscraper:Asleep since: 0 Sleeping for 256.0 seconds..
INFO:apiscraper:>> self.connection.refresh_vehicle()
2021-01-05 07:33:09 INFO     >> self.connection.refresh_vehicle()
2021-01-05 07:33:13 INFO     Asleep since: 0 Sleeping for 512.0 seconds..
INFO:apiscraper:Asleep since: 0 Sleeping for 512.0 seconds..
INFO:apiscraper:>> self.connection.refresh_vehicle()
2021-01-05 07:41:45 INFO     >> self.connection.refresh_vehicle()
2021-01-05 07:41:47 INFO     Asleep since: 0 Sleeping for 1024.0 seconds..
INFO:apiscraper:Asleep since: 0 Sleeping for 1024.0 seconds..

On closer inspection, it seems some data is retrieved, like the Power Revenue panel.

Is it possible that a speed of "0" is considered invalid and ignored in the panel ?

image

Came back home 15:00 yesterday, and speed is stuck at a given value :

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants