Commit graph

7502 commits

Author SHA1 Message Date
andig
2d7c6d2b44 Refactor duplicate method 2020-10-03 16:28:23 +02:00
andig
d3ee35272d
Allow giving home battery charge priority up to defined soc (#369)
Add batteryPriority setting
Add battery soc reading to PowerWall
Add battery soc reading to generic meter
Publish batterySoC vaue when read
2020-10-03 15:45:40 +02:00
andig
8a5bd8e119 Make sure generated code is always go-formatted 2020-10-01 11:05:06 +02:00
andig
2bb983c547 Fix typos 2020-10-01 11:01:30 +02:00
andig
3e3e75a051 Reorder config file 2020-09-30 17:00:38 +02:00
andig
b9a3babe5d Utilize url.Values where possible 2020-09-30 13:56:55 +02:00
andig
fb99917cb6 Ensure upper-case VINs 2020-09-30 13:38:00 +02:00
andig
d136456e41 Make Audi implementation more stringent 2020-09-29 21:34:29 +02:00
andig
9cebe21dd2 Fix panic when accessing socEstimator without car configured 2020-09-29 11:29:26 +02:00
andig
bad8276aae Improve handling of modbus readings 2020-09-28 17:09:07 +02:00
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
090c0ef330 Improve error handling 2020-09-28 12:18:09 +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
3b5ec989a2
Follow SMA Application Note EVCharger (#356) 2020-09-27 10:06:24 +02:00
andig
46411cc602
Fix virtual capacity calculation and add tests (#360) 2020-09-26 12:35:38 +02:00
andig
9d45d5a869 Minor cleanup 2020-09-25 17:08:47 +02:00
andig
a41142849b Reduce timestamp precision 2020-09-25 13:38:27 +02:00
andig
6f864049ee
Convert remaining fatals into error returns (#357) 2020-09-25 10:40:38 +02:00
andig
2dbc3b65d7 Revert invalid attribute rename from #352 2020-09-21 21:03:40 +02:00
andig
7eb85ad8b9
Support SMA Sunny Home Manager as Energy Management System (#353) 2020-09-20 17:03:39 +02:00
andig
1387ec1a58 Round api results 2020-09-19 15:14:38 +02:00
andig
96490b49df
Allow charge rater and timer to sum over multiple measurement intervals (#354) 2020-09-18 16:43:09 +02:00
andig
c78a43b340
Refactor ChargeRemainder into ChargeFinishTimer (#352) 2020-09-16 08:00:57 +02:00
andig
0f73d5d7d9
Fix donate button 2020-09-15 21:51:03 +02:00
andig
8d52600e43
Fix remaining charge duration rounding issue (#351) 2020-09-15 19:32:55 +02:00
andig
eae288b350
Add donate button 2020-09-15 19:30:52 +02:00
andig
58d946bd47 Fix wallbe register decoding for officially unsupported SDM meters 2020-09-15 19:25:39 +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
c69cec3728 Drop availableVersion and releaseNotes from state api 2020-09-14 11:02:28 +02:00
andig
d6c2eecd13 Add links to version tag and commit 2020-09-14 10:58:55 +02:00
premultiply
df2f6a8de9 Improve prognosis by continuously updating virtual battery capacity (#335)
Authored-by: premultiply
2020-09-14 08:31:52 +02:00
andig
7f471cb887 Upgrade config repository 2020-09-13 16:11:52 +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
acbfc6a436 Use code generation best practices 2020-09-13 13:54:12 +02:00
andig
0ab297c204 Upgrade gorilla/handlers 2020-09-13 13:52:44 +02:00
andig
a995dd7689 Fix Phoenix EV-CC status decoding (#339) 2020-09-13 13:52:08 +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
f98fc8148d
Avoid treating empty charge mode as off (#333) 2020-09-10 15:25:40 +02:00