From 5bb9f0cd95a00ffc54955f55d8eb209fb14e0682 Mon Sep 17 00:00:00 2001 From: chris58008 <85893534+chris58008@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:14:53 +0200 Subject: [PATCH 1/4] Update ioniq5-6.json Now with more PID tested on Kona --- vehicle_profiles/hyundai/ioniq5-6.json | 164 ++++++++++++++++++++----- 1 file changed, 132 insertions(+), 32 deletions(-) diff --git a/vehicle_profiles/hyundai/ioniq5-6.json b/vehicle_profiles/hyundai/ioniq5-6.json index ee5d183..4bc113c 100644 --- a/vehicle_profiles/hyundai/ioniq5-6.json +++ b/vehicle_profiles/hyundai/ioniq5-6.json @@ -1,34 +1,134 @@ { - "car_model": "Hyundai: Ioniq5/Ioniq6/Kona", - "init": "ATSH7E4;ATST96;", - "pids": [ - { - "pid": "2201019", - "parameters": [ - { - "name": "SOC_BMS", - "expression": "B10/2", - "unit": "%", - "class": "battery" - }, - { - "name": "Aux_Batt_Volts", - "expression": "B38*0.1", - "unit": "V", - "class": "voltage" - } - ] - }, - { - "pid": "2201057", - "parameters": [ - { - "name": "SOH", - "expression": "[B34:B35]/10", - "unit": "%", - "class": "battery" - } - ] + "car_model": "Ioniq5/Ioniq6/Kona", + "init": "ATSH7E4;ATST96;", + "pids": [ + { + "pid": "2201019", + "parameters": [ + { + "name": "SOC_BMS", + "expression": "B10/2", + "unit": "%", + "class": "battery" + }, + { + "name": "Max_REGEN", + "expression": "[B11:B12]/100", + "unit": "kW", + "class": "power" + }, + { + "name": "Max_Power", + "expression": "[B13:B14]/100", + "unit": "kW", + "class": "power" + }, + { + "name": "Batt_Current", + "expression": "(65536-([B17:B18]))/10", + "unit": "A", + "class": "current" + }, + { + "name": "HV_Volts", + "expression": "[B19:B20]/10", + "unit": "V", + "class": "voltage" + }, + { + "name": "Batt_MaxT", + "expression": "B21", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_MinT", + "expression": "B22", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_Temp_1", + "expression": "B23", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_Temp_2", + "expression": "B25", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_Temp_3", + "expression": "B26", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_Temp_4", + "expression": "B27", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_Temp_5", + "expression": "B28", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Batt_InletT", + "expression": "B30", + "unit": "°C", + "class": "temperature" + }, + { + "name": "Max_Cell_V", + "expression": "B31/50", + "unit": "V", + "class": "voltage" + }, + { + "name": "Max_Cell_V_No", + "expression": "B33", + "class": "none" + }, + { + "name": "Min_Cell_V", + "expression": "B34/50", + "unit": "V", + "class": "voltage" + }, + { + "name": "Min_Cell_V_No", + "expression": "B35", + "class": "none" + }, + { + "name": "Aux_Batt_Volts", + "expression": "B38*0.1", + "unit": "V", + "class": "voltage" + } + ] + }, + { + "pid": "2201057", + "parameters": [ + { + "name": "SOH", + "expression": "[B34:B35]/10", + "unit": "%", + "class": "battery" + }, + { + "name": "SOC_D", + "expression": "B41/2", + "unit": "%", + "class": "battery" } - ] -} \ No newline at end of file + ] + } + ] +} From 3129b0392868c290995b4c887bee3c16dbccec12 Mon Sep 17 00:00:00 2001 From: chris58008 <85893534+chris58008@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:25:48 +0200 Subject: [PATCH 2/4] Update ioniq5-6.json car_model name changed back to Ioniq5/Ioniq6 --- vehicle_profiles/hyundai/ioniq5-6.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle_profiles/hyundai/ioniq5-6.json b/vehicle_profiles/hyundai/ioniq5-6.json index 4bc113c..2ca706c 100644 --- a/vehicle_profiles/hyundai/ioniq5-6.json +++ b/vehicle_profiles/hyundai/ioniq5-6.json @@ -1,5 +1,5 @@ { - "car_model": "Ioniq5/Ioniq6/Kona", + "car_model": "Ioniq5/Ioniq6", "init": "ATSH7E4;ATST96;", "pids": [ { From 0b2b675b2fb6f452c8786c38577777eaa9bd5c22 Mon Sep 17 00:00:00 2001 From: chris58008 <85893534+chris58008@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:26:43 +0200 Subject: [PATCH 3/4] Update ioniq5-6.json unit on Min/max cell V no changed to none --- vehicle_profiles/hyundai/ioniq5-6.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vehicle_profiles/hyundai/ioniq5-6.json b/vehicle_profiles/hyundai/ioniq5-6.json index 2ca706c..c0bae34 100644 --- a/vehicle_profiles/hyundai/ioniq5-6.json +++ b/vehicle_profiles/hyundai/ioniq5-6.json @@ -92,6 +92,7 @@ { "name": "Max_Cell_V_No", "expression": "B33", + "unit": "none", "class": "none" }, { @@ -103,6 +104,7 @@ { "name": "Min_Cell_V_No", "expression": "B35", + "unit": "none", "class": "none" }, { From 922da49a040d73e55855b3fbed2c0a821dec9873 Mon Sep 17 00:00:00 2001 From: Jay Oswald Date: Tue, 27 Aug 2024 22:28:45 +1000 Subject: [PATCH 4/4] fix car_model --- vehicle_profiles/hyundai/ioniq5-6.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle_profiles/hyundai/ioniq5-6.json b/vehicle_profiles/hyundai/ioniq5-6.json index c0bae34..c0280cb 100644 --- a/vehicle_profiles/hyundai/ioniq5-6.json +++ b/vehicle_profiles/hyundai/ioniq5-6.json @@ -1,5 +1,5 @@ { - "car_model": "Ioniq5/Ioniq6", + "car_model": "Hyundai: Ioniq5/Ioniq6/Kona", "init": "ATSH7E4;ATST96;", "pids": [ {