I’ve implemented a ModBus Switch for my Schneider Eletric EVlink and implemented four buttons to make specific configurations for the two cars in the household:
Via modbus, the “PLC” value gets re-configured from the 63A (default value) to the appropriate value 10A (for Mercedes), 16A (for Mercedes) or 16A (for Renault Zoe) or 32A (for Renault Zoe).
So far so good. My question to the forum is:
How could I start or stop charging of the connected car via Modbus?
I only know how to automate this step via OCPP protocol yet, but I would also like Modbus for this.
Another topic would be: how could I get knowledge about which car is connected, so I may only provide the two appropriate icons for the specific car type within the Dashboard.
Greetings
Achim
configuration.yaml:
modbus: !include modbus.yaml
modbus.yaml:
- name: EVSE
type: tcp
host: wallbox.local
port: 502
sensors:
- name: "Wallbox Maximum PLC"
unique_id: evlink.imax_plc
address: 67
unit_of_measurement: A
slave: 255
Within Dashboard:
title: Wallbox charge speed
type: horizontal-stack
cards:
- type: custom:button-card
name: 2 * 10 A<br>4,6 kW
icon: si:mercedes
tap_action:
action: call-service
service: modbus.write_register
service_data:
hub: EVSE
address: 67
slave: 255
value: 10
target: {}
color: var(--paper-item-icon-color)
- type: custom:button-card
name: 2 * 16 A<br>7,4 kW
icon: si:mercedes
action:
action: call-service
service: modbus.write_register
data:
hub: EVSE
address: 67
slave: 255
value: 16
target: {}
color: var(--paper-item-icon-color)
- type: custom:button-card
name: 3 * 16 A<br>11 kW
icon: si:renault
tap_action:
action: call-service
service: modbus.write_register
data:
hub: EVSE
address: 67
slave: 255
value: 16
target: {}
color: var(--paper-item-icon-color)
- type: custom:button-card
name: 3 * 32 A<br>22 kW
icon: si:renault
tap_action:
action: call-service
service: modbus.write_register
data:
hub: EVSE
address: 67
slave: 255
value: 32
target: {}
color: var(--paper-item-icon-color)