audi_connect_ha icon indicating copy to clipboard operation
audi_connect_ha copied to clipboard

Audi Q4 etron

Open michaelhomeassistant opened this issue 2 years ago • 19 comments

Unfortunately, no information is currently available for the Audi Q4 etron. Is there a way to activate this.

michaelhomeassistant avatar Aug 25 '22 12:08 michaelhomeassistant

sure as soon as Audi is able to create some function on the API, right now this is just 10 times less then any e golf from year 2017..

acdcnow avatar Sep 05 '22 19:09 acdcnow

+1 - my Audi Connect app has tonnes of features now (MY2023) like mileage, lock/unlock status... but in HA I only have the model string and nothing else.

lozzd avatar Oct 31 '22 14:10 lozzd

Oh, this seems like a dupe of #130

lozzd avatar Oct 31 '22 14:10 lozzd

+1 - my Audi Connect app has tonnes of features now (MY2023) like mileage, lock/unlock status... but in HA I only have the model string and nothing else.

When did you get new information in your Audi Connect app? I just checked on our Q4 Etron, and the app is just as empty as it has been before, with VERY little information on the car itself.

Mithrox avatar Oct 31 '22 15:10 Mithrox

I picked it up 2 days ago and it's the brand new model year with all new software versions. I understand they've fixed a lot of bugs but not released the new software for the old cars yet :(

lozzd avatar Oct 31 '22 15:10 lozzd

@lozzd what's the MMI software version, out of curiosity?

slapdashengineering avatar Nov 04 '22 01:11 slapdashengineering

I also have plenty more info in the audi app. Any ideas?

atterdal avatar Nov 06 '22 15:11 atterdal

+1 only info: image

Log shows;

Unable to obtain the vehicle shortTerm tripdata of ##VIN##: 403, message='Forbidden', url=URL('https://mal-1a.prd.ece.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/##VIN##/tripdata/shortTerm?type=list&from=1970-01-01T00:00:00Z&to=2022-11-28T12:14:25Z') Unable to obtain the vehicle longTerm tripdata of ##VIN##: 403, message='Forbidden', url=URL('https://mal-1a.prd.ece.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/##VIN##/tripdata/longTerm?type=list&from=1970-01-01T00:00:00Z&to=2022-11-28T12:14:25Z')

matrover avatar Nov 28 '22 10:11 matrover

Should there not sny other sensor , switch and climate date.... I will get my one next week but the given information so far does not sound that we can see any useful details. Guess the Q4 is a special case in the audi api, as it is MEB bases from vw. My old e golf 2018 has in total 46 sensors, switch and climate settings including geo coordinate. Will be a team on Q4

acdcnow avatar Jan 08 '23 16:01 acdcnow

Q4 features suck, no remote locking via MyAudi so it's no wonder the HA integration can't trigger it. Would be nice to get charge/range/location sorted for HA but I think the Q4 API prob alot different and the integration needs alot more work for it to be useful. Schedule charge messes up the negotiation for me anyway with podPoint, as in charges at 3kw rather than 7kw, so don't use it. The climate pre heat thing is useful but have found via MyAudi app that to be flaky, sometimes doesn't turn on.

kami-kazee avatar Jan 08 '23 17:01 kami-kazee

yes the two entities are bad. We should better check and look into the selection on sensors , locks, climate contrals like it is used on the MEP ID Plattform in order to get here more details in. I moved from a E-Golf to an Q4 and it is shocking how less information can be selected out of the API.

as a starting point maybe the respo of

https://github.com/mitch-dc/volkswagen_we_connect_id

could help.

@arjenvrh or any other what do you think any change to get that but into. I would donate of course for such a work!

acdcnow avatar Jan 19 '23 08:01 acdcnow

Q4 etron MY 2023 with myaudi API 4.14 showns the below message. Just the lock and on sensor is catched with some attributes but nothing usfull.

2023-01-19 10:35:02.236 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle shortTerm tripdata of XXXXXXXXXXXXXXXXXX: 403, message='Forbidden', url=URL('https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/XXXXXXXXXXXXXXXXXX/tripdata/shortTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-01-19T11:05:01Z') 2023-01-19 10:35:02.338 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle longTerm tripdata of XXXXXXXXXXXXXXXXXX: 403, message='Forbidden', url=URL('https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/XXXXXXXXXXXXXXXXXX/tripdata/longTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-01-19T11:05:02Z') 2023-01-19 10:35:02.426 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle shortTerm tripdata of XXXXXXXXXXXXXXXXXX: 403, message='Forbidden', url=URL('https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/XXXXXXXXXXXXXXXXXX/tripdata/shortTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-01-19T11:05:02Z') 2023-01-19 10:35:02.527 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle longTerm tripdata of XXXXXXXXXXXXXXXXXX: 403, message='Forbidden', url=URL('https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/XXXXXXXXXXXXXXXXXX/tripdata/longTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-01-19T11:05:02Z') 2023-01-19 10:42:02.270 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] support_status_report set to False: 502 2023-01-19 10:42:02.566 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle shortTerm tripdata of XXXXXXXXXXXXXXXXXX: 403, message='Forbidden', url=URL('https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/XXXXXXXXXXXXXXXXXX/tripdata/shortTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-01-19T11:12:02Z') 2023-01-19 10:42:02.668 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle longTerm tripdata of XXXXXXXXXXXXXXXXXX: 403, message='Forbidden', url=URL('https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/tripstatistics/v1/vehicles/XXXXXXXXXXXXXXXXXX/tripdata/longTerm?type=list&from=1970-01-01T00:00:00Z&to=2023-01-19T11:12:02Z') 2023-01-19 10:42:02.760 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] support_position set to False: 502 2023-01-19 10:42:02.861 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] support_climater set to False: 403 2023-01-19 10:42:02.963 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] support_charger set to False: 403 2023-01-19 10:42:03.057 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] support_preheater set to False: 502

