davidgiga1993 / audiapi Goto Github PK
View Code? Open in Web Editor NEWAudi MMI Api
Audi MMI Api
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'}
Hello,
I am struggling with the VehicleStatusReportService calls.
This is what I tried:
car_service = CarService(api)
vehicles_response = car_service.get_vehicles()
for vehicle in vehicles_response.vehicles:
print(str(vehicle))
mycar = vehicle
info_service = VehicleStatusReportService(api, mycar)
stored_data = info_service.get_stored_vehicle_data()
print(str(stored_data))
… but that just returns
<audiapi.model.VehicleDataResponse.VehicleDataResponse object at 0x0000028878A92DD8>
Can anyone show an example how to properly request Status data, e.g. range? I was able to use the RemoteTripStatisticsService but can't get the car status report to work.
Best regards and many thanks
Volker
As of a few days ago, I see this message:
Exception: API error: invalid_request
Backend Failure
Is this no longer functional?
Would be nice to get better battery service support as e.g. snaptec/openWB@4ae39a0 is already using this repo.
I'd volunteer for testing!
Hi David
Thanks for the great library. I was wondering where you got the information on the API to develop this library. I would like to extend it with locking/unlocking, but I'm having a hard time finding out the correct rest calls. Reverse engineering the myaudi calls with mitmproxy unfortunately was no success.
Regards
Arjen
Hi,
Does Audi have any API documentation available? Or were did you get this info?
Best regards,
Christian
For my EV charger andig/evcc I'm polling the API to read battery charge state. It seems that- if polling regularly (5min interval), the API will only return rounded values, i.e. charge state will appear as 20, 25, 30, 35 etc...
Can anyone confirm this observation?
Hey,
I tried to install the audiapi via pip and pip3, but it didn't work. Can someone help me?
Here are the error messages:
sudo pip install audiapi
Downloading/unpacking audiapi
Downloading audiapi-1.0.1.tar.gz
Running setup.py (path:/tmp/pip-build-OTJ080/audiapi/setup.py) egg_info for package audiapi
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
Installing collected packages: audiapi
Running setup.py install for audiapi
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
File "/usr/local/lib/python2.7/dist-packages/audiapi/Services.py", line 12
class Service(metaclass=ABCMeta):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/audiapi/API.py", line 40
def use_token(self, token: Token):
^
SyntaxError: invalid syntax
File "/usr/local/lib/python2.7/dist-packages/audiapi/model/ClimaRequest.py", line 15
def __init__(self, source: str):
^
SyntaxError: invalid syntax
Successfully installed audiapi
Cleaning up...
and
sudo pip3 install audiapi
Downloading/unpacking audiapi
Downloading audiapi-1.0.1-py3-none-any.whl
Installing collected packages: audiapi
*** Error compiling '/tmp/pip-build-nda64r48/audiapi/audiapi/Services.py'...
File "/tmp/pip-build-nda64r48/audiapi/audiapi/Services.py", line 65
return super().url(part, **format_data, vin=self._vehicle.vin)
^
SyntaxError: invalid syntax
Successfully installed audiapi
Cleaning up...
It says, that its installed successfully, but I cant use the api.
I am interested in using this library to integrate my Audi car with Home Assistant. Home Assistant requires any dependencies to be available on PyPI. Would you mind publishing there? I am happy to publish it if you don't mind. Thanks.
After receiving
Konto gesperrt wegen Überschreitung fehlerhafter Logins
errors for some time I've noticed that- when logging into my.audi.com- that the signin flow now uses https://identity.vwgroup.io/signin-service/v1. Can anyone confirm if the app is doing the same and help reworking the login?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.