Commit graph

839 commits

Author SHA1 Message Date
andig
f9c2220516
VAG: refactor identity management (#1897) 2021-11-19 21:07:57 +01:00
andig
a35eff7c7b chore: add ErrMissingCredentials 2021-11-18 12:11:19 +01:00
andig
9b16f9bcf2
Improve vehicle identification experience (#1889)
- allow multiple identifiers per vehicle to support RFID and MAC across multiple chargers
- move onIdentify action config from loadpoint to vehicle
- add minSoC to action config
- replace onDisconnect with simpler resetOnDisconnect
2021-11-18 11:37:14 +01:00
andig
6849ca3083 Mini: upgrade api 2021-11-16 15:12:56 +01:00
andig
a25875d6ae
BMW: upgrade api (#1876) 2021-11-14 17:25:50 +01:00
andig
fe217debbf chore: fix ruleguard errors 2021-11-14 12:09:17 +01:00
andig
00c8852be4 chore: fix semgrep errors 2021-11-14 11:48:17 +01:00
andig
3160f11a02
Bluelink: refactor refresh logic from api to provider (#1867) 2021-11-12 11:16:47 +01:00
andig
94205af4bc Remove refreshId 2021-11-11 21:24:18 +01:00
andig
b52a750237 Volvo: split packages 2021-11-11 20:31:01 +01:00
Andreas Linde
bfb1694abf
Fix token refresh for Porsche vehicles (#1849) 2021-11-09 10:50:37 +01:00
andig
4c8a4d56ca Hyundai: fix login error by updating brand auth url 2021-11-08 16:00:48 +01:00
andig
ebf4baa431 Hyundai: extract login errors 2021-11-07 16:42:49 +01:00
andig
ca3f793eb1 Add basic form of log redaction for user names and passwords (#1810) 2021-10-31 13:15:41 +01:00
andig
cbadd13db1 Fiat: allow 2 minutes for deep refresh 2021-10-30 15:08:52 +02:00
Andreas Linde
e1f8a50062
Porsche: add apis and fix model selection (#1798)
- Make Odomoter, Climater, ChargeState, FinishTime APIs actually usable, they weren't exposed before
- Combine Provider and ProviderEmobility into one, as they complement each other instead of being different APIs for the same purpose
- Fix SoC not working since 27th October. The Emobility API only works if the Status API is called before. Otherwise the Emobility API returns HTTP 502
- Call status api only once before calling the capabilities Emobility API, as the 502 error only happens for that one call which we only need once per vehicle anyway
- Return proper `api.ErrNotAvailable` errors for vehicles not supporting a specific API
- Only do one call at best for every API. Status API is used if Emobility API is called but fails
2021-10-28 16:32:59 +02:00
andig
64dc40cf4c
Hyundai: update client id and stamps (#1791) 2021-10-26 17:14:49 +02:00
andig
04d3b548a4 Fix compile errors 2021-10-25 14:27:25 +02:00
andig
e3783079de
VW: expose errors from token exchange (#1783) 2021-10-25 13:53:26 +02:00
andig
a5fb9d40c1 Nissan: move VIN from api to provider 2021-10-24 17:26:08 +02:00
andig
3581644004 Kia: update client id
Mimics 9c209913e8
2021-10-24 15:11:41 +02:00
andig
63e4eb2a6a
Nissan: improve login error handling (#1774) 2021-10-24 15:02:38 +02:00
andig
717578eb28 VW: handle homeregion errors 2021-10-24 11:03:10 +02:00
Andreas Linde
b672502e3e
Porsche: fix vehicle auth (#1771) 2021-10-23 11:19:17 +02:00
andig
3f74987f02 Seat: reduce required scopes 2021-10-23 11:00:09 +02:00
andig
00a127ec3e Skoda: reduce required scopes 2021-10-23 10:57:25 +02:00
andig
5e2b47bfd0 Audi: reduce required scopes 2021-10-23 10:57:14 +02:00
andig
c65f6a24c2 VW: reduce required scopes 2021-10-22 20:20:16 +02:00
andig
eb3412f861 VW: improve id token handling 2021-10-22 18:37:59 +02:00
andig
50b3492e30 VW: decode error responses 2021-10-22 17:43:08 +02:00
andig
4ce8e5a72e Porsche: extract emobility errors 2021-10-20 15:26:28 +02:00
andig
43c40f01be Fiat: allow float values for soc 2021-10-20 13:57:09 +02:00
andig
0bb836fd36
Tronity: honor vehicle capabilities (#1754) 2021-10-18 11:48:34 +02:00
Christian Josepeit
e61aabf40f
Ovms: improve retry behaviour (#1713) 2021-10-11 08:36:18 +02:00
andig
b16089e5ae Handle request error 2021-10-05 15:28:15 +02:00
andig
acb6c03d5b Speed up tests by parallelizing 2021-10-04 11:44:27 +02:00
Andreas Linde
a90990ecb9
Porsche: fix api updates (#1670) 2021-09-30 11:44:24 +02:00
andig
270a29a36d Fiat: fix excessive logins
Some checks failed
Build / Build (push) Failing after 7m28s
Build / Build UI (push) Failing after 2m42s
Build / Publish :latest (push) Has been skipped
Build / Publish :release (push) Has been skipped
Build / Release (push) Has been skipped
2021-09-29 11:26:39 +02:00
andig
71f0cae5ea
Improve generating decorators (#1648) 2021-09-26 19:37:00 +02:00
andig
5b78d67338 Carwings: simplify login handling 2021-09-22 13:14:40 +02:00
andig
40fad22f3a BMW: improve error handling 2021-09-22 10:10:12 +02:00
andig
5ff3b10f34 Change the way vehicle errors are silenced 2021-09-21 20:58:44 +02:00
PanNwt
9c32874c88
OVMS: use https (#1575) 2021-09-17 18:52:31 +02:00
andig
e964f2760c
Skoda: update app credentials (#1570) 2021-09-17 07:41:02 +02:00
andig
7959b0daec Nissan: extract error codes from battery response 2021-09-15 11:39:20 +02:00
Andreas Linde
ccf83bb310
Porsche: fix e-mobility vehicle API routes and add login error handling (#1552)
Change required as Porsche backend was updated
2021-09-14 15:45:41 +02:00
andig
769f350884 Minor 2021-09-07 21:10:05 +02:00
andig
bfc79bca64 Audi: remove odometer for time being 2021-09-07 20:04:00 +02:00
andig
e0f68de753 Audi: handle odometer errors 2021-09-06 13:06:15 +02:00
andig
c90ea468bf Add more vehicle samples and tests 2021-09-05 20:37:53 +02:00