From 30883b95390000999b282f8a0dd46c1c9ebfdc69 Mon Sep 17 00:00:00 2001 From: Rainer Sai Date: Thu, 31 Jul 2025 12:21:34 +0300 Subject: [PATCH] update specs with charging.state_of_health --- specs/capabilities/charging.json | 54 ++++++++++++------- specs/capabilities/dashboard_lights.json | 2 +- specs/capabilities/diagnostics.json | 66 ++++++++++++------------ specs/capabilities/navi_destination.json | 6 +-- specs/capabilities/race.json | 6 +-- specs/capabilities/trips.json | 30 +++++------ specs/capabilities/usage.json | 34 ++++++------ specs/misc/custom_types.json | 8 +-- specs/misc/universal_properties.json | 8 +-- 9 files changed, 116 insertions(+), 98 deletions(-) diff --git a/specs/capabilities/charging.json b/specs/capabilities/charging.json index 6855567..2dbb1b9 100644 --- a/specs/capabilities/charging.json +++ b/specs/capabilities/charging.json @@ -207,7 +207,7 @@ { "data_component": "0701404e000000000000", "value": { - "minutes": 60 + "minutes": 60.0 }, "description": "Time to complete charge is 60.0 minutes" } @@ -301,7 +301,7 @@ { "data_component": "09004039000000000000", "value": { - "amperes": 25 + "amperes": 25.0 }, "description": "Maximum charging current is 25.0A" } @@ -449,7 +449,7 @@ "value": { "celsius": 38.4 }, - "description": "The battery temperature is 38.4°C" + "description": "The battery temperature is 38.4\u00b0C" } ] }, @@ -617,7 +617,7 @@ { "data_component": "14024062c00000000000", "value": { - "kilowatts": 150 + "kilowatts": 150.0 }, "description": "Charging rate is 150.0kW" } @@ -703,7 +703,7 @@ { "data_component": "12044081580000000000", "value": { - "kilometers": 555 + "kilometers": 555.0 }, "description": "Maximum electric range is 555.0km" } @@ -904,7 +904,7 @@ { "data_component": "0c044051800000000000", "value": { - "kilowatt_hours": 70 + "kilowatt_hours": 70.0 }, "description": "Battery capacity is 70.0kWh" } @@ -923,7 +923,7 @@ { "data_component": "1402405e000000000000", "value": { - "kilowatts": 120 + "kilowatts": 120.0 }, "description": "Auxiliary power is 120.0kW." } @@ -958,7 +958,7 @@ { "data_component": "0c044058c00000000000", "value": { - "kilowatt_hours": 99 + "kilowatt_hours": 99.0 }, "description": "Maximum available battery capacity is 99.0kWh" } @@ -1223,7 +1223,7 @@ { "data_component": "09004059000000000000", "value": { - "amperes": 100 + "amperes": 100.0 }, "description": "Charging current limit is 100.0A." } @@ -1340,7 +1340,7 @@ { "data_component": "09004014000000000000", "value": { - "amperes": 5 + "amperes": 5.0 }, "description": "Minimum charging current is 5.0A." } @@ -1359,7 +1359,7 @@ { "data_component": "12044072c00000000000", "value": { - "kilometers": 300 + "kilometers": 300.0 }, "description": "Remaining electric range target is 300.0km." } @@ -1419,7 +1419,7 @@ { "data_component": "0701405b800000000000", "value": { - "minutes": 110 + "minutes": 110.0 }, "description": "Preconditioning is completed in 110.0min." } @@ -1438,7 +1438,7 @@ { "data_component": "0a00405e000000000000", "value": { - "volts": 120 + "volts": 120.0 }, "description": "HV battery voltage is 120.0V." } @@ -1462,7 +1462,7 @@ "values": { "extreme": "highest", "temperature": { - "celsius": 85 + "celsius": 85.0 } }, "description": "Battery highest temperature is 85.0C." @@ -1694,7 +1694,7 @@ "values": { "extreme": "highest", "temperature": { - "celsius": 85 + "celsius": 85.0 } }, "description": "Battery highest temperature is 85.0C." @@ -2058,7 +2058,7 @@ { "data_component": "1402405e000000000000", "value": { - "kilowatts": 120 + "kilowatts": 120.0 }, "description": "Charger power is 120.0kW." } @@ -2093,10 +2093,10 @@ "data_component": "12044062c0000000000007023ff0000000000000", "values": { "distance": { - "kilometers": 150 + "kilometers": 150.0 }, "time": { - "hours": 1 + "hours": 1.0 } }, "description": "Range increases by 150.0km in 1.0h." @@ -2193,6 +2193,22 @@ "description": "Charging scenario is 'charging_to_departure_time_finished'." } ] + }, + { + "id": 80, + "name": "state_of_health", + "name_cased": "stateOfHealth", + "name_pretty": "State of health", + "added": 13, + "type": "types.percentage", + "description": "State of health of the high-voltage battery (can be greater than 1.0 due to production variance).", + "examples": [ + { + "data_component": "3feccccccccccccd", + "value": 0.9, + "description": "State of health of the high-voltage battery is 90%." + } + ] } ] -} +} \ No newline at end of file diff --git a/specs/capabilities/dashboard_lights.json b/specs/capabilities/dashboard_lights.json index 0e0f6ca..6077e02 100644 --- a/specs/capabilities/dashboard_lights.json +++ b/specs/capabilities/dashboard_lights.json @@ -1743,4 +1743,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/specs/capabilities/diagnostics.json b/specs/capabilities/diagnostics.json index 42f773c..ba0e234 100644 --- a/specs/capabilities/diagnostics.json +++ b/specs/capabilities/diagnostics.json @@ -31,7 +31,7 @@ { "data_component": "120441024f8000000000", "value": { - "kilometers": 150000 + "kilometers": 150000.0 }, "description": "Odometer is showing 150'000.0km" } @@ -51,7 +51,7 @@ "value": { "celsius": 99.5 }, - "description": "Engine oil temperature is 99.5°C" + "description": "Engine oil temperature is 99.5\u00b0C" } ] }, @@ -67,7 +67,7 @@ { "data_component": "1601404e000000000000", "value": { - "kilometers_per_hour": 60 + "kilometers_per_hour": 60.0 }, "description": "Vehicle speed is 60.0km/h" } @@ -85,7 +85,7 @@ { "data_component": "030040a3880000000000", "value": { - "revolutions_per_minute": 2500 + "revolutions_per_minute": 2500.0 }, "description": "Engine RPM is 2500.0" } @@ -118,7 +118,7 @@ { "data_component": "12044070900000000000", "value": { - "kilometers": 265 + "kilometers": 265.0 }, "description": "Estimated range is 256.0km" } @@ -251,9 +251,9 @@ { "data_component": "17014034000000000000", "value": { - "celsius": 20 + "celsius": 20.0 }, - "description": "Engine coolant temperature is 20°C" + "description": "Engine coolant temperature is 20\u00b0C" } ] }, @@ -291,7 +291,7 @@ { "data_component": "190240daf0c000000000", "value": { - "liters": 27587 + "liters": 27587.0 }, "description": "The engine has consumend 27'587.0 L of fuel over it's lifespan" } @@ -353,7 +353,7 @@ { "data_component": "16014050400000000000", "value": { - "kilometers_per_hour": 65 + "kilometers_per_hour": 65.0 }, "description": "Wheel based speed is 65.0km/h" } @@ -388,7 +388,7 @@ "values": { "id": 1, "remaining_time": { - "minutes": 105592 + "minutes": 105592.0 }, "text": "Check engine", "status": "Alert" @@ -495,7 +495,7 @@ "celsius": 40.1 } }, - "description": "Front left tire temperature is 40.1°C" + "description": "Front left tire temperature is 40.1\u00b0C" }, { "data_component": "011701404419999999999a", @@ -505,7 +505,7 @@ "celsius": 40.2 } }, - "description": "Front right tire temperature is 40.2°C" + "description": "Front right tire temperature is 40.2\u00b0C" }, { "data_component": "0217014044266666666666", @@ -515,7 +515,7 @@ "celsius": 40.3 } }, - "description": "Rear right tire temperature is 40.3°C" + "description": "Rear right tire temperature is 40.3\u00b0C" }, { "data_component": "0317014044333333333333", @@ -525,7 +525,7 @@ "celsius": 40.4 } }, - "description": "Rear left tire temperature is 40.4°C" + "description": "Rear left tire temperature is 40.4\u00b0C" }, { "data_component": "0417014044400000000000", @@ -535,7 +535,7 @@ "celsius": 40.5 } }, - "description": "Rear right outer tire temperature is 40.5°C" + "description": "Rear right outer tire temperature is 40.5\u00b0C" }, { "data_component": "05170140444ccccccccccd", @@ -545,7 +545,7 @@ "celsius": 40.6 } }, - "description": "Rear left outer tire temperature is 40.6°C" + "description": "Rear left outer tire temperature is 40.6\u00b0C" }, { "data_component": "0617014024666666666666", @@ -555,7 +555,7 @@ "celsius": 10.2 } }, - "description": "Spare tire temperature is 10.2°C" + "description": "Spare tire temperature is 10.2\u00b0C" } ] }, @@ -573,7 +573,7 @@ "values": { "location": "front_left", "rpm": { - "revolutions_per_minute": 737 + "revolutions_per_minute": 737.0 } }, "description": "Front left wheel is doing 737.0RPM" @@ -583,7 +583,7 @@ "values": { "location": "front_right", "rpm": { - "revolutions_per_minute": 747 + "revolutions_per_minute": 747.0 } }, "description": "Front right wheel is doing 747.0RPM" @@ -593,7 +593,7 @@ "values": { "location": "rear_right", "rpm": { - "revolutions_per_minute": 777 + "revolutions_per_minute": 777.0 } }, "description": "Rear right wheel is doing 777.0RPM" @@ -603,7 +603,7 @@ "values": { "location": "rear_left", "rpm": { - "revolutions_per_minute": 787 + "revolutions_per_minute": 787.0 } }, "description": "Rear left wheel is doing 787.0RPM" @@ -613,7 +613,7 @@ "values": { "location": "rear_right_outer", "rpm": { - "revolutions_per_minute": 797 + "revolutions_per_minute": 797.0 } }, "description": "Rear right outer wheel is doing 797.0RPM" @@ -623,7 +623,7 @@ "values": { "location": "rear_left_outer", "rpm": { - "revolutions_per_minute": 807 + "revolutions_per_minute": 807.0 } }, "description": "Rear left outer wheel is doing 807.0RPM" @@ -633,7 +633,7 @@ "values": { "location": "spare", "rpm": { - "revolutions_per_minute": 0 + "revolutions_per_minute": 0.0 } }, "description": "Spare wheel is doing 0.0RPM" @@ -689,7 +689,7 @@ { "data_component": "120441024f8800000000", "value": { - "kilometers": 150001 + "kilometers": 150001.0 }, "description": "Odometer is showing 150'001km" } @@ -708,7 +708,7 @@ { "data_component": "120440a0040000000000", "value": { - "kilometers": 2050 + "kilometers": 2050.0 }, "description": "Odometer is showing 2050.0km" } @@ -882,7 +882,7 @@ { "data_component": "120440a1720000000000", "value": { - "kilometers": 2233 + "kilometers": 2233.0 }, "description": "Diesel exhaust fluid is empty in 2233.0km" } @@ -1060,7 +1060,7 @@ { "data_component": "12044070900000000000", "value": { - "kilometers": 265 + "kilometers": 265.0 }, "description": "Estimated secondary powertrain`s range is 256.0km" } @@ -1272,7 +1272,7 @@ { "data_component": "0701402e000000000000", "value": { - "minutes": 15 + "minutes": 15.0 }, "description": "The backup battery has 15min remaining." } @@ -1370,7 +1370,7 @@ { "data_component": "0702407f500000000000", "value": { - "hours": 501 + "hours": 501.0 }, "description": "501.0 engine hours until next service" } @@ -1460,7 +1460,7 @@ { "data_component": "12044070900000000000", "value": { - "kilometers": 265 + "kilometers": 265.0 }, "description": "Estimated primary powertrain`s range is 256.0km" } @@ -1479,7 +1479,7 @@ { "data_component": "12044070900000000000", "value": { - "kilometers": 265 + "kilometers": 265.0 }, "description": "Estimated mixed powertrain range is 256.0km" } @@ -1518,4 +1518,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/specs/capabilities/navi_destination.json b/specs/capabilities/navi_destination.json index fd9f525..4a856e5 100644 --- a/specs/capabilities/navi_destination.json +++ b/specs/capabilities/navi_destination.json @@ -123,7 +123,7 @@ { "data_component": "12044094e40000000000", "value": { - "kilometers": 1337 + "kilometers": 1337.0 }, "description": "Remaining distance to destination is 1337.0km" } @@ -155,11 +155,11 @@ { "data_component": "0701404b800000000000", "value": { - "minutes": 55 + "minutes": 55.0 }, "description": "Required charging time to reach the next destination is 55.0min." } ] } ] -} +} \ No newline at end of file diff --git a/specs/capabilities/race.json b/specs/capabilities/race.json index e92b391..40e9575 100644 --- a/specs/capabilities/race.json +++ b/specs/capabilities/race.json @@ -125,7 +125,7 @@ "value": { "degrees": 10.0 }, - "description": "Steering angle is 10° to right" + "description": "Steering angle is 10\u00b0 to right" } ] }, @@ -161,7 +161,7 @@ "value": { "degrees_per_second": 6.66 }, - "description": "Yaw rate is 6.66°/s" + "description": "Yaw rate is 6.66\u00b0/s" } ] }, @@ -179,7 +179,7 @@ "value": { "degrees": 3.3 }, - "description": "Rear suspension steering is +3°" + "description": "Rear suspension steering is +3\u00b0" } ] }, diff --git a/specs/capabilities/trips.json b/specs/capabilities/trips.json index 75cace2..a8238e1 100644 --- a/specs/capabilities/trips.json +++ b/specs/capabilities/trips.json @@ -122,8 +122,8 @@ "examples": [ { "data_component": "536b616c69747a65722053747261c39f652036382c203130393937204265726c696e2c204765726d616e79", - "value": "Skalitzer Straße 68, 10997 Berlin, Germany", - "description": "Trip started from Skalitzer Straße 68, 10997 Berlin, Germany" + "value": "Skalitzer Stra\u00dfe 68, 10997 Berlin, Germany", + "description": "Trip started from Skalitzer Stra\u00dfe 68, 10997 Berlin, Germany" } ] }, @@ -138,8 +138,8 @@ "examples": [ { "data_component": "536b616c69747a65722053747261c39f652036382c203130393937204265726c696e2c204765726d616e79", - "value": "Skalitzer Straße 68, 10997 Berlin, Germany", - "description": "Trip ended at Skalitzer Straße 68, 10997 Berlin, Germany" + "value": "Skalitzer Stra\u00dfe 68, 10997 Berlin, Germany", + "description": "Trip ended at Skalitzer Stra\u00dfe 68, 10997 Berlin, Germany" } ] }, @@ -194,7 +194,7 @@ { "data_component": "120440c4820000000000", "value": { - "kilometers": 10500 + "kilometers": 10500.0 }, "description": "At the start of the trip the odometer was showing 10500.0km" } @@ -213,7 +213,7 @@ { "data_component": "120440c4978000000000", "value": { - "kilometers": 10543 + "kilometers": 10543.0 }, "description": "At the start of the trip the odometer was showing 10543.0km" } @@ -251,7 +251,7 @@ { "data_component": "12044045800000000000", "value": { - "kilometers": 43 + "kilometers": 43.0 }, "description": "Distance of trip was 43.0km" } @@ -312,9 +312,9 @@ "data_component": "050014536b616c69747a65722053747261c39f65203638", "values": { "type": "street", - "value": "Skalitzer Straße 68" + "value": "Skalitzer Stra\u00dfe 68" }, - "description": "Street component value is 'Skalitzer Straße 68'" + "description": "Street component value is 'Skalitzer Stra\u00dfe 68'" }, { "data_component": "06000b4272616e64656e62757267", @@ -389,9 +389,9 @@ "data_component": "050014536b616c69747a65722053747261c39f65203638", "values": { "type": "street", - "value": "Skalitzer Straße 68" + "value": "Skalitzer Stra\u00dfe 68" }, - "description": "Street component value is 'Skalitzer Straße 68'" + "description": "Street component value is 'Skalitzer Stra\u00dfe 68'" }, { "data_component": "06000b4272616e64656e62757267", @@ -499,7 +499,7 @@ "data_component": "000000000000000000", "values": { "type": "zero", - "value": 0 + "value": 0.0 }, "description": "Eco driving zero-threshold is set at 0.0" }, @@ -507,7 +507,7 @@ "data_component": "010000000000000000", "values": { "type": "one", - "value": 0 + "value": 0.0 }, "description": "Eco driving one-threshold is set at 0.0" } @@ -667,11 +667,11 @@ { "data_component": "0701405ec00000000000", "value": { - "hours": 123 + "minutes": 123.0 }, "description": "Duration of trip was 123.0 minutes." } ] } ] -} +} \ No newline at end of file diff --git a/specs/capabilities/usage.json b/specs/capabilities/usage.json index 45c034f..654e907 100644 --- a/specs/capabilities/usage.json +++ b/specs/capabilities/usage.json @@ -136,7 +136,7 @@ "data_component": "050000000000000000", "values": { "driving_mode": "comfort", - "period": 0 + "period": 0.0 }, "description": "Driving mode 'eco' is engaged 0% of the time" } @@ -196,7 +196,7 @@ "values": { "driving_mode": "eco_plus", "consumption": { - "kilowatt_hours": 18 + "kilowatt_hours": 18.0 } }, "description": "Driving mode 'eco_plus' consumed 18.0kWh of electric energy" @@ -265,7 +265,7 @@ { "data_component": "120440f7590000000000", "value": { - "kilometers": 95632 + "kilometers": 95632.0 }, "description": "Mileage is 95'632km after last trip" } @@ -386,7 +386,7 @@ { "data_component": "120440f7590000000000", "value": { - "kilometers": 95632 + "kilometers": 95632.0 }, "description": "Odometer is 95'632km after last trip" } @@ -472,7 +472,7 @@ "kilometers": 1500.88 }, "time": { - "weeks": 10 + "weeks": 10.0 } }, "description": "During the last 10.0 weeks the vehicle travelled 1500.88km" @@ -530,7 +530,7 @@ { "data_component": "120040fb198000000000", "value": { - "meters": 111000 + "meters": 111000.0 }, "description": "Vehicle travelled 111000.0m using electricity during the last trip" } @@ -549,7 +549,7 @@ { "data_component": "1200410b198000000000", "value": { - "meters": 222000 + "meters": 222000.0 }, "description": "Vehicle travelled 222000.0m using electricity since last reset" } @@ -568,7 +568,7 @@ { "data_component": "07014053400000000000", "value": { - "minutes": 77 + "minutes": 77.0 }, "description": "Vehicle travelled 77.0min using electricity during last trip" } @@ -587,7 +587,7 @@ { "data_component": "07014056000000000000", "value": { - "minutes": 88 + "minutes": 88.0 }, "description": "Vehicle travelled 88.0min using electricity since last reset" } @@ -682,7 +682,7 @@ { "data_component": "120040fb198000000000", "value": { - "meters": 111000 + "meters": 111000.0 }, "description": "Vehicle travelled 111000.0m using fuel during the last trip" } @@ -701,7 +701,7 @@ { "data_component": "1200410b198000000000", "value": { - "meters": 222000 + "meters": 222000.0 }, "description": "Vehicle travelled 222000.0m using fuel since last reset" } @@ -720,7 +720,7 @@ { "data_component": "07014053400000000000", "value": { - "minutes": 77 + "minutes": 77.0 }, "description": "Vehicle travelled 77.0min during last trip" } @@ -739,7 +739,7 @@ { "data_component": "07014056000000000000", "value": { - "minutes": 88 + "minutes": 88.0 }, "description": "Vehicle travelled 88.0min since last reset" } @@ -910,7 +910,7 @@ { "data_component": "140040a1f80000000000", "value": { - "watts": 2300 + "watts": 2300.0 }, "description": "Recuperation energy is 2300.0W." } @@ -933,7 +933,7 @@ "direction": "longitudinal", "type": "regular", "duration": { - "milliseconds": 1234 + "milliseconds": 1234.0 } }, "description": "Normal longitudinal acceleration lasted 1234.0ms." @@ -944,7 +944,7 @@ "direction": "lateral", "type": "positive_outlier", "duration": { - "milliseconds": 1234 + "milliseconds": 1234.0 } }, "description": "Positive outlier lateral acceleration lasted 1234.0ms." @@ -967,4 +967,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/specs/misc/custom_types.json b/specs/misc/custom_types.json index fce1b1b..00b6ea4 100644 --- a/specs/misc/custom_types.json +++ b/specs/misc/custom_types.json @@ -568,7 +568,7 @@ "name_cased": "percentage", "name_pretty": "Percentage", "unit_sign": "%", - "validation": "min:0|max:1", + "validation": "min:0|max:2", "type": "double", "size": 8, "description": "Percentage value between 0.0 - 1.0 (0% - 100%)" @@ -2607,13 +2607,13 @@ "id": 1, "name": "fifteen_min_before_four", "name_cased": "15minBefore4", - "name_pretty": "15 minutes before 4½ hours" + "name_pretty": "15 minutes before 4\u00bd hours" }, { "id": 2, "name": "four_reached", "name_cased": "4Reached", - "name_pretty": "4½ hours reached" + "name_pretty": "4\u00bd hours reached" }, { "id": 3, @@ -3532,4 +3532,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/specs/misc/universal_properties.json b/specs/misc/universal_properties.json index 0fbf143..9e30ec8 100644 --- a/specs/misc/universal_properties.json +++ b/specs/misc/universal_properties.json @@ -334,10 +334,12 @@ }, { "id": 44, - "name": "maserati", - "name_pretty": "Maserati" + "name": "maserati" + }, + { + "id": 45, + "name": "polestar" } - ], "examples": [ {