diff --git a/fixtures/citigoe_iv_2020_ne132e2.txt b/fixtures/citigoe_iv_2020_ne132e2.txt new file mode 100644 index 0000000..4f443f3 --- /dev/null +++ b/fixtures/citigoe_iv_2020_ne132e2.txt @@ -0,0 +1,679 @@ +name: CitigoE iV +description: Fixtures for CitigoE iV None 2020 +generation_time: '2024-12-17T08:03:25.326890+00:00' +library_version: 0.15.4 +vehicles: + - id: 0 + device_platform: MBB + system_model_id: NE13E2 + model: CitigoE iV + model_year: '2020' + trim_level: null + software_version: null + capabilities: + - id: AUTOMATION + statuses: [] + - id: DEPARTURE_TIMERS + statuses: [] + - id: MEASUREMENTS + statuses: [] + - id: PARKING_POSITION + statuses: [] + - id: STATE + statuses: [] + - id: TRIP_STATISTICS + statuses: [] + - id: VEHICLE_HEALTH_INSPECTION + statuses: [] + - id: WARNING_LIGHTS + statuses: [] + - id: VEHICLE_WAKE_UP + statuses: [] + - id: POWERPASS_TARIFFS + statuses: [] + - id: AIR_CONDITIONING_HEATING_SOURCE_ELECTRIC + statuses: [] + - id: SUBSCRIPTIONS + statuses: [] + - id: CHARGING_MQB + statuses: [] + - id: LOYALTY_PROGRAM_WORLDWIDE + statuses: [] + - id: OUTSIDE_TEMPERATURE + statuses: [] + - id: PAY_TO_PARK + statuses: [] + - id: SERVICE_PARTNER + statuses: [] + - id: CHARGING + statuses: [] + - id: MISUSE_PROTECTION + statuses: [] + - id: AIR_CONDITIONING + statuses: [] +reports: + - type: get + vehicle_id: 0 + success: true + endpoint: info + raw: >- + {"vin": "TMOCKAA0AA000000", "name": "Example Car", "workshopModeEnabled": + false, "licensePlate": "HH AA 1234", "state": "ACTIVATED", + "devicePlatform": "MBB", "specification": {"title": "\u0160koda CitigoE + iV", "manufacturingDate": "2020-08-12", "model": "CitigoE iV", + "modelYear": "2020", "body": "Hatchback", "systemCode": "UNKNOWN", + "systemModelId": "NE13E2", "engine": {"powerInKW": 61}, "gearbox": + {"type": "E1F"}}, "servicePartner": {"servicePartnerId": "DEU11111"}, + "renders": [], "compositeRenders": [{"layers": [{"url": + "https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}], "viewType": + "UNMODIFIED_EXTERIOR_SIDE"}, {"layers": [{"url": + "https://mspgwlivestorage.blob.core.windows.net/renders/decorations/ecitigo_NE_christmas_tree_v1.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}, {"url": + "https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 1}], + "modifications": {"adjustSpaceInPx": {"top": -316, "bottom": -204, "left": + -282, "right": -316}, "densityIndependentHeight": 270, "flipHorizontal": + false, "anchorTo": "LEFT"}, "viewType": "HOME"}, {"layers": [{"url": + "https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}, {"url": + "https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_charging_light_v1.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 1}], + "modifications": {"adjustSpaceInPx": {"top": -316, "bottom": -204, "left": + -282, "right": -316}, "densityIndependentHeight": 270, "flipHorizontal": + true, "anchorTo": "LEFT"}, "viewType": "CHARGING_LIGHT"}, {"layers": + [{"url": + "https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}, {"url": + "https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_charging_dark_v1.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 1}], + "modifications": {"adjustSpaceInPx": {"top": -316, "bottom": -204, "left": + -282, "right": -316}, "densityIndependentHeight": 270, "flipHorizontal": + true, "anchorTo": "LEFT"}, "viewType": "CHARGING_DARK"}, {"layers": + [{"url": + "https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}, {"url": + "https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_plugged_in_light_v1.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 1}], + "modifications": {"adjustSpaceInPx": {"top": -316, "bottom": -204, "left": + -282, "right": -316}, "densityIndependentHeight": 270, "flipHorizontal": + true, "anchorTo": "LEFT"}, "viewType": "PLUGGED_IN_LIGHT"}, {"layers": + [{"url": + "https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}, {"url": + "https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_plugged_in_dark_v1.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 1}], + "modifications": {"adjustSpaceInPx": {"top": -316, "bottom": -204, "left": + -282, "right": -316}, "densityIndependentHeight": 270, "flipHorizontal": + true, "anchorTo": "LEFT"}, "viewType": "PLUGGED_IN_DARK"}], + "capabilities": {"capabilities": [{"id": "AUTOMATION", "statuses": []}, + {"id": "DEPARTURE_TIMERS", "statuses": []}, {"id": "MEASUREMENTS", + "statuses": []}, {"id": "PARKING_POSITION", "statuses": []}, {"id": + "STATE", "statuses": []}, {"id": "TRIP_STATISTICS", "statuses": []}, + {"id": "VEHICLE_HEALTH_INSPECTION", "statuses": []}, {"id": + "WARNING_LIGHTS", "statuses": []}, {"id": "VEHICLE_WAKE_UP", "statuses": + []}, {"id": "POWERPASS_TARIFFS", "statuses": []}, {"id": + "AIR_CONDITIONING_HEATING_SOURCE_ELECTRIC", "statuses": []}, {"id": + "SUBSCRIPTIONS", "statuses": []}, {"id": "CHARGING_MQB", "statuses": []}, + {"id": "LOYALTY_PROGRAM_WORLDWIDE", "statuses": []}, {"id": + "OUTSIDE_TEMPERATURE", "statuses": []}, {"id": "PAY_TO_PARK", "statuses": + []}, {"id": "SERVICE_PARTNER", "statuses": []}, {"id": "CHARGING", + "statuses": []}, {"id": "MISUSE_PROTECTION", "statuses": []}, {"id": + "AIR_CONDITIONING", "statuses": []}]}} + url: >- + /v2/garage/vehicles/TMOCKAA0AA000000?connectivityGenerations=MOD1&connectivityGenerations=MOD2&connectivityGenerations=MOD3&connectivityGenerations=MOD4 + result: + state: ACTIVATED + specification: + body: Hatchback + engine: + power: 61 + type: null + capacity_in_liters: null + model: CitigoE iV + title: Škoda CitigoE iV + manufacturing_date: '2020-08-12' + model_year: '2020' + system_code: UNKNOWN + system_model_id: NE13E2 + battery: null + max_charging_power: null + trim_level: null + vin: TMOCKAA0AA000000 + name: Example Car + capabilities: + capabilities: + - id: AUTOMATION + statuses: [] + - id: DEPARTURE_TIMERS + statuses: [] + - id: MEASUREMENTS + statuses: [] + - id: PARKING_POSITION + statuses: [] + - id: STATE + statuses: [] + - id: TRIP_STATISTICS + statuses: [] + - id: VEHICLE_HEALTH_INSPECTION + statuses: [] + - id: WARNING_LIGHTS + statuses: [] + - id: VEHICLE_WAKE_UP + statuses: [] + - id: POWERPASS_TARIFFS + statuses: [] + - id: AIR_CONDITIONING_HEATING_SOURCE_ELECTRIC + statuses: [] + - id: SUBSCRIPTIONS + statuses: [] + - id: CHARGING_MQB + statuses: [] + - id: LOYALTY_PROGRAM_WORLDWIDE + statuses: [] + - id: OUTSIDE_TEMPERATURE + statuses: [] + - id: PAY_TO_PARK + statuses: [] + - id: SERVICE_PARTNER + statuses: [] + - id: CHARGING + statuses: [] + - id: MISUSE_PROTECTION + statuses: [] + - id: AIR_CONDITIONING + statuses: [] + renders: [] + device_platform: MBB + workshop_mode_enabled: false + composite_renders: + - layers: + - url: >- + https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png + type: REAL + order: 0 + view_point: exterior_side + view_type: UNMODIFIED_EXTERIOR_SIDE + - layers: + - url: >- + https://mspgwlivestorage.blob.core.windows.net/renders/decorations/ecitigo_NE_christmas_tree_v1.png + type: REAL + order: 0 + view_point: exterior_side + - url: >- + https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png + type: REAL + order: 1 + view_point: exterior_side + view_type: HOME + - layers: + - url: >- + https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png + type: REAL + order: 0 + view_point: exterior_side + - url: >- + https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_charging_light_v1.png + type: REAL + order: 1 + view_point: exterior_side + view_type: CHARGING_LIGHT + - layers: + - url: >- + https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png + type: REAL + order: 0 + view_point: exterior_side + - url: >- + https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_charging_dark_v1.png + type: REAL + order: 1 + view_point: exterior_side + view_type: CHARGING_DARK + - layers: + - url: >- + https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png + type: REAL + order: 0 + view_point: exterior_side + - url: >- + https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_plugged_in_light_v1.png + type: REAL + order: 1 + view_point: exterior_side + view_type: PLUGGED_IN_LIGHT + - layers: + - url: >- + https://skodavinimagecache.blob.core.windows.net/cachene1s20201108/K5K5JEQw9XU4BZDN5kz.yurmOn-JIBLNPFSD-19201080dayvext_side1080.png + type: REAL + order: 0 + view_point: exterior_side + - url: >- + https://mspgwlivestorage.blob.core.windows.net/renders/cables/ecitigo_NE_cable_plugged_in_dark_v1.png + type: REAL + order: 1 + view_point: exterior_side + view_type: PLUGGED_IN_DARK + service_partner: + id: DEU11111 + software_version: null + license_plate: HH AA 1234 + errors: null + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: status + raw: >- + {"overall": {"doorsLocked": "YES", "locked": "YES", "doors": "CLOSED", + "windows": "UNSUPPORTED", "lights": "OFF"}, "detail": {"sunroof": + "UNSUPPORTED", "trunk": "CLOSED", "bonnet": "CLOSED"}, "renders": + {"lightMode": {"oneX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1x&theme=LIGHT", + "oneAndHalfX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1-5x&theme=LIGHT", + "twoX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=2x&theme=LIGHT", + "threeX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=3x&theme=LIGHT"}, + "darkMode": {"oneX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1x&theme=DARK", + "oneAndHalfX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1-5x&theme=DARK", + "twoX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=2x&theme=DARK", + "threeX": + "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=3x&theme=DARK"}}, + "carCapturedTimestamp": "2024-12-17T07:53:01Z"} + url: /v2/vehicle-status/TMOCKAA0AA000000 + result: + detail: + bonnet: CLOSED + sunroof: UNSUPPORTED + trunk: CLOSED + overall: + doors: CLOSED + doors_locked: 'YES' + lights: 'OFF' + locked: 'YES' + windows: UNSUPPORTED + renders: + light_mode: + one_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1x&theme=LIGHT + one_and_half_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1-5x&theme=LIGHT + two_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=2x&theme=LIGHT + three_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=3x&theme=LIGHT + dark_mode: + one_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1x&theme=DARK + one_and_half_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=1-5x&theme=DARK + two_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=2x&theme=DARK + three_x: >- + https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=HATCHBACK&vehicleState=1-1-1-1-0-0-0-0-0&lastModifiedAt=1733938917&dimension=3x&theme=DARK + car_captured_timestamp: '2024-12-17T07:53:01+00:00' + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: air_conditioning + raw: >- + {"state": "OFF", "runningRequests": [], "targetTemperature": + {"temperatureValue": 24.0, "unitInCar": "CELSIUS"}, + "airConditioningWithoutExternalPower": true, "steeringWheelPosition": + "LEFT", "chargerConnectionState": "DISCONNECTED", "chargerLockState": + "UNLOCKED", "windowHeatingState": {"front": "OFF", "rear": "OFF", + "unspecified": "INVALID"}, "timers": [], "carCapturedTimestamp": + "2024-12-16T15:02:09Z", "outsideTemperature": {"temperatureValue": 8.5, + "temperatureUnit": "CELSIUS", "carCapturedTimestamp": + "2024-12-17T07:53:01Z"}, "errors": [{"type": + "UNAVAILABLE_VEHICLE_INFORMATION", "description": "APIs for obtaining seat + heating status are not available"}, {"type": + "UNAVAILABLE_TIMERS_INFORMATION", "description": "APIs for obtaining air + conditioning timers are not available"}]} + url: /v2/air-conditioning/TMOCKAA0AA000000 + result: + timers: [] + errors: + - type: UNAVAILABLE_VEHICLE_INFORMATION + description: APIs for obtaining seat heating status are not available + - type: UNAVAILABLE_TIMERS_INFORMATION + description: APIs for obtaining air conditioning timers are not available + state: 'OFF' + steering_wheel_position: LEFT + window_heating_state: + front: 'OFF' + rear: 'OFF' + unspecified: INVALID + car_captured_timestamp: '2024-12-16T15:02:09+00:00' + air_conditioning_at_unlock: null + charger_connection_state: DISCONNECTED + charger_lock_state: UNLOCKED + estimated_date_time_to_reach_target_temperature: null + heater_source: null + seat_heating_activated: null + target_temperature: + temperature_value: 24 + unit_in_car: CELSIUS + window_heating_enabled: null + air_conditioning_without_external_power: true + outside_temperature: + temperature_value: 8.5 + unit_in_car: CELSIUS + car_captured_timestamp: '2024-12-17T07:53:01+00:00' + error: null + - type: get + vehicle_id: 0 + success: false + endpoint: auxiliary_heating + raw: null + url: null + result: null + error: > + Traceback (most recent call last): + File "/usr/local/lib/python3.13/site-packages/myskoda/myskoda.py", line 395, in generate_fixture_report + result = await self.get_endpoint(vin, endpoint, anonymize=True) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.13/site-packages/myskoda/myskoda.py", line 440, in get_endpoint + return await method(vin, anonymize=anonymize) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 181, in get_auxiliary_heating + data=await self._make_get_request(url), + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 104, in _make_get_request + return await self._make_request(url=url, method="GET") + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.13/site-packages/myskoda/rest_api.py", line 94, in _make_request + response.raise_for_status() + ~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1157, in raise_for_status + raise ClientResponseError( + ...<5 lines>... + ) + aiohttp.client_exceptions.ClientResponseError: 500, message='Internal + Server Error', + url='https://mysmob.api.connect.skoda-auto.cz/api/v2/air-conditioning/TMOCKAA0AA000000/auxiliary-heating' + - type: get + vehicle_id: 0 + success: true + endpoint: positions + raw: >- + {"positions": [{"type": "VEHICLE", "gpsCoordinates": {"latitude": + 53.470636, "longitude": 9.689872}, "address": {"city": "Example City", + "street": "Example Avenue", "houseNumber": "15", "zipCode": "54321", + "countryCode": "DEU"}}], "errors": []} + url: /v1/maps/positions?vin=TMOCKAA0AA000000 + result: + errors: [] + positions: + - address: + country_code: DEU + zip_code: '54321' + house_number: '15' + street: Example Avenue + city: Example City + country: null + gps_coordinates: + latitude: 53.470636 + longitude: 9.689872 + type: VEHICLE + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: health + raw: >- + {"capturedAt": "2024-12-17T07:53:01Z", "mileageInKm": 25938, + "warningLights": [{"category": "ASSISTANCE", "defects": []}, {"category": + "COMFORT", "defects": []}, {"category": "BRAKE", "defects": []}, + {"category": "ENGINE", "defects": []}, {"category": "LIGHTING", "defects": + []}, {"category": "TIRE", "defects": []}, {"category": "OTHER", "defects": + []}]} + url: /v1/vehicle-health-report/warning-lights/TMOCKAA0AA000000 + result: + warning_lights: + - category: ASSISTANCE + defects: [] + - category: COMFORT + defects: [] + - category: BRAKE + defects: [] + - category: ENGINE + defects: [] + - category: LIGHTING + defects: [] + - category: TIRE + defects: [] + - category: OTHER + defects: [] + mileage_in_km: 25938 + captured_at: '2024-12-17T07:53:01+00:00' + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: charging + raw: >- + {"isVehicleInSavedLocation": false, "status": + {"remainingTimeToFullyChargedInMinutes": 65, "state": "CONNECT_CABLE", + "battery": {"remainingCruisingRangeInMeters": 114000, + "stateOfChargeInPercent": 65}}, "settings": {"availableChargeModes": [], + "maxChargeCurrentAc": "MAXIMUM"}, "carCapturedTimestamp": + "2024-12-17T04:56:43Z", "errors": [{"type": "CARE_MODE_IS_NOT_AVAILABLE", + "description": "Care mode is not available."}, {"type": + "AUTO_UNLOCK_IS_NOT_AVAILABLE", "description": "Auto unlock is not + available."}, {"type": "CHARGE_LIMIT_IS_NOT_AVAILABLE", "description": + "Charge limit is not available."}]} + url: /v1/charging/TMOCKAA0AA000000 + result: + errors: + - type: CARE_MODE_IS_NOT_AVAILABLE + description: Care mode is not available. + - type: AUTO_UNLOCK_IS_NOT_AVAILABLE + description: Auto unlock is not available. + - type: CHARGE_LIMIT_IS_NOT_AVAILABLE + description: Charge limit is not available. + settings: + available_charge_modes: [] + max_charge_current_ac: MAXIMUM + auto_unlock_plug_when_charged: null + battery_support: null + charging_care_mode: null + preferred_charge_mode: null + target_state_of_charge_in_percent: null + is_vehicle_in_saved_location: false + car_captured_timestamp: '2024-12-17T04:56:43+00:00' + status: + battery: + state_of_charge_in_percent: 65 + remaining_cruising_range_in_meters: 114000 + state: CONNECT_CABLE + charge_power_in_kw: null + charging_rate_in_kilometers_per_hour: null + charge_type: null + errors: null + remaining_time_to_fully_charged_in_minutes: 65 + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: maintenance + raw: >- + {"maintenanceReport": {"capturedAt": "2024-12-17T06:53:00Z", + "inspectionDueInDays": 608, "inspectionDueInKm": 28500, "mileageInKm": + 25938}, "preferredServicePartner": {"name": "Example Service Partner", + "brand": "C", "partnerNumber": "1111", "id": "DEU11111", "contact": + {"phone": "+49 1234 567890", "url": "https://example.com", "email": + "user@example.com"}, "address": {"city": "Example City", "street": + "Example Avenue", "houseNumber": "15", "zipCode": "54321", "countryCode": + "DEU"}, "location": {"latitude": 53.470636, "longitude": 9.689872}, + "openingHours": [{"periodStart": "MONDAY", "periodEnd": "FRIDAY", + "openingTimes": [{"from": "07:30:00", "to": "18:00:00"}]}, {"periodStart": + "SATURDAY", "periodEnd": "SUNDAY", "openingTimes": []}]}} + url: /v3/vehicle-maintenance/vehicles/TMOCKAA0AA000000 + result: + maintenance_report: + captured_at: '2024-12-17T06:53:00+00:00' + mileage_in_km: 25938 + inspection_due_in_days: 608 + inspection_due_in_km: 28500 + oil_service_due_in_days: null + oil_service_due_in_km: null + predictive_maintenance: null + preferred_service_partner: + address: + country_code: DEU + zip_code: '54321' + house_number: '15' + street: Example Avenue + city: Example City + country: null + brand: C + contact: + email: user@example.com + phone: +49 1234 567890 + url: 'https://example.com' + id: DEU11111 + location: + latitude: 53.470636 + longitude: 9.689872 + name: Example Service Partner + opening_hours: + - opening_times: + - start: '07:30:00' + end: '18:00:00' + period_end: FRIDAY + period_start: MONDAY + - opening_times: [] + period_end: SUNDAY + period_start: SATURDAY + partner_number: '1111' + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: driving_range + raw: >- + {"carType": "electric", "totalRangeInKm": 114, "primaryEngineRange": + {"engineType": "electric", "currentSoCInPercent": 65, + "remainingRangeInKm": 114}, "carCapturedTimestamp": + "2024-12-17T07:53:01Z"} + url: /v2/vehicle-status/TMOCKAA0AA000000/driving-range + result: + car_captured_timestamp: '2024-12-17T07:53:01+00:00' + car_type: electric + primary_engine_range: + engine_type: electric + current_fuel_level_in_percent: null + current_soc_in_percent: 65 + remaining_range_in_km: 114 + secondary_engine_range: null + total_range_in_km: 114 + ad_blue_range: null + error: null + - type: get + vehicle_id: 0 + success: true + endpoint: trip_statistics + raw: >- + {"overallMileageInKm": 12, "overallTravelTimeInMin": 26, + "overallAverageMileageInKm": 6, "overallAverageTravelTimeInMin": 13, + "overallAverageElectricConsumption": 16.57, "overallAverageSpeedInKmph": + 29, "vehicleType": "ELECTRIC", "detailedStatistics": [{"date": + "2024-12-16", "tripIds": ["2830980785", "2830836142"], "mileageInKm": 12, + "travelTimeInMin": 26, "averageElectricConsumption": 16.57, + "averageRecuperation": 7.23, "averageAuxConsumption": 8.23, + "averageSpeedInKmph": 29}, {"date": "2024-12-17"}, {"date": "2024-12-18"}, + {"date": "2024-12-19"}, {"date": "2024-12-20"}, {"date": "2024-12-21"}, + {"date": "2024-12-22"}]} + url: >- + /v1/trip-statistics/TMOCKAA0AA000000?offsetType=week&offset=0&timezone=Europe%2FBerlin + result: + vehicle_type: ELECTRIC + detailed_statistics: + - date: '2024-12-16' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: 29 + average_electric_consumption: 16.57 + average_recuperation: 7.23 + average_aux_consumption: 8.23 + mileage_in_km: 12 + travel_time_in_min: 26 + trip_ids: + - 2830980785 + - 2830836142 + - date: '2024-12-17' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: null + average_electric_consumption: null + average_recuperation: null + average_aux_consumption: null + mileage_in_km: null + travel_time_in_min: null + trip_ids: null + - date: '2024-12-18' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: null + average_electric_consumption: null + average_recuperation: null + average_aux_consumption: null + mileage_in_km: null + travel_time_in_min: null + trip_ids: null + - date: '2024-12-19' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: null + average_electric_consumption: null + average_recuperation: null + average_aux_consumption: null + mileage_in_km: null + travel_time_in_min: null + trip_ids: null + - date: '2024-12-20' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: null + average_electric_consumption: null + average_recuperation: null + average_aux_consumption: null + mileage_in_km: null + travel_time_in_min: null + trip_ids: null + - date: '2024-12-21' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: null + average_electric_consumption: null + average_recuperation: null + average_aux_consumption: null + mileage_in_km: null + travel_time_in_min: null + trip_ids: null + - date: '2024-12-22' + average_fuel_consumption: null + average_gas_consumption: null + average_speed_in_kmph: null + average_electric_consumption: null + average_recuperation: null + average_aux_consumption: null + mileage_in_km: null + travel_time_in_min: null + trip_ids: null + overall_average_electric_consumption: 16.57 + overall_average_fuel_consumption: null + overall_average_gas_consumption: null + overall_average_mileage_in_km: 6 + overall_average_speed_in_kmph: 29 + overall_average_travel_time_in_min: 13 + overall_mileage_in_km: 12 + overall_travel_time_in_min: 26 + error: null