Commit graph

23 commits

Author SHA1 Message Date
andig
995a1bb942 Fix token refresh
Some checks failed
Build / Build (push) Failing after 2m4s
Build / Build UI (push) Failing after 1m49s
Build / Publish :latest (push) Has been skipped
Build / Publish :release (push) Has been skipped
Build / Release (push) Has been skipped
2021-04-15 20:51:41 +02:00
Michael Geers
7d13b60d11
Add Tesla climater (#873) 2021-04-14 10:01:26 +02:00
Markus Thierolf
099f37ee4f Add range and charge status (#842) 2021-04-07 20:48:09 +02:00
andig
110cc0d713 Fix api comment 2021-04-07 10:04:33 +02:00
andig
cfd190bc17 Minor cleanup 2021-04-05 22:05:31 +02:00
Markus Thierolf
bec3116368
Add Niu vehicle api (#836) 2021-04-05 21:56:11 +02:00
andig
8befdcf41e
Refactor token refresh handling into TokenSource and TokenRefresher (#837) 2021-04-05 17:13:02 +02:00
Andreas Linde
33dc71938e
Fix issue when VIN is provided (#834) 2021-04-05 11:08:37 +02:00
Markus Thierolf
711ec8357d
Add Tasmota pseudo charger (#829) 2021-04-03 00:01:50 +02:00
Andreas Linde
6df4d777b9
Improve Porsche Vehicle Support for PHEV (#831)
* Improve Porsche Vehicle Support for PHEV

Only the Taycan supports the emobility API, all other PHEV Porsche vehicles don’t. So adopt this to support both scenarios.

- Check if the emobility API token is available
- Check if the given car is a Taycan and only use the emobility API for this car
2021-04-02 23:59:14 +02:00
andig
c977a47c4a
Update seat.go 2021-04-02 09:57:46 +02:00
andig
6dd353b613
Unserialize temperature (#832) 2021-04-01 19:11:08 +02:00
Andreas Linde
ad1ce28eae
Fix token refresh (#830)
The bug reported via #825 leeds to the conclusion that this could fix the issue.

This needs to be tested with proper credentials, as I don’t have any!
2021-03-31 21:48:09 +02:00
Andreas Linde
f793a46007
Fix unmarshaling for ChargePowerKW (#826) 2021-03-31 13:05:43 +02:00
Markus Thierolf
e3f0efce2a
Handle invalid outdoorTemp (#820)
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
2021-03-29 23:33:40 +02:00
Andreas Linde
8faeb29070
Fix token refresh not working when refresh token expired (#813)
When a token refresh was done longer than 10 minutes after the last login or refresh, it returns an error. In this case a new login should be done instead.
2021-03-28 18:33:05 +02:00
andig
1d79f75980
Cleanup and test for optional interfaces (#799) 2021-03-22 12:51:10 +01:00
Andreas Linde
e07f09fd67
Added support for FinishTime 2021-03-21 12:27:11 +01:00
Andreas Linde
d665e1df70
Added support for Climater 2021-03-21 12:13:16 +01:00
Andreas Linde
bbb3d940f8
Added charging state 2021-03-21 12:04:26 +01:00
Andreas Linde
8008611c22
Update API usage
- Use Emobility API calls to get proper SoC and Range values as the default API call isn’t always up to date
- This required to use a second auth token, that’s why the auth flow had to be adjusted
2021-03-21 11:52:07 +01:00
andig
454688ac9f Don't retain start/stop actions 2021-03-18 10:15:07 +01:00
andig
5d8f1872fb
Internalize all api implementations (#773) 2021-03-17 18:58:52 +01:00