iobroker.teslafi 0.2.1 → 0.3.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.
- package/README.md +7 -0
- package/build/lib/teslafiAPICaller.js +116 -446
- package/build/lib/teslafiAPICaller.js.map +1 -1
- package/io-package.json +14 -14
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -45,6 +45,13 @@ If you enjoyed this project — or just feeling generous, consider buying me a b
|
|
|
45
45
|
|
|
46
46
|
## Changelog
|
|
47
47
|
|
|
48
|
+
### 0.3.0 (2024-11-08)
|
|
49
|
+
|
|
50
|
+
- (hombach) implement string for time to finish charge (#42)
|
|
51
|
+
- (hombach) reorganize data in folders (#43)
|
|
52
|
+
- (hombach) show 3rd row seat heater only if 3rd row is available (#40)
|
|
53
|
+
- (hombach) implement 'charging_state' (#37)
|
|
54
|
+
|
|
48
55
|
### 0.2.1 (2024-11-08)
|
|
49
56
|
|
|
50
57
|
- (hombach) change 'time_to_full_charge' type to number (#38)
|
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.TeslaFiAPICaller = void 0;
|
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
|
8
|
+
const date_fns_1 = require("date-fns");
|
|
8
9
|
const projectUtils_1 = require("./projectUtils");
|
|
9
10
|
// structure of vehicle data
|
|
10
11
|
const stVD = {
|
|
@@ -56,7 +57,7 @@ const stVD = {
|
|
|
56
57
|
// rhd: "0", remote_start_supported: null, homelink_nearby: "0", parsed_calendar_supported: null, spoiler_type: null, ft: "0"
|
|
57
58
|
odometer: { key: `odometer`, desc: `current odometer level`, value: null },
|
|
58
59
|
// remote_start: null, pr: "0", climate_keeper_mode: "off", roof_color: null, perf_config: null, valet_mode: "0", calendar_supported: null, pf: "0", sun_roof_percent_open: null,
|
|
59
|
-
|
|
60
|
+
third_row_seats: { key: `third_row_seats`, desc: `third seating row present`, value: null },
|
|
60
61
|
// seat_type: null, api_version: null, rear_seat_heaters: null, rt: "0", exterior_color: null, df: "0", autopark_state: "NULL", sun_roof_state: null, notifications_supported: null, vehicle_name: null,
|
|
61
62
|
// dr: "0", autopark_style: null, car_type: null, wheel_type: "Apollo19MetallicShad", locked: "1", center_display_state: null, last_autopark_error: null
|
|
62
63
|
car_version: { key: `car_version`, desc: `Current software version`, value: null },
|
|
@@ -72,361 +73,6 @@ const stVD = {
|
|
|
72
73
|
// newVersionStatus: "", allow_cabin_overheat_protection: "1", cabin_overheat_protection: "FanOnly", cabin_overheat_protection_actively_cooling: "", cop_activation_temperature: null, pressure: null,
|
|
73
74
|
// tpms_front_left: "41.7", tpms_front_right: "41.0", tpms_rear_left: "41.7", tpms_rear_right: "41.0"
|
|
74
75
|
};
|
|
75
|
-
//#region *** DEMO DATA ***
|
|
76
|
-
/*
|
|
77
|
-
DemoERGTeslaFiSLEEP = {
|
|
78
|
-
data_id: 2307428,
|
|
79
|
-
Date: "2024-10-25 12:20:33",
|
|
80
|
-
calendar_enabled: "169",
|
|
81
|
-
remote_start_enabled: "1",
|
|
82
|
-
vehicle_id: "739 0 0 0 0 0 0",
|
|
83
|
-
display_name: null,
|
|
84
|
-
color: null,
|
|
85
|
-
fast_charger_brand: null,
|
|
86
|
-
notifications_enabled: null,
|
|
87
|
-
vin: null,
|
|
88
|
-
conn_charge_cable: null,
|
|
89
|
-
id: null,
|
|
90
|
-
charge_port_cold_weather_mode: null,
|
|
91
|
-
id_s: null,
|
|
92
|
-
state: "offline",
|
|
93
|
-
option_codes: null,
|
|
94
|
-
user_charge_enable_request: null,
|
|
95
|
-
time_to_full_charge: null,
|
|
96
|
-
charge_current_request: null,
|
|
97
|
-
charge_enable_request: null,
|
|
98
|
-
charge_to_max_range: null,
|
|
99
|
-
charger_phases: null,
|
|
100
|
-
battery_heater_on: null,
|
|
101
|
-
managed_charging_start_time: null,
|
|
102
|
-
battery_range: null,
|
|
103
|
-
charger_power: null,
|
|
104
|
-
charge_limit_soc: null,
|
|
105
|
-
charger_pilot_current: null,
|
|
106
|
-
charge_port_latch: null,
|
|
107
|
-
battery_current: null,
|
|
108
|
-
charger_actual_current: null,
|
|
109
|
-
scheduled_charging_pending: null,
|
|
110
|
-
fast_charger_type: null,
|
|
111
|
-
usable_battery_level: null,
|
|
112
|
-
motorized_charge_port: null,
|
|
113
|
-
charge_limit_soc_std: null,
|
|
114
|
-
not_enough_power_to_heat: null,
|
|
115
|
-
battery_level: null,
|
|
116
|
-
charge_energy_added: null,
|
|
117
|
-
charge_port_door_open: null,
|
|
118
|
-
max_range_charge_counter: null,
|
|
119
|
-
charge_limit_soc_max: null,
|
|
120
|
-
ideal_battery_range: null,
|
|
121
|
-
managed_charging_active: null,
|
|
122
|
-
charging_state: null,
|
|
123
|
-
fast_charger_present: null,
|
|
124
|
-
trip_charging: null,
|
|
125
|
-
managed_charging_user_canceled: null,
|
|
126
|
-
scheduled_charging_start_time: null,
|
|
127
|
-
est_battery_range: null,
|
|
128
|
-
charge_rate: null,
|
|
129
|
-
charger_voltage: null,
|
|
130
|
-
charge_current_request_max: null,
|
|
131
|
-
eu_vehicle: null,
|
|
132
|
-
charge_miles_added_ideal: null,
|
|
133
|
-
charge_limit_soc_min: null,
|
|
134
|
-
charge_miles_added_rated: null,
|
|
135
|
-
inside_temp: null,
|
|
136
|
-
longitude: null,
|
|
137
|
-
heading: null,
|
|
138
|
-
gps_as_of: null,
|
|
139
|
-
latitude: null,
|
|
140
|
-
speed: null,
|
|
141
|
-
shift_state: null,
|
|
142
|
-
seat_heater_rear_right: null,
|
|
143
|
-
seat_heater_rear_left_back: null,
|
|
144
|
-
seat_heater_left: null,
|
|
145
|
-
passenger_temp_setting: null,
|
|
146
|
-
is_auto_conditioning_on: null,
|
|
147
|
-
driver_temp_setting: null,
|
|
148
|
-
outside_temp: null,
|
|
149
|
-
seat_heater_rear_center: null,
|
|
150
|
-
is_rear_defroster_on: null,
|
|
151
|
-
seat_heater_rear_right_back: null,
|
|
152
|
-
smart_preconditioning: null,
|
|
153
|
-
seat_heater_right: null,
|
|
154
|
-
fan_status: null,
|
|
155
|
-
is_front_defroster_on: null,
|
|
156
|
-
seat_heater_rear_left: null,
|
|
157
|
-
gui_charge_rate_units: null,
|
|
158
|
-
gui_24_hour_time: null,
|
|
159
|
-
gui_temperature_units: null,
|
|
160
|
-
gui_range_display: null,
|
|
161
|
-
gui_distance_units: null,
|
|
162
|
-
sun_roof_installed: null,
|
|
163
|
-
rhd: null,
|
|
164
|
-
remote_start_supported: null,
|
|
165
|
-
homelink_nearby: null,
|
|
166
|
-
parsed_calendar_supported: null,
|
|
167
|
-
spoiler_type: null,
|
|
168
|
-
ft: null,
|
|
169
|
-
odometer: null,
|
|
170
|
-
remote_start: null,
|
|
171
|
-
pr: null,
|
|
172
|
-
climate_keeper_mode: null,
|
|
173
|
-
roof_color: null,
|
|
174
|
-
perf_config: null,
|
|
175
|
-
valet_mode: null,
|
|
176
|
-
calendar_supported: null,
|
|
177
|
-
pf: null,
|
|
178
|
-
sun_roof_percent_open: null,
|
|
179
|
-
third_row_seats: null,
|
|
180
|
-
seat_type: null,
|
|
181
|
-
api_version: null,
|
|
182
|
-
rear_seat_heaters: null,
|
|
183
|
-
rt: null,
|
|
184
|
-
exterior_color: null,
|
|
185
|
-
df: null,
|
|
186
|
-
autopark_state: null,
|
|
187
|
-
sun_roof_state: null,
|
|
188
|
-
notifications_supported: null,
|
|
189
|
-
vehicle_name: null,
|
|
190
|
-
dr: null,
|
|
191
|
-
autopark_style: null,
|
|
192
|
-
car_type: null,
|
|
193
|
-
wheel_type: null,
|
|
194
|
-
locked: null,
|
|
195
|
-
center_display_state: null,
|
|
196
|
-
last_autopark_error: null,
|
|
197
|
-
car_version: null,
|
|
198
|
-
defrost_mode: null,
|
|
199
|
-
autopark_state_v2: null,
|
|
200
|
-
is_preconditioning: "",
|
|
201
|
-
inside_tempF: "",
|
|
202
|
-
driver_temp_settingF: "",
|
|
203
|
-
outside_tempF: "",
|
|
204
|
-
battery_heater: "",
|
|
205
|
-
Notes: "Offline Asleep",
|
|
206
|
-
odometerF: "",
|
|
207
|
-
idleNumber: 0,
|
|
208
|
-
sleepNumber: 6750,
|
|
209
|
-
driveNumber: 0,
|
|
210
|
-
chargeNumber: 0,
|
|
211
|
-
polling: "",
|
|
212
|
-
idleTime: 0,
|
|
213
|
-
maxRange: "314.14",
|
|
214
|
-
left_temp_direction: null,
|
|
215
|
-
max_avail_temp: null,
|
|
216
|
-
is_climate_on: null,
|
|
217
|
-
right_temp_direction: null,
|
|
218
|
-
min_avail_temp: null,
|
|
219
|
-
is_user_present: null,
|
|
220
|
-
in_service: null,
|
|
221
|
-
valet_pin_needed: null,
|
|
222
|
-
charge_port_led_color: null,
|
|
223
|
-
timestamp: null,
|
|
224
|
-
power: null,
|
|
225
|
-
side_mirror_heaters: null,
|
|
226
|
-
wiper_blade_heater: null,
|
|
227
|
-
steering_wheel_heater: null,
|
|
228
|
-
elevation: "",
|
|
229
|
-
sentry_mode: "",
|
|
230
|
-
fd_window: "",
|
|
231
|
-
fp_window: "",
|
|
232
|
-
rd_window: "",
|
|
233
|
-
rp_window: "",
|
|
234
|
-
measure: "metric",
|
|
235
|
-
temperature: "C",
|
|
236
|
-
currency: "€",
|
|
237
|
-
carState: "Sleeping",
|
|
238
|
-
location: "Home",
|
|
239
|
-
rangeDisplay: "rated",
|
|
240
|
-
newVersion: " ",
|
|
241
|
-
newVersionStatus: "",
|
|
242
|
-
allow_cabin_overheat_protection: "",
|
|
243
|
-
cabin_overheat_protection: null,
|
|
244
|
-
cabin_overheat_protection_actively_cooling: null,
|
|
245
|
-
cop_activation_temperature: null,
|
|
246
|
-
pressure: null,
|
|
247
|
-
tpms_front_left: "39.5",
|
|
248
|
-
tpms_front_right: "39.2",
|
|
249
|
-
tpms_rear_left: "39.5",
|
|
250
|
-
tpms_rear_right: "39.2",
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
DemoERGTeslaFiAWAKE = {
|
|
254
|
-
data_id: 2307502,
|
|
255
|
-
Date: "2024-10-25 20:43:33",
|
|
256
|
-
calendar_enabled: null,
|
|
257
|
-
remote_start_enabled: "1",
|
|
258
|
-
vehicle_id: "1241 70 45 0 0 0 0",
|
|
259
|
-
display_name: "Red Elephant",
|
|
260
|
-
color: "1 FanOnly ",
|
|
261
|
-
fast_charger_brand: "",
|
|
262
|
-
notifications_enabled: null,
|
|
263
|
-
vin: "LRWYGCEKXNC446038",
|
|
264
|
-
conn_charge_cable: "IEC",
|
|
265
|
-
id: "NULL",
|
|
266
|
-
charge_port_cold_weather_mode: "0",
|
|
267
|
-
id_s: "",
|
|
268
|
-
state: "online",
|
|
269
|
-
option_codes: null,
|
|
270
|
-
user_charge_enable_request: null,
|
|
271
|
-
time_to_full_charge: "0.0",
|
|
272
|
-
charge_current_request: "16",
|
|
273
|
-
charge_enable_request: "1",
|
|
274
|
-
charge_to_max_range: "",
|
|
275
|
-
charger_phases: null,
|
|
276
|
-
battery_heater_on: "0",
|
|
277
|
-
managed_charging_start_time: "",
|
|
278
|
-
battery_range: "237.17",
|
|
279
|
-
charger_power: "0",
|
|
280
|
-
charge_limit_soc: "80",
|
|
281
|
-
charger_pilot_current: "16",
|
|
282
|
-
charge_port_latch: "Engaged",
|
|
283
|
-
battery_current: "",
|
|
284
|
-
charger_actual_current: "0",
|
|
285
|
-
scheduled_charging_pending: "0",
|
|
286
|
-
fast_charger_type: "",
|
|
287
|
-
usable_battery_level: "75",
|
|
288
|
-
motorized_charge_port: null,
|
|
289
|
-
charge_limit_soc_std: null,
|
|
290
|
-
not_enough_power_to_heat: null,
|
|
291
|
-
battery_level: "76",
|
|
292
|
-
charge_energy_added: "0.0",
|
|
293
|
-
charge_port_door_open: "1",
|
|
294
|
-
max_range_charge_counter: null,
|
|
295
|
-
charge_limit_soc_max: null,
|
|
296
|
-
ideal_battery_range: "237.17",
|
|
297
|
-
managed_charging_active: "",
|
|
298
|
-
charging_state: "NoPower",
|
|
299
|
-
fast_charger_present: "0",
|
|
300
|
-
trip_charging: "1",
|
|
301
|
-
managed_charging_user_canceled: null,
|
|
302
|
-
scheduled_charging_start_time: null,
|
|
303
|
-
est_battery_range: "208.25",
|
|
304
|
-
charge_rate: "0.0",
|
|
305
|
-
charger_voltage: "1",
|
|
306
|
-
charge_current_request_max: "16",
|
|
307
|
-
eu_vehicle: "1",
|
|
308
|
-
charge_miles_added_ideal: "0.0",
|
|
309
|
-
charge_limit_soc_min: null,
|
|
310
|
-
charge_miles_added_rated: "0.0",
|
|
311
|
-
inside_temp: "15.8",
|
|
312
|
-
longitude: "9.899749",
|
|
313
|
-
heading: "",
|
|
314
|
-
gps_as_of: null,
|
|
315
|
-
latitude: "49.873095",
|
|
316
|
-
speed: null,
|
|
317
|
-
shift_state: null,
|
|
318
|
-
seat_heater_rear_right: "0",
|
|
319
|
-
seat_heater_rear_left_back: "",
|
|
320
|
-
seat_heater_left: "0",
|
|
321
|
-
passenger_temp_setting: "20.5",
|
|
322
|
-
is_auto_conditioning_on: "0",
|
|
323
|
-
driver_temp_setting: "20.5",
|
|
324
|
-
outside_temp: "14.0",
|
|
325
|
-
seat_heater_rear_center: "0",
|
|
326
|
-
is_rear_defroster_on: "0",
|
|
327
|
-
seat_heater_rear_right_back: "",
|
|
328
|
-
smart_preconditioning: "",
|
|
329
|
-
seat_heater_right: "0",
|
|
330
|
-
fan_status: "0",
|
|
331
|
-
is_front_defroster_on: "0",
|
|
332
|
-
seat_heater_rear_left: "0",
|
|
333
|
-
gui_charge_rate_units: null,
|
|
334
|
-
gui_24_hour_time: null,
|
|
335
|
-
gui_temperature_units: null,
|
|
336
|
-
gui_range_display: null,
|
|
337
|
-
gui_distance_units: null,
|
|
338
|
-
sun_roof_installed: null,
|
|
339
|
-
rhd: "0",
|
|
340
|
-
remote_start_supported: null,
|
|
341
|
-
homelink_nearby: "0",
|
|
342
|
-
parsed_calendar_supported: null,
|
|
343
|
-
spoiler_type: null,
|
|
344
|
-
ft: "0",
|
|
345
|
-
odometer: "16434.079511",
|
|
346
|
-
remote_start: null,
|
|
347
|
-
pr: "0",
|
|
348
|
-
climate_keeper_mode: "off",
|
|
349
|
-
roof_color: null,
|
|
350
|
-
perf_config: null,
|
|
351
|
-
valet_mode: "0",
|
|
352
|
-
calendar_supported: null,
|
|
353
|
-
pf: "0",
|
|
354
|
-
sun_roof_percent_open: null,
|
|
355
|
-
third_row_seats: null,
|
|
356
|
-
seat_type: null,
|
|
357
|
-
api_version: null,
|
|
358
|
-
rear_seat_heaters: null,
|
|
359
|
-
rt: "0",
|
|
360
|
-
exterior_color: null,
|
|
361
|
-
df: "0",
|
|
362
|
-
autopark_state: "NULL",
|
|
363
|
-
sun_roof_state: null,
|
|
364
|
-
notifications_supported: null,
|
|
365
|
-
vehicle_name: null,
|
|
366
|
-
dr: "0",
|
|
367
|
-
autopark_style: null,
|
|
368
|
-
car_type: null,
|
|
369
|
-
wheel_type: "Apollo19MetallicShad",
|
|
370
|
-
locked: "1",
|
|
371
|
-
center_display_state: null,
|
|
372
|
-
last_autopark_error: null,
|
|
373
|
-
car_version: "2024.32.7 3f0d0fff88",
|
|
374
|
-
defrost_mode: "0",
|
|
375
|
-
autopark_state_v2: null,
|
|
376
|
-
is_preconditioning: "0",
|
|
377
|
-
inside_tempF: "60",
|
|
378
|
-
driver_temp_settingF: "",
|
|
379
|
-
outside_tempF: "57",
|
|
380
|
-
battery_heater: "0",
|
|
381
|
-
Notes: "",
|
|
382
|
-
odometerF: "",
|
|
383
|
-
idleNumber: 14780,
|
|
384
|
-
sleepNumber: 0,
|
|
385
|
-
driveNumber: 0,
|
|
386
|
-
chargeNumber: 0,
|
|
387
|
-
polling: "",
|
|
388
|
-
idleTime: 1,
|
|
389
|
-
maxRange: "314.14",
|
|
390
|
-
left_temp_direction: null,
|
|
391
|
-
max_avail_temp: null,
|
|
392
|
-
is_climate_on: "0",
|
|
393
|
-
right_temp_direction: null,
|
|
394
|
-
min_avail_temp: null,
|
|
395
|
-
is_user_present: "0",
|
|
396
|
-
in_service: "0",
|
|
397
|
-
valet_pin_needed: null,
|
|
398
|
-
charge_port_led_color: null,
|
|
399
|
-
timestamp: null,
|
|
400
|
-
power: "0",
|
|
401
|
-
side_mirror_heaters: "0",
|
|
402
|
-
wiper_blade_heater: "0",
|
|
403
|
-
steering_wheel_heater: "0",
|
|
404
|
-
elevation: "",
|
|
405
|
-
sentry_mode: "0",
|
|
406
|
-
fd_window: "0",
|
|
407
|
-
fp_window: "0",
|
|
408
|
-
rd_window: "0",
|
|
409
|
-
rp_window: "0",
|
|
410
|
-
measure: "metric",
|
|
411
|
-
temperature: "C",
|
|
412
|
-
currency: "€",
|
|
413
|
-
carState: "Idling",
|
|
414
|
-
location: "Home",
|
|
415
|
-
rangeDisplay: "rated",
|
|
416
|
-
newVersion: " ",
|
|
417
|
-
newVersionStatus: "",
|
|
418
|
-
allow_cabin_overheat_protection: "1",
|
|
419
|
-
cabin_overheat_protection: "FanOnly",
|
|
420
|
-
cabin_overheat_protection_actively_cooling: "",
|
|
421
|
-
cop_activation_temperature: null,
|
|
422
|
-
pressure: null,
|
|
423
|
-
tpms_front_left: "41.7",
|
|
424
|
-
tpms_front_right: "41.0",
|
|
425
|
-
tpms_rear_left: "41.7",
|
|
426
|
-
tpms_rear_right: "41.0",
|
|
427
|
-
};
|
|
428
|
-
*/
|
|
429
|
-
//#endregion
|
|
430
76
|
/*
|
|
431
77
|
function resolveAfterXSeconds(x: number) {
|
|
432
78
|
return new Promise((resolve) => {
|
|
@@ -436,6 +82,11 @@ function resolveAfterXSeconds(x: number) {
|
|
|
436
82
|
});
|
|
437
83
|
}
|
|
438
84
|
*/
|
|
85
|
+
function calculateEndTimeFromNow(hours, dateFormat = "dd.MM.yyyy HH:mm:ss") {
|
|
86
|
+
const totalSeconds = hours * 3600;
|
|
87
|
+
const endTime = (0, date_fns_1.add)(new Date(), { seconds: totalSeconds });
|
|
88
|
+
return (0, date_fns_1.format)(endTime, dateFormat);
|
|
89
|
+
}
|
|
439
90
|
class TeslaFiAPICaller extends projectUtils_1.ProjectUtils {
|
|
440
91
|
queryUrl = "";
|
|
441
92
|
constructor(adapter) {
|
|
@@ -453,7 +104,7 @@ class TeslaFiAPICaller extends projectUtils_1.ProjectUtils {
|
|
|
453
104
|
throw new Error(`Empty answer from TeslaFi.`);
|
|
454
105
|
}
|
|
455
106
|
const result = JSON.parse(response.data);
|
|
456
|
-
//
|
|
107
|
+
// verify authorized access
|
|
457
108
|
if (result.response?.result === "unauthorized") {
|
|
458
109
|
this.adapter.log.warn(`TeslaFI data read - unauthorized access detected - please verify your API Token`);
|
|
459
110
|
return false;
|
|
@@ -466,151 +117,170 @@ class TeslaFiAPICaller extends projectUtils_1.ProjectUtils {
|
|
|
466
117
|
stVD[key].value = value; // Wert direkt in die Struktur einfügen
|
|
467
118
|
}
|
|
468
119
|
}
|
|
469
|
-
// process structure
|
|
120
|
+
// process property structure
|
|
121
|
+
//#region *** "vehicle-data" properties ***
|
|
470
122
|
if (stVD.Date.value !== null) {
|
|
471
123
|
//"2024-10-25 20:43:33"
|
|
472
124
|
this.checkAndSetValue(`vehicle-data.${stVD.Date.key}`, stVD.Date.value, stVD.Date.desc);
|
|
473
125
|
}
|
|
126
|
+
if (stVD.vin.value !== null) {
|
|
127
|
+
//"LRWYGCEKXNC44xxxx"
|
|
128
|
+
this.checkAndSetValue(`vehicle-data.${stVD.vin.key}`, stVD.vin.value, stVD.vin.desc);
|
|
129
|
+
}
|
|
474
130
|
if (stVD.display_name.value !== null) {
|
|
475
131
|
//"Red Elephant"
|
|
476
132
|
this.checkAndSetValue(`vehicle-data.${stVD.display_name.key}`, stVD.display_name.value, stVD.display_name.desc);
|
|
477
133
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region *** "vehicle-state" properties ***
|
|
136
|
+
if (stVD.carState.value !== null) {
|
|
137
|
+
//"Idling"
|
|
138
|
+
this.checkAndSetValue(`vehicle-state.${stVD.carState.key}`, stVD.carState.value, stVD.carState.desc);
|
|
481
139
|
}
|
|
482
140
|
if (stVD.state.value !== null) {
|
|
483
141
|
//"online"
|
|
484
|
-
this.checkAndSetValue(`vehicle-
|
|
142
|
+
this.checkAndSetValue(`vehicle-state.${stVD.state.key}`, stVD.state.value, stVD.state.desc);
|
|
485
143
|
}
|
|
486
|
-
if (stVD.
|
|
487
|
-
//"
|
|
488
|
-
this.
|
|
144
|
+
if (stVD.charging_state.value !== null) {
|
|
145
|
+
//"NoPower", "Charging", null
|
|
146
|
+
this.checkAndSetValue(`vehicle-state.${stVD.charging_state.key}`, stVD.charging_state.value, stVD.charging_state.desc);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
this.checkAndSetValue(`vehicle-state.${stVD.charging_state.key}`, "Unknown", stVD.charging_state.desc);
|
|
150
|
+
}
|
|
151
|
+
if (stVD.car_version.value !== null) {
|
|
152
|
+
//"2024.32.7 3f0d0fff88"
|
|
153
|
+
this.checkAndSetValue(`vehicle-state.${stVD.car_version.key}`, stVD.car_version.value, stVD.car_version.desc);
|
|
154
|
+
}
|
|
155
|
+
if (stVD.newVersion.value !== null) {
|
|
156
|
+
//" "
|
|
157
|
+
this.checkAndSetValue(`vehicle-state.${stVD.newVersion.key}`, stVD.newVersion.value, stVD.newVersion.desc);
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
this.checkAndSetValue(`vehicle-state.${stVD.newVersion.key}`, ``, stVD.newVersion.desc);
|
|
161
|
+
}
|
|
162
|
+
if (stVD.location.value !== null) {
|
|
163
|
+
//"Home"
|
|
164
|
+
this.checkAndSetValue(`vehicle-state.${stVD.location.key}`, stVD.location.value, stVD.location.desc);
|
|
165
|
+
}
|
|
166
|
+
if (stVD.longitude.value !== null) {
|
|
167
|
+
//"9.899749"
|
|
168
|
+
this.checkAndSetValue(`vehicle-state.${stVD.longitude.key}`, stVD.longitude.value, stVD.longitude.desc);
|
|
169
|
+
}
|
|
170
|
+
if (stVD.latitude.value !== null) {
|
|
171
|
+
//"49.873095"
|
|
172
|
+
this.checkAndSetValue(`vehicle-state.${stVD.latitude.key}`, stVD.latitude.value, stVD.latitude.desc);
|
|
173
|
+
}
|
|
174
|
+
if (stVD.odometer.value !== null) {
|
|
175
|
+
//"16434.079511"
|
|
176
|
+
this.checkAndSetValueNumber(`vehicle-state.${stVD.odometer.key}`, Math.round(parseFloat(stVD.odometer.value) * 100) / 100, stVD.odometer.desc, "mi");
|
|
177
|
+
this.checkAndSetValueNumber(`vehicle-state.${stVD.odometer.key}_km`, Math.round(parseFloat(stVD.odometer.value) * 160.934) / 100, stVD.odometer.desc, "km");
|
|
178
|
+
}
|
|
179
|
+
if (stVD.speed.value !== null) {
|
|
180
|
+
//"28"
|
|
181
|
+
this.checkAndSetValueNumber(`vehicle-state.${stVD.speed.key}`, Math.round(parseFloat(stVD.speed.value) * 100) / 100, stVD.speed.desc, "km/h");
|
|
489
182
|
}
|
|
490
183
|
else {
|
|
491
|
-
this.checkAndSetValueNumber(`vehicle-
|
|
184
|
+
this.checkAndSetValueNumber(`vehicle-state.${stVD.speed.key}`, 0, stVD.speed.desc, "km/h");
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region *** "battery-state" properties ***
|
|
188
|
+
if (stVD.battery_level.value !== null) {
|
|
189
|
+
//"76"
|
|
190
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.battery_level.key}`, parseFloat(stVD.battery_level.value), stVD.battery_level.desc, "%");
|
|
191
|
+
}
|
|
192
|
+
if (stVD.usable_battery_level.value !== null) {
|
|
193
|
+
//"75"
|
|
194
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.usable_battery_level.key}`, parseFloat(stVD.usable_battery_level.value), stVD.usable_battery_level.desc, "%");
|
|
195
|
+
}
|
|
196
|
+
if (stVD.est_battery_range.value !== null) {
|
|
197
|
+
//"208.25"
|
|
198
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.est_battery_range.key}`, parseFloat(stVD.est_battery_range.value), stVD.est_battery_range.desc, "mi");
|
|
199
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.est_battery_range.key}_km`, Math.round(parseFloat(stVD.est_battery_range.value) * 160.934) / 100, stVD.est_battery_range.desc, "km");
|
|
492
200
|
}
|
|
493
201
|
if (stVD.charge_current_request.value !== null) {
|
|
494
202
|
//"16"
|
|
495
|
-
this.checkAndSetValueNumber(`
|
|
203
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charge_current_request.key}`, parseFloat(stVD.charge_current_request.value), stVD.charge_current_request.desc, "A");
|
|
496
204
|
}
|
|
497
205
|
else {
|
|
498
|
-
this.checkAndSetValueNumber(`
|
|
206
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charge_current_request.key}`, 0, stVD.charge_current_request.desc, "A");
|
|
207
|
+
}
|
|
208
|
+
if (stVD.charge_limit_soc.value !== null) {
|
|
209
|
+
//"80"
|
|
210
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charge_limit_soc.key}`, parseFloat(stVD.charge_limit_soc.value), stVD.charge_limit_soc.desc, "%");
|
|
499
211
|
}
|
|
500
212
|
if (stVD.charger_phases.value !== null) {
|
|
501
213
|
//"3"
|
|
502
|
-
this.checkAndSetValueNumber(`
|
|
214
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charger_phases.key}`, parseFloat(stVD.charger_phases.value), stVD.charger_phases.desc);
|
|
503
215
|
}
|
|
504
216
|
else {
|
|
505
|
-
this.checkAndSetValueNumber(`
|
|
217
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charger_phases.key}`, 0, stVD.charger_phases.desc);
|
|
506
218
|
}
|
|
507
219
|
if (stVD.charger_power.value !== null) {
|
|
508
220
|
//"0"
|
|
509
|
-
this.checkAndSetValueNumber(`
|
|
221
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charger_power.key}`, parseFloat(stVD.charger_power.value), stVD.charger_power.desc, "kW");
|
|
510
222
|
}
|
|
511
223
|
else {
|
|
512
|
-
this.checkAndSetValueNumber(`
|
|
513
|
-
}
|
|
514
|
-
if (stVD.charge_limit_soc.value !== null) {
|
|
515
|
-
//"80"
|
|
516
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.charge_limit_soc.key}`, parseFloat(stVD.charge_limit_soc.value), stVD.charge_limit_soc.desc, "%");
|
|
517
|
-
}
|
|
518
|
-
if (stVD.usable_battery_level.value !== null) {
|
|
519
|
-
//"75"
|
|
520
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.usable_battery_level.key}`, parseFloat(stVD.usable_battery_level.value), stVD.usable_battery_level.desc, "%");
|
|
224
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.charger_power.key}`, 0, stVD.charger_power.desc, "kW");
|
|
521
225
|
}
|
|
522
|
-
if (stVD.
|
|
523
|
-
//"
|
|
524
|
-
this.checkAndSetValueNumber(`
|
|
226
|
+
if (stVD.time_to_full_charge.value !== null) {
|
|
227
|
+
//"0.0"
|
|
228
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.time_to_full_charge.key}`, parseFloat(stVD.time_to_full_charge.value), stVD.time_to_full_charge.desc, "h");
|
|
229
|
+
this.checkAndSetValue(`battery-state.time_to_finish_charge`, calculateEndTimeFromNow(parseFloat(stVD.time_to_full_charge.value)), stVD.time_to_full_charge.desc);
|
|
525
230
|
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
this.
|
|
529
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.est_battery_range.key}_km`, Math.round(parseFloat(stVD.est_battery_range.value) * 160.934) / 100, stVD.est_battery_range.desc, "km");
|
|
231
|
+
else {
|
|
232
|
+
this.checkAndSetValueNumber(`battery-state.${stVD.time_to_full_charge.key}`, 0, stVD.time_to_full_charge.desc);
|
|
233
|
+
this.checkAndSetValue(`battery-state.time_to_finish_charge`, `---`, stVD.time_to_full_charge.desc);
|
|
530
234
|
}
|
|
235
|
+
//#endregion
|
|
236
|
+
//#region *** "thermal-state" properties ***
|
|
531
237
|
if (stVD.inside_temp.value !== null) {
|
|
532
238
|
//"15.8"
|
|
533
|
-
this.checkAndSetValueNumber(`
|
|
534
|
-
}
|
|
535
|
-
if (stVD.longitude.value !== null) {
|
|
536
|
-
//"9.899749"
|
|
537
|
-
this.checkAndSetValue(`vehicle-data.${stVD.longitude.key}`, stVD.longitude.value, stVD.longitude.desc);
|
|
538
|
-
}
|
|
539
|
-
if (stVD.latitude.value !== null) {
|
|
540
|
-
//"49.873095"
|
|
541
|
-
this.checkAndSetValue(`vehicle-data.${stVD.latitude.key}`, stVD.latitude.value, stVD.latitude.desc);
|
|
239
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.inside_temp.key}`, parseFloat(stVD.inside_temp.value), stVD.inside_temp.desc, "°C");
|
|
542
240
|
}
|
|
543
|
-
if (stVD.
|
|
544
|
-
//"
|
|
545
|
-
this.checkAndSetValueNumber(`
|
|
241
|
+
if (stVD.outside_temp.value !== null) {
|
|
242
|
+
//"14.0"
|
|
243
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.outside_temp.key}`, parseFloat(stVD.outside_temp.value), stVD.outside_temp.desc, "°C");
|
|
546
244
|
}
|
|
547
|
-
|
|
548
|
-
|
|
245
|
+
if (stVD.driver_temp_setting.value !== null) {
|
|
246
|
+
//"20.5"
|
|
247
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.driver_temp_setting.key}`, parseFloat(stVD.driver_temp_setting.value), stVD.driver_temp_setting.desc, "°C");
|
|
549
248
|
}
|
|
550
249
|
if (stVD.seat_heater_left.value !== null) {
|
|
551
250
|
//"2"
|
|
552
|
-
this.checkAndSetValueNumber(`
|
|
251
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_left.key}`, parseFloat(stVD.seat_heater_left.value), stVD.seat_heater_left.desc);
|
|
553
252
|
}
|
|
554
253
|
if (stVD.seat_heater_right.value !== null) {
|
|
555
254
|
//"0"
|
|
556
|
-
this.checkAndSetValueNumber(`
|
|
255
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_right.key}`, parseFloat(stVD.seat_heater_right.value), stVD.seat_heater_right.desc);
|
|
557
256
|
}
|
|
558
257
|
if (stVD.seat_heater_rear_left.value !== null) {
|
|
559
258
|
//"2"
|
|
560
|
-
this.checkAndSetValueNumber(`
|
|
259
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_rear_left.key}`, parseFloat(stVD.seat_heater_rear_left.value), stVD.seat_heater_rear_left.desc);
|
|
561
260
|
}
|
|
562
261
|
if (stVD.seat_heater_rear_center.value !== null) {
|
|
563
262
|
//"0"
|
|
564
|
-
this.checkAndSetValueNumber(`
|
|
263
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_rear_center.key}`, parseFloat(stVD.seat_heater_rear_center.value), stVD.seat_heater_rear_center.desc);
|
|
565
264
|
}
|
|
566
265
|
if (stVD.seat_heater_rear_right.value !== null) {
|
|
567
266
|
//"3"
|
|
568
|
-
this.checkAndSetValueNumber(`
|
|
569
|
-
}
|
|
570
|
-
if (stVD.seat_heater_rear_left_back.value !== null) {
|
|
571
|
-
//"3"
|
|
572
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.seat_heater_rear_left_back.key}`, parseFloat(stVD.seat_heater_rear_left_back.value), stVD.seat_heater_rear_left_back.desc);
|
|
267
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_rear_right.key}`, parseFloat(stVD.seat_heater_rear_right.value), stVD.seat_heater_rear_right.desc);
|
|
573
268
|
}
|
|
574
|
-
if (stVD.
|
|
575
|
-
|
|
576
|
-
|
|
269
|
+
if (stVD.third_row_seats.value !== null) {
|
|
270
|
+
if (stVD.seat_heater_rear_left_back.value !== null) {
|
|
271
|
+
//"3"
|
|
272
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_rear_left_back.key}`, parseFloat(stVD.seat_heater_rear_left_back.value), stVD.seat_heater_rear_left_back.desc);
|
|
273
|
+
}
|
|
274
|
+
if (stVD.seat_heater_rear_right_back.value !== null) {
|
|
275
|
+
//"2"
|
|
276
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.seat_heater_rear_right_back.key}`, parseFloat(stVD.seat_heater_rear_right_back.value), stVD.seat_heater_rear_right_back.desc);
|
|
277
|
+
}
|
|
577
278
|
}
|
|
578
279
|
if (stVD.steering_wheel_heater.value !== null) {
|
|
579
280
|
//"0"
|
|
580
|
-
this.checkAndSetValueNumber(`
|
|
581
|
-
}
|
|
582
|
-
if (stVD.driver_temp_setting.value !== null) {
|
|
583
|
-
//"20.5"
|
|
584
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.driver_temp_setting.key}`, parseFloat(stVD.driver_temp_setting.value), stVD.driver_temp_setting.desc, "°C");
|
|
585
|
-
}
|
|
586
|
-
if (stVD.outside_temp.value !== null) {
|
|
587
|
-
//"14.0"
|
|
588
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.outside_temp.key}`, parseFloat(stVD.outside_temp.value), stVD.outside_temp.desc, "°C");
|
|
589
|
-
}
|
|
590
|
-
if (stVD.odometer.value !== null) {
|
|
591
|
-
//"16434.079511"
|
|
592
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.odometer.key}`, Math.round(parseFloat(stVD.odometer.value) * 100) / 100, stVD.odometer.desc, "mi");
|
|
593
|
-
this.checkAndSetValueNumber(`vehicle-data.${stVD.odometer.key}_km`, Math.round(parseFloat(stVD.odometer.value) * 160.934) / 100, stVD.odometer.desc, "km");
|
|
594
|
-
}
|
|
595
|
-
if (stVD.car_version.value !== null) {
|
|
596
|
-
//"2024.32.7 3f0d0fff88"
|
|
597
|
-
this.checkAndSetValue(`vehicle-data.${stVD.car_version.key}`, stVD.car_version.value, stVD.car_version.desc);
|
|
598
|
-
}
|
|
599
|
-
if (stVD.carState.value !== null) {
|
|
600
|
-
//"Idling"
|
|
601
|
-
this.checkAndSetValue(`vehicle-data.${stVD.carState.key}`, stVD.carState.value, stVD.carState.desc);
|
|
602
|
-
}
|
|
603
|
-
if (stVD.location.value !== null) {
|
|
604
|
-
//"Home"
|
|
605
|
-
this.checkAndSetValue(`vehicle-data.${stVD.location.key}`, stVD.location.value, stVD.location.desc);
|
|
606
|
-
}
|
|
607
|
-
if (stVD.newVersion.value !== null) {
|
|
608
|
-
//" "
|
|
609
|
-
this.checkAndSetValue(`vehicle-data.${stVD.newVersion.key}`, stVD.newVersion.value, stVD.newVersion.desc);
|
|
610
|
-
}
|
|
611
|
-
else {
|
|
612
|
-
this.checkAndSetValue(`vehicle-data.${stVD.newVersion.key}`, ``, stVD.newVersion.desc);
|
|
281
|
+
this.checkAndSetValueNumber(`thermal-state.${stVD.steering_wheel_heater.key}`, parseFloat(stVD.steering_wheel_heater.value), stVD.steering_wheel_heater.desc);
|
|
613
282
|
}
|
|
283
|
+
//#endregion
|
|
614
284
|
return true;
|
|
615
285
|
}
|
|
616
286
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teslafiAPICaller.js","sourceRoot":"","sources":["../../src/lib/teslafiAPICaller.ts"],"names":[],"mappings":";;;;;;AACA,kDAA0C;AAC1C,iDAA8C;AAQ9C,4BAA4B;AAC5B,MAAM,IAAI,GAAgC;IACzC,IAAI,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,EAAE,KAAK,EAAE,IAAI,EAAE;IACzE,oDAAoD;IACpD,YAAY,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,IAAI,EAAE;IAC9E,2EAA2E;IAC3E,GAAG,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,IAAI,EAAE;IAC3D,qFAAqF;IACrF,KAAK,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,IAAI,EAAE;IACjE,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AI,QAAQ,EAAE,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;wBACtC,eAAe;wBACf,MAAM,MAAM,GAAG,cAAc,CAAC,eAAe,EAAE,CAAC;wBAChD,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;wBACxB,oEAAoE;wBACpE,MAAM;4BACL,MAAM,CAAC,SAAS,CAAC,CAAC,KAAkG,EAAE,EAAE;gCACvH,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;gCACvB,KAAK,CAAC,MAAM,CAAC,eAAe,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gCAC/C,MAAM,CAAC,cAAc,CAAC,kBAAkB,OAAO,CAAC,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC;4BACpE,CAAC,CAAC,CAAC;wBACJ,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,uBAAuB,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;oBACrF,CAAC;gBACF,CAAC;YACF,CAAC;QACF,CAAC;IACF,CAAC;CACD;AA1VD,4CA0VC"}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "teslafi",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.3.0": {
|
|
7
|
+
"en": "Implement string for time to finish charge (#42)\nReorganize data in folders (#43)\nShow 3rd row seat heater only if 3rd row is available (#40)\nImplement 'charging_state' (#37)",
|
|
8
|
+
"de": "Implementiere Zeichenkette für die Zeit bis zum Abschluss des Ladens (#42)\nOrganisiere Daten in Ordnern neu (#43)\nZeige Sitzheizung der dritten Reihe nur an, wenn eine dritte Reihe vorhanden ist (#40)\nImplementiere 'charging_state' (#37)",
|
|
9
|
+
"ru": "Реализовать строку для времени до завершения зарядки (#42)\nРеорганизовать данные по папкам (#43)\nПоказывать обогрев сидений третьего ряда только если третий ряд доступен (#40)\nРеализовать 'charging_state' (#37)",
|
|
10
|
+
"pt": "Implementar string para tempo de conclusão da carga (#42)\nReorganizar dados em pastas (#43)\nMostrar aquecedor do assento da 3ª fila apenas se a 3ª fila estiver disponível (#40)\nImplementar 'charging_state' (#37)",
|
|
11
|
+
"nl": "Implementeer string voor tijd om op te laden (#42)\nHergeorganiseer gegevens in mappen (#43)\nToon stoelverwarming van de derde rij alleen als de derde rij beschikbaar is (#40)\nImplementeer 'charging_state' (#37)",
|
|
12
|
+
"fr": "Implémenter une chaîne pour le temps restant à charger (#42)\nRéorganiser les données dans des dossiers (#43)\nAfficher le chauffage des sièges de la 3e rangée uniquement si la 3e rangée est disponible (#40)\nImplémenter 'charging_state' (#37)",
|
|
13
|
+
"it": "Implementa stringa per il tempo di completamento della carica (#42)\nRiorganizza i dati nelle cartelle (#43)\nMostra il riscaldatore del sedile della terza fila solo se la terza fila è disponibile (#40)\nImplementa 'charging_state' (#37)",
|
|
14
|
+
"es": "Implementar cadena para el tiempo de finalización de la carga (#42)\nReorganizar datos en carpetas (#43)\nMostrar calefacción de asientos de la tercera fila solo si la tercera fila está disponible (#40)\nImplementar 'charging_state' (#37)",
|
|
15
|
+
"pl": "Wprowadź ciąg znaków dla czasu do zakończenia ładowania (#42)\nZorganizuj dane w folderach (#43)\nPokaż podgrzewanie siedzeń trzeciego rzędu tylko wtedy, gdy trzeci rząd jest dostępny (#40)\nWprowadź 'charging_state' (#37)",
|
|
16
|
+
"uk": "Реалізувати рядок для часу до завершення зарядки (#42)\nРеорганізувати дані в папках (#43)\nПоказувати обігрів сидінь третього ряду лише якщо третій ряд доступний (#40)\nРеалізувати 'charging_state' (#37)",
|
|
17
|
+
"zh-cn": "实现充电完成时间的字符串 (#42)\n将数据重新组织到文件夹中 (#43)\n仅在第三排可用时显示第三排座椅加热 (#40)\n实现 'charging_state' (#37)"
|
|
18
|
+
},
|
|
6
19
|
"0.2.1": {
|
|
7
20
|
"en": "Change 'time_to_full_charge' type to number (#38)\nTotal rework of vehicle data parser\nSet speed to 0 if null in API data (#39)",
|
|
8
21
|
"de": "Ändere den Typ von 'time_to_full_charge' auf Zahl (#38)\nKomplette Überarbeitung des Fahrzeugdatenparsers\nSetze Geschwindigkeit auf 0, wenn in den API-Daten null (#39)",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "Wprowadzenie do najnowszego repozytorium ioBroker\nZaktualizuj zależności",
|
|
81
94
|
"uk": "Введення в останнє репозиторій ioBroker\nОновити залежності",
|
|
82
95
|
"zh-cn": "引入到 ioBroker 最新仓库\n更新依赖项"
|
|
83
|
-
},
|
|
84
|
-
"0.1.1": {
|
|
85
|
-
"en": "Fix npm error",
|
|
86
|
-
"de": "NPM-Fehler behoben",
|
|
87
|
-
"ru": "Исправить ошибку npm",
|
|
88
|
-
"pt": "Corrigir erro npm",
|
|
89
|
-
"nl": "Los npm-fout op",
|
|
90
|
-
"fr": "Corriger l'erreur npm",
|
|
91
|
-
"it": "Correggere l'errore npm",
|
|
92
|
-
"es": "Corregir error de npm",
|
|
93
|
-
"pl": "Napraw błąd npm",
|
|
94
|
-
"uk": "Виправити помилку npm",
|
|
95
|
-
"zh-cn": "修复 npm 错误"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.teslafi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Adapter to poll TeslaFi data of your car",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Hombach",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@iobroker/adapter-core": "^3.2.2",
|
|
27
27
|
"axios": "^1.7.7",
|
|
28
|
-
"cron": "^3.1.9"
|
|
28
|
+
"cron": "^3.1.9",
|
|
29
|
+
"date-fns": "^4.1.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@alcalzone/pak": "^0.11.0",
|