Skip to content

Commit e42661a

Browse files
authored
Merge pull request #245 from McFly98/patch-1
add class for new vehicle
2 parents 0c75828 + fc58bf1 commit e42661a

File tree

1 file changed

+150
-0
lines changed

1 file changed

+150
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
{
2+
"car_model": "Renault Zoe Ph2 (2020-)",
3+
"init": "ATE0;ATH1;ATSP7;ATS0;ATM0;ATAT1;ATFCSM1;ATCP18;",
4+
"pids": [
5+
{
6+
"pid": "222006",
7+
"parameters": [
8+
{
9+
"name": "Odometer",
10+
"pid_init": "",
11+
"expression": "[B4:B6]",
12+
"unit": "km",
13+
"class": "none"
14+
}
15+
]
16+
},
17+
{
18+
"pid": "222B85",
19+
"parameters": [
20+
{
21+
"name": "Plugged",
22+
"pid_init": "",
23+
"expression": "B4",
24+
"unit": "",
25+
"class": "battery"
26+
}
27+
]
28+
},
29+
{
30+
"pid": "229002",
31+
"parameters": [
32+
{
33+
"name": "SOC",
34+
"pid_init": "",
35+
"expression": "[B4:B5] * 0.01",
36+
"unit": "%",
37+
"class": "battery"
38+
}
39+
]
40+
},
41+
{
42+
"pid": "22300F",
43+
"parameters": [
44+
{
45+
"name": "PowerAvail",
46+
"pid_init": "",
47+
"expression": "[B4:B5] * 0.025",
48+
"unit": "kW",
49+
"class": "battery"
50+
}
51+
]
52+
},
53+
{
54+
"pid": "22300B",
55+
"parameters": [
56+
{
57+
"name": "AcPhases",
58+
"pid_init": "",
59+
"expression": "B4",
60+
"unit": "",
61+
"class": "battery"
62+
}
63+
]
64+
},
65+
{
66+
"pid": "222218",
67+
"parameters": [
68+
{
69+
"name": "TempAmb",
70+
"pid_init": "",
71+
"expression": "([B4:B5] * 0.1) - 273",
72+
"unit": "°C",
73+
"class": "none"
74+
}
75+
]
76+
},
77+
{
78+
"pid": "222005",
79+
"parameters": [
80+
{
81+
"name": "12vBat",
82+
"pid_init": "",
83+
"expression": "[B4:B5] * 0.01",
84+
"unit": "V",
85+
"class": "battery"
86+
}
87+
]
88+
},
89+
{
90+
"pid": "229003",
91+
"parameters": [
92+
{
93+
"name": "SOH",
94+
"pid_init": "",
95+
"expression": "[B4:B5] * 0.01",
96+
"unit": "%",
97+
"class": "battery"
98+
}
99+
]
100+
},
101+
{
102+
"pid": "2291C8",
103+
"parameters": [
104+
{
105+
"name": "KwhAvail",
106+
"pid_init": "",
107+
"expression": "[B4:B6] * 0.001",
108+
"unit": "kwh",
109+
"class": "battery"
110+
}
111+
]
112+
},
113+
{
114+
"pid": "229243",
115+
"parameters": [
116+
{
117+
"name": "KwhCharged",
118+
"pid_init": "",
119+
"expression": "[B5:B8] * 0.001",
120+
"unit": "kwh",
121+
"class": "battery"
122+
}
123+
]
124+
},
125+
{
126+
"pid": "22300D",
127+
"parameters": [
128+
{
129+
"name": "AcCurrent",
130+
"pid_init": "",
131+
"expression": "[B4:B5] * 0.1",
132+
"unit": "A",
133+
"class": "battery"
134+
}
135+
]
136+
},
137+
{
138+
"pid": "222B8A",
139+
"parameters": [
140+
{
141+
"name": "AcVoltage",
142+
"pid_init": "",
143+
"expression": "[B4:B5] * 0.5",
144+
"unit": "V",
145+
"class": "battery"
146+
}
147+
]
148+
}
149+
]
150+
}

0 commit comments

Comments
 (0)