Commit graph

1048 commits

Author SHA1 Message Date
andig
9c6ea31a61 Fix battery priority mode draining battery 2020-10-06 21:34:17 +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
9cebe21dd2 Fix panic when accessing socEstimator without car configured 2020-09-29 11:29:26 +02:00
andig
9d04e561a9 Gracefully handle when remaining time estimate is not available 2020-09-28 17:08:46 +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
6f864049ee
Convert remaining fatals into error returns (#357) 2020-09-25 10:40:38 +02:00
andig
7eb85ad8b9
Support SMA Sunny Home Manager as Energy Management System (#353) 2020-09-20 17:03:39 +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
8d52600e43
Fix remaining charge duration rounding issue (#351) 2020-09-15 19:32: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
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
1c995dba94 Improve charger and charge meter capability logging 2020-08-31 18:34:03 +02:00
andig
abeded1075
Deprecate pkg/errors (#304) 2020-08-21 11:30:33 +02:00
andig
0def518b21 Make sure soc value is int in ui 2020-08-17 14:58:25 +02:00
premultiply
f691538660
Add optional interpolation of SoC between vehicle api updates (#277) 2020-08-17 13:08:47 +02:00
andig
872eb58337
Fix charge current not published when charge meter configured (#285) 2020-08-15 13:55:54 +02:00
andig
c8e1d25e75 Fix phase detection not scaling back up 2020-08-15 13:41:42 +02:00
andig
b4018a92f7 Show phase detection in log level debug 2020-08-10 10:13:05 +02:00
andig
0922bc774c
Read grid and charge meter currents (#272) 2020-08-09 16:52:55 +02:00
andig
12cb57645c Add pv timer output to debug log 2020-08-08 17:41:32 +02:00
andig
ef2cc9a94b Make targetSoC configurable 2020-08-06 18:19:53 +02:00
andig
2266f43074
Fix charged energy wrong when charge stopped (#268) 2020-08-06 16:35:47 +02:00
andig
b970df81d8 Fix potential deadlock 2020-08-06 13:15:32 +02:00
andig
b7cf814649 Provide more meter configuration details 2020-08-04 22:54:33 +02:00
andig
da876eac0c Improve conversion of string to charge mode 2020-08-04 22:52:42 +02:00
andig
ec04b22739 Add currents to default meter (#267) 2020-08-04 22:33:01 +02:00
andig
21e7356590
Fix connect/disconnect handlers (#266) 2020-08-04 17:54:04 +02:00
andig
569e1e8938 Don't disable charger if targetSoc is 100% 2020-08-02 21:08:03 +02:00
andig
d1fa20b87d
Always disable charger when car disconnected to avoid unnecessary switching activity (#253) 2020-07-30 16:49:42 +02:00
andig
e2c0ea9fcf Fix calculating remaining charge duration 2020-07-30 11:14:31 +02:00
andig
2261d8d718
Make targetSoC public and configurable (#248) 2020-07-29 22:18:21 +02:00
andig
1e03a51eae Standardize error messages by removing config prefix 2020-07-29 14:22:44 +02:00
andig
b1de0950c2 Return errors instead of failing 2020-07-29 13:42:09 +02:00
andig
c12d52ca82
Add mqtt interface and document REST api (#243) 2020-07-26 13:55:41 +02:00
andig
880d39e07e Implement per-loadpoint mode and target soc setting (#240) 2020-07-25 14:42:53 +02:00
andig
66aa4838a7 Minor formatting tweak 2020-07-24 09:35:28 +02:00
andig
0513c815e2
Add per-connection properties (#238) 2020-07-22 13:53:28 +02:00
andig
387e39aff1
Allow updating soc when vehicle disconnected (#228) 2020-07-21 08:36:28 +02:00
andig
d2feaca4d0
Add connect/disconnect events (#237) 2020-07-21 08:35:27 +02:00
andig
fc3be70251 Fix target current calcuation by taking actual charging mode into account 2020-07-20 12:52:16 +02:00
andig
4c23924cb2 Improve log messages and round durations to second accuracy 2020-07-20 11:49:58 +02:00
andig
7c864df08a
Introduce log levels per area (#236) 2020-07-20 09:34:47 +02:00
andig
85b47cbe70 Always round down for current calculation 2020-07-20 09:34:21 +02:00
andig
cdf2cb6b2f Ignore pv meter errors 2020-07-19 22:06:47 +02:00
andig
744ef1c8b3 Fix linter 2020-07-19 21:31:20 +02:00
andig
eb66f6d911
Refactor charge current calculation (#223) 2020-07-19 20:32:50 +02:00
andig
f2c607ac58
Implement phase detection (#163) 2020-07-19 13:25:23 +02:00