AudiAPI
AudiAPI copied to clipboard
Current position
Thanks for the Api, nice work!
I'm trying to get the current location of my car, is that in any way supported? The CarFinderService
throws:
Exception: API error: {'errorCode': 'CF.security.9007', 'description': 'MBB Roles and Rights responded: 404 - Not Found'}
The CarFinderService
requires special permissions for your account. At least here in germany I can't get any data from it. But I guess it would be possible to get the last parked position of the car since the official app also shows these information.
@keesschollaart81 I'm able to run something like this:
cfs = CarFinderService(api,vehicle)
print(str(cfs.find()))
This will show coordinates and parking time so it is probably not "live" while moving, but the parking position as noted by @davidgiga1993 As a note i live in sweden.
Hi davidgiga1993, I have tested it but some errors like below:
Traceback (most recent call last):
File "test.py", line 46, in
and I had modified the COUNTRY from DE to CN in “/usr/local/lib/python3.5/dist-packages/audiapi/Services.py” , audiapi had been installed with “pip3 install audiapi” .
Thanks.
In the UK, I can get the car's position when it is locked but not when it is being driven
@jgardiner68 That's the expected behavior. If you don't have the valet package you can't get the realtime position of the car. Only the parking position.