acdcnow avatar Jan 19 '23 09:01 acdcnow

@arjenvrh or any other what do you think any change to get that but into. I would donate of course for such a work!

I would also be happy to contribute to see the new APIs developed in to this HA plugin so my Q4 works :)

lozzd avatar Jan 19 '23 10:01 lozzd

I used right now the a 3rd party application is order to catch some data from Audi API.

The 3rd party application that I use is Tronity. I used that with a red-node flow to get some data into home assistant, but that more a bad workaround for the missing functions so far...

https://community.home-assistant.io/t/use-tronity-api-to-extract-car-data-into-sensors-using-node-red/362405

image

image

image

acdcnow avatar Jan 31 '23 15:01 acdcnow

@acdcnow may I ask how you did that first panel ? And are you able to control the charge on/off using this interface?

karliwalti avatar Jul 04 '23 19:07 karliwalti

👍 for tronity for Q4 etron users (at least with older software). Its not perfect and not clear how long a free api subscription will last but I get charge level, range, charging state which is what I really wanted. https://github.com/tronity/homeassistant

@karliwalti

And are you able to control the charge on/off using this interface?

as far as I know its read only. I control my home charger directly (pod point integration) so I get around it that way.

BobC76 avatar Aug 02 '23 19:08 BobC76

This issue is stale because it has been open for 60 days with no activity. Are you still experiencing this issue?

github-actions[bot] avatar Mar 14 '24 02:03 github-actions[bot]

With the updates made to use the new API, the Q4 finally has data which is great. However, it's generic things that apply to all cars - e.g. no EV specifics like state of charge. That'd be an amazing addition.

lozzd avatar Mar 30 '24 09:03 lozzd

Oh, I just noticed issue #207 has way more activity and fixes. I guess this should be closed in favour of that one

lozzd avatar Mar 30 '24 09:03 lozzd

marking duplicate (even though this was opened first?) and closing. #207 is more active and has more info.

coreywillwhat avatar Apr 08 '24 20:04 coreywillwhat