Michael Heß
d406b81be8
chore: reduce log spam from planner, if no plan active ( #11866 )
2024-01-26 08:24:45 +01:00
andig
3e23dd12e9
SmartCost: disable on static tariffs ( #11808 )
2024-01-22 11:03:09 +01:00
andig
bc0343ab7d
Vehicles: move more properties to /vehicles (BC) ( #11181 )
2024-01-20 12:19:41 +01:00
Michael Geers
bd03813b03
Indicate if plan can't be reached in time ( #11734 )
2024-01-18 14:10:02 +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
MarkusGH
2471d94a09
Fix green share calculation ( #11545 )
2024-01-09 17:42:59 +01: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
0b906727a0
Battery control: hold battery during smart charging ( #11511 )
2024-01-06 11:12:48 +01:00
andig
7fa3d252c9
chore: remove dead code ( #11451 )
2024-01-03 22:54:39 +01:00
Michael Geers
82d37e22be
Restore: publish initial site values ( #11441 )
2024-01-03 10:07:16 +01:00
andig
5bd484f521
Fix battery control not persisted ( #11439 )
2024-01-03 10:06:37 +01:00
andig
f14b83cd8b
Fix smart cost type not published ( #11415 )
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
2024-01-02 11:45:15 +01:00
andig
cf597421d3
Replace current precendence with min/max logic ( #11311 )
2023-12-30 19:06:08 +01:00
andig
4ca94726b1
Tariffs: fix race condition with initial data retrieval ( #11350 )
2023-12-30 17:21:17 +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
65d3991b40
chore: log battery mode changes
2023-12-18 13:22:42 +01:00
andig
031cf35dd2
chore: minor cleanup
2023-12-18 11:31:47 +01:00
andig
3e1dcd3402
Config: remove more ui-enabled settings ( #10982 )
2023-12-10 17:24:30 +01:00
andig
177fe88f2e
Mqtt: publish vehicles on top level
2023-12-10 09:23:17 +01:00
andig
8e7df670a8
Fix prioritizer not using effective priority when balancing between loadpoints
2023-12-09 12:05:48 +01:00
andig
74525f2dd7
Vehicles: better differentiate api between instance and settings
2023-12-09 10:24:27 +01:00
andig
ff38abffd8
Restore persistence of limit soc and energy ( #10979 )
2023-12-08 17:28:54 +01:00
andig
1f08795dbe
Planner: log effective energy/soc plan time ( #11048 )
2023-12-08 09:42:44 +01:00
andig
3c78c6ac38
chore: tune clock and mutex
2023-12-06 22:15:08 +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
Michael Geers
419074f92a
fix: restore batteryDischargeControl
2023-11-22 17:02:21 +01:00
andig
ed9e5f398a
Battery control: add api ( #10815 )
...
* Battery control: add api
* wip
* wip
* add battery discharge UI and state
* Publish controllable
* Reset to normal when disabling
* minor
* wip
* wip
* Revert mode on shutdown
* refactored tests, renamed method in site_battery (#10859 )
* Fix linter
* only show option if controllable; not supported message instead
---------
Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: Michael Heß <GrimmiMeloni@users.noreply.github.com>
2023-11-22 13:55:11 +01:00
andig
e7e78bea70
Vehicle: remove climterActive on disconnect
2023-11-18 15:53:48 +01:00
andig
b92cbf8969
Victron: add battery control ( #10753 )
2023-11-16 20:10:57 +01:00
andig
8a4dda650d
Revert "wip"
...
This reverts commit bc8e3a451e .
2023-11-16 15:22:07 +01:00
andig
bc8e3a451e
wip
2023-11-15 22:09:19 +01:00
andig
6c0a64e9a3
chore: cleanup logging
2023-11-15 21:32:33 +01:00
andig
354fd0857a
chore: replace jinzhu/copier
2023-11-10 17:12:02 +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
Michael Heß
5453820eb6
Add battery discharge control logic ( #10553 )
2023-11-09 12:42:39 +01:00
andig
40a16e1f72
Tariff: ensure rates are sorted by time ( #10680 )
2023-11-06 21:04:05 +01:00
andig
f90f4ed4c1
Planner: always publish current plan ( #10667 )
2023-11-05 17:30:36 +01:00
andig
613c9c6e76
chore: add comments
2023-11-05 14:40:10 +01:00
andig
a23a4b493e
chore: log target time
2023-11-05 14:34:06 +01:00
andig
383f337d6e
chore: fix mock gen
2023-11-01 23:27:39 +01:00
andig
245730abf1
chore: refactor mock apis
2023-11-01 12:23:29 +01:00
andig
c58abe429c
Site: log api settings
2023-10-30 11:54:15 +01:00
andig
da68bc03b5
Rename stats to statistics (BC) ( #10551 )
2023-10-29 12:29:53 +01:00