ConnectedCar Binding myAudi, Volkswagen, VW ID, Skoda, Enyaq, Seat, Ford, WeCharge

In any case I will prepare a more proper release and download location within the coming days.

1 Like

Thanks a lot. The last version of the binding is working on my machine for some minutes now. So far everything as expected. If I find some issues I will inform you.

ok, this behavior is not new, it happens sometimes also in the past:

After forcing an update I get an json parsing error, so item values will not be updated.
I hope this debug information can help:

2023-12-23 20:40:42.456 [DEBUG] [ar.internal.handler.ThingBaseHandler] - WVGZZZXXXXXXXXXXX: Remote Control Service status is available

2023-12-23 20:40:42.457 [DEBUG] [ar.internal.handler.ThingBaseHandler] - WVGZZZXXXXXXXXXXX: Adding channel definition for channel general#lastUpdate

2023-12-23 20:40:42.458 [DEBUG] [ar.internal.handler.ThingBaseHandler] - WVGZZZXXXXXXXXXXX: Adding channel definition for channel control#update

2023-12-23 20:40:42.460 [DEBUG] [nectedcar.internal.api.ApiHttpClient] - WVGZZZXXXXXXXXXXX: HTTP GET https://emea.bff.cariad.digital/vehicle/v1/vehicles/WVGZZZXXXXXXXXXXX/selectivestatus?jobs=access,charging,climatisation,climatisationTimers,fuelStatus,userCapabilities,vehicleLights,vehicleHealthInspection,oilLevel,measurements

2023-12-23 20: 40: 42.849 [DEBUG] [nectedcar.internal.api.ApiHttpClient] - WVGZZZXXXXXXXXXXX: HTTP 207 Response:

