Commit graph

430 commits

Author SHA1 Message Date
andig
31f59c9eaf chore: simplify 2024-04-15 09:26:48 +02:00
andig
7786965a99
Loadpoint: fix spurious negative power warning (#13383) 2024-04-10 20:34:47 +02:00
andig
7d833ac401 InfluxDB: fix vehicle limit soc data type 2024-04-08 22:19:09 +02:00
andig
f78913eae5
Fix limiting PV current when scaling phases up (#13295) 2024-04-04 21:02:49 +02:00
MarkusGH
cc24f44a61
chore: avoid warning (#13253)
Add check for phaseSwitchCompleted to avoid potentially unnecessary warning
2024-04-04 19:25:24 +02:00
poohnet
412ec23a77
Warp: validate charger phases (#13230) 2024-03-31 20:39:21 +02:00
MarkusGH
1d4a161113
Prevent automatic phase switching while a phase switch might be in progress (#13235) 2024-03-31 20:27:48 +02:00
MarkusGH
395da6d771
chore: clarify syncCharger logic (#12876) 2024-03-29 13:33:44 +01:00
andig
48772bf142
Tesla: validate vehicle current (#13099) 2024-03-24 13:04:43 +01:00
andig
be18545837
Custom vehicle: add limitsoc (#13100) 2024-03-24 12:29:06 +01:00
andig
580788ea2f
Loadpoint: log specific charger errors (#13097) 2024-03-23 10:12:23 +01:00
andig
96058963c9 chore: minor typo 2024-03-13 15:41:17 +01:00
MarkusGH
f8a10aecd6
Restore logic for chargers that disable themselves to be able to switch phases (#12847) 2024-03-11 14:22:03 +01:00
andig
0ece8c6e20
chore: simplify setting limit (#12631) 2024-03-03 14:27:26 +01:00
andig
69f899e950
Refactor and simplify meter readings (#12479) 2024-02-26 11:18:48 +01:00
Michael Geers
93a1faf755
Smart grid charging per loadpoint (BC) (#12135) 2024-02-24 17:52:15 +01:00
MarkusGH
d25af7d2be
Remove guard timer but keep charger sync logic (#12084) 2024-02-10 17:54:41 +01:00
MarkusGH
9fb6d17b23
Improve switch-off speed in pv mode with 1p3p (#11878) 2024-02-09 10:40:50 +01:00
andig
72cb1e3800
Add PhaseDescriber api (#12052) 2024-02-08 19:14:13 +01:00
andig
9ebdfc331e
Loadpoint: fix active phases not initialised (#11962) 2024-01-31 23:07:39 +01:00
Michael Heß
5b1eb755d4
Loadpoint: publish guardTimer independently from pvTimer (#11926) 2024-01-29 08:44:50 +01:00
andig
578b9ac2f7 Revert "Loadpoint: publish guardTimer independently from pvTimer (#11204)"
This reverts commit 6aa9d995a4.
2024-01-28 15:00:10 +01:00
Michael Heß
6aa9d995a4
Loadpoint: publish guardTimer independently from pvTimer (#11204) 2024-01-28 12:05:24 +01:00
andig
648fe0cfdf
Persist phases/min/max current (BC) (#11571) 2024-01-27 11:25:27 +01:00
andig
bc0343ab7d
Vehicles: move more properties to /vehicles (BC) (#11181) 2024-01-20 12:19:41 +01:00
Michael Geers
4fa015592e
Fix inconsistent vehicle publishing (#11675) 2024-01-15 08:54:43 +01:00
andig
90c0f96944
Loadpoint: make sure restoring settings publishes current values (#11637) 2024-01-13 10:37:29 +01:00
andig
8758fe0ead
Loadpoint: don't disable at limitsoc 100% (#11348) 2023-12-30 17:17:54 +01:00
andig
a131678739
Loadpoint: expose active phases api (#11345) 2023-12-30 13:49:12 +01:00
andig
55df2b502c
Fix deadlock (#11244)
This PR uses a go routine when sending would otherwise block.
2023-12-26 23:08:28 +01:00
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)
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
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