Commit graph

598 commits

Author SHA1 Message Date
andig
a3a15b818d chore: fix comment 2023-10-23 20:57:36 +02:00
andig
95c39a3a95 chore: simplify 2023-10-23 20:52:41 +02:00
andig
276b29ab6e chore: fix style 2023-10-23 11:19:41 +02:00
andig
fd8fa61b34 Publish thresholds 2023-10-23 09:11:27 +02:00
Michael Geers
58e1238e6e
Replace savings with session based stats (#10341) 2023-10-21 10:58:07 +02:00
jheinitz
d516e84c42
Log minSoc and batteryPrioritySoc (#10282) 2023-10-20 19:14:19 +02:00
andig
b6f1d77ea7
Fix syncing current with charger (#10406) 2023-10-20 14:04:17 +02:00
MarkusGH
8f2548e020
Prevent premature guard elapse in "charger out of sync" situation (#10340) 2023-10-17 12:44:54 +02:00
andig
133afabb95 chore: clarify plan/planner active 2023-10-15 16:13:54 +02:00
andig
a761906ec3 Revert "Session log: close unfinished sessions on startup (#10246)"
This reverts commit e22564dfe2.
2023-10-15 00:25:39 +02:00
andig
7ad03ecc34
Add configurable custom tariff (#10306) 2023-10-14 16:52:17 +02:00
Michael Heß
e22564dfe2
Session log: close unfinished sessions on startup (#10246) 2023-10-14 13:56:07 +02:00
andig
51fa490549
Publish smartCostActive (#10297) 2023-10-13 16:45:50 +02:00
andig
c1acd274d0
Always poll soc for integrated devices (#10284) 2023-10-12 22:43:57 +02:00
andig
7626c45a9b chore: publish battery soc and capacity as float 2023-10-09 22:16:00 +02:00
andig
c369817dbf
Fix reducing to 1p when vehicle doesn't utilize allowed current (foll… (#9581) 2023-10-08 14:42:20 +02:00
andig
cdb2071825 Accept battery meters without soc capability 2023-10-06 18:44:50 +02:00
andig
6b21ac0cd6 Revert "Validate if meter implements api.Battery"
This reverts commit ea90578dfe.
2023-10-06 18:43:36 +02:00
andig
ea90578dfe Validate if meter implements api.Battery 2023-10-06 18:00:38 +02:00
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
Michael Geers
749428c990
docs: link to english docs when appropriate (#10053) 2023-09-30 12:54:17 +02:00
andig
e20224c242 chore: improve logging 2023-09-24 12:58:30 +02:00
andig
3b1d615239 Fix a deadlock in acquiring vehicle from coordinator
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-09-23 17:21:19 +02:00
VolkerK62
63e73cdb06
fix warning residualpower in combination with battery (#9126)
* fix warning residualpower in combination with battery

da auch bei negativen Werten eine Warnung kommt ist der alleinige Hnweis "is missing" missverständlich

* add link to doku

* type

* set ResidualPower to 100 instead of warning

* wip

* wip

* wip

* 100 if missing, warning if negativ

so viel Aufwand, für einen Parameter ;)

Co-authored-by: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com>

* wip

der Batterie Check war doppelt

* nur erweiterte Warnung

---------

Co-authored-by: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com>
2023-09-18 09:31:39 +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
MarkusGH
6546af451e
Separate price/co2 calculate for home and loadpoints (#9137) 2023-09-13 09:21:48 +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
andig
ae8c3cd02d Planner: improve logging 2023-08-30 19:35:14 +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
697bc88a62
Guard soc against invalid values (#9532) 2023-08-25 17:41:42 +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
andig
57fac97641
Sessions: fix formatting of pointer values (#9406) 2023-08-16 17:43:55 +02:00
Michael Geers
3202cbb592
Sessions: add charge duration (#9263) 2023-08-16 15:30:24 +02:00
Michael Geers
f41819ff15
Heating: basic support (#9393) 2023-08-15 23:01:23 +02:00
andig
78fffd6eb1
Make csv export more flexible (#9309) 2023-08-13 15:09:19 +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