{
    "access": {
        "accessStatus": {
            "value": {
                "overallStatus": "safe",
                "carCapturedTimestamp": "2023-12-23T19:36:52.444Z",
                "doors": [
                    {
                        "name": "bonnet",
                        "status": [
                            "closed"
                        ]
                    },
                    {
                        "name": "trunk",
                        "status": [
                            "closed",
                            "locked"
                        ]
                    },
                    {
                        "name": "rearRight",
                        "status": [
                            "closed",
                            "locked"
                        ]
                    },
                    {
                        "name": "rearLeft",
                        "status": [
                            "closed",
                            "locked"
                        ]
                    },
                    {
                        "name": "frontRight",
                        "status": [
                            "closed",
                            "locked"
                        ]
                    },
                    {
                        "name": "frontLeft",
                        "status": [
                            "closed",
                            "locked"
                        ]
                    }
                ],
                "windows": [
                    {
                        "name": "sunRoof",
                        "status": [
                            "unsupported"
                        ]
                    },
                    {
                        "name": "roofCover",
                        "status": [
                            "unsupported"
                        ]
                    },
                    {
                        "name": "sunRoofRear",
                        "status": [
                            "unsupported"
                        ]
                    },
                    {
                        "name": "frontLeft",
                        "status": [
                            "closed"
                        ]
                    },
                    {
                        "name": "frontRight",
                        "status": [
                            "closed"
                        ]
                    },
                    {
                        "name": "rearLeft",
                        "status": [
                            "closed"
                        ]
                    },
                    {
                        "name": "rearRight",
                        "status": [
                            "closed"
                        ]
                    }
                ],
                "doorLockStatus": "locked"
            }
        }
    },
    "userCapabilities": {
        "capabilitiesStatus": {
            "value": [
                {
                    "id": "webApp",
                    "status": [
                        1013,
                        1014,
                        2003
                    ],
                    "userDisablingAllowed": false
                },
                {
                    "id": "automation",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "batteryChargingCare",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "batteryColdWarning",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "batterySupport",
                    "userDisablingAllowed": false
                },
                {
                    "id": "charging",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "chargingProfiles",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "chargingStations",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "climatisation",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "climatisationTimers",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "cubicNetwork",
                    "userDisablingAllowed": false
                },
                {
                    "id": "dealerAppointment",
                    "status": [
                        1003,
                        1004
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "destinations",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "fuelStatus",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "ignition",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "mapUpdate",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "measurements",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "onlineSpeech",
                    "status": [
                        3004,
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "parkingBrake",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "parkingInformation",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "parkingPosition",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "personalizationOnline",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "plugAndCharge",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "poiSearch",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "privateEmergencyCall",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2033-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "readiness",
                    "userDisablingAllowed": false
                },
                {
                    "id": "roadsideAssistant",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "routing",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "state",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "trafficInformation",
                    "status": [
                        1013,
                        1014
                    ],
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "vehicleHealth",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                },
                {
                    "id": "vehicleHealthInspection",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "vehicleHealthWarnings",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "vehicleLights",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "vehicleWakeUpTrigger",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": false
                },
                {
                    "id": "webRadio",
                    "expirationDate": "2025-04-19T23:59:59Z",
                    "userDisablingAllowed": true
                }
            ]
        }
    },
    "charging": {
        "batteryStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:39:45Z",
                "currentSOC_pct": 56,
                "cruisingRangeElectric_km": 212
            }
        },
        "chargingStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:39:45Z",
                "remainingChargingTimeToComplete_min": 400,
                "chargingState": "charging",
                "chargeMode": "manual",
                "chargePower_kW": 5.5,
                "chargeRate_kmph": 27,
                "chargeType": "ac",
                "chargingSettings": "profile"
            },
            "requests": [
                {
                    "status": "successful",
                    "operation": "start",
                    "requestId": "2a94b8ae-527c-441c-a40e-31c9444f4272",
                    "vcfRequestId": "cb6a7834-4f1b-4974-a06d-abea025161a6"
                },
                {
                    "status": "successful",
                    "operation": "stop",
                    "requestId": "3916abdb-d141-4688-9c9c-4cc52c5c5041",
                    "vcfRequestId": "3d0aba52-b677-4534-ba63-d0dcaefcc5f0"
                }
            ]
        },
        "chargingSettings": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:58Z",
                "maxChargeCurrentAC": "maximum",
                "autoUnlockPlugWhenCharged": "off",
                "autoUnlockPlugWhenChargedAC": "off",
                "targetSOC_pct": 100
            }
        },
        "plugStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:37:45Z",
                "plugConnectionState": "connected",
                "plugLockState": "locked",
                "externalPower": "active",
                "ledColor": "green"
            }
        },
        "chargeMode": {
            "value": {
                "preferredChargeMode": "manual",
                "availableChargeModes": [
                    "manual",
                    "preferredChargingTimes"
                ]
            }
        }
    },
    "climatisation": {
        "climatisationSettings": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:57Z",
                "targetTemperature_C": 22,
                "targetTemperature_F": 72,
                "unitInCar": "celsius",
                "climatizationAtUnlock": true,
                "windowHeatingEnabled": true,
                "zoneFrontLeftEnabled": false,
                "zoneFrontRightEnabled": false
            }
        },
        "climatisationStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:57Z",
                "remainingClimatisationTime_min": 0,
                "climatisationState": "off"
            }
        },
        "windowHeatingStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:57Z",
                "windowHeatingStatus": [
                    {
                        "windowLocation": "front",
                        "windowHeatingState": "off"
                    },
                    {
                        "windowLocation": "rear",
                        "windowHeatingState": "off"
                    }
                ]
            }
        }
    },
    "climatisationTimers": {
        "climatisationTimersStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:53Z",
                "timeInCar": "2023-12-23T20:36:53+01:00",
                "timers": [
                    {
                        "id": 1,
                        "enabled": false,
                        "singleTimer": {
                            "startDateTime": "2023-11-28T06:40:00Z",
                            "targetDateTime": "2023-11-28T06:40:00Z"
                        }
                    },
                    {
                        "id": 2,
                        "enabled": false,
                        "singleTimer": {
                            "startDateTime": "1999-12-31T23:00:00Z",
                            "targetDateTime": "1999-12-31T23:00:00Z"
                        }
                    }
                ]
            }
        }
    },
    "fuelStatus": {
        "rangeStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:39:45Z",
                "carType": "electric",
                "primaryEngine": {
                    "type": "electric",
                    "currentSOC_pct": 56,
                    "remainingRange_km": 212
                },
                "totalRange_km": 212
            }
        }
    },
    "vehicleLights": {
        "lightsStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:52.426Z",
                "lights": [
                    {
                        "name": "right",
                        "status": "off"
                    },
                    {
                        "name": "left",
                        "status": "off"
                    }
                ]
            }
        }
    },
    "vehicleHealthInspection": {
        "maintenanceStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:52.428Z",
                "inspectionDue_days": 478,
                "mileage_km": 10329
            }
        }
    },
    "measurements": {
        "rangeStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:39:20.069Z",
                "electricRange": 212,
                "totalRange_km": 212
            }
        },
        "odometerStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:52.428Z",
                "odometer": 10329
            }
        },
        "fuelLevelStatus": {
            "value": {
                "carCapturedTimestamp": "2023-12-23T19:36:53.57Z",
                "currentSOC_pct": 56,
                "primaryEngineType": "electric",
                "carType": "electric"
            }
        }
    }
}

