Commit graph

380 commits

Author SHA1 Message Date
MarkusGH
109033e103
Fix race condition between charger and loadpoint enabled state (#9959) 2023-10-01 17:43:13 +02:00
Michael Heß
5f5af482c4
Elapse PV scale timer immediately if not charging (#10113)
This prevents starting charging on PV only to stop again to switch phases
2023-10-01 13:02:01 +02:00
andig
e20224c242 chore: improve logging 2023-09-24 12:58:30 +02:00
Michael Heß
a2865f7337
Fix loadpoint not setting charging charger to enabled (#9932) 2023-09-17 15:41:30 +02:00
andig
dd668c3007
Dynamically add/remove vehicles (#9903) 2023-09-17 11:37:17 +02:00
andig
8351a4471f
Fix target soc reached ignoring charger soc (#9827) 2023-09-10 21:58:24 +02:00
andig
6f7e45db41 chore: additional logging for phase switch 2023-09-09 09:54:50 +02:00
Michael Geers
5cc4c146ee
Restore vehicle onIdentify behavior for targetSoc from yaml (#9685)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
* Fix vehicle onIdentify for targetSoc

* fix onDisconnect behavior if config exists; update tests

* deprecated config-based minsoc; api/ui only setting

* fix tests
2023-09-03 16:29:13 +02:00
andig
e74e2e5ba4
Quickly recover from logic error by expiring pv timer (#9624) 2023-08-30 20:32:08 +02:00
Michael Heß
b28c7b516b
Always treat charger as enabled when charging (#9570) 2023-08-29 18:03:29 +02:00
andig
1faa666265 Revert "Fix reducing to 1p when vehicle doesn't utilize allowed current (#9462)"
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
This reverts commit fc963abb79.
2023-08-28 12:10:55 +02:00
andig
7154fb9b08
Fix resuming charging after phase switch (#9538) 2023-08-25 17:39:23 +02:00
andig
fc963abb79
Fix reducing to 1p when vehicle doesn't utilize allowed current (#9462) 2023-08-20 22:00:14 +02:00
Michael Heß
c928dd40f3
Elapse guard when loadpoint is out of sync (#9450) 2023-08-20 12:43:28 +02:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
andig
0854849243
Add support for loading and storing device configuration from/to database (#6199) 2023-08-17 19:59:31 +02:00
Michael Geers
8c68689c1d
Fix resetOnDisconnect overrides vehicle settings (BC) (#9370) 2023-08-17 19:28:06 +02:00
Michael Heß
8f1929561e
Loadpoint: follow charger current (#9408) 2023-08-16 22:38:18 +02:00
Michael Geers
f41819ff15
Heating: basic support (#9393) 2023-08-15 23:01:23 +02:00
andig
bc4c24f0a9
Ensure currents get synced (#9369) 2023-08-13 14:21:09 +02:00
andig
2d1f18cca8 chore: fix double-publish 2023-08-03 20:42:40 +02:00
andig
0b5a39f068 Optimistically publish status after updating 2023-08-03 20:41:57 +02:00
andig
1d34e01e8c Always publish status 2023-08-03 19:04:35 +02:00
andig
e02f689e21
Don't force-sync charger prematurely (#9075) 2023-07-29 17:40:18 +02:00
andig
ad92a44b2d
Add CurrentGetter api for validating charger current (#9147) 2023-07-28 10:26:34 +02:00
andig
fb20a3b585
Fix taking vehicle priorities into account (#8884) 2023-07-10 22:05:37 +02:00
VolkerK62
1e14d2db2a
Fix minActiveVoltage (#8867)
Reduce lower limit to >= 207V (230V-10%)
2023-07-09 10:40:32 +02:00
andig
4655593b33
Fix charging not stopped when energy limit reached (#8768) 2023-07-03 10:26:52 +02:00
andig
92b56e5519 chore: re-add logging 2023-06-29 12:27:13 +02:00
andig
5e3e5f15cb
Always return asleep error even if vehicle wakeup succeeded so loidpoint retries (#8688) 2023-06-29 12:25:59 +02:00
andig
e88c994fec
Twc: wake-up vehicle if enable fails (#8684) 2023-06-29 11:04:53 +02:00
Michael Geers
dcca3638ba
Use estimator only for vehicles with soc (#8663)
* Estimator only for vehicles with soc

* fix tests
2023-06-27 20:16:14 +02:00
MarkusGH
b2b4483bf9
Don't disable for 1p3p- let charger handle session stop/restart (#8320) 2023-06-20 21:58:07 +02:00
andig
24cea560f4 chore: upgrade libraries 2023-06-18 10:58:11 +02:00
andig
81f244881f
TWC: allow loadpoint to wakeup vehicle (#8284) 2023-06-10 12:30:22 +02:00
andig
a437f87039 Revert "1p3p: let charger handle session stop/restart (#7723)"
This reverts commit dd787ce52f.
2023-06-05 15:13:24 +02:00
MarkusGH
dd787ce52f
1p3p: let charger handle session stop/restart (#7723) 2023-06-04 15:19:57 +02:00
andig
14df2855bd
chore: separate vehicle mutex (#8299) 2023-06-04 11:28:06 +02:00
andig
6c24407eda
Use maximum phase current as effective value (#8297) 2023-06-04 10:41:36 +02:00
jheinitz
4d0682b771
Fix connectedDuration not rounded (#8266) 2023-06-02 22:26:26 +02:00
andig
5a44401531
Reduce amount of sync messages (#8126) 2023-05-22 08:50:15 +02:00
andig
089d01ab30 Fix starting when buffer above buferStartSoc
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-05-11 08:45:03 +02:00
Michael Geers
9b282e6e4c
Add battery settings UI (#7802) 2023-05-08 18:11:31 +02:00
Michael Geers
9d14e3d446
Add session infos (co2, price, solar %) (#7380) 2023-05-02 08:59:11 +02:00
andig
a094b85a24
Fix excessive updates when max current has full amp steps (#7494)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-04-16 12:44:23 +02:00
andig
c49d9bb25d
Session: don't use meter totals for overriding session energy (#7460) 2023-04-14 21:17:23 +02:00
andig
c2bddcfcf5 chore: suppress out of sync for 60s 2023-04-10 11:00:59 +02:00
MarkusGH
8f735d8719
chore: remove didChargeOnLastSocUpdate (#7275) 2023-04-09 11:45:36 +02:00
andig
fda399bb10
Reset vehicle cache when charging stops for last soc update (#7238) 2023-04-06 15:37:12 +02:00
MarkusGH
ad02275f85
Remove invalid pollIntervall warning (#7168) 2023-04-04 10:50:44 +02:00