fordpass-ha icon indicating copy to clipboard operation
fordpass-ha copied to clipboard

"ERROR (MainThread) [custom_components.fordpass] Error fetching fordpass data: Error communicating with FordPass for <MY VIN>"

Open Krolitian opened this issue 2 years ago • 4 comments

Error as title shows. This is the result of the car constantly going offline for 5 minutes at a time: Screenshot_29

Just constant areas of "unavailable" where I can't monitor or interact with the car.

Krolitian avatar Aug 10 '22 04:08 Krolitian

This is a bug with the API where it times out occasionally resulting in the sensors going unavailable to next refresh. I did try adding timeouts etc but didn't seem to help.

itchannel avatar Aug 11 '22 23:08 itchannel

Is there any way that a future release could enable a config option where if the timeout occurs, it doesn't write the "unavailable" unless two timeouts occur in a row so that the 5 min timeouts are ignored, the data looks normal, and also the remote start button won't be disabled when another API call for it to start would still work?

Like you could do ignore_consecutive_timeouts: '0' and we could put the number of timeouts we allow, where it'll show the latest successful data and if it passes the limit, it'll show as unavailable.

Krolitian avatar Aug 11 '22 23:08 Krolitian

I'm testing code at the moment that might help but too early to tell yet 👍

itchannel avatar Aug 12 '22 00:08 itchannel

Excited to see the results! Love the work you've put into this integration. My favorite use of HA so far.

Krolitian avatar Aug 12 '22 01:08 Krolitian

Closing old issue for housekeeping

Please reopen if the issue is still present :)

itchannel avatar Oct 14 '23 09:10 itchannel