alandtse / alandtse/tesla

Connection is good, but data is not pulled unless "force update" is pressed

Ouverte
#1,146 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
car stale triage
Langage dominant
Python
Étoiles
780
Forks
127
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Is there an existing issue for this?

- [x] I have searched both the existing open issues & recently closed issues and did not find a duplicate of this issue.

### I have read about the Fleet API and understand I may need to use it

- [x] I understand issues relating to read only commands will be auto closed if not using the Fleet API.

### Version of the Tesla component

3.25.2

### Version of the Tesla car software

v12 (2025.32.6)

### Model

Model Y LR AWD 2021

### Current Behavior

Worked like a charm for years but since a few days the data is not pulled anymore or at least the pulled information is off (like for example 15 % battery when the battery is in fact 45 % which is updated when I manually activate the "force data pull") ... the "force data pull" works perfectly (so connection/authentification is setup correct) but after restarting home assistant for example everything goes back to start (battery 15 % ...)

### Expected Behavior

The various sensors the integration provides should update regularly (660 sec is my polling intervall at the moment)

### Debug logs

```true
2025-10-02 10:30:52.830 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.224 seconds (success: True)
2025-10-02 10:30:52.830 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 0 Interval 60
2025-10-02 10:30:52.830 DEBUG (MainThread) [teslajsonpy.controller] 68393: Skipping update with state asleep. Polling: True. Last update: 677 ago. Last parked: 873 ago. Last wake up 925 ago.
2025-10-02 10:30:52.830 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.212 seconds (success: True)
2025-10-02 10:31:02.614 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:02.614 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 10 Interval 60
2025-10-02 10:31:02.614 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:02.618 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:02.618 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 10 Interval 60
2025-10-02 10:31:02.618 DEBUG (MainThread) [teslajsonpy.controller] 68393: Skipping update with state asleep. Polling: True. Last update: 687 ago. Last parked: 883 ago. Last wake up 935 ago.
2025-10-02 10:31:02.618 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:12.606 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:12.606 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 20 Interval 60
2025-10-02 10:31:12.606 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:13.006 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:13.006 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 20 Interval 60
2025-10-02 10:31:13.007 DEBUG (MainThread) [teslajsonpy.controller] 68393: Skipping update with state asleep. Polling: True. Last update: 697 ago. Last parked: 893 ago. Last wake up 945 ago.
2025-10-02 10:31:13.007 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:22.606 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:22.606 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 30 Interval 60
2025-10-02 10:31:22.606 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:22.618 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:22.619 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 30 Interval 60
2025-10-02 10:31:22.619 DEBUG (MainThread) [teslajsonpy.controller] 68393: Skipping update with state asleep. Polling: True. Last update: 707 ago. Last parked: 903 ago. Last wake up 955 ago.
2025-10-02 10:31:22.619 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:32.617 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:32.618 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 40 Interval 60
2025-10-02 10:31:32.618 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:32.618 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:32.618 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 40 Interval 60
2025-10-02 10:31:32.618 DEBUG (MainThread) [teslajsonpy.controller] 68393: Skipping update with state asleep. Polling: True. Last update: 717 ago. Last parked: 913 ago. Last wake up 965 ago.
2025-10-02 10:31:32.618 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:42.607 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:42.607 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 50 Interval 60
2025-10-02 10:31:42.607 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:42.966 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:42.967 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 50 Interval 60
2025-10-02 10:31:42.967 DEBUG (MainThread) [teslajsonpy.controller] 68393: Skipping update with state asleep. Polling: True. Last update: 727 ago. Last parked: 923 ago. Last wake up 975 ago.
2025-10-02 10:31:42.967 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.000 seconds (success: True)
2025-10-02 10:31:52.607 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2025-10-02 10:31:52.607 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 60 Interval 60
2025-10-02 10:31:52.607 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 7:05:58
2025-10-02 10:31:52.607 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/products {}
2025-10-02 10:31:52.619 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
```

### Anything else?

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.