audiconnect / audi_connect_ha

Adds an audi connect integration to home assistant
MIT License
232 stars 96 forks source link

Only seeing 2 entities #185

Closed mrasmith closed 7 months ago

mrasmith commented 1 year ago

I'm after installing this integration for my E-tron using HACS but I only see two entities, lock.audi_e_tron_door_lock and sensor.audi_e_tron_model. I previously had it working a couple of months ago but had disabled it temporarily for unrelated reasons. Now it doesn't seem to work anymore, is there a solution ?

moritzwiechers commented 1 year ago

Same for me here. Do we need to change an api endpoint or sth. else?

asemev commented 1 year ago

Same here...

andreapescee commented 1 year ago

me too, re-enabled after disabling it for 2 months for other reasons

mrasmith commented 1 year ago

Mine started working again!, I had to remove another user account so that there was only one (key user) and then reinstall on Home Assistant and it pulled in all entities again.

andreapescee commented 1 year ago

Mine started working again!, I had to remove another user account so that there was only one (key user) and then reinstall on Home Assistant and it pulled in all entities again.

Sorry could you explain it to me that I didn't understand well? :) Thanks

jlatvala commented 1 year ago

Same problem here. Only two entities (lock.audi_e_tron_door_lock and sensor.audi_e_tron_model).

Only one user (key user) added to the car. Didn't give S-PIN in the setup.

Audi Q4.

leopold005 commented 1 year ago

Same here - Q4 etron. I'd have expected to see at least how many miles were left in the battery or some such, but just having the lock status and the model of car is a bit pointless

hstandaert commented 1 year ago

+1 for Audi Q4.

BobC76 commented 1 year ago

+1 for Audi Q4.

I've resorted to https://github.com/tronity/homeassistant which has been able to get the data I wanted, so far, as long as the free account on tronity lasts.

Logs contain

Logger: custom_components.audiconnect.audi_connect_account
Source: custom_components/audiconnect/audi_connect_account.py:109
Integration: Audi Connect (documentation, issues)
First occurred: 15:44:33 (4 occurrences)
Last logged: 16:14:36

Unable to obtain the vehicle shortTerm tripdata of [VEHICLE_VIN]: 403, message='', url=URL('https://mal-1a.prd.ece.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/[VEHICLE_VIN]/tripdata/shortTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-07-24T16:14:33Z')

Logger: custom_components.audiconnect.audi_connect_account
Source: custom_components/audiconnect/audi_connect_account.py:116
Integration: Audi Connect (documentation, issues)
First occurred: 15:14:30 (7 occurrences)
Last logged: 15:14:31

Unable to obtain the vehicle longTerm tripdata of [VEHICLE_VIN]: 403, message='', url=URL('https://mal-1a.prd.ece.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/[VEHICLE_VIN]/tripdata/longTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-07-24T15:44:30Z')
support_position set to False: 502
support_climater set to False: 403
support_charger set to False: 403
support_preheater set to False: 502
Microclisma commented 1 year ago

Same problem today after the update. Before it wasn't even working anymore, now I only see 2 entities. I have a single account on Audi connect. Tried reinstalling the addon, but no changes

goetzpil commented 1 year ago

+1

HannesVo commented 1 year ago

+1 Audi Q4

stijn220 commented 12 months ago

+1

moritzwiechers commented 12 months ago

Hey, I created a fork with some adjustments to get some data for my q4 etron. I don't know python or home-assistant integrations. I don't know why the "old" endpoint won't work, but I found one that works in some way (different data structure) and put it in my fork. For me (located in germany) it is working and I added battery soc, milage and range. You can add it via a custom repository. Maybe some skilled python dev could use the informations to enhance it.

Kolbi commented 7 months ago

Should be fixed, please check and close the issue.