Open ybizeul opened 3 years ago
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
For this other drive, no data during 2h06 :
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 ?
Came back home 15:00 yesterday, and speed is stuck at a given value :
Not sure what is causing this, but I don't think the car had been disconnected from network that long.
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 ?