Commit graph

559 commits

Author SHA1 Message Date
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
andig
0854849243
Add support for loading and storing device configuration from/to database (#6199) 2023-08-17 19:59:31 +02:00
Michael Geers
8c68689c1d
Fix resetOnDisconnect overrides vehicle settings (BC) (#9370) 2023-08-17 19:28:06 +02:00
Michael Heß
8f1929561e
Loadpoint: follow charger current (#9408) 2023-08-16 22:38:18 +02:00
andig
57fac97641
Sessions: fix formatting of pointer values (#9406) 2023-08-16 17:43:55 +02:00
Michael Geers
3202cbb592
Sessions: add charge duration (#9263) 2023-08-16 15:30:24 +02:00
Michael Geers
f41819ff15
Heating: basic support (#9393) 2023-08-15 23:01:23 +02:00
andig
78fffd6eb1
Make csv export more flexible (#9309) 2023-08-13 15:09:19 +02:00
andig
bc4c24f0a9
Ensure currents get synced (#9369) 2023-08-13 14:21:09 +02:00
andig
2d1f18cca8 chore: fix double-publish 2023-08-03 20:42:40 +02:00
andig
0b5a39f068 Optimistically publish status after updating 2023-08-03 20:41:57 +02:00
andig
1d34e01e8c Always publish status 2023-08-03 19:04:35 +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
e02f689e21
Don't force-sync charger prematurely (#9075) 2023-07-29 17:40:18 +02:00
andig
ad92a44b2d
Add CurrentGetter api for validating charger current (#9147) 2023-07-28 10:26:34 +02:00
andig
151849531e chore: refactor retryMeter 2023-07-22 12:29:28 +02:00
premultiply
35c55f6636 site: fix individual pv+bat energy
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
2023-07-21 18:24:48 +00:00
premultiply
240828bdca
Publish total energies (#8905) 2023-07-21 19:46:50 +02:00
andig
270266189c chore: warn on intervals below 30s 2023-07-16 20:44:05 +02:00
andig
fb20a3b585
Fix taking vehicle priorities into account (#8884) 2023-07-10 22:05:37 +02:00
andig
e82fb3f0e1
chore: reduce logging (#8880) 2023-07-09 12:13:09 +02:00
VolkerK62
1e14d2db2a
Fix minActiveVoltage (#8867)
Reduce lower limit to >= 207V (230V-10%)
2023-07-09 10:40:32 +02:00
andig
b7b962ad79 chore: log sitePower error 2023-07-07 15:00:23 +02:00
andig
4655593b33
Fix charging not stopped when energy limit reached (#8768) 2023-07-03 10:26:52 +02:00
MarkusGH
612cc8a404
Wake-up: add more logging (#8687) 2023-06-29 12:29:03 +02:00
andig
92b56e5519 chore: re-add logging 2023-06-29 12:27:13 +02:00
andig
5e3e5f15cb
Always return asleep error even if vehicle wakeup succeeded so loidpoint retries (#8688) 2023-06-29 12:25:59 +02:00
andig
e88c994fec
Twc: wake-up vehicle if enable fails (#8684) 2023-06-29 11:04:53 +02:00
Michael Geers
dcca3638ba
Use estimator only for vehicles with soc (#8663)
* Estimator only for vehicles with soc

* fix tests
2023-06-27 20:16:14 +02:00
MarkusGH
b2b4483bf9
Don't disable for 1p3p- let charger handle session stop/restart (#8320) 2023-06-20 21:58:07 +02:00
andig
24cea560f4 chore: upgrade libraries 2023-06-18 10:58:11 +02:00
andig
7fb0c13128 chore: rename logging 2023-06-16 19:50:56 +02:00
andig
81f244881f
TWC: allow loadpoint to wakeup vehicle (#8284) 2023-06-10 12:30:22 +02:00
andig
a437f87039 Revert "1p3p: let charger handle session stop/restart (#7723)"
This reverts commit dd787ce52f.
2023-06-05 15:13:24 +02:00
MarkusGH
dd787ce52f
1p3p: let charger handle session stop/restart (#7723) 2023-06-04 15:19:57 +02:00
andig
14df2855bd
chore: separate vehicle mutex (#8299) 2023-06-04 11:28:06 +02:00
andig
6c24407eda
Use maximum phase current as effective value (#8297) 2023-06-04 10:41:36 +02:00
jheinitz
4d0682b771
Fix connectedDuration not rounded (#8266) 2023-06-02 22:26:26 +02:00
MarkusGH
ee16e3bb67
Wakeup: wake via charger and vehicle api in parallel, add for Porsche (#8204) 2023-06-01 18:09:11 +02:00
andig
7c3ca53f02
Add dedicated co2 tariff (#8089)
---------

Co-authored-by: Michael Geers <michael@geers.tv>
2023-05-31 09:19:36 +02:00
andig
5a44401531
Reduce amount of sync messages (#8126) 2023-05-22 08:50:15 +02:00
andig
c9b9ed86ab
Warn if battery configured but residualPower missing (#8103) 2023-05-20 17:16:55 +02:00
andig
c46c9372ac Allow disabling buffer soc settings without warnings 2023-05-15 21:46:46 +02:00
andig
089d01ab30 Fix starting when buffer above buferStartSoc
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
2023-05-11 08:45:03 +02:00
Michael Geers
9b282e6e4c
Add battery settings UI (#7802) 2023-05-08 18:11:31 +02:00
Michael Geers
9d14e3d446
Add session infos (co2, price, solar %) (#7380) 2023-05-02 08:59:11 +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
a094b85a24
Fix excessive updates when max current has full amp steps (#7494)
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
2023-04-16 12:44:23 +02:00