Skip to content

Zaptec: split go2 and pro templates #21357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions templates/definition/charger/zaptec-go2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
template: zaptec-go2
products:
- brand: Zaptec
description:
generic: Go 2
capabilities: ["rfid", "1p3p"]
requirements:
evcc: ["sponsorship"]
description:
de: |
Im Zaptec-Portal (Installationen -> Einstellungen -> Leistungsregelung) müssen für die Zaptec Go 2 folgende Einstellungen vorgenommen werden:
- Aktiviere "Ladegeräten erlauben, zum dreiphasigen Laden zurückkehren"
- Setze "Erlaubte Wechsel vor der Festlegung auf einphasiges Laden" auf das Maximum von 20
- Setze "Wechsel von drei- auf einphasiges Laden" auf 1 A
en: |
In the Zaptec portal (Installations -> Settings -> Power Management), the following settings must be configured for the Zaptec Go 2:
- Enable "Allow chargers to return to three-phase charging"
- Set "Allowed switches before locking to single-phase charging" to the maximum of 20
- Set "Switch from three-phase to single-phase charging" to 1 A
params:
- name: id
help:
de: Wallbox ID
en: Charger ID
- name: user
- name: password
render: |
type: zaptec
id: {{ .id }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (bug_risk): Consider quoting ID and user fields for YAML safety

Quote these fields (e.g. id: "{{ .id }}") to prevent parsing errors with special characters.

Suggested implementation:

  id: "{{ .id }}"

  user: "{{ .user }}"

user: {{ .user }}
password: '{{ .password }}'
20 changes: 20 additions & 0 deletions templates/definition/charger/zaptec-pro.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
template: zaptec-pro
products:
- brand: Zaptec
description:
generic: Pro
capabilities: ["rfid", "1p3p"]
requirements:
evcc: ["sponsorship"]
params:
- name: id
help:
de: Wallbox ID
en: Charger ID
- name: user
- name: password
render: |
type: zaptec
id: {{ .id }}
user: {{ .user }}
password: '{{ .password }}'
6 changes: 0 additions & 6 deletions templates/definition/charger/zaptec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ products:
- brand: Zaptec
description:
generic: Go
- brand: Zaptec
description:
generic: Go 2
- brand: Zaptec
description:
generic: Pro
capabilities: ["rfid"]
requirements:
evcc: ["sponsorship"]
Expand Down
Loading