andig
e1e703c4a7
Planner: don't touch plan when disabling due to soc/energy limits reached ( #11030 )
2023-12-19 18:10:01 +01:00
andig
7dd0666f70
chore: use rw mutex for vehicle
2023-12-18 14:03:36 +01:00
andig
ff38abffd8
Restore persistence of limit soc and energy ( #10979 )
2023-12-08 17:28:54 +01:00
andig
58e2421a5b
chore: fix linter ( #11028 )
2023-12-06 18:29:32 +01:00
andig
098a0fc2b5
Planner: allow plan to take precedence over vehicle or session limits ( #11013 )
2023-12-06 18:23:12 +01:00
andig
d63dec9511
Refactor session settings and apis (BC) ( #10335 )
2023-12-02 20:56:30 +05:00
andig
6c0a64e9a3
chore: cleanup logging
2023-11-15 21:32:33 +01:00
Andreas Linde
dc650fd4f1
Planner: fix estimator disabled when soc provided by charger ( #10698 )
...
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
When the vehicles SoC is provided by the charger, the planner currently assumes that the EV is not charged at all. This can be reproduced by setting a target Soc to be identical to the current, and the planner will show a charge time that would be needed to reach the current Soc.
The reason is `s.vehicleSoc` in `estimator.go` not being set as `publichSocAndRange()` exits before setting it.
2023-11-09 18:43:28 +01:00
andig
f90f4ed4c1
Planner: always publish current plan ( #10667 )
2023-11-05 17:30:36 +01:00
Michael Heß
c856da153f
Session log: handle unfinished sessions ( #10328 )
2023-10-26 20:17:21 +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
Michael Heß
e22564dfe2
Session log: close unfinished sessions on startup ( #10246 )
2023-10-14 13:56:07 +02:00
andig
c1acd274d0
Always poll soc for integrated devices ( #10284 )
2023-10-12 22:43:57 +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
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 )
...
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 )"
...
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