2023-12-23 20:40:42.855 [DEBUG] [ar.internal.handler.ThingBaseHandler] - WVGZZZXXXXXXXXXXX: Thing is now online

2023-12-23 20:40:42.856 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘connectedcar:idvehicle:05ebeb783a:WVGZZZXXXXXXXXXXX’ changed from UNKNOWN: Initializing to OFFLINE (COMMUNICATION_ERROR): Error parsing JSON

2023-12-23 20:40:42.857 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘connectedcar:idvehicle:05ebeb783a:WVGZZZXXXXXXXXXXX’ changed from OFFLINE (COMMUNICATION_ERROR): Error parsing JSON to ONLINE

Hi there,
I just installed the binding and added my ID3 to it.

But after adding the car I only get three channels that do not seem to do anything.

general_Lastupdate
control_updatevehiclestatus
status_errorstatus

Restarting the bridge or the car thing did not help.

Can anyone give me a hint on how to fix that?

Best thing is to enable as much logging as you can and look at them or share them.
In the OH console:
log:set TRACE org.openhab.binding.connectedcar
and the contents will end up in the openhab.log

I still can’t see the location channels with a WeConnect myAudi account with org.openhab.binding.connectedcar-4.0.4-SNAPSHOT-20231223-2.jar

Enabling debug only shows the following channels:

2024-01-02 13:14:28.069 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> status#vehicleLocked = ON
2024-01-02 13:14:28.071 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#hoodState = CLOSED
2024-01-02 13:14:28.073 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorFrontLeftLocked = ON
2024-01-02 13:14:28.074 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorFrontLeftState = CLOSED
2024-01-02 13:14:28.076 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorFrontRightLocked = ON
2024-01-02 13:14:28.077 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorFrontRightState = CLOSED
2024-01-02 13:14:28.079 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorRearLeftLocked = ON
2024-01-02 13:14:28.080 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorRearLeftState = CLOSED
2024-01-02 13:14:28.082 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorRearRightLocked = ON
2024-01-02 13:14:28.083 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#doorRearRightState = CLOSED
2024-01-02 13:14:28.085 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#trunkLidLocked = ON
2024-01-02 13:14:28.086 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> doors#trunkLidState = CLOSED
2024-01-02 13:14:28.088 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> windows#windowFrontLeftState = CLOSED
2024-01-02 13:14:28.089 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> windows#windowFrontRightState = CLOSED
2024-01-02 13:14:28.090 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> windows#windowRearLeftState = CLOSED
2024-01-02 13:14:28.092 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> windows#windowRearRightState = CLOSED
2024-01-02 13:14:28.093 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> windows#roofFrontCoverState = UNDEF
2024-01-02 13:14:28.094 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> windows#sunRoofCoverState = UNDEF
2024-01-02 13:14:28.096 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> range#totalRange = 386
2024-01-02 13:14:28.097 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> range#primaryRange = 386
2024-01-02 13:14:28.099 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> range#fuelPercentage = 54
2024-01-02 13:14:28.101 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> maintenance#odometer = 36858
2024-01-02 13:14:28.103 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> maintenance#distanceToInspection = 17220
2024-01-02 13:14:28.105 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> maintenance#timeToInspection = 394
2024-01-02 13:14:28.107 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> maintenance#distanceOilChange = 2253
2024-01-02 13:14:28.109 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> maintenance#intervalOilChange = 29
2024-01-02 13:14:28.111 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> maintenance#oilWarningLevel = OFF
2024-01-02 13:14:28.112 [DEBUG] [ar.internal.handler.ThingBaseHandler] - [VIN REDACTED]: updateChannel -> status#vehicleLights = OFF

