Skip to content

Commit

Permalink
Merge pull request #303 from jomud9/main
Browse files Browse the repository at this point in the history
Update xc40_bev.json
  • Loading branch information
meatpiHQ authored Jan 6, 2025
2 parents 3fb94d2 + 08c7f94 commit 45440b1
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vehicle_profiles/volvo/xc40.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"car_model":"Volvo: XC40",
"car_model":"Volvo: XC40 BEV",
"init":"ATST96;ATSP7;",
"pids":[
{
Expand All @@ -9,11 +9,11 @@
{
"class":"battery",
"expression":"(B4*0.6554)-0.08",
"name":"soc",
"name":"SoC",
"unit":"%"
}
]
}
]
}


31 changes: 31 additions & 0 deletions vehicle_profiles/volvo/xc40_bev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"car_model":"Volvo: XC40 BEV",
"init":"ATST96;ATSP7;",
"pids":[
{
"pid":"2240281",
"pid_init":"ATCP1D;ATCRA1EC6AE80;ATFCSH1DD01635;ATFCSD300000;ATFCSM1;",
"parameters":[
{
"class":"battery",
"expression":"(B4*0.6554)-0.08",
"name":"SoC",
"unit":"%"
}
]
}
],
{
"pid":"22DD011",
"pid_init":"ATCP1D;ATCRA1EC6EE80;ATFCSH1DD01637;",
"parameters":[
{
"class":"distance",
"expression":"([B4:B7])/256",
"name":"Odometer",
"unit":"km"
}
]
}
}

0 comments on commit 45440b1

Please sign in to comment.