-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #317 from jomud9/main
New update for XC40 BEV
- Loading branch information
Showing
4 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Some Footnotes for creating profile for Volvo XC40 | ||
|
||
### Among platform | ||
Some online references seems working on older Volvo, but not CMA | ||
For example: | ||
Info from https://www.volvov40club.com/threads/volvo-service.35611/page-2?post_id=297437#post-297437 look promising | ||
[VCC]TotalDistance","ODO","0x22dd01","int24(A:B:C)",0,1000000,"km","","","",1 | ||
|
||
However studying ELM327 log from Car Scanning | ||
|
||
PID: 22DD011 @ 30733km | ||
>1EC6EE80 0662DD01 00780D | ||
PID: 22DD011 @ 30776km | ||
>1EC6EE80 0662DD01 007838 | ||
That concluded "expression" for odo is "([B4:B7])/256" | ||
|
||
Current Status for XC40 BEV.json | ||
- Tested on XC40 BEV P8 MY24 | ||
- For SoC (known as [BECM] HV Battery SoC), confirmed PID 2240281 but expression is still missing. Please use "Standard PID - 5B-HybdBatPackRemLife" introduced since Firmware 4.0 as workaround | ||
|
||
Also check with volvo2mqtt (but just shocked as project discontinued few days ago (Jan 02, 2025) https://github.com/Dielee/volvo2mqtt ) but there are new integration for HA, if your region support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"car_model": "Volvo: XC40 BEV", | ||
"init": "ATST96;ATSP7;", | ||
"pids": [ | ||
{ | ||
"pid":"2240281", | ||
"pid_init":"ATCP1D;ATCRA1EC6AE80;ATFCSH1DD01635;ATFCSD300000;ATFCSM1;", | ||
"parameters": [ | ||
{ | ||
"name": "SoC", | ||
"class":"battery", | ||
"expression":"(B4*0.6554)-0.08", | ||
"unit":"%" | ||
} | ||
] | ||
}, | ||
{ | ||
"pid": "22DD011", | ||
"pid_init":"ATCP1D;ATCRA1EC6EE80;ATFCSH1DD01637;", | ||
"parameters": [ | ||
{ | ||
"name":"Odometer", | ||
"class":"distance", | ||
"expression":"([B4:B7])/256", | ||
"unit":"km" | ||
} | ||
] | ||
} | ||
] | ||
} |