Can you please post or share the logs for the API requests and responses before the update somewhere?
Watch out for the string selectivestatus and share from that line until the channel update.

I hope this is what you are after

2024-01-04 11:15:49.691 [DEBUG] [nectedcar.internal.api.ApiHttpClient] - [VIN REDACTED]: HTTP GET https://emea.bff.cariad.digital/vehicle/v1/vehicles/[VIN REDACTED]/selectivestatus?jobs=access,charging,climatisation,climatisationTimers,fuelStatus,userCapabilities,vehicleLights,vehicleHealthInspection,oilLevel,measurements
2024-01-04 11:15:49.693 [TRACE] [nectedcar.internal.api.ApiHttpClient] -   Headers:
Accept-Encoding: gzip
User-Agent: Jetty/9.4.52.v20230823
Authorization: Bearer [REDACTED]


2024-01-04 11:15:52.463 [DEBUG] [nectedcar.internal.api.ApiHttpClient] - [VIN REDACTED]: HTTP 207 Response: {"access":{"accessStatus":{"value":{"overallStatus":"safe","carCapturedTimestamp":"2024-01-04T08:21:12Z","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"}}},"userCapabilities":{"capabilitiesStatus":{"value":[{"id":"access","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"amazonMusic","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"dataPlan","expirationDate":"2120-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"dealerAppointment","expirationDate":"2031-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"destinationSync","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"emergencyCalling","expirationDate":"2031-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"fuelStatus","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"functionOnDemand","expirationDate":"2120-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"googleEarth","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"gracenote","expirationDate":"2120-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"hybridRadio","userDisablingAllowed":false},{"id":"hybridRadioRange","expirationDate":"2120-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"localHazards","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"mapUpdatePersonal","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"measurements","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"oilLevelStatus","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"onStreetParking","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"onlineCarCare","expirationDate":"2031-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"onlineSpeech","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"onlineTraffic","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"onlineTrafficPlus","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"parkingPosition","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"poiSearch","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"roadsideAssistant","expirationDate":"2031-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"state","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"theftWarning","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"trafficSigns","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"transactionHistoryAntiTheftAlert","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"transactionHistoryAntiTheftAlertDelete","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"transactionHistoryLockUnlock","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleHealthCampaigns","expirationDate":"2031-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleHealthInspection","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleHealthWakeUp","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleHealthWarnings","expirationDate":"2031-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleLights","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleWakeUp","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"vehicleWakeUpTrigger","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":false},{"id":"webAppPoiSearch","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"webAppWeather","expirationDate":"2024-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"webRadio","expirationDate":"2120-04-30T00:00:00Z","userDisablingAllowed":true},{"id":"wifiHotspot","userDisablingAllowed":true}]}},"fuelStatus":{"rangeStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:12Z","carType":"gasoline","primaryEngine":{"type":"gasoline","currentSOC_pct":47,"remainingRange_km":329,"currentFuelLevel_pct":47},"totalRange_km":329}}},"vehicleLights":{"lightsStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:12Z","lights":[{"name":"right","status":"off"},{"name":"left","status":"off"}]}}},"vehicleHealthInspection":{"maintenanceStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:17Z","inspectionDue_days":392,"inspectionDue_km":17220,"mileage_km":36881,"oilServiceDue_days":27,"oilServiceDue_km":2253}}},"oilLevel":{"oilLevelStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:12Z","value":true}}},"measurements":{"rangeStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:12Z","gasolineRange":329,"totalRange_km":329}},"odometerStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:12Z","odometer":36881}},"fuelLevelStatus":{"value":{"carCapturedTimestamp":"2024-01-04T08:21:12Z","currentFuelLevel_pct":47,"primaryEngineType":"gasoline","carType":"gasoline"}}}}
2024-01-04 11:15:52.464 [TRACE] [nectedcar.internal.api.ApiHttpClient] -   Headers:
Date: Thu, 04 Jan 2024 11:15:52 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 999
Connection: keep-alive
Bff-Trace-Id: [REDACTED]
Content-Encoding: gzip
Content-Security-Policy: default-src 'self'
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Dns-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block


2024-01-04 11:15:52.466 [TRACE] [ng.connectedcar.internal.api.ApiBase] - [VIN REDACTED]: createAccessToken for [VIN REDACTED]@apps_vw-dilab_com
2024-01-04 11:15:52.467 [TRACE] [ctedcar.internal.api.IdentityManager] - [VIN REDACTED]: createAccessToken for [VIN REDACTED]@apps_vw-dilab_com
2024-01-04 11:15:52.467 [TRACE] [ctedcar.internal.api.IdentityManager] - getTokenSet [REDACTED]: HTTP ClientId: f[REDACTED]@apps_vw-dilab_com API Token: [REDACTED]
2024-01-04 11:15:52.468 [TRACE] [ctedcar.internal.api.IdentityManager] - [VIN REDACTED]: token for [REDACTED]@apps_vw-dilab_com is still valid
2024-01-04 11:15:52.469 [DEBUG] [nectedcar.internal.api.ApiHttpClient] - [VIN REDACTED]: HTTP GET https://emea.bff.cariad.digital/vehicle/v1/vehicles/[VIN REDACTED]/parkingposition
2024-01-04 11:15:52.470 [TRACE] [nectedcar.internal.api.ApiHttpClient] -   Headers:
Accept-Encoding: gzip
User-Agent: Jetty/9.4.52.v20230823
Authorization: Bearer [REDACTED]


2024-01-04 11:15:54.063 [DEBUG] [nectedcar.internal.api.ApiHttpClient] - [VIN REDACTED]: HTTP 200 Response: {"data":{"lon":-2.xxxxxx,"lat":53.xxxxxx,"carCapturedTimestamp":"2024-01-04T08:21:17Z"}}
2024-01-04 11:15:54.065 [TRACE] [nectedcar.internal.api.ApiHttpClient] -   Headers:
Date: Thu, 04 Jan 2024 11:15:54 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 110
Connection: keep-alive
Bff-Trace-Id: [REDACTED]
Content-Encoding: gzip
Content-Security-Policy: default-src 'self'
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Dns-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block

Yes, and the parkingposition is correctly fetched from the API as can be seen in the log.
Do you have actually mapped the respective channels to items so they are updated?

This is the problem. Location is no longer one of the channels available to me.

These are the only channels I have:

image

Weird. I’m wondering if something could have got stuck in OH. I’ve seen some weird behavior once in a while myself which went away after reinstall or recreating the things. Not sure if that is one of those cases. If the binding fetches the information via API I don’t see a common reason why it wouldn’t create the channel.

I’m still trying to find my way through the code and do my best. Not sure if I find another reason.

Meanwhile what is your car model? Seems I possibly need to renew my Audi Connect to try to reproduce.

Thanks. Appreciate the help.

I have previously removed and reinstalled org.openhab.binding.connectedcar-4.0.4-SNAPSHOT-20231223-2.jar but I still don’t see the location channel even after deleting (and re-adding) the CarNet Thing and my vehicle itself.

When I click ‘Show Advanced’ on the channels, I do get a few more channels such as door lock status and window status but still no Location Channel.

I have an Audi A5 from 2021.

Hello,
want to share something as well. Installation of the Plugin worked fine. Had to enable the Debug-Logging thou, to find out which URL to call (bit of try’n’error), to allow the Bridge the connection to the VW-Backend. Think it helped, that I logged in to my VW-Account prior to that.

Now I have just one “issue” (?):
My Car-Item is queried every 15 Minutes as configured, I discovered that in Trace/Debug-Log-Mode.
But none of the Channels are updated after the initial query. Not even the “general_LastUpdate”-Channel.

Is this some known “feature” or a bug?

Can provide a Debug-Log from one of those follow-up-querys, but it states always “HTTP 200 Response” and stuff like:

2024-01-05 02:44:08.382 [DEBUG] [ar.internal.handler.ThingBaseHandler] - PassatGTE2021: updateChannel -> status#odometer = 62771 km

2024-01-05 02:44:08.382 [DEBUG] [ernal.api.carnet.CarNetServiceStatus] - PassatGTE2021: Unknown data field  0x0204040006.0x0204040006, value=100.0 %

2024-01-05 02:44:08.382 [DEBUG] [ar.internal.handler.ThingBaseHandler] - PassatGTE2021: updateChannel -> status#vehicleLocked = ON

(here is one Line with an unknown data field thou, don’t know if this is maybe connected
)

But there is never a Line outside Debug-Log regarding Channel-Updates (in the Events, where I should have at least the “general_lastUpdate” Channel updated).

Regards
Bopp

This is more or less exactly what I observed once. (Should be somewhere mentioned in this thread.) I added a lot of debug messages into my local build to find the issue and never did. IIRC as long as I replaced just the bundle it never worked. When I finally did a clean restart of OH (and not just stopping, replacing and starting a new bundle) the items began to update again.
This does not mean you get the same experience but with my very limited knowledge of OH and binding code I wasn’t able to find the issue because all looks quite fine in the binding code with regards to channel updates.

Hi Wolfgang,
thanks for pointing that out.
I read the threat in search of this, but missed that part in your comment.
I restart the server right away and report back, if this fixed the issue on my end as well.

So - can confirm - a Server-Reboot fixed the issue with not updating the Channels.
Didn’t have to reinstall the Binding or anything else. Just a Server-Reboot.

(But with that, I discovered another issue
 all my additional Meta-Informations (State Descriptors) I configured on many many channels on different Items have been lost with the reboot
 now let’s see if I can reproduce that as well
) :frowning:

First of all: Thanks to all the people who contributed here. Great work!
I’d like to join the club, but I’m facing problems already from the beginning.
Trying to connect to a CUPRA BORN, not successfully yet.
Running on OH 4.1 (Docker) - connected car binding 4.1 snapshot, fresh install.
Binding Installed smoothly. But the SEAT bridge gets an error message and won’t connect.

COMMUNICATION_ERROR -Initialization failed: class org.openhab.binding.connectedcar.internal.api.ApiSecurityException Consent missing. Login to the Web App and give consent: openid profile mbb cars birthdate nickname address phone email nationalIdentifier dealers badge nationality

Of course I checked the login and all the consent given in the Cupra Web Portal - everything looking good from my perspective. But the error won’t disappear. Any suggestions?
I’m not even sure if the SEAT connect is the right bridge for the CUPRA BORN. But I already tried every other VW bridge, same error. Deleting bridges & things, creating new bridges.. no success.
I’d be happy if anybody could help here!

Hi MRu,

stated this Issue a bit above :slight_smile:

In the Debug-Log you see quite some URL-Calls. I tried every URL one by one, once I had the chance to hit a confirmation-button.
At that point, after a restart of the bridge, the bridge was online.

Hope that helps :slight_smile:

Great, DEBUG helped a lot, thanks:
Consent was already granted 20-30 times on 2 websites and in the Cupra-App, but one checkbox was obviously missing: DEALER

Now login with SEAT seems to work, but the last step still fails:

COMMUNICATION_ERROR Initialization failed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 11 path $.error ( Unable to parse ‘{“error”:“invalid_grant”,“error_description”:“Unknown user b4298d24-532e-4b40-9580-e179f71bd8ce”}’)

Error occurs just right after

Login successful, granting API access
HTTP POST https://mbboauth-1d.prd.ece.vwg-connect.com/mbboauth/mobile/oauth2/v1/token

No idea left


Can confirm, same issue with my Audi A3 2022