-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location update is lost during the last updates #400
Comments
Can you please provide a log?
|
It seems location was successfully updated? |
Yes, it looks like this in the log, but when I drive somewhere and park 10 kilometers away, for example, HA still says that I am at home, i.e. my car |
Can you then check the gps location in the device_tracker if it's still the home gps location or has the coordinates 10 kilometers away? |
will try, not so easy cause only with mobile |
Hi! |
log from today
|
I've lost the sensor, it's not present anymore in the integration after I deleted and re-added the HUB |
i am back to 1.6.1 as a trial and the problem has disappeared |
what have you done between 09:43 and 10:50? I wonder what happens if timestampd and parktime is None like in your example but position is set....
Yeah some would now happen if you upgrade to v1.6.3 again I guess. Both versions seem to have the same bug but starting Home-Assistant new should help to get self.support_position to True again until the next failure. I found a bug and corrected it immediately and pushed v1.6.4 - it could be related to your issue. Because we stopped position update by accident if climater support is not possible: #403 |
I found the confirmation in your logs:
Exactly what I though climater support was not available for your vehicle and disabled the position update per accident. This bug was introduced with v1.6.0 : #379 :) |
just updated, will see |
I was in the garage for service |
ok, seems like fixed for me |
Unfortunately I have to realize that it is not fixed after all, one day it worked without any problems, after that the car is permanently at home again. |
At this point I'm thinking it may be an API issue. I have also noticed GPS location doesn't always update for me either, but then other days it does work. The only thing left is to evaluate the raw data in your logs. We currently redact the GPS coordinates for obvious reasons, but i will add a PR for a commented line which will allow the user to remove the comment and display the raw data in the logs. User can then compare the raw GPS data coordinates to their expected vehicle position. If the data provided by Audi is incorrect to where the vehicle is actually positioned, this is an Audi API issue and we won't be able to address it further. See #407 PR. |
I also have some issues with the position API. My car still seems to be on the place it was yesterday. In the device_tracker the old GPS coordinates there present. Changed code that I have full log with GPS coordinate, restarted HA and now everything is alright.... sadly no log file... in the next event I try to catch the log file. And then we will see if API gives us wrong information (and after HA restart the correct one?!?) or if there is still a bug somewhere we are not aware currently. |
Added PR - next version will contain this debug method or update to master via HACS. |
try to catch infos/logs today |
Thank you @synack666 ! You don't need to provide the data to us, but please verify the GPS coordinates are accurate from the Audi API using Google maps or other map software. |
I have now looked closely for 2 days, in the app everything is ok, in HA after a restart it also works, so for one day, after that the change of location is no longer accepted, in the GEO data the position remains. |
Hi @synack666 thanks for doing some extensive testing. So the GPS coordinates returned in the logs always remained the same? and you either have active polling set to run frequently enough that it would capture the changes in your coordinates while you are out of the house, or you are running the |
what can i say, now it has been running for three days without any problems, current version is installed i have previously compared the app with ha and checked the geo with maps, long enough somewhere else so that an update should have come, door on or so has also come Should i close here? |
Today I had: POSITION: ClientResponseError with status 502 for VIN: *****************. Disabling vehicle position support. Need to try to fetch debug log later. |
i close here, it works for a couple of days without problems, thnx for support. |
Describe the bug
during the last updates the location update is not working anymore, the car is always at home
To Reproduce
Your Vehicle Details
Model: S4
Year: 2018
The text was updated successfully, but these errors were encountered: