Entity status incorrect - takes ages to update #1112
-
|
Hi all, 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. I did some reading in the Polling policy section on the wiki, it states: Polling interval is set to 660 seconds (default) It states that driving cars will be polled every 60 seconds. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 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.
You could potentially have an automation that triggers when the phone connects to the car that forces a data refresh which would allow for the default long poll? Depending if you're still using the unofficial API or the Fleet one changing the polling time could have bigger impacts (if on Fleet API you could burn through the 'free' credits quite quickly, and yeah it could stop the car being able to sleep)