Commit graph

579 commits

Author SHA1 Message Date
MarkusGH
109033e103
Fix race condition between charger and loadpoint enabled state (#9959) 2023-10-01 17:43:13 +02:00
Michael Heß
5f5af482c4
Elapse PV scale timer immediately if not charging (#10113)
This prevents starting charging on PV only to stop again to switch phases
2023-10-01 13:02:01 +02:00
Michael Geers
749428c990
docs: link to english docs when appropriate (#10053) 2023-09-30 12:54:17 +02:00
andig
e20224c242 chore: improve logging 2023-09-24 12:58:30 +02:00
andig
3b1d615239 Fix a deadlock in acquiring vehicle from coordinator
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-09-23 17:21:19 +02:00
VolkerK62
63e73cdb06
fix warning residualpower in combination with battery (#9126)
* fix warning residualpower in combination with battery

da auch bei negativen Werten eine Warnung kommt ist der alleinige Hnweis "is missing" missverständlich

* add link to doku

* type

* set ResidualPower to 100 instead of warning

* wip

* wip

* wip

* 100 if missing, warning if negativ

so viel Aufwand, für einen Parameter ;)

Co-authored-by: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com>

* wip

der Batterie Check war doppelt

* nur erweiterte Warnung

---------

Co-authored-by: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com>
2023-09-18 09:31:39 +02:00
Michael Heß
a2865f7337
Fix loadpoint not setting charging charger to enabled (#9932) 2023-09-17 15:41:30 +02:00
andig
dd668c3007
Dynamically add/remove vehicles (#9903) 2023-09-17 11:37:17 +02:00
MarkusGH
6546af451e
Separate price/co2 calculate for home and loadpoints (#9137) 2023-09-13 09:21:48 +02:00
andig
8351a4471f
Fix target soc reached ignoring charger soc (#9827) 2023-09-10 21:58:24 +02:00
andig
6f7e45db41 chore: additional logging for phase switch 2023-09-09 09:54:50 +02:00
Michael Geers
5cc4c146ee
Restore vehicle onIdentify behavior for targetSoc from yaml (#9685)
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
* Fix vehicle onIdentify for targetSoc

* fix onDisconnect behavior if config exists; update tests

* deprecated config-based minsoc; api/ui only setting

* fix tests
2023-09-03 16:29:13 +02:00
andig
e74e2e5ba4
Quickly recover from logic error by expiring pv timer (#9624) 2023-08-30 20:32:08 +02:00
andig
ae8c3cd02d Planner: improve logging 2023-08-30 19:35:14 +02:00
Michael Heß
b28c7b516b
Always treat charger as enabled when charging (#9570) 2023-08-29 18:03:29 +02:00
andig
1faa666265 Revert "Fix reducing to 1p when vehicle doesn't utilize allowed current (#9462)"
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
This reverts commit fc963abb79.
2023-08-28 12:10:55 +02:00
andig
697bc88a62
Guard soc against invalid values (#9532) 2023-08-25 17:41:42 +02:00
andig
7154fb9b08
Fix resuming charging after phase switch (#9538) 2023-08-25 17:39:23 +02:00
andig
fc963abb79
Fix reducing to 1p when vehicle doesn't utilize allowed current (#9462) 2023-08-20 22:00:14 +02:00
Michael Heß
c928dd40f3
Elapse guard when loadpoint is out of sync (#9450) 2023-08-20 12:43:28 +02:00
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