Commit graph

41 commits

Author SHA1 Message Date
andig
2b13eb2668
Loadpoint: clamp estimator virtual capacity (#26978) 2026-01-25 12:42:54 +00:00
andig
ae9a64984f
Loadpoint: simplify estimator (#26956) 2026-01-25 13:09:44 +01:00
andig
ea18e19a7f
Loadpoint: fix updating charger soc (#26364) 2026-01-12 08:12:47 +00:00
premultiply
c90258b6e4
Estimator/Planner: Improve charge time estimation (#25168) 2025-11-15 22:38:38 +01:00
andig
3a3797c58c
Hide vehicle asleep error messages (#14113) 2024-05-29 18:19:18 +02:00
Martin Weinelt
daee304a49
chore: migrate from unmaintained mockgen (#11547)
The golang mock package has been archived and is now maintained by uber.

> Update, June 2023: This repo and tool are no longer maintained. Please
> see go.uber.org/mock for a maintained fork instead.

[1] https://github.com/golang/mock
[2] https://github.com/uber-go/mock
2024-01-08 11:13:27 +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
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00
andig
245730abf1 chore: refactor mock apis 2023-11-01 12:23:29 +01:00
andig
697bc88a62
Guard soc against invalid values (#9532) 2023-08-25 17:41:42 +02:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
andig
c126dac1aa
Estimator: improve estimating remaining charge duration (#7510) 2023-04-20 13:34:58 +02:00
andig
9c68589d25 Revert "Estimator: improve estimating remaining charge duration (#7425)"
This reverts commit 75f1841185.
2023-04-16 22:54:50 +02:00
premultiply
75f1841185
Estimator: improve estimating remaining charge duration (#7425) 2023-04-16 17:35:07 +02:00
andig
94193714da chore: correct variable name 2022-12-27 18:44:48 +01:00
andig
a9666b57ee
Add charge planner (#5445) 2022-12-23 10:52:54 +01:00
andig
03d6d1418a
Rename SoC to Soc and LoadPoint to Loadpoint (#5549) 2022-12-23 10:19:23 +01:00
andig
7afb572639
Vehicle: let capacity accept float values (#4875) 2022-10-19 18:02:55 +02:00
andig
2dadb412db Log time in local zone 2022-09-09 13:59:28 +02:00
andig
815cc58555 chore: apply gofumpt 2022-07-12 11:20:05 +02:00
Michael Geers
e627c91106
better target time suggestion; exposed projected start (#3098) 2022-04-06 11:08:55 +02:00
premultiply
bf169061c0
Fix NaN if vehicle.capacity is not set (#2732)
Fixes #2730
2022-02-28 13:10:17 +01:00
premultiply
b3fdef1c0b
Improve estimator behavior (#2418) 2022-02-16 18:28:16 +01:00
andig
e6f0ced0da chore: minor 2022-01-17 08:50:34 +01:00
andig
f4b783a007
Add various condition for stopping target charging (#2098) 2021-12-29 14:50:18 +01:00
andig
57f5a72055
Fix removing target charge time (#2066) 2021-12-18 17:15:55 +01:00
schenlap
fbe6532aa3
Fix target charging (#1872) 2021-12-15 10:58:45 +01:00
premultiply
8d7a7b31bb
Improve estimator resilience against outdated SoC values (#1562) 2021-10-11 08:11:51 +02:00
andig
3986b75b08
Improve target charging and refactor loadpoint and site apis (#1470) 2021-09-02 14:16:05 +02:00
Andreas Linde
619a3c47d8
Improved SoC handling provided by chargers (#1415) 2021-08-28 11:10:26 +02:00
andig
6a260d9bff
Rename vehicle properties (#1380) 2021-08-23 13:39:43 +02:00
andig
77552ad722
Reduce amount of logging (#1408) 2021-08-22 19:06:45 +02:00
andig
6fd6d7472c Add plausi check for phase configuration 2021-08-21 14:25:31 +02:00
andig
c77e455809 Update evcc repo uri 2021-08-21 12:53:25 +02:00
Andreas Linde
410f62316a
Allow chargers to provide vehicle SoC via ISO15118 (#1283)
Some chargers (e.g. Porsche/Audi Mobile Charger Connect) can provide the EVs current SoC via the ISO15118 connection to the car.

This change allows chargers to implement the SoC method and return the SoC or api.ErrNotAvailable if the currently connected car does not provide the data.
2021-08-14 13:51:26 +02:00
andig
4fbdb526b0 Limit trace log level to physical communication (#1240) 2021-07-25 16:21:21 +02:00
andig
c2425489de
Improve loadpoint api: add dynamic limits (#1058) 2021-06-05 14:14:56 +02:00
andig
777ed2cc83 Minor 2021-05-22 13:06:50 +02:00
andig
9f51152c61 Ignore must retry errors 2021-05-15 14:29:35 +02:00
andig
87803399ca Harmonise vehicle api names 2021-02-01 15:11:42 +01:00
andig
ccdb1cba48
Add target charging (#370) 2021-01-02 21:35:40 +01:00