Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix oilch_dis pid, add odometer and inits #247

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions vehicle_profiles/toyota/rav4.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
{
"car_model": "Toyota: Rav4",
"init": "ATSP6;ATST96;",
"init": "ATSP6;",
"pids": [
{
"pid": "015B2",
"parameters": [
{
"name": "SoC",
"pid_init": "ATST96;",
"expression": "(B3*20)/51",
"unit": "%",
"class": "battery"
}
]
},
{
"pid":"01311",
"pid": "01A61",
"parameters": [
{
"name": "Odometer",
"pid_init": "ATST96;",
"expression": "(([B3:B6])/10)/1.609",
"unit": "mi",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO were best to leave it as Kilometers, since its much more internationally standard, and various integrations can convert to miles if needed

"class": "distance"
}
]
},
{
"pid":"01317",
"parameters": [
{
"name": "OILCH_DIS",
Expand Down