Commit graph

67 commits

Author SHA1 Message Date
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
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
3de2d37c74
Fix ui and config not updated (#115) 2020-05-09 12:51:37 +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
d593497a66 Remove confusing debug messages 2020-05-02 12:36:08 +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
andig
73753e1212 Revert "Fix grid import treated as available power (refs #78)"
This reverts commit a21b332a20.
2020-05-02 10:47:18 +02:00
andig
a21b332a20
Fix grid import treated as available power (refs #78) 2020-05-01 21:02:17 +02:00
andig
c48b9b902c
Make SMA energy readings configurable (#84)
* Make SMA energy readings configurable

* Add decorator
2020-05-01 19:52:20 +02:00
andig
532e6bdfe5
Add battery meter support (#83)
* Add battery meter support

* Clarify configuration
2020-04-30 14:56:26 +02:00
andig
d60252234b
Add ModBus meters in addition to modbus providers (#58) 2020-04-29 13:15:29 +02:00
andig
1729399ef9 Split common utility functions into util package (#64) 2020-04-27 20:05:08 +02:00
andig
a1bb0dc594
Make meters configurable (#55) 2020-04-26 15:40:41 +02:00
andig
62ffaa59a1 Refactor loadpoint configuration (#46) 2020-04-23 11:27:14 +02:00
andig
bcebf03cdb Improve charge current handling
Prevent disabling charger in same update call as reaching minimum current
Speed up reaching maximum current
Fix loadpoint crashing if pv meter not configured
2020-04-22 07:58:26 +02:00
andig
018836d663 Send stringable nil value to influx 2020-04-19 20:49:31 +02:00
andig
116cb0fa8e Limit retries for meter reading 2020-04-19 18:04:38 +02:00
andig
1d68f43b7e Log when Ui requests are blocked 2020-04-18 13:40:11 +02:00
andig
6dd76b0a64 Add more logging 2020-04-14 21:19:15 +02:00