Commit graph

1128 commits

Author SHA1 Message Date
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)
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
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
Michael Heß
c856da153f
Session log: handle unfinished sessions (#10328) 2023-10-26 20:17:21 +02:00
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