Audi MMI support

Yup. I had removed the integration a while ago - no audi related entities available.
I didn’t remove the audiconnect folder/files in custom_components though.
I did today after trying to reinstall via HACS when I got the above message.

I then removed the entire audiconnect folder, restarted HA, Manually installed the audiconnect folder, and restarted. Same problem. I apparently have some other place where the credentials are stored, but I don’t know where that is (yet!)

Thanks, moved back to audi_connect_ha yesterday and everything was working. This morning I updated both HA Core and HA OS and now it refuse to start. Seem to be a problem with the end-point again but not sure… Could be my system only with something wrong as this was the first OS-reboot. Did the API change again or is it just for me?

File "/config/custom_components/audiconnect/audi_services.py", line 283, in get_vehicle_information
    raise Exception("Invalid json in get_vehicle_information")
Exception: Invalid json in get_vehicle_information

EDIT: OK, seem to have been a glitch in the connection. Now it works.

I have a Q4 etron and the audiconnect integration works

1 Like

Cool, do you also see remaining charge left/remaining km left ? Stuff like that? Or to stop/start charging ?

Hey, is the climate control still working on your Q4?
I will receive my car tomorrow, but seems according to GitHub, climate control and maybe other actions are failing?

Just updated to 1.10.1 and few observations:

  • Car name changed to be aligned with car model, so old car device remains in HA and in ‘udeletable’
  • Model of car improperly recognized; I have 2017 Q5, but it is reported as 2017 RS Q3 Sportback (so all the sensors follow this name). As old device cannot be deleted, renaming all of the entities to names I use in dashboard and automations was a bit time consuming (first all old needed to be renamed too). It is bit strange, as previously car name was aligned with name given in My Audi.
  • Oil level sensor is missing/unavailable.
  • Car seems to be reported as hybrid, so several new meaningless sensors were created (like primary engine, range hybrid range etc.).
  • there is new sensor created for adblue range, which seems suspicious; even Audi app can only sense if range is above or below 2400km, integration provides specific ramge, which is absurdly high (32000 km).

Despite these small annoyances everything seems to work fine for me and important is that all errors that were flooding logfile with previous version are now gone :slight_smile:

Hello
Can someone direct me how to install this dashboard?
https://github.com/audiconnect/audi_connect_ha

Audi connect up and running, but the dashboard itself is hard to setup.
I cant setup the physical layout of the buttons etc.
Trying different things and just doesn’t work.

Thanks in advance

I can give you the code from my card, yes, it’s a bit fiddly but it works.

grafik

1 Like
type: picture-elements
elements:
  - type: icon
    icon: mdi:car-door
    entity: binary_sensor.audi_s4_avant_doors_lock
    tap_action: more_info
    style:
      left: 10%
      top: 86%
  - type: state-label
    entity: binary_sensor.audi_s4_avant_doors_lock
    style:
      left: 10%
      top: 95%
  - type: icon
    icon: hass:window-closed
    entity: binary_sensor.audi_s4_avant_windows
    tap_action: more_info
    style:
      left: 50%
      top: 86%
  - type: state-label
    entity: binary_sensor.audi_s4_avant_windows
    style:
      left: 50%
      top: 95%
  - type: icon
    icon: mdi:gas-station
    entity: sensor.audi_s4_avant_tank_level
    tap_action: more_info
    style:
      left: 9%
      top: 16%
  - type: state-label
    entity: sensor.audi_s4_avant_tank_level
    style:
      left: 10%
      top: 25%
  - type: state-label
    entity: sensor.audi_s4_avant_range
    style:
      left: 10%
      top: 30%
  - type: state-icon
    entity: binary_sensor.audi_s4_avant_sun_roof
    tap_action: more_info
    style:
      left: 30%
      top: 86%
  - type: state-label
    entity: binary_sensor.audi_s4_avant_sun_roof
    style:
      left: 30%
      top: 95%
  - type: icon
    icon: mdi:oil
    entity: sensor.audi_s4_avant_oil_level
    tap_action: more_info
    style:
      left: 90%
      top: 84%
  - type: state-label
    entity: binary_sensor.audi_s4_avant_oil_level_binary
    style:
      left: 90%
      top: 90%
  - type: state-label
    entity: sensor.audi_s4_avant_oil_change_time
    style:
      left: 90%
      top: 95%
  - type: icon
    icon: mdi:wrench
    entity: sensor.audi_s4_avant_service_inspection_time
    tap_action: more_info
    style:
      left: 70%
      top: 86%
  - type: state-label
    entity: sensor.audi_s4_avant_service_inspection_time
    style:
      left: 70%
      top: 95%
  - type: icon
    icon: mdi:speedometer
    entity: sensor.audi_s4_avant_mileage
    tap_action: more_info
    style:
      left: 90%
      top: 16%
  - type: state-label
    entity: sensor.audi_s4_avant_mileage
    style:
      left: 90%
      top: 25%
