evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Add Loadpoint Settings Modal (MinSoC, Phases)

Open naltatis opened this issue 1 year ago • 1 comments

Introducing a settings sheet for each load point. Currently you can set the MinSoC and phases configuration (auto/1p/3p if supported by your charger) there but we'll add further options there in a later release.

New

  • Added a new adjust icon near the load point name (mobile) or behind the mode control (larger screens)
  • Clicking it opens the modal window
  • Changing settings have instant effect (no save/cancel buttons)

Changed

  • Switching between vehicles has changed. The ⠇button is gone. Instead you can click on the vehicle name (underlined).

Note

  • MinSoC will likely move to another location in one of the next releases since it logically belongs to a specific vehicle and not the load point itself.

Testing The changes are temporarily deployed to https://demo-next.evcc.io/

Bildschirmfoto 2022-08-15 um 21 45 44 Bildschirmfoto 2022-08-15 um 21 45 56 Bildschirmfoto 2022-08-15 um 21 46 22

naltatis avatar Aug 15 '22 19:08 naltatis

@andig @premultiply Schaut euch bitte mal die Änderung in der charger.go an. Ich hab die erweitert um für die Demo einen Charger mit 1p3p Support zu erzeugen. Das ist ein Breaking Change weil der phases1p3p nun für alle Custom Charger erforderlich ist. Anders hab ich das auf die Schnelle nicht hinbekommen. Wir können das gerne vor Merge auch komplett rausnehmen. Bislang hatten wir ja bewusst 1p3p nur für Charger aktiviert die das "sicher" unterstützen.

naltatis avatar Aug 15 '22 19:08 naltatis

@naltatis ich würde das deprecaten der minsoc targetsoc Settings am Loadpoint in einen Follow-up PR packen. Hier siehts gut aus für mich!

andig avatar Aug 17 '22 13:08 andig

@naltatis Hab es gerade installiert. Das phases feature steht nur bei chargern mit automatischer Umschaltung zur Verfügung? Bei einem "normalen" charger muss ich weiterhin die API nutzen um den phases Wert zu ändern?

VolkerK62 avatar Aug 18 '22 15:08 VolkerK62

Ja… alles Andere würde dem Anwender etwas suggerieren das nicht da ist. Maximal könnte das Setting über localstorage freigeschaltet werden- promoten würde ich das allerdings nicht gross, das ist ein absoluter Randeinsatzfall.

andig avatar Aug 18 '22 15:08 andig

Finde ich eine super Idee, würde dies jedoch gerne erweitern für folgenden UseCase: Überschuss PV zwischen 1 und 3kw, soll bei “min+pv” und “PV” immer 1p nehmen. Für “Fast” hätte ich gerne 3p, um wirklich schnell zu sein.

sebnaf avatar Sep 05 '22 08:09 sebnaf

@naltatis Kann ich den default (auto, 1p, 3p) in der Konfig fest einstellen? Dies würde bereits helfen.

sebnaf avatar Sep 05 '22 08:09 sebnaf

Naklar, steht auch in der Doku ;)

andig avatar Sep 05 '22 09:09 andig

Traum. Hab ich (noch nicht) gefunden.

sebnaf avatar Sep 05 '22 09:09 sebnaf