Commit graph

53 commits

Author SHA1 Message Date
andig
9d04e561a9 Gracefully handle when remaining time estimate is not available 2020-09-28 17:08:46 +02:00
andig
d73c374577 Improve error handling 2020-09-28 12:23:26 +02:00
andig
73c351b31d Improve error handling 2020-09-28 12:18:28 +02:00
andig
03dd2f4128 Add VW api (pre-ID portal-based version) (#361) 2020-09-27 18:56:04 +02:00
andig
26eeb05c05
Refactor http helper into util/request (#362) 2020-09-27 17:59:08 +02:00
andig
2dbc3b65d7 Revert invalid attribute rename from #352 2020-09-21 21:03:40 +02:00
andig
c78a43b340
Refactor ChargeRemainder into ChargeFinishTimer (#352) 2020-09-16 08:00:57 +02:00
andig
f0a14abcad Remove need for pin code with bluelink api (#349)
* Remove need for pin code
* Remove unused v2 apis
2020-09-15 11:54:43 +02:00
andig
577df71d0b
Fix bluelink no longer working for Hyundai(#343)
* Consolidate bluelink default configuration
2020-09-15 07:57:46 +02:00
andig
8a1a39d1c0
Standardize how vehicles are detected (#347) 2020-09-14 21:32:22 +02:00
andig
6d8d4b3954 Fix panic when http response nil 2020-09-14 13:40:00 +02:00
andig
6b4b960c03
Support remaining charging time for Audi api (#341) 2020-09-13 16:11:20 +02:00
andig
92f2bd3d09
Download Tesla client id/secret if not configured (#332)
* Download client id/secret if not configured

* Change email to user to align with other vehicle apis
2020-09-13 16:09:03 +02:00
andig
90e23dadcc
Add ChargeRemainder api (#325) 2020-09-13 16:07:11 +02:00
andig
a24caac73d
Add support for Hyundai api (#329) 2020-09-13 16:06:33 +02:00
andig
7f0225dc23
Fix Audi token expiry (#338) 2020-09-13 16:05:59 +02:00
andig
07b53a74f8 Fix tesla test failure on CI 2020-09-13 10:19:09 +02:00
andig
9058b62f8d Fix test failures 2020-09-12 17:20:04 +02:00
andig
702f5aa100 Implement identity.vwgroup.io api for Audi (#331) 2020-09-11 15:42:28 +02:00
andig
d58f44c852 Honor Kia api response codes 2020-09-04 12:25:00 +02:00
andig
e9d673f59f
Workaround kia api expecting url-encoded values in specific order (#312) 2020-08-27 10:36:06 +02:00
andig
f2d5984696
Implement Kia api (#308)
Implementation courtesy of @mclane
2020-08-23 21:50:26 +02:00
andig
81b72e2c06
Implement factory patterns for device configuration (#303) 2020-08-22 14:41:31 +02:00
andig
abeded1075
Deprecate pkg/errors (#304) 2020-08-21 11:30:33 +02:00
premultiply
0f1579a0da
Gigya authentication changes
ref https://github.com/jamesremuscat/pyze/pull/79/commits/c200f70699116b97bd40e2e9f791aeef2c61e489
2020-08-19 11:40:54 +02:00
andig
785ae1a417
Fix test errors caused by 8eca79a (#282) 2020-08-14 19:00:07 +02:00
andig
8eca79a675 Add more context to configuration errors to simplify diagnosis 2020-08-13 15:58:05 +02:00
andig
6043023a6a Test sample configurations and ignore acceptable errors 2020-07-29 13:43:23 +02:00
andig
b1de0950c2 Return errors instead of failing 2020-07-29 13:42:09 +02:00
andig
38bb8cb7ab Improve configuration error messages 2020-07-25 16:12:47 +02:00
andig
6fc3f0ebfe
Detect bmw vehicles (#218) 2020-07-17 09:07:13 +02:00
andig
e34167ce7d
Implement multiple loadpoints and new UI (#199)
* Support multiple loadpoints

* Finalize loadpoint site split

* Simplify global voltage

* Fix push template error stopping main process

* Show only last error on retry

* Improve influx v1 compatibility

* Update push templates

* Revert influx v1 user change
2020-07-16 09:34:58 +02:00
andig
80c851e423 Limit re-auth to refreshing jwt token 2020-07-13 19:36:35 +02:00
andig
c270db1baa
Fix Renault api token expiry (#210) 2020-07-13 13:26:46 +02:00
andig
24adf7617b
Remove kamereonAccessToken (#203) 2020-07-03 13:56:38 +02:00
andig
1b1a48cf99
Implement token refresh (#146) 2020-05-18 13:41:22 +02:00
andig
604a8b9624 Fix linter 2020-05-17 14:59:58 +02:00
andig
8117f8c0b3
Set default http client timeout to avoid deadlocks (#132)
* Set default http client timeout to avoid deadlocks
* Return error instead of unexpected fatal
2020-05-12 12:29:15 +02:00
Andreas Linde
08cee90ea8
Add Porsche api support (#118) 2020-05-10 18:42:23 +02:00
andig
c28917924d
Fix Tesla api usage and vehicle identification (#113) 2020-05-08 15:56:24 +02:00
andig
e0e2a64649
Add Renault Zoe api (#23) 2020-05-01 16:08:58 +02:00
andig
1729399ef9 Split common utility functions into util package (#64) 2020-04-27 20:05:08 +02:00
andig
0e352c77d7
Make usage of loggers explicit (#45) 2020-04-21 11:19:49 +02:00
andig
7c9374f34a
Fix BMW api (#39)
Refactor for token validity
2020-04-16 17:03:24 +02:00
andig
516934ca6e
Improve provider and meter configuration (#33)
* Improve provider and meter configuration
* Drop mqtt check from script

* Handle retained topics

* Reduce dependencies
2020-04-14 13:26:25 +02:00
andig
b23858937e
Refactor common code for http requests and add HTTP logging (#25) 2020-04-11 12:43:35 +02:00
andig
8527ddeec7 Make configuration and docs more consistent 2020-04-09 14:15:21 +02:00
andig
4addd9516c Improve vehicle declaration and add initial configuration test 2020-04-06 15:13:15 +02:00
andig
7ab24bd8a5
Add BMW i3 and Nissan Leaf (#21) 2020-04-04 21:00:36 +02:00
andig
8d84892069 Improve creation of cached getters 2020-04-03 18:58:44 +02:00