Commit graph

78 commits

Author SHA1 Message Date
andig
1b81a6490c chore: fix lock 2024-04-10 20:20:36 +02:00
andig
0fc30682ea chore: remove unneeded lock 2024-04-10 20:19:46 +02:00
Michael Geers
93a1faf755
Smart grid charging per loadpoint (BC) (#12135) 2024-02-24 17:52:15 +01:00
rivengh
ed6bd89387
Battery control: hold battery while min soc not reached (#11941) 2024-02-03 13:39:58 +01:00
andig
648fe0cfdf
Persist phases/min/max current (BC) (#11571) 2024-01-27 11:25:27 +01:00
andig
90c0f96944
Loadpoint: make sure restoring settings publishes current values (#11637) 2024-01-13 10:37:29 +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
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
d63dec9511
Refactor session settings and apis (BC) (#10335) 2023-12-02 20:56:30 +05:00
Michael Heß
5453820eb6
Add battery discharge control logic (#10553) 2023-11-09 12:42:39 +01:00
andig
a23a4b493e chore: log target time 2023-11-05 14:34:06 +01:00
andig
fd8fa61b34 Publish thresholds 2023-10-23 09:11:27 +02:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
Michael Geers
7de484969a
Persist targetSoc/Energy, minSoc, targetTime per vehicle, add minSoc to UI (#8115)
* Plugins: make javascript return values more permissive

* Persist targetSoc/Energy, minSoc and target time, remove experimental from minSoc UI

* go generate

* Fix tests

* Update minSoc description

* Store settings by index. Show plan outside pv mode. Add help texts.

* remove slug

* go mock

* lint

* chore: simplify templates (#8304)

* Add e2e tests with playwright (#8123)

* Revert "1p3p: let charger handle session stop/restart (#7723)"

This reverts commit dd787ce52f.

* mazda2mqtt: document vin required (#8319)

* FoxESS: split H1/H3 devices (#7376)

Co-authored-by: premultiply <4681172+premultiply@users.noreply.github.com>

* Translations update from Hosted Weblate (#8124)

* Translated using Weblate (Czech)

Currently translated at 37.3% (99 of 265 strings)

Co-authored-by: Dusan Suja <bc.suja.dusan@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/cs/
Translation: evcc/evcc

* Translated using Weblate (Finnish)

Currently translated at 100.0% (265 of 265 strings)

Co-authored-by: Arna Lepikkö <arna.lepikko@telemail.fi>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/fi/
Translation: evcc/evcc

* Translated using Weblate (German)

Currently translated at 100.0% (265 of 265 strings)

Co-authored-by: ThinkEV <claas@rootdir.de>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/de/
Translation: evcc/evcc

* Translated using Weblate (Croatian)

Currently translated at 100.0% (265 of 265 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (265 of 265 strings)

Co-authored-by: Žiga Deisinger <ziga@deisinger.si>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/hr/
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/sl/
Translation: evcc/evcc

* Translated using Weblate (Catalan)

Currently translated at 100.0% (265 of 265 strings)

Co-authored-by: Norbert Poch <npoch@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/ca/
Translation: evcc/evcc

* Translated using Weblate (Dutch)

Currently translated at 76.6% (203 of 265 strings)

Translated using Weblate (Dutch)

Currently translated at 74.3% (197 of 265 strings)

Co-authored-by: Ruben Van Boxem <vanboxem.ruben@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/nl/
Translation: evcc/evcc

* fix toml

---------

Co-authored-by: Dusan Suja <bc.suja.dusan@googlemail.com>
Co-authored-by: Arna Lepikkö <arna.lepikko@telemail.fi>
Co-authored-by: ThinkEV <claas@rootdir.de>
Co-authored-by: Žiga Deisinger <ziga@deisinger.si>
Co-authored-by: Norbert Poch <npoch@yahoo.com>
Co-authored-by: Ruben Van Boxem <vanboxem.ruben@gmail.com>
Co-authored-by: premultiply <4681172+premultiply@users.noreply.github.com>

* Add OBO Betterman Ion (#8321)

Also aligns heartbeat implementations

* Enphase: add token auth (firmware D7.x.xxx) and grid (#8247)

* Mqtt: fix smartCostLimit topic case (#8328)

* Add ISO15118 vehicle template (#8302)

* Mqtt: simplify setters

* Mqtt: disable message ordering to improve performance

* chore: simplify random state generation

* Porsche: remove deprecated mobile api (#8349)

* Porsche: remove remaining mobile api types

* Cupra: add odometer (#8340)

* chore: refactor go-stylish

* chore: fix stale handler

* mazda2mqtt: longer timeout (#8364)

* chore: pre-process toml

* chore: prevent toml double quotes

* Audi: temporarily switch to etron (#8374)

* Fix nightly build (#8384)

* Update SunSpec templates (#8270)

* Revert "Fix nightly build (#8384)"

This reverts commit 536dbc936c.

* Revert "Add e2e tests with playwright (#8123)"

This reverts commit 0df815729b.

* Easee: update Observation IDs (#8391)

* Easee: handle smartCharging errors (#8389)

* TWC: add non-Tesla vehicle warning (#8329)

* TWC: allow loadpoint to wakeup vehicle (#8284)

* chore: use gridx consts

* Fix ISO15118 vehicle (#8402)

Such vehicles would be reported as `(Offline)` previously, as no Soc can be fetched and thus needs to behave as the `offline` template.

The SoC is fetched via the charger, so hardcode it to 0 in here

* Modbus: add coils  (#8385)

* OpenEVSE: fix api (#8415)

* chore: refactor offline vehicles (#8404)

* Easee: wait for api confirmation (#8307)

* Revert "Easee: wait for api confirmation (#8307)"

This reverts commit ce0e4277aa.

* automatically switch session log energy unit (#8371)

Show the charged energy in the session log table and details in Wh for
values below 1 kWh and in kWh for larger values

* Fix nightly/release + integration workflow  (#8450)

* Revert "Add e2e tests with playwright (#8123)"

This reverts commit 0df815729b.

* Revert "Revert "Add e2e tests with playwright (#8123)""

This reverts commit 2299306954.

* fix nightly/release

* fix nightly/release

* fix nightly/release

---------

Co-authored-by: andig <cpuidle@gmx.de>

* chore: no integration on nightly

* chore: no integration on nightly

* chore: no integration on nightly

* Sessions: filter, monthly sums, paging (#8278)

* fmt

* Update i18n/en.toml

Co-authored-by: Simon Riepl <43091717+savus4@users.noreply.github.com>

* Use exp/slices

* Use mux consistently

* add integration tests

---------

Co-authored-by: andig <cpuidle@gmx.de>
Co-authored-by: C64Axel <33828760+C64Axel@users.noreply.github.com>
Co-authored-by: premultiply <4681172+premultiply@users.noreply.github.com>
Co-authored-by: Weblate (bot) <hosted@weblate.org>
Co-authored-by: Dusan Suja <bc.suja.dusan@googlemail.com>
Co-authored-by: Arna Lepikkö <arna.lepikko@telemail.fi>
Co-authored-by: ThinkEV <claas@rootdir.de>
Co-authored-by: Žiga Deisinger <ziga@deisinger.si>
Co-authored-by: Norbert Poch <npoch@yahoo.com>
Co-authored-by: Ruben Van Boxem <vanboxem.ruben@gmail.com>
Co-authored-by: salz3n <79696598+salz3n@users.noreply.github.com>
Co-authored-by: Daniel Paschke <paschdan@gmail.com>
Co-authored-by: Andreas Linde <42185+DerAndereAndi@users.noreply.github.com>
Co-authored-by: lex777777 <84906358+lex777777@users.noreply.github.com>
Co-authored-by: Oscar <OAltr@users.noreply.github.com>
Co-authored-by: Michael Heß <GrimmiMeloni@users.noreply.github.com>
Co-authored-by: RTTTC <94727758+RTTTC@users.noreply.github.com>
Co-authored-by: kscholty <47229207+kscholty@users.noreply.github.com>
Co-authored-by: Jan Alexander <jan.alexander@posteo.de>
Co-authored-by: Simon Riepl <43091717+savus4@users.noreply.github.com>
2023-08-02 15:43:00 +02:00
andig
fb20a3b585
Fix taking vehicle priorities into account (#8884) 2023-07-10 22:05:37 +02:00
andig
14df2855bd
chore: separate vehicle mutex (#8299) 2023-06-04 11:28:06 +02:00
Michael Geers
9d14e3d446
Add session infos (co2, price, solar %) (#7380) 2023-05-02 08:59:11 +02:00
andig
ccb1338d90
Add loadpoint prioritisation (#6107) 2023-02-19 15:36:18 +01:00
andig
51db45e6c1 chore: refactor vehicle functions into separate file 2023-02-06 20:24:21 +01:00
Tobias Bayer
c4bca909b2
Add enable and disable thresholds via api (#6081)
Note: this are potentially subject to removal
2023-02-06 12:57:22 +01:00
andig
ea381b21fc chore: use loadpoint Title() instead of Name() 2023-02-03 17:52:54 +01:00
andig
dcaadb783f
Refactor target charging apis (#5649) 2023-01-19 19:01:22 +01:00
schenlap
355fcea14f
Planner: improve resilience against fluctuations and short charging slots (#5695) 2023-01-08 14:36:48 +01:00
andig
23553f7edb chore: log % 2022-12-24 11:38:05 +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
8a503c376e
Add TWC3 support for Tesla vehicles (#5341) 2022-12-23 09:49:21 +01:00
andig
8be06fbb9d Target charge: don't allow timestamps in the past 2022-12-16 08:34:35 +01:00
andig
c2e61e5741 chore: fix comment 2022-12-01 19:52:56 +01:00
Michael Geers
037f46a10d
Improve UI for small capacity vehicles (#5174) 2022-11-25 17:10:24 +01:00
andig
c342880b63 Fix a race condition when stopping the charging session 2022-11-06 12:07:35 +01:00
andig
43d4221cf9 Mqtt: support settting guest vehicle by using negative value 2022-10-17 10:13:44 +02:00
andig
6e943a0405
Add CoarseCurrent feature for vehicles that can't follow mA charging (#4662) 2022-10-05 17:49:38 +02:00
andig
26f149571c
Add target energy API & UI for vehicles without SoC 2022-10-04 20:08:57 +02:00
Michael Geers
48926cfc30
Reset MinSoC Before Vehicle Change (#4321) 2022-09-08 09:06:15 +02:00
andig
df1e52f41b chore: add log 2022-09-05 17:39:36 +02:00
andig
a22b445aa8
Apply configured phases for all modes (#4195) 2022-08-23 09:09:23 +02:00
andig
6df7168f1b
Deprecate loadpoint config of minSoC/targetSoC (BC) (#4135) 2022-08-23 09:09:06 +02:00
andig
1b1358cb3f
Vehicle: fix detection indicator and add vehicledetect api (#4164) 2022-08-20 11:23:53 +02:00
andig
d1211cb13a
Refactor phase settings (#4070) 2022-08-14 12:47:30 +02:00
andig
8ad84d4278
chore: rename ChargePhases api to PhaseSwitcher (#4105) 2022-08-13 14:19:18 +02:00
andig
1464b755cd
Make vehicles config global instead of per loadpoint (BC) (#3827) 2022-08-13 14:03:53 +02:00
andig
7e0b569a38
Api: use phases to configure default value for 1p3p charger (#3940) 2022-07-25 15:16:02 +02:00
andig
76a400ef1c
Partially lock setVehicle to void deadlock in applyAction (#3857) 2022-07-15 11:16:58 +02:00
andig
03da7205c2 Harmonise switch sockets status and power api implementations (#3833) 2022-07-14 22:03:02 +02:00
andig
1ae1fb34d9
Add API and UI to change a loadpoint vehicle manually (#3805) 2022-07-13 11:18:37 +02:00
andig
89c908b414
Allow fixed phase configuration (#3714) 2022-06-27 13:39:42 +02:00
Michael Geers
e627c91106
better target time suggestion; exposed projected start (#3098) 2022-04-06 11:08:55 +02:00