From 293116fb5d42ce6826a803a0434a0b0950024e1f Mon Sep 17 00:00:00 2001 From: naltatis Date: Sun, 5 Jan 2025 02:29:53 +0000 Subject: [PATCH] Templates update for nightly evcc-io/evcc@b728e23caf6b75caa909ca75a1adffd1cad3f673 --- templates/nightly/de/charger/ac-thor_0.yaml | 15 +++++++++++++++ templates/nightly/de/vehicle/smart_0.yaml | 19 +++++++++++++------ templates/nightly/en/charger/ac-thor_0.yaml | 15 +++++++++++++++ templates/nightly/en/vehicle/smart_0.yaml | 19 +++++++++++++------ 4 files changed, 56 insertions(+), 12 deletions(-) create mode 100644 templates/nightly/de/charger/ac-thor_0.yaml create mode 100644 templates/nightly/en/charger/ac-thor_0.yaml diff --git a/templates/nightly/de/charger/ac-thor_0.yaml b/templates/nightly/de/charger/ac-thor_0.yaml new file mode 100644 index 000000000..44e32c765 --- /dev/null +++ b/templates/nightly/de/charger/ac-thor_0.yaml @@ -0,0 +1,15 @@ +product: + brand: my-PV + description: AC THOR, AC THOR 9s + group: Wärmeerzeuger +requirements: ["sponsorship"] +render: + - default: | + type: template + template: ac-thor + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 502 # Port diff --git a/templates/nightly/de/vehicle/smart_0.yaml b/templates/nightly/de/vehicle/smart_0.yaml index d757fc856..735d9eb3d 100644 --- a/templates/nightly/de/vehicle/smart_0.yaml +++ b/templates/nightly/de/vehicle/smart_0.yaml @@ -1,23 +1,30 @@ product: brand: Smart description: EQ +description: | + Benötigt `access` und `refresh` Tokens. Diese können über den Befehl `evcc token [name]` generiert werden. + render: - default: | type: template template: smart - user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) - password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) - vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional) title: # Wird in der Benutzeroberfläche angezeigt (optional) capacity: 50 # Akkukapazität in kWh (optional) + user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) + region: EMEA + accessToken: + refreshToken: + vin: V... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional) advanced: | type: template template: smart - user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) - password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) - vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional) title: # Wird in der Benutzeroberfläche angezeigt (optional) capacity: 50 # Akkukapazität in kWh (optional) + user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) + region: EMEA + accessToken: + refreshToken: + vin: V... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional) icon: car # Icon in der Benutzeroberfläche (optional) phases: 3 # Die maximale Anzahl der Phasen welche genutzt werden können (optional) mode: # Möglich sind Off, Now, MinPV und PV, oder leer wenn keiner definiert werden soll (optional) diff --git a/templates/nightly/en/charger/ac-thor_0.yaml b/templates/nightly/en/charger/ac-thor_0.yaml new file mode 100644 index 000000000..6b20fc7a7 --- /dev/null +++ b/templates/nightly/en/charger/ac-thor_0.yaml @@ -0,0 +1,15 @@ +product: + brand: my-PV + description: AC THOR, AC THOR 9s + group: Heating devices +requirements: ["sponsorship"] +render: + - default: | + type: template + template: ac-thor + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 502 # Port diff --git a/templates/nightly/en/vehicle/smart_0.yaml b/templates/nightly/en/vehicle/smart_0.yaml index aea9788a0..49a9aa1c0 100644 --- a/templates/nightly/en/vehicle/smart_0.yaml +++ b/templates/nightly/en/vehicle/smart_0.yaml @@ -1,23 +1,30 @@ product: brand: Smart description: EQ +description: | + Requires `access` and `refresh` tokens. These can be generated with command `evcc token [name]`. + render: - default: | type: template template: smart - user: # User account (e.g. email address, user id, etc.) - password: # Password of the user account (use single quotes in case of leading zeros) - vin: W... # Required if you own multiple vehicles of the same brand (optional) title: # Will be displayed in the user interface (optional) capacity: 50 # Battery capacity in kWh (optional) + user: # User account (e.g. email address, user id, etc.) + region: EMEA + accessToken: + refreshToken: + vin: V... # Required if you own multiple vehicles of the same brand (optional) advanced: | type: template template: smart - user: # User account (e.g. email address, user id, etc.) - password: # Password of the user account (use single quotes in case of leading zeros) - vin: W... # Required if you own multiple vehicles of the same brand (optional) title: # Will be displayed in the user interface (optional) capacity: 50 # Battery capacity in kWh (optional) + user: # User account (e.g. email address, user id, etc.) + region: EMEA + accessToken: + refreshToken: + vin: V... # Required if you own multiple vehicles of the same brand (optional) icon: car # Icon as shown in user interface (optional) phases: 3 # The maximum number of phases which can be used (optional) mode: # Possible values are Off, Now, MinPV and PV, or empty if none should be set (optional)