weconnect 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +45 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +6 -0
- data/Rakefile +19 -0
- data/lib/weconnect/api.rb +36 -0
- data/lib/weconnect/authorization.rb +232 -0
- data/lib/weconnect/client.rb +60 -0
- data/lib/weconnect/connection.rb +55 -0
- data/lib/weconnect/const.rb +116 -0
- data/lib/weconnect/control_operation.rb +26 -0
- data/lib/weconnect/error.rb +15 -0
- data/lib/weconnect/pagination.rb +22 -0
- data/lib/weconnect/request.rb +8 -0
- data/lib/weconnect/version.rb +5 -0
- data/lib/weconnect.rb +24 -0
- data/poekoerifab.doc +1001 -0
- data/snippets.rb +218 -0
- data/weconnect.gemspec +42 -0
- metadata +188 -0
data/poekoerifab.doc
ADDED
@@ -0,0 +1,1001 @@
|
|
1
|
+
# print results
|
2
|
+
VIN: WVW
|
3
|
+
Model: ID.3
|
4
|
+
Device Platform: WCAR
|
5
|
+
Nickname: ID.3 Pro Performance
|
6
|
+
Brand Code: V
|
7
|
+
Role: PRIMARY_USER
|
8
|
+
Enrollment Status: COMPLETED
|
9
|
+
User Role Status: ENABLED
|
10
|
+
Capabilities: 34 items
|
11
|
+
[webApp] Status: MISSING_LICENSE disabling: False (expires 2053-07-01T23:59:59+00:00)
|
12
|
+
[automation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
13
|
+
[batteryChargingCare] Status: DISABLED_BY_USER, UNKNOWN disabling: True (expires 2053-07-01T23:59:59+00:00)
|
14
|
+
[batteryColdWarning] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
15
|
+
[batterySupport] disabling: False
|
16
|
+
[charging] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
17
|
+
[chargingProfiles] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
18
|
+
[chargingStations] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
19
|
+
[climatisation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
20
|
+
[climatisationTimers] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
21
|
+
[cubicNetwork] disabling: False
|
22
|
+
[dealerAppointment] Status: DISABLED_BY_USER, UNKNOWN disabling: True (expires 2053-07-01T23:59:59+00:00)
|
23
|
+
[destinations] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
24
|
+
[fuelStatus] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
25
|
+
[ignition] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
26
|
+
[mapUpdate] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
27
|
+
[measurements] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
28
|
+
[onlineSpeech] Status: CONSENT_MISSING disabling: True (expires 2026-07-01T23:59:59+00:00)
|
29
|
+
[parkingBrake] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
30
|
+
[parkingInformation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
31
|
+
[parkingPosition] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
32
|
+
[personalizationOnline] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
33
|
+
[plugAndCharge] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
34
|
+
[poiSearch] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
35
|
+
[readiness] disabling: False
|
36
|
+
[routing] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
37
|
+
[state] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
38
|
+
[trafficInformation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
39
|
+
[vehicleHealth] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
40
|
+
[vehicleHealthInspection] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
41
|
+
[vehicleHealthWarnings] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
42
|
+
[vehicleLights] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
43
|
+
[vehicleWakeUpTrigger] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
44
|
+
[webRadio] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
45
|
+
Domains: 15 items
|
46
|
+
[access] Elements: 1 items
|
47
|
+
[accessStatus] (last captured 2024-03-07T13:11:13+00:00)
|
48
|
+
Overall Status: safe
|
49
|
+
Door Lock Status: locked
|
50
|
+
Doors: 6 items
|
51
|
+
bonnet: closed, unknown lock state
|
52
|
+
trunk: closed, locked
|
53
|
+
rearRight: closed, locked
|
54
|
+
rearLeft: closed, locked
|
55
|
+
frontRight: closed, locked
|
56
|
+
frontLeft: closed, locked
|
57
|
+
Windows: 7 items
|
58
|
+
sunRoof: unsupported
|
59
|
+
roofCover: unsupported
|
60
|
+
sunRoofRear: unsupported
|
61
|
+
frontLeft: closed
|
62
|
+
frontRight: closed
|
63
|
+
rearLeft: closed
|
64
|
+
rearRight: closed
|
65
|
+
[automation] Elements: 2 items
|
66
|
+
[climatisationTimer] (last captured 2024-03-07T13:11:14+00:00)
|
67
|
+
Time in Car: 2024-03-07T14:11:14+01:00 (captured at 2024-03-07T13:11:14+00:00)
|
68
|
+
Timers: 2 items
|
69
|
+
1: Enabled: True at 05:15 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
70
|
+
2: Enabled: True at 06:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
71
|
+
[chargingProfiles] (last captured 2024-03-07T13:11:15+00:00)
|
72
|
+
Time in Car: 2024-03-07T14:11:16+01:00 (captured at 2024-03-07T13:11:15+00:00)
|
73
|
+
Profiles: 1 items
|
74
|
+
Profile: 1 - Thuis
|
75
|
+
Options:
|
76
|
+
Auto Unlock When Charged: permanent
|
77
|
+
Timers: 3 items
|
78
|
+
1: Enabled: False (Climatisation: False) at 05:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
79
|
+
2: Enabled: False (Climatisation: False) at 07:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
80
|
+
3: Enabled: False (Climatisation: False) at 05:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
81
|
+
Preferred Times: 3 items
|
82
|
+
1: Enabled: False Start: 20:00:00 End: 04:00:00
|
83
|
+
2: Enabled: False Start: 20:00:00 End: 04:00:00
|
84
|
+
3: Enabled: False Start: 20:00:00 End: 04:00:00
|
85
|
+
Next Charging Timer: none
|
86
|
+
Target SOC reachable: invalid
|
87
|
+
[userCapabilities] Elements: 1 items
|
88
|
+
[capabilitiesStatus]
|
89
|
+
Capabilities: 34 items
|
90
|
+
[webApp] Status: MISSING_LICENSE disabling: False (expires 2053-07-01T23:59:59+00:00)
|
91
|
+
[automation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
92
|
+
[batteryChargingCare] Status: DISABLED_BY_USER, UNKNOWN disabling: True (expires 2053-07-01T23:59:59+00:00)
|
93
|
+
[batteryColdWarning] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
94
|
+
[batterySupport] disabling: False
|
95
|
+
[charging] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
96
|
+
[chargingProfiles] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
97
|
+
[chargingStations] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
98
|
+
[climatisation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
99
|
+
[climatisationTimers] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
100
|
+
[cubicNetwork] disabling: False
|
101
|
+
[dealerAppointment] Status: DISABLED_BY_USER, UNKNOWN disabling: True (expires 2053-07-01T23:59:59+00:00)
|
102
|
+
[destinations] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
103
|
+
[fuelStatus] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
104
|
+
[ignition] disabling: False (expires 2026-07-01T23:59:59+00:00)
|
105
|
+
[mapUpdate] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
106
|
+
[measurements] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
107
|
+
[onlineSpeech] Status: CONSENT_MISSING disabling: True (expires 2026-07-01T23:59:59+00:00)
|
108
|
+
[parkingBrake] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
109
|
+
[parkingInformation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
110
|
+
[parkingPosition] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
111
|
+
[personalizationOnline] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
112
|
+
[plugAndCharge] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
113
|
+
[poiSearch] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
114
|
+
[readiness] disabling: False
|
115
|
+
[routing] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
116
|
+
[state] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
117
|
+
[trafficInformation] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
118
|
+
[vehicleHealth] disabling: True (expires 2053-07-01T23:59:59+00:00)
|
119
|
+
[vehicleHealthInspection] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
120
|
+
[vehicleHealthWarnings] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
121
|
+
[vehicleLights] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
122
|
+
[vehicleWakeUpTrigger] disabling: False (expires 2053-07-01T23:59:59+00:00)
|
123
|
+
[webRadio] disabling: True (expires 2026-07-01T23:59:59+00:00)
|
124
|
+
[charging] Elements: 5 items
|
125
|
+
[batteryStatus] (last captured 2024-03-07T15:23:15+00:00)
|
126
|
+
Current SoC: 86%
|
127
|
+
Range: 295km
|
128
|
+
[chargingStatus] (last captured 2024-03-07T15:23:15+00:00)
|
129
|
+
State: charging
|
130
|
+
Mode: manual
|
131
|
+
Remaining Charging Time: 95 minutes
|
132
|
+
Charge Power: 5.5 kW
|
133
|
+
Charge Rate: 35.0 km/h
|
134
|
+
Charge Type: ac
|
135
|
+
Charging Settings: profile
|
136
|
+
[chargingSettings] (last captured 2024-03-07T15:23:21+00:00)
|
137
|
+
Maximum Charge Current AC: reduced
|
138
|
+
Auto Unlock When Charged: off
|
139
|
+
Auto Unlock When Charged AC: off
|
140
|
+
Target SoC: 80 %
|
141
|
+
[chargeMode]
|
142
|
+
Preferred charge mode: manual
|
143
|
+
Available charge modes: [manual]
|
144
|
+
[plugStatus] (last captured 2024-03-07T13:11:17+00:00)
|
145
|
+
Plug: connected, locked, External Power: active, Led color: green
|
146
|
+
[chargingProfiles] Elements: 1 items
|
147
|
+
[chargingProfilesStatus] (last captured 2024-03-07T13:11:15+00:00)
|
148
|
+
Time in Car: 2024-03-07T14:11:16+01:00 (captured at 2024-03-07T13:11:15+00:00)
|
149
|
+
Profiles: 1 items
|
150
|
+
Profile: 1 - Thuis
|
151
|
+
Options:
|
152
|
+
Auto Unlock When Charged: permanent
|
153
|
+
Timers: 3 items
|
154
|
+
1: Enabled: False (Climatisation: False) at 05:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
155
|
+
2: Enabled: False (Climatisation: False) at 07:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
156
|
+
3: Enabled: False (Climatisation: False) at 05:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
157
|
+
Preferred Times: 3 items
|
158
|
+
1: Enabled: False Start: 20:00:00 End: 04:00:00
|
159
|
+
2: Enabled: False Start: 20:00:00 End: 04:00:00
|
160
|
+
3: Enabled: False Start: 20:00:00 End: 04:00:00
|
161
|
+
Next Charging Timer: none
|
162
|
+
Target SOC reachable: invalid
|
163
|
+
[climatisation] Elements: 3 items
|
164
|
+
[climatisationStatus] (last captured 2024-03-07T13:11:17+00:00)
|
165
|
+
State: off
|
166
|
+
Remaining Climatization Time: 0 min
|
167
|
+
[climatisationSettings] (last captured 2024-03-07T13:11:17+00:00)
|
168
|
+
Target Temperature in °C: 18.0 °C
|
169
|
+
Target Temperature in °F: 64.0 °F
|
170
|
+
Temperature unit in car: celsius
|
171
|
+
Start climatization after unlock: False
|
172
|
+
Window heating: True
|
173
|
+
Heating Front Left Seat: False
|
174
|
+
Heating Front Right Seat: False
|
175
|
+
[windowHeatingStatus] (last captured 2024-03-07T13:11:17+00:00)
|
176
|
+
Windows: 2 items
|
177
|
+
front: off
|
178
|
+
rear: off
|
179
|
+
[climatisationTimers] Elements: 1 items
|
180
|
+
[climatisationTimersStatus] (last captured 2024-03-07T13:11:14+00:00)
|
181
|
+
Time in Car: 2024-03-07T14:11:14+01:00 (captured at 2024-03-07T13:11:14+00:00)
|
182
|
+
Timers: 2 items
|
183
|
+
1: Enabled: True at 05:15 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
184
|
+
2: Enabled: True at 06:00 on mondays tuesdays wednesdays thursdays fridays saturdays sundays
|
185
|
+
[fuelStatus] Elements: 1 items
|
186
|
+
[rangeStatus] (last captured 2024-03-07T15:23:15+00:00)
|
187
|
+
Car Type: electric
|
188
|
+
Total Range: 295 km
|
189
|
+
Primary Engine: electric SoC: 86% (295 km)
|
190
|
+
[vehicleLights] Elements: 1 items
|
191
|
+
[lightsStatus] (last captured 2024-03-07T13:11:13+00:00)
|
192
|
+
Lights: 2 items
|
193
|
+
right: off
|
194
|
+
left: off
|
195
|
+
[readiness] Elements: 1 items
|
196
|
+
[readinessStatus]
|
197
|
+
Connection State:
|
198
|
+
Is online: True
|
199
|
+
Is active: False
|
200
|
+
Battery power level: comfort
|
201
|
+
Daily Power Budget Available: True
|
202
|
+
Connection Warning:
|
203
|
+
Insufficient Battery Level Warning: False
|
204
|
+
Daily Power Budget Warning: False
|
205
|
+
[vehicleHealthInspection] Elements: 1 items
|
206
|
+
[maintenanceStatus] (last captured 2024-03-07T13:11:12+00:00)
|
207
|
+
Current milage: 60995 km
|
208
|
+
Inspection due in: 350 days
|
209
|
+
[vehicleHealthWarnings] Elements: 1 items
|
210
|
+
[warningLights] (last captured 2024-03-07T10:16:54+00:00)
|
211
|
+
Current milage: 60995 km
|
212
|
+
[measurements] Elements: 4 items
|
213
|
+
[rangeStatus] (last captured 0001-01-01T00:00:00+00:00)
|
214
|
+
[odometerStatus] (last captured 2024-03-07T13:11:12+00:00)
|
215
|
+
Odometer: 60995km
|
216
|
+
[temperatureBatteryStatus] (last captured 2024-03-07T13:11:13+00:00)
|
217
|
+
Battery temperature between 11.0 and 12.5°C
|
218
|
+
[fuelLevelStatus] (last captured 0001-01-01T00:00:00+00:00)
|
219
|
+
Car Type: electric
|
220
|
+
Primary Engine: electric
|
221
|
+
[batterySupport] Elements: 1 items
|
222
|
+
[batterySupportStatus]
|
223
|
+
Battery Support: enabled
|
224
|
+
[parking] Elements: 1 items
|
225
|
+
[parkingPosition] (last captured 2024-03-07T10:18:22+00:00)
|
226
|
+
Latitude: 51.763373
|
227
|
+
Longitude: 4.157948
|
228
|
+
|
229
|
+
# done
|
230
|
+
{
|
231
|
+
"access": {
|
232
|
+
"accessStatus": {
|
233
|
+
"value": {
|
234
|
+
"overallStatus": "safe",
|
235
|
+
"carCapturedTimestamp": "2024-03-07T13:11:13.824Z",
|
236
|
+
"doors": [
|
237
|
+
{
|
238
|
+
"name": "bonnet",
|
239
|
+
"status": [
|
240
|
+
"closed"
|
241
|
+
]
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"name": "trunk",
|
245
|
+
"status": [
|
246
|
+
"closed",
|
247
|
+
"locked"
|
248
|
+
]
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"name": "rearRight",
|
252
|
+
"status": [
|
253
|
+
"closed",
|
254
|
+
"locked"
|
255
|
+
]
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"name": "rearLeft",
|
259
|
+
"status": [
|
260
|
+
"closed",
|
261
|
+
"locked"
|
262
|
+
]
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"name": "frontRight",
|
266
|
+
"status": [
|
267
|
+
"closed",
|
268
|
+
"locked"
|
269
|
+
]
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"name": "frontLeft",
|
273
|
+
"status": [
|
274
|
+
"closed",
|
275
|
+
"locked"
|
276
|
+
]
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"windows": [
|
280
|
+
{
|
281
|
+
"name": "sunRoof",
|
282
|
+
"status": [
|
283
|
+
"unsupported"
|
284
|
+
]
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"name": "roofCover",
|
288
|
+
"status": [
|
289
|
+
"unsupported"
|
290
|
+
]
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"name": "sunRoofRear",
|
294
|
+
"status": [
|
295
|
+
"unsupported"
|
296
|
+
]
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"name": "frontLeft",
|
300
|
+
"status": [
|
301
|
+
"closed"
|
302
|
+
]
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"name": "frontRight",
|
306
|
+
"status": [
|
307
|
+
"closed"
|
308
|
+
]
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"name": "rearLeft",
|
312
|
+
"status": [
|
313
|
+
"closed"
|
314
|
+
]
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"name": "rearRight",
|
318
|
+
"status": [
|
319
|
+
"closed"
|
320
|
+
]
|
321
|
+
}
|
322
|
+
],
|
323
|
+
"doorLockStatus": "locked"
|
324
|
+
}
|
325
|
+
}
|
326
|
+
},
|
327
|
+
"automation": {
|
328
|
+
"climatisationTimer": {
|
329
|
+
"value": {
|
330
|
+
"carCapturedTimestamp": "2024-03-07T13:11:14Z",
|
331
|
+
"timeInCar": "2024-03-07T14:11:14+01:00",
|
332
|
+
"timers": [
|
333
|
+
{
|
334
|
+
"id": 1,
|
335
|
+
"enabled": true,
|
336
|
+
"recurringTimer": {
|
337
|
+
"startTime": "05:15",
|
338
|
+
"recurringOn": {
|
339
|
+
"mondays": false,
|
340
|
+
"tuesdays": true,
|
341
|
+
"wednesdays": false,
|
342
|
+
"thursdays": false,
|
343
|
+
"fridays": false,
|
344
|
+
"saturdays": false,
|
345
|
+
"sundays": false
|
346
|
+
},
|
347
|
+
"targetTime": "05:15",
|
348
|
+
"repetitionDays": [
|
349
|
+
"tuesday"
|
350
|
+
]
|
351
|
+
}
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"id": 2,
|
355
|
+
"enabled": true,
|
356
|
+
"recurringTimer": {
|
357
|
+
"startTime": "06:00",
|
358
|
+
"recurringOn": {
|
359
|
+
"mondays": false,
|
360
|
+
"tuesdays": false,
|
361
|
+
"wednesdays": true,
|
362
|
+
"thursdays": true,
|
363
|
+
"fridays": false,
|
364
|
+
"saturdays": false,
|
365
|
+
"sundays": false
|
366
|
+
},
|
367
|
+
"targetTime": "06:00",
|
368
|
+
"repetitionDays": [
|
369
|
+
"wednesday",
|
370
|
+
"thursday"
|
371
|
+
]
|
372
|
+
}
|
373
|
+
}
|
374
|
+
]
|
375
|
+
}
|
376
|
+
},
|
377
|
+
"chargingProfiles": {
|
378
|
+
"value": {
|
379
|
+
"carCapturedTimestamp": "2024-03-07T13:11:15.578Z",
|
380
|
+
"timeInCar": "2024-03-07T14:11:16+01:00",
|
381
|
+
"nextChargingTimer": {
|
382
|
+
"id": 0,
|
383
|
+
"targetSOCreachable": "invalid"
|
384
|
+
},
|
385
|
+
"profiles": [
|
386
|
+
{
|
387
|
+
"id": 1,
|
388
|
+
"name": "Thuis",
|
389
|
+
"maxChargingCurrent": "reduced",
|
390
|
+
"minSOC_pct": 0,
|
391
|
+
"targetSOC_pct": 100,
|
392
|
+
"options": {
|
393
|
+
"autoUnlockPlugWhenCharged": "permanent"
|
394
|
+
},
|
395
|
+
"preferredChargingTimes": [
|
396
|
+
{
|
397
|
+
"id": 1,
|
398
|
+
"enabled": false,
|
399
|
+
"startTime": "20:00",
|
400
|
+
"endTime": "04:00"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"id": 2,
|
404
|
+
"enabled": false,
|
405
|
+
"startTime": "20:00",
|
406
|
+
"endTime": "04:00"
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"id": 3,
|
410
|
+
"enabled": false,
|
411
|
+
"startTime": "20:00",
|
412
|
+
"endTime": "04:00"
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"id": 4,
|
416
|
+
"enabled": false,
|
417
|
+
"startTime": "20:00",
|
418
|
+
"endTime": "04:00"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"timers": [
|
422
|
+
{
|
423
|
+
"id": 1,
|
424
|
+
"enabled": false,
|
425
|
+
"climatisation": false,
|
426
|
+
"recurringTimer": {
|
427
|
+
"startTime": "05:00",
|
428
|
+
"recurringOn": {
|
429
|
+
"mondays": true,
|
430
|
+
"tuesdays": true,
|
431
|
+
"wednesdays": true,
|
432
|
+
"thursdays": true,
|
433
|
+
"fridays": true,
|
434
|
+
"saturdays": false,
|
435
|
+
"sundays": false
|
436
|
+
}
|
437
|
+
}
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"id": 2,
|
441
|
+
"enabled": false,
|
442
|
+
"climatisation": false,
|
443
|
+
"recurringTimer": {
|
444
|
+
"startTime": "07:00",
|
445
|
+
"recurringOn": {
|
446
|
+
"mondays": false,
|
447
|
+
"tuesdays": false,
|
448
|
+
"wednesdays": false,
|
449
|
+
"thursdays": false,
|
450
|
+
"fridays": false,
|
451
|
+
"saturdays": true,
|
452
|
+
"sundays": true
|
453
|
+
}
|
454
|
+
}
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"id": 3,
|
458
|
+
"enabled": false,
|
459
|
+
"climatisation": false,
|
460
|
+
"recurringTimer": {
|
461
|
+
"startTime": "05:00",
|
462
|
+
"recurringOn": {
|
463
|
+
"mondays": true,
|
464
|
+
"tuesdays": true,
|
465
|
+
"wednesdays": true,
|
466
|
+
"thursdays": true,
|
467
|
+
"fridays": true,
|
468
|
+
"saturdays": true,
|
469
|
+
"sundays": true
|
470
|
+
}
|
471
|
+
}
|
472
|
+
}
|
473
|
+
]
|
474
|
+
}
|
475
|
+
]
|
476
|
+
}
|
477
|
+
}
|
478
|
+
},
|
479
|
+
"batterySupport": {
|
480
|
+
"batterySupportStatus": {
|
481
|
+
"value": {
|
482
|
+
"batterySupport": "enabled"
|
483
|
+
}
|
484
|
+
}
|
485
|
+
},
|
486
|
+
"userCapabilities": {
|
487
|
+
"capabilitiesStatus": {
|
488
|
+
"value": [
|
489
|
+
{
|
490
|
+
"id": "webApp",
|
491
|
+
"status": [
|
492
|
+
2003
|
493
|
+
],
|
494
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
495
|
+
"userDisablingAllowed": false
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"id": "automation",
|
499
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
500
|
+
"userDisablingAllowed": true
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"id": "batteryChargingCare",
|
504
|
+
"status": [
|
505
|
+
1004,
|
506
|
+
1018
|
507
|
+
],
|
508
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
509
|
+
"userDisablingAllowed": true
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"id": "batteryColdWarning",
|
513
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
514
|
+
"userDisablingAllowed": true
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"id": "batterySupport",
|
518
|
+
"userDisablingAllowed": false
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"id": "charging",
|
522
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
523
|
+
"userDisablingAllowed": true
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"id": "chargingProfiles",
|
527
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
528
|
+
"userDisablingAllowed": false
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"id": "chargingStations",
|
532
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
533
|
+
"userDisablingAllowed": true
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"id": "climatisation",
|
537
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
538
|
+
"userDisablingAllowed": true
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"id": "climatisationTimers",
|
542
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
543
|
+
"userDisablingAllowed": false
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"id": "cubicNetwork",
|
547
|
+
"userDisablingAllowed": false
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"id": "dealerAppointment",
|
551
|
+
"status": [
|
552
|
+
1004,
|
553
|
+
1018
|
554
|
+
],
|
555
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
556
|
+
"userDisablingAllowed": true
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"id": "destinations",
|
560
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
561
|
+
"userDisablingAllowed": true
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"id": "fuelStatus",
|
565
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
566
|
+
"userDisablingAllowed": false
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"id": "ignition",
|
570
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
571
|
+
"userDisablingAllowed": false
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"id": "mapUpdate",
|
575
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
576
|
+
"userDisablingAllowed": true
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"id": "measurements",
|
580
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
581
|
+
"userDisablingAllowed": false
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"id": "onlineSpeech",
|
585
|
+
"status": [
|
586
|
+
3004
|
587
|
+
],
|
588
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
589
|
+
"userDisablingAllowed": true
|
590
|
+
},
|
591
|
+
{
|
592
|
+
"id": "parkingBrake",
|
593
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
594
|
+
"userDisablingAllowed": false
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"id": "parkingInformation",
|
598
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
599
|
+
"userDisablingAllowed": true
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"id": "parkingPosition",
|
603
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
604
|
+
"userDisablingAllowed": true
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"id": "personalizationOnline",
|
608
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
609
|
+
"userDisablingAllowed": true
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"id": "plugAndCharge",
|
613
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
614
|
+
"userDisablingAllowed": true
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"id": "poiSearch",
|
618
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
619
|
+
"userDisablingAllowed": true
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"id": "readiness",
|
623
|
+
"userDisablingAllowed": false
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"id": "routing",
|
627
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
628
|
+
"userDisablingAllowed": true
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"id": "state",
|
632
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
633
|
+
"userDisablingAllowed": true
|
634
|
+
},
|
635
|
+
{
|
636
|
+
"id": "trafficInformation",
|
637
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
638
|
+
"userDisablingAllowed": true
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"id": "vehicleHealth",
|
642
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
643
|
+
"userDisablingAllowed": true
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"id": "vehicleHealthInspection",
|
647
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
648
|
+
"userDisablingAllowed": false
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"id": "vehicleHealthWarnings",
|
652
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
653
|
+
"userDisablingAllowed": false
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"id": "vehicleLights",
|
657
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
658
|
+
"userDisablingAllowed": false
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"id": "vehicleWakeUpTrigger",
|
662
|
+
"expirationDate": "2053-07-01T23:59:59Z",
|
663
|
+
"userDisablingAllowed": false
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"id": "webRadio",
|
667
|
+
"expirationDate": "2026-07-01T23:59:59Z",
|
668
|
+
"userDisablingAllowed": true
|
669
|
+
}
|
670
|
+
]
|
671
|
+
}
|
672
|
+
},
|
673
|
+
"charging": {
|
674
|
+
"batteryStatus": {
|
675
|
+
"value": {
|
676
|
+
"carCapturedTimestamp": "2024-03-07T15:51:07Z",
|
677
|
+
"currentSOC_pct": 90,
|
678
|
+
"cruisingRangeElectric_km": 309
|
679
|
+
}
|
680
|
+
},
|
681
|
+
"chargingStatus": {
|
682
|
+
"value": {
|
683
|
+
"carCapturedTimestamp": "2024-03-07T15:51:07Z",
|
684
|
+
"remainingChargingTimeToComplete_min": 65,
|
685
|
+
"chargingState": "charging",
|
686
|
+
"chargeMode": "manual",
|
687
|
+
"chargePower_kW": 5,
|
688
|
+
"chargeRate_kmph": 34,
|
689
|
+
"chargeType": "ac",
|
690
|
+
"chargingSettings": "profile"
|
691
|
+
}
|
692
|
+
},
|
693
|
+
"chargingSettings": {
|
694
|
+
"value": {
|
695
|
+
"carCapturedTimestamp": "2024-03-07T15:53:22Z",
|
696
|
+
"maxChargeCurrentAC": "reduced",
|
697
|
+
"autoUnlockPlugWhenCharged": "off",
|
698
|
+
"autoUnlockPlugWhenChargedAC": "off",
|
699
|
+
"targetSOC_pct": 80
|
700
|
+
}
|
701
|
+
},
|
702
|
+
"plugStatus": {
|
703
|
+
"value": {
|
704
|
+
"carCapturedTimestamp": "2024-03-07T13:11:17Z",
|
705
|
+
"plugConnectionState": "connected",
|
706
|
+
"plugLockState": "locked",
|
707
|
+
"externalPower": "active",
|
708
|
+
"ledColor": "green"
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"chargeMode": {
|
712
|
+
"value": {
|
713
|
+
"preferredChargeMode": "manual",
|
714
|
+
"availableChargeModes": [
|
715
|
+
"manual"
|
716
|
+
]
|
717
|
+
}
|
718
|
+
}
|
719
|
+
},
|
720
|
+
"chargingProfiles": {
|
721
|
+
"chargingProfilesStatus": {
|
722
|
+
"value": {
|
723
|
+
"carCapturedTimestamp": "2024-03-07T13:11:15.578Z",
|
724
|
+
"timeInCar": "2024-03-07T14:11:16+01:00",
|
725
|
+
"nextChargingTimer": {
|
726
|
+
"id": 0,
|
727
|
+
"targetSOCreachable": "invalid"
|
728
|
+
},
|
729
|
+
"profiles": [
|
730
|
+
{
|
731
|
+
"id": 1,
|
732
|
+
"name": "Thuis",
|
733
|
+
"maxChargingCurrent": "reduced",
|
734
|
+
"minSOC_pct": 0,
|
735
|
+
"targetSOC_pct": 100,
|
736
|
+
"options": {
|
737
|
+
"autoUnlockPlugWhenCharged": "permanent"
|
738
|
+
},
|
739
|
+
"preferredChargingTimes": [
|
740
|
+
{
|
741
|
+
"id": 1,
|
742
|
+
"enabled": false,
|
743
|
+
"startTime": "20:00",
|
744
|
+
"endTime": "04:00"
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"id": 2,
|
748
|
+
"enabled": false,
|
749
|
+
"startTime": "20:00",
|
750
|
+
"endTime": "04:00"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"id": 3,
|
754
|
+
"enabled": false,
|
755
|
+
"startTime": "20:00",
|
756
|
+
"endTime": "04:00"
|
757
|
+
},
|
758
|
+
{
|
759
|
+
"id": 4,
|
760
|
+
"enabled": false,
|
761
|
+
"startTime": "20:00",
|
762
|
+
"endTime": "04:00"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"timers": [
|
766
|
+
{
|
767
|
+
"id": 1,
|
768
|
+
"enabled": false,
|
769
|
+
"climatisation": false,
|
770
|
+
"recurringTimer": {
|
771
|
+
"startTime": "05:00",
|
772
|
+
"recurringOn": {
|
773
|
+
"mondays": true,
|
774
|
+
"tuesdays": true,
|
775
|
+
"wednesdays": true,
|
776
|
+
"thursdays": true,
|
777
|
+
"fridays": true,
|
778
|
+
"saturdays": false,
|
779
|
+
"sundays": false
|
780
|
+
}
|
781
|
+
}
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"id": 2,
|
785
|
+
"enabled": false,
|
786
|
+
"climatisation": false,
|
787
|
+
"recurringTimer": {
|
788
|
+
"startTime": "07:00",
|
789
|
+
"recurringOn": {
|
790
|
+
"mondays": false,
|
791
|
+
"tuesdays": false,
|
792
|
+
"wednesdays": false,
|
793
|
+
"thursdays": false,
|
794
|
+
"fridays": false,
|
795
|
+
"saturdays": true,
|
796
|
+
"sundays": true
|
797
|
+
}
|
798
|
+
}
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"id": 3,
|
802
|
+
"enabled": false,
|
803
|
+
"climatisation": false,
|
804
|
+
"recurringTimer": {
|
805
|
+
"startTime": "05:00",
|
806
|
+
"recurringOn": {
|
807
|
+
"mondays": true,
|
808
|
+
"tuesdays": true,
|
809
|
+
"wednesdays": true,
|
810
|
+
"thursdays": true,
|
811
|
+
"fridays": true,
|
812
|
+
"saturdays": true,
|
813
|
+
"sundays": true
|
814
|
+
}
|
815
|
+
}
|
816
|
+
}
|
817
|
+
]
|
818
|
+
}
|
819
|
+
]
|
820
|
+
}
|
821
|
+
}
|
822
|
+
},
|
823
|
+
"climatisation": {
|
824
|
+
"climatisationSettings": {
|
825
|
+
"value": {
|
826
|
+
"carCapturedTimestamp": "2024-03-07T13:11:17Z",
|
827
|
+
"targetTemperature_C": 18,
|
828
|
+
"targetTemperature_F": 64,
|
829
|
+
"unitInCar": "celsius",
|
830
|
+
"climatizationAtUnlock": false,
|
831
|
+
"windowHeatingEnabled": true,
|
832
|
+
"zoneFrontLeftEnabled": false,
|
833
|
+
"zoneFrontRightEnabled": false
|
834
|
+
}
|
835
|
+
},
|
836
|
+
"climatisationStatus": {
|
837
|
+
"value": {
|
838
|
+
"carCapturedTimestamp": "2024-03-07T13:11:17Z",
|
839
|
+
"remainingClimatisationTime_min": 0,
|
840
|
+
"climatisationState": "off"
|
841
|
+
}
|
842
|
+
},
|
843
|
+
"windowHeatingStatus": {
|
844
|
+
"value": {
|
845
|
+
"carCapturedTimestamp": "2024-03-07T13:11:17Z",
|
846
|
+
"windowHeatingStatus": [
|
847
|
+
{
|
848
|
+
"windowLocation": "front",
|
849
|
+
"windowHeatingState": "off"
|
850
|
+
},
|
851
|
+
{
|
852
|
+
"windowLocation": "rear",
|
853
|
+
"windowHeatingState": "off"
|
854
|
+
}
|
855
|
+
]
|
856
|
+
}
|
857
|
+
}
|
858
|
+
},
|
859
|
+
"climatisationTimers": {
|
860
|
+
"climatisationTimersStatus": {
|
861
|
+
"value": {
|
862
|
+
"carCapturedTimestamp": "2024-03-07T13:11:14Z",
|
863
|
+
"timeInCar": "2024-03-07T14:11:14+01:00",
|
864
|
+
"timers": [
|
865
|
+
{
|
866
|
+
"id": 1,
|
867
|
+
"enabled": true,
|
868
|
+
"recurringTimer": {
|
869
|
+
"startTime": "05:15",
|
870
|
+
"recurringOn": {
|
871
|
+
"mondays": false,
|
872
|
+
"tuesdays": true,
|
873
|
+
"wednesdays": false,
|
874
|
+
"thursdays": false,
|
875
|
+
"fridays": false,
|
876
|
+
"saturdays": false,
|
877
|
+
"sundays": false
|
878
|
+
},
|
879
|
+
"targetTime": "05:15",
|
880
|
+
"repetitionDays": [
|
881
|
+
"tuesday"
|
882
|
+
]
|
883
|
+
}
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"id": 2,
|
887
|
+
"enabled": true,
|
888
|
+
"recurringTimer": {
|
889
|
+
"startTime": "06:00",
|
890
|
+
"recurringOn": {
|
891
|
+
"mondays": false,
|
892
|
+
"tuesdays": false,
|
893
|
+
"wednesdays": true,
|
894
|
+
"thursdays": true,
|
895
|
+
"fridays": false,
|
896
|
+
"saturdays": false,
|
897
|
+
"sundays": false
|
898
|
+
},
|
899
|
+
"targetTime": "06:00",
|
900
|
+
"repetitionDays": [
|
901
|
+
"wednesday",
|
902
|
+
"thursday"
|
903
|
+
]
|
904
|
+
}
|
905
|
+
}
|
906
|
+
]
|
907
|
+
}
|
908
|
+
}
|
909
|
+
},
|
910
|
+
"fuelStatus": {
|
911
|
+
"rangeStatus": {
|
912
|
+
"value": {
|
913
|
+
"carCapturedTimestamp": "2024-03-07T15:51:07Z",
|
914
|
+
"carType": "electric",
|
915
|
+
"primaryEngine": {
|
916
|
+
"type": "electric",
|
917
|
+
"currentSOC_pct": 90,
|
918
|
+
"remainingRange_km": 309
|
919
|
+
},
|
920
|
+
"totalRange_km": 309
|
921
|
+
}
|
922
|
+
}
|
923
|
+
},
|
924
|
+
"measurements": {
|
925
|
+
"rangeStatus": {
|
926
|
+
"value": {
|
927
|
+
"carCapturedTimestamp": "0001-01-01T00:00:00Z"
|
928
|
+
}
|
929
|
+
},
|
930
|
+
"odometerStatus": {
|
931
|
+
"value": {
|
932
|
+
"carCapturedTimestamp": "2024-03-07T13:11:12.06Z",
|
933
|
+
"odometer": 60995
|
934
|
+
}
|
935
|
+
},
|
936
|
+
"temperatureBatteryStatus": {
|
937
|
+
"value": {
|
938
|
+
"carCapturedTimestamp": "2024-03-07T13:11:13.296Z",
|
939
|
+
"temperatureHvBatteryMin_K": "284.15",
|
940
|
+
"temperatureHvBatteryMax_K": "285.65"
|
941
|
+
}
|
942
|
+
},
|
943
|
+
"fuelLevelStatus": {
|
944
|
+
"value": {
|
945
|
+
"carCapturedTimestamp": "0001-01-01T00:00:00Z",
|
946
|
+
"primaryEngineType": "electric",
|
947
|
+
"carType": "electric"
|
948
|
+
}
|
949
|
+
}
|
950
|
+
},
|
951
|
+
"readiness": {
|
952
|
+
"readinessStatus": {
|
953
|
+
"value": {
|
954
|
+
"connectionState": {
|
955
|
+
"isOnline": true,
|
956
|
+
"isActive": false,
|
957
|
+
"batteryPowerLevel": "comfort",
|
958
|
+
"dailyPowerBudgetAvailable": true
|
959
|
+
},
|
960
|
+
"connectionWarning": {
|
961
|
+
"insufficientBatteryLevelWarning": false,
|
962
|
+
"dailyPowerBudgetWarning": false
|
963
|
+
}
|
964
|
+
}
|
965
|
+
}
|
966
|
+
},
|
967
|
+
"vehicleLights": {
|
968
|
+
"lightsStatus": {
|
969
|
+
"value": {
|
970
|
+
"carCapturedTimestamp": "2024-03-07T13:11:13.149Z",
|
971
|
+
"lights": [
|
972
|
+
{
|
973
|
+
"name": "right",
|
974
|
+
"status": "off"
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"name": "left",
|
978
|
+
"status": "off"
|
979
|
+
}
|
980
|
+
]
|
981
|
+
}
|
982
|
+
}
|
983
|
+
},
|
984
|
+
"vehicleHealthInspection": {
|
985
|
+
"maintenanceStatus": {
|
986
|
+
"value": {
|
987
|
+
"carCapturedTimestamp": "2024-03-07T13:11:12.06Z",
|
988
|
+
"inspectionDue_days": 350,
|
989
|
+
"mileage_km": 60995
|
990
|
+
}
|
991
|
+
}
|
992
|
+
},
|
993
|
+
"vehicleHealthWarnings": {
|
994
|
+
"warningLights": {
|
995
|
+
"value": {
|
996
|
+
"carCapturedTimestamp": "2024-03-07T10:16:54.392Z",
|
997
|
+
"mileage_km": 60995
|
998
|
+
}
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
}
|