Entity status incorrect - takes ages to update #1112
Unanswered
jkerekes99
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The problem here is that until the 660 second poll occurs and knows that the car is now driving it won't start the polling every 60 seconds, so you can end up in a situation where if timed just right it can take 11 minutes until it updates and then will update on the 12th minute (and every minute there after until you stop) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have just started using the custom integration with Home Assistant and I built a automation to notify my wife when I am leaving work and coming home.
The trigger is when the state of the destination location tracker changes to "Home",
However, when testing this, the destination location doesn't change to "Home" until 5-7 minutes into driving home.
Why doesn't the status of that entity change immediately after me pressing Home in the Tesla?
I did some reading in the Polling policy section on the wiki, it states:
Polling interval is set to 660 seconds (default)
Every minute, Teslas servers are scanned to check the online status of all cars.
If any cars are online (awake) we check what time we last did a full poll of that car.
If this was at least polling_interval (default 660) seconds ago, we will do a new, full poll of the car.
This will update the car status (locks, charge status etc) of all online (awake) cars every 11 minutes. Sleeping cars are never polled, and driving cars are polled every 60 seconds (not configureable) or polling_interval depending which one is smallest but not more often than every 10 seconds.
It states that driving cars will be polled every 60 seconds.
I started driving when leaving the office, why is it not polling every 60 seconds?
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions