EvseV2G

This module includes a DIN70121 and ISO15118-2 implementation provided by chargebyte GmbH. DEPRECATED in 2026.10.0, earliest removal in 2027.04.0: superseded by the Evse15118D20 module, which runs DIN SPEC 70121, ISO 15118-2 and ISO 15118-20 on the C++ ISO 15118 stack. See the how-to guide “Migrate from EvseV2G and IsoMux to Evse15118D20” for the upgrade path.

Handwritten Documentation

This module includes a DIN70121 and ISO15118-2 implementation provided by chargebyte GmbH

Warning

Deprecated in 2026.10.0, earliest removal in 2027.04.0. Use Evse15118D20 instead, which runs DIN SPEC 70121, ISO 15118-2 and ISO 15118-20 on the C++ ISO 15118 stack. See the how-to guide Migrate from EvseV2G and IsoMux to Evse15118D20 for the config mapping and the behavioral differences. The module logs a deprecation warning at startup.

Feature List

This document contains feature lists for DIN70121 and ISO15118-2 features, which EvseV2G supports. These lists serve as a quick overview of which features are supported.

DIN70121

Feature

Supported

DC

✔️

ExternalPayment

✔️

ISO15118-2

Feature

Supported

AC

✔️

DC

✔️

TCP & TLS 1.2

✔️

ExternalPayment

✔️

Plug&Charge

✔️

CertificateInstallation

✔️

CertificateUpdate

Pause/Resume

✔️

Schedule Renegotation

Smart Charging

Internet Service

Auto-Generated Reference

Module Configuration

device: string <optional>
default: “eth0”
Ethernet device used for HLC. Any local interface that has an ipv6 link-local and a MAC addr will work
tcp_port: integer <optional>
default: 61341
TCP port used for unencrypted ISO 15118 communication
tls_port: integer <optional>
default: 64109
TCP port used for TLS-protected ISO 15118 communication
supported_DIN70121: boolean <optional>
default: True
The EVSE supports the DIN SPEC
supported_ISO15118_2: boolean <optional>
default: True
The EVSE supports ISO15118-2
tls_security: string <optional>
default: “allow”
Controls how to handle encrypted communication
enum:
- prohibit
- allow
- force
terminate_connection_on_failed_response: boolean <optional>
default: False
Controls how to handle a failed response code of the EVSE. If true the V2G connection is terminated immediately on a failed response code, otherwise the EV is responsible for closing of the V2G communication session with SessionStop.
tls_key_logging: boolean <optional>
default: False
Enable/Disable the export of TLS session keys (pre-master-secret) during a TLS handshake. This log file can be used to decrypt TLS sessions. Note that this option is for testing and simulation purpose only
tls_key_logging_path: string <optional>
default: “/tmp”
Output directory for the TLS key log file
tls_timeout: integer <optional>
default: 15000
Set the TLS timeout in ms when establishing a tls connection
verify_contract_cert_chain: boolean <optional>
default: False
Specifies if the EVSE should verify the contract certificate chain locally.
auth_timeout_pnc: integer <optional>
default: 55
Defines how many seconds the EVSE should wait for authorization in PnC case, before the charging session is aborted. Write 0 if the EVSE should wait indefinitely for PnC authorization.
auth_timeout_eim: integer <optional>
default: 300
Defines how many seconds the EVSE should wait for authorization in EIM case, before the charging session is aborted. Write 0 if the EVSE should wait indefinitely for EIM authorization.
enable_sdp_server: boolean <optional>
default: True
Enable the built-in SDP server
publish_telemetry_only_on_change: boolean <optional>
default: True
Only publish telemetry blocks when values changed.

Provides

This module implements the ISO15118-2 implementation of an AC or DC charger
This interface is used to share data between ISO15118 and OCPP modules to support the requirements of the OCPP protocol

Requirements

security: evse_security 1
iso15118_vas: ISO15118_vas 0..128

Metadata

Authors

Fabian Hartung
Mohannad Oraby
Sebastian Lukas

License