Commit graph

73 commits

Author SHA1 Message Date
andig
9cebe21dd2 Fix panic when accessing socEstimator without car configured 2020-09-29 11:29:26 +02:00
andig
3b5ec989a2
Follow SMA Application Note EVCharger (#356) 2020-09-27 10:06:24 +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
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
da876eac0c Improve conversion of string to charge mode 2020-08-04 22:52:42 +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
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
85b47cbe70 Always round down for current calculation 2020-07-20 09:34:21 +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
andig
0f02f6ff7b Fix invalid charge duration displayed when status changed before charge started 2020-07-16 19:35:04 +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
ffffa2c2b4 Fix decoding mode "off" 2020-05-20 14:24:40 +02:00
andig
c02802faa1
Synchronize enabled state with charger if state doesn't match (#172) 2020-05-19 16:30:30 +02:00
andig
4a1c029abd
Warn if EVSE is always active (#153) 2020-05-16 15:43:53 +02:00
andig
f45abfe095
Simplify parameter distribution (#148) 2020-05-14 15:19:50 +02:00
andig
33d45e314d
Improve PV mode stability (#112) 2020-05-12 18:31:41 +02:00
andig
e3f02ab111
Ensure meters are updated even if charger is not available (#125) 2020-05-11 19:02:14 +02:00
andig
f0303f4663 Apply on/off immediately (fix #108) 2020-05-10 10:17:06 +02:00
andig
1263a60cc5
Clarify code structure (#109) 2020-05-06 21:04:05 +02:00
andig
01ef46d47e
Apply now and off modes immediately (#108) 2020-05-06 20:54:37 +02:00
andig
4dd1c46497
Ensure charger target status is always updated even while car disconn… (#106) 2020-05-06 19:17:29 +02:00
andig
d17289d9ce
Split loadpoint and charger handler (#104) 2020-05-06 18:32:38 +02:00
andig
fe7f3e2d80 Log battery power 2020-05-04 19:58:44 +02:00
andig
1f106eb905 Refactor charge power estimation and add tests 2020-05-02 12:35:57 +02:00
andig
32bc279dba Simplify dummy meter to use power instead of current 2020-05-02 11:02:10 +02:00