Commit graph

51 commits

Author SHA1 Message Date
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
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
532e6bdfe5
Add battery meter support (#83)
* Add battery meter support

* Clarify configuration
2020-04-30 14:56:26 +02:00
andig
1729399ef9 Split common utility functions into util package (#64) 2020-04-27 20:05:08 +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
116cb0fa8e Limit retries for meter reading 2020-04-19 18:04:38 +02:00
andig
6dd76b0a64 Add more logging 2020-04-14 21:19:15 +02:00
andig
6d744960b9 Fix race condition in meter reading 2020-04-13 22:23:41 +02:00
andig
49e7c65b7d Ensure pv modes have valid meter values 2020-04-10 15:28:44 +02:00
andig
2bfeed5451
Use mockable clock (#26) 2020-04-09 13:10:22 +02:00
andig
a56cca5272 Start with contactor guard active 2020-04-02 11:42:57 +02:00
andig
b99f15b173 Fix initial charge power estimate zero when only PV meter installed due to current not updated again (follow-up to 3354cd4) 2020-03-31 10:46:16 +02:00
andig
bf91b9d8df Fix proxy charge power not calculated correctly 2020-03-30 10:27:50 +02:00
andig
037cb43380 Add Telegram messenger (#16) 2020-03-29 21:33:53 +02:00
andig
ef6140cce5
Support Audi and Tesla vehicle APIs (#20) 2020-03-29 21:15:44 +02:00
andig
0a63ceb90a
Support additional chargers (#19) 2020-03-29 12:37:35 +02:00
andig
1d314ee67a Limit charge power estimate to available power when only PV meter installed 2020-03-28 20:38:33 +01:00
andig
617b8ea9b5 Fix charge power estimate in status B not zero when only PV meter installed 2020-03-25 12:05:52 +01:00
andig
3354cd4726 Fix initial charge power estimate zero when only PV meter installed 2020-03-24 13:03:31 +01:00
andig
61f392e039 Make notifications configurable 2020-03-22 15:13:53 +01:00
andig
da74ce17fd Refactor to support Wallbe dip 10 enable/disable 2020-03-18 16:16:35 +01:00