Skip to content
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

Add Victron charger #9958

Closed
wants to merge 21 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
52 changes: 52 additions & 0 deletions templates/definition/charger/victron-ev-chaging-station.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
template: victron-ev-charging-station
products:
- brand: Victron
description:
en: Victron EV charging station. Charger has to be in manual mode and modbus hs to be configured so that ID=100
de: Victron EV charging station. Der charger muss im mode "Manual" sein, modbus ID muss 100 sein.
params:
- name: modbus
choice: ["tcpip"]
render: |
type: custom
status:
source: go
script: |
switch RawValue {
andig marked this conversation as resolved.
Show resolved Hide resolved
case 0: WallboxStatus = "A"
case 1: WallboxStatus = "B"
case 2: WallboxStatus = "C"
case 8,9,10,11,12,13,14 WallboxStatus = "E"
default: WallboxStatus = "F"
}
WallboxStatus
in:
- name: RawValue
type: int64
config:
source: modbus
{{- include "modbus" . | indent 8 }}
register: 3824
type: holding
decode: uin16
enabled:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual register configuration
address: 3826
type: holding
decode: uint16
enable:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual register configuration
address: 3826 # ein / aus
type: writeholding
decode: uint16
maxcurrent:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual register configuration
address: 3825 # Strom max
type: writeholding
decode: uint16
1 change: 1 addition & 0 deletions templates/evcc.io/brands.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"TinkerForge",
"Ubitricity",
"Vestel",
"Victron",
"Volkswagen",
"Wallbe",
"wallbox",
Expand Down