image: /local/s4.PNG
dark_mode_image: /local/s4_dark.PNG

type or paste code here

Since few days integration stopped to work for me with only one error in the log:

2024-10-03 09:20:39.976 WARNING (MainThread) [custom_components.audiconnect.audi_account] Failed refresh cloud data

Any ide what might be wrong? I have no isues to connect from mobile app and nothing changed in terms of security/credentials on my side…

Hi
you have to logoff in the myAudi App und login again, on login there are new terms and conditions to be accepted

Armin

I tried this, also reloading integration afterwards oand restrating HA, but no change…
Or rather change is that this error is gone, but all entities are unavailable :frowning: No other error, only warning that integration was not tested with… standard.

hmm, worked for me earlier this week, but I didn’t check if the entities became available again immediately. Anything in the logs after switching on debug for the integration?

Armin

Well, this is really weird… From logs it looks that now data is being refreshed:

2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect] Audi Connect starting...
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect] User option for CONF_SCAN_INTERVAL is 0:15:00
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect] User option for CONF_SCAN_INITIAL is True.
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect] User option for CONF_SCAN_ACTIVE is True.
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect] ACTIVE POLLING: Scheduling cloud data refresh every 15 minutes.
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect] Requesting initial cloud data update...
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect.audi_account] Starting refresh cloud data...
2024-10-03 15:18:33.263 DEBUG (MainThread) [custom_components.audiconnect.audi_services] LOGIN: Starting login to Audi service...
2024-10-03 15:18:38.816 DEBUG (MainThread) [custom_components.audiconnect.audi_services] Vehicle data returned for VIN: *************0292: {'access': {'accessStatus': {'value': {'overallStatus': 'safe', 'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc), 'doors': [{'name': 'bonnet', 'status': ['closed']}, {'name': 'frontLeft', 'status': ['locked', 'closed']}, {'name': 'frontRight', 'status': ['locked', 'closed']}, {'name': 'rearLeft', 'status': ['locked', 'closed']}, {'name': 'rearRight', 'status': ['locked', 'closed']}, {'name': 'trunk', 'status': ['locked', 'closed']}], 'windows': [{'name': 'frontLeft', 'status': ['closed']}, {'name': 'frontRight', 'status': ['closed']}, {'name': 'rearLeft', 'status': ['closed']}, {'name': 'rearRight', 'status': ['closed']}, {'name': 'roofCover', 'status': ['unsupported']}, {'name': 'sunRoof', 'status': ['unsupported']}], 'doorLockStatus': 'locked'}}}, 'fuelStatus': {'rangeStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc), 'carType': 'diesel', 'primaryEngine': {'type': 'diesel', 'currentSOC_pct': 62, 'remainingRange_km': 520, 'currentFuelLevel_pct': 62}, 'totalRange_km': 520}}}, 'measurements': {'rangeStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc), 'adBlueRange': 32767, 'dieselRange': 520, 'totalRange_km': 520}}, 'odometerStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc), 'odometer': 65153}}, 'fuelLevelStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc), 'currentFuelLevel_pct': 62, 'primaryEngineType': 'diesel', 'carType': 'diesel'}}}, 'oilLevel': {'oilLevelStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 5, 26, 20, tzinfo=datetime.timezone.utc), 'value': True}}}, 'vehicleLights': {'lightsStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc), 'lights': [{'name': 'right', 'status': 'off'}, {'name': 'left', 'status': 'off'}]}}}, 'vehicleHealthInspection': {'maintenanceStatus': {'value': {'carCapturedTimestamp': datetime.datetime(2024, 10, 3, 8, 44, 56, tzinfo=datetime.timezone.utc), 'inspectionDue_days': 240, 'inspectionDue_km': 20600, 'mileage_km': 65153, 'oilServiceDue_days': 240, 'oilServiceDue_km': 20600}}}}
2024-10-03 15:18:38.816 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'TOTAL_RANGE' at location=['fuelStatus', 'rangeStatus', 'value', 'totalRange_km']
2024-10-03 15:18:38.816 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'TOTAL_RANGE' with value=520, loc=['fuelStatus', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'TANK_LEVEL_IN_PERCENTAGE' at location=['measurements', 'fuelLevelStatus', 'value', 'currentFuelLevel_pct']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'TANK_LEVEL_IN_PERCENTAGE' with value=62, loc=['measurements', 'fuelLevelStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'UTC_TIME_AND_KILOMETER_STATUS' at location=['measurements', 'odometerStatus', 'value', 'odometer']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'UTC_TIME_AND_KILOMETER_STATUS' with value=65153, loc=['measurements', 'odometerStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'MAINTENANCE_INTERVAL_TIME_TO_INSPECTION' at location=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'inspectionDue_days']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'MAINTENANCE_INTERVAL_TIME_TO_INSPECTION' with value=240, loc=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:44:56+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'MAINTENANCE_INTERVAL_DISTANCE_TO_INSPECTION' at location=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'inspectionDue_km']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'MAINTENANCE_INTERVAL_DISTANCE_TO_INSPECTION' with value=20600, loc=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:44:56+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'MAINTENANCE_INTERVAL_TIME_TO_OIL_CHANGE' at location=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'oilServiceDue_days']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'MAINTENANCE_INTERVAL_TIME_TO_OIL_CHANGE' with value=240, loc=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:44:56+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'MAINTENANCE_INTERVAL_DISTANCE_TO_OIL_CHANGE' at location=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'oilServiceDue_km']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'MAINTENANCE_INTERVAL_DISTANCE_TO_OIL_CHANGE' with value=20600, loc=['vehicleHealthInspection', 'maintenanceStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:44:56+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'OIL_LEVEL_DIPSTICKS_PERCENTAGE' at location=['oilLevel', 'oilLevelStatus', 'value', 'value']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'OIL_LEVEL_DIPSTICKS_PERCENTAGE' with value=True, loc=['oilLevel', 'oilLevelStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 05:26:20+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'ADBLUE_RANGE' at location=['measurements', 'rangeStatus', 'value', 'adBlueRange']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'ADBLUE_RANGE' with value=32767, loc=['measurements', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Searching for 'LIGHT_STATUS' at location=['vehicleLights', 'lightsStatus', 'value', 'lights']
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND FIELD: Found 'LIGHT_STATUS' with value=[{'name': 'right', 'status': 'off'}, {'name': 'left', 'status': 'off'}], loc=['vehicleLights', 'lightsStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Starting to append windows...
2024-10-03 15:18:38.817 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Timestamp captured from car: 2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Processing window: frontLeft with status: ['closed']
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Appended window field: {'textId': 'STATE_LEFT_FRONT_WINDOW', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Processing window: frontRight with status: ['closed']
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Appended window field: {'textId': 'STATE_RIGHT_FRONT_WINDOW', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Processing window: rearLeft with status: ['closed']
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Appended window field: {'textId': 'STATE_LEFT_REAR_WINDOW', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Processing window: rearRight with status: ['closed']
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Appended window field: {'textId': 'STATE_RIGHT_REAR_WINDOW', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Processing window: roofCover with status: ['unsupported']
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Skipping unsupported window or not mapped in OLDAPI_MAPPING: roofCover
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Processing window: sunRoof with status: ['unsupported']
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Skipping unsupported window or not mapped in OLDAPI_MAPPING: sunRoof
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND WINDOW: Finished appending windows
2024-10-03 15:18:38.818 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Starting to append doors...
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Timestamp captured from car: 2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Processing door: bonnet with status: ['closed']
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door lock field: {'textId': 'LOCK_STATE_HOOD', 'value': '0', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door open field: {'textId': 'OPEN_STATE_HOOD', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Processing door: frontLeft with status: ['locked', 'closed']
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door lock field: {'textId': 'LOCK_STATE_LEFT_FRONT_DOOR', 'value': '2', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door open field: {'textId': 'OPEN_STATE_LEFT_FRONT_DOOR', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Processing door: frontRight with status: ['locked', 'closed']
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door lock field: {'textId': 'LOCK_STATE_RIGHT_FRONT_DOOR', 'value': '2', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door open field: {'textId': 'OPEN_STATE_RIGHT_FRONT_DOOR', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Processing door: rearLeft with status: ['locked', 'closed']
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door lock field: {'textId': 'LOCK_STATE_LEFT_REAR_DOOR', 'value': '2', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door open field: {'textId': 'OPEN_STATE_LEFT_REAR_DOOR', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Processing door: rearRight with status: ['locked', 'closed']
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door lock field: {'textId': 'LOCK_STATE_RIGHT_REAR_DOOR', 'value': '2', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door open field: {'textId': 'OPEN_STATE_RIGHT_REAR_DOOR', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Processing door: trunk with status: ['locked', 'closed']
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door lock field: {'textId': 'LOCK_STATE_TRUNK_LID', 'value': '2', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Appended door open field: {'textId': 'OPEN_STATE_TRUNK_LID', 'value': '3', 'tsCarCaptured': datetime.datetime(2024, 10, 3, 8, 45, 1, tzinfo=datetime.timezone.utc)}
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] APPEND DOOR: Finished appending doors
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'carType' at location=['fuelStatus', 'rangeStatus', 'value', 'carType'], tsoff=-1
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Found 'carType' with value=diesel, tsoff=-1, loc=['fuelStatus', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'engineTypeFirstEngine' at location=['fuelStatus', 'rangeStatus', 'value', 'primaryEngine', 'type'], tsoff=-2
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Found 'engineTypeFirstEngine' with value=diesel, tsoff=-2, loc=['fuelStatus', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'primaryEngineRange' at location=['fuelStatus', 'rangeStatus', 'value', 'primaryEngine', 'remainingRange_km'], tsoff=-2
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Found 'primaryEngineRange' with value=520, tsoff=-2, loc=['fuelStatus', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'primaryEngineRangePercent' at location=['fuelStatus', 'rangeStatus', 'value', 'primaryEngine', 'currentSOC_pct'], tsoff=-2
2024-10-03 15:18:38.819 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Found 'primaryEngineRangePercent' with value=62, tsoff=-2, loc=['fuelStatus', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'engineTypeSecondEngine' at location=['fuelStatus', 'rangeStatus', 'value', 'secondaryEngine', 'type'], tsoff=-2
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'engineTypeSecondEngine' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'secondaryEngineRange' at location=['fuelStatus', 'rangeStatus', 'value', 'secondaryEngine', 'remainingRange_km'], tsoff=-2
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'secondaryEngineRange' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'secondaryEngineRangePercent' at location=['fuelStatus', 'rangeStatus', 'value', 'secondaryEngine', 'currentSOC_pct'], tsoff=-2
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'secondaryEngineRangePercent' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'hybridRange' at location=['fuelStatus', 'rangeStatus', 'value', 'totalRange_km'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Found 'hybridRange' with value=520, tsoff=-1, loc=['fuelStatus', 'rangeStatus', 'value', 'carCapturedTimestamp'], ts=2024-10-03 08:45:01+00:00
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'stateOfCharge' at location=['charging', 'batteryStatus', 'value', 'currentSOC_pct'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'stateOfCharge' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'chargingState' at location=['charging', 'chargingStatus', 'value', 'chargingState'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'chargingState' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'chargeMode' at location=['charging', 'chargingStatus', 'value', 'chargeMode'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'chargeMode' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'chargingPower' at location=['charging', 'chargingStatus', 'value', 'chargePower_kW'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'chargingPower' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'actualChargeRate' at location=['charging', 'chargingStatus', 'value', 'chargeRate_kmph'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'actualChargeRate' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'chargingMode' at location=['charging', 'chargingStatus', 'value', 'chargeType'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'chargingMode' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'targetstateOfCharge' at location=['charging', 'chargingSettings', 'value', 'targetSOC_pct'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'targetstateOfCharge' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'plugState' at location=['charging', 'plugStatus', 'value', 'plugConnectionState'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'plugState' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'remainingChargingTime' at location=['charging', 'chargingStatus', 'value', 'remainingChargingTimeToComplete_min'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'remainingChargingTime' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'plugLockState' at location=['charging', 'plugStatus', 'value', 'plugLockState'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'plugLockState' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'externalPower' at location=['charging', 'plugStatus', 'value', 'externalPower'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'externalPower' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'plugledColor' at location=['charging', 'plugStatus', 'value', 'ledColor'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'plugledColor' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'climatisationState' at location=['climatisation', 'auxiliaryHeatingStatus', 'value', 'climatisationState'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'climatisationState' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'climatisationState' at location=['climatisation', 'climatisationStatus', 'value', 'climatisationState'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'climatisationState' is None; not appending state.
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Searching for 'remainingClimatisationTime' at location=['climatisation', 'climatisationStatus', 'value', 'remainingClimatisationTime_min'], tsoff=-1
2024-10-03 15:18:38.820 DEBUG (MainThread) [custom_components.audiconnect.audi_models] TRY APPEND STATE: Value for 'remainingClimatisationTime' is None; not appending state.
2024-10-03 15:18:40.818 DEBUG (MainThread) [custom_components.audiconnect.audi_account] Retrieved 1 vehicle(s)
2024-10-03 15:18:40.821 DEBUG (MainThread) [custom_components.audiconnect.audi_account] Successfully refreshed cloud data

and this is matching data I see in the audi mobile app.
But at the same time there is no sensor for mileage available:


There are several entries for my car as over time integration was changing the name and these are remnants. Disabled one are obsolete, not provided is one that should be active… The same situation is for any other sensor.

Might be a good idea to open an issue in the github for the integration? That’s where I also read about being required to confirm the new terms and conditions, the developers for the integration might not monitor the old feature request anymore.

OK, got it resolved… in somehow unexpected way.
For some reason, from time to time, integration creates new set of sensors with changed name. I’m trying to clean it up if needed, but some time ago I faced problem with not being able to remove some set of sensors (and device itslef) for newly created car, that was improperly recognized as Audi Q5 NF intead of just Audi Q5. As I could not remove these sensors nor delete the car, I renamed it and letf disabled. What actually happened now, integration recognized again my car as Q5 NF and was trying to create sensors for this disabled car :open_mouth:
So soultion was to disable rently used car/sensors and re-enable the old one. This also rePreviously I was able to spot such cases easily, as in Developer Tools > States I could see new set of sensors. This time it was already there, but in disabled state, so nothing changed. Fixing rquired to rename all of the sensors to proper names (simpler then updating dashboard and automations) and I’m back in business :slight_smile: