Commit graph

592 commits

Author SHA1 Message Date
andig
2bfbae5953
Honour thresholds in PV mode (#464) 2020-11-27 17:27:43 +01:00
andig
fcfc22fa72
Add vehicle range api (#486)
Co-authored-by: mark-sch <mark@schmalohr.de>
2020-11-27 14:02:36 +01:00
andig
0f3e938df1 Fix linter 2020-11-27 08:23:47 +01:00
andig
10b206a912
Refactor charger handler part 2 (#482) 2020-11-26 16:51:38 +01:00
andig
4f06e6948d
Refactor charger handling (#479) 2020-11-26 08:49:00 +01:00
premultiply
403e953ae7
Improve charging with Sunny Home Manager (#468)
Some checks failed
Build / Build (push) Failing after 2m34s
2020-11-24 21:54:17 +01:00
andig
29ea3c6549
Add basic OCPP support (#395) 2020-11-21 16:49:59 +01:00
andig
bf5e02bbe9
Fix vehicle name not displayed (#450) 2020-11-18 10:23:04 +01:00
andig
1bc6a661e4
Let vehicle control deactivation at target soc 100% (#432) 2020-11-13 22:22:37 +01:00
andig
392c1f42bf Re-add soc property 2020-11-12 12:15:42 +01:00
andig
7683f6637f Refactor configuration handling (#424) 2020-11-12 11:53:42 +01:00
andig
9090514a9e
Improve mqtt publishing (#421) 2020-11-11 18:28:02 +01:00
andig
d5dcca5525 Improve formatting 2020-11-05 09:19:41 +01:00
andig
739fd26ced
Maintain mode=off on disconnect (#403) 2020-11-04 11:20:03 +01:00
andig
485e9ee706
Fix charger wrongly enabled on startup when vehicle connected and minsoc defined (#402) 2020-11-04 10:58:16 +01:00
andig
ed12988a64 Auto-detect connected vehicle (#397) 2020-11-04 09:51:59 +01:00
andig
6a9ca7342d
Add soc: min setting to always force-charge to this value (#379) 2020-10-18 14:22:44 +02:00
andig
42dc963c95 Add climate request indicator icon 2020-10-15 09:38:58 +02:00
andig
43402b3661
Always enable charging when climate request active (#381) 2020-10-14 18:28:00 +02:00
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