telemetry

version 1.0.0AsyncAPI 3.0.0 content type application/jsonlicense Apache-2.0EVeresttelemetry

EVerest telemetry

Typed telemetry payloads and topics emitted by the EVerest framework and EVSE modules.

Specification: telemetry.yaml · pionix:de:everest:telemetry

send the client publishes, EVerest consumes (0) receive EVerest publishes, the client consumes (6)

Servers

default mqtt

default local MQTT

Host
localhost:1883
Topic prefix
everest-telemetry

Operations

EVerest to client

receive_cert_status

receive Receive cert status telemetry
Topic
everest-telemetry/Cert/{telemetry_id}/status

Direction: EVerest to telemetry consumer

The topic payload contains the framework fields timestamp, connector_id, and type plus the CertTelemetry struct for the status subcategory.

Message Cert status telemetry application/json

Message cert_status

Certificate chain telemetry.

Payload

object TelemetryCertStatus

Cert status payload (Cert/{telemetry_id}/status) with framework fields.

Definition of TelemetryCertStatus

Example

Minimal payload generated from the schema generated
{
  "timestamp": "2019-08-24T14:15:22Z",
  "connector_id": 0,
  "type": "status",
  "config_complete": true,
  "sync_complete": true,
  "secc_chain": {
    "configured": true,
    "synced": true,
    "num_files": 0,
    "num_useful_files": 0
  },
  "mo_root": {
    "configured": true,
    "synced": true,
    "num_files": 0,
    "num_useful_files": 0
  }
}

receive_evse_control

receive Receive EVSE control telemetry
Topic
everest-telemetry/Evse/{telemetry_id}/control

Direction: EVerest to telemetry consumer

The topic payload contains the framework fields timestamp, connector_id, and type plus the EvseControlStatus struct for the control subcategory.

Message EVSE control telemetry application/json

Message evse_control

EVSE control-state telemetry.

Payload

object TelemetryEvseControl

EVSE control payload (Evse/{telemetry_id}/control) with framework fields.

Definition of TelemetryEvseControl

Example

Minimal payload generated from the schema generated
{
  "timestamp": "2019-08-24T14:15:22Z",
  "connector_id": 0,
  "type": "control",
  "authorisation_finished": true,
  "emergency_stop": true,
  "error_stop": true,
  "normal_stop": true,
  "contract_payment_enabled": true,
  "free_charging_enabled": true
}

receive_v2g_transport

receive Receive V2G transport telemetry
Topic
everest-telemetry/V2G/{telemetry_id}/transport

Direction: EVerest to telemetry consumer

The topic payload contains the framework fields timestamp, connector_id, and type plus the V2gTransport struct for the transport subcategory.

Message V2G transport telemetry application/json

Message v2g_transport

V2G transport telemetry.

Payload

object TelemetryV2gTransport

V2G transport payload (V2G/{telemetry_id}/transport) with framework fields.

Definition of TelemetryV2gTransport

Example

Minimal payload generated from the schema generated
{
  "timestamp": "2019-08-24T14:15:22Z",
  "connector_id": 0,
  "type": "transport",
  "comm_state": {
    "din70121": "WaitForSessionSetup",
    "iso15118_ac": "WaitForSessionSetup",
    "iso15118_dc": "WaitForSessionSetup"
  },
  "message_state": "SupportedAppProtocol",
  "udp_server_status": "Inactive",
  "tcp_listener_status": "Inactive",
  "tcp_server_status": "Inactive",
  "tcp_connection_established": true,
  "tcp_discovery_enable": true,
  "tcp_security_enable": true,
  "tcp_security_required": true,
  "tcp_port_number": 0,
  "session_setup_requested": true,
  "authorization_requested": true,
  "charge_parameter_discovery_requested": true,
  "cable_check_requested": true,
  "pre_charge_requested": true,
  "current_demand_requested": true,
  "welding_detection_requested": true
}

receive_v2g_ev_electrical

receive Receive V2G EV electrical telemetry
Topic
everest-telemetry/V2G/{telemetry_id}/ev_electrical

Direction: EVerest to telemetry consumer

The topic payload contains the framework fields timestamp, connector_id, and type plus the V2gEvElectrical struct for the ev_electrical subcategory.

Message V2G EV electrical telemetry application/json

Message v2g_ev_electrical

EV electrical telemetry.

Payload

object TelemetryV2gEvElectrical

V2G EV electrical payload (V2G/{telemetry_id}/ev_electrical) with framework fields.

Definition of TelemetryV2gEvElectrical

Example

Minimal payload generated from the schema generated
{
  "timestamp": "2019-08-24T14:15:22Z",
  "connector_id": 0,
  "type": "ev_electrical",
  "charge_progress": "Start",
  "battery_soc_percent": 0,
  "error_code": "NO_ERROR",
  "maximum_current_A": 0,
  "maximum_power_W": 0,
  "maximum_voltage_V": 0,
  "maximum_rated_current_A": 0,
  "maximum_rated_power_W": 0,
  "maximum_rated_voltage_V": 0,
  "target_current_A": 0,
  "target_voltage_V": 0,
  "remaining_time_bulk_min": 0,
  "remaining_time_full_min": 0,
  "energy_request_Wh": 0,
  "energy_capacity_Wh": 0
}

receive_v2g_payment_service

receive Receive V2G payment service telemetry
Topic
everest-telemetry/V2G/{telemetry_id}/payment_service

Direction: EVerest to telemetry consumer

The topic payload contains the framework fields timestamp, connector_id, and type plus the V2gPaymentService struct for the payment_service subcategory.

Message V2G payment service telemetry application/json

Message v2g_payment_service

V2G payment service telemetry.

Payload

object TelemetryV2gPaymentService

V2G payment-service payload (V2G/{telemetry_id}/payment_service) with framework fields.

Definition of TelemetryV2gPaymentService

Example

Minimal payload generated from the schema generated
{
  "timestamp": "2019-08-24T14:15:22Z",
  "connector_id": 0,
  "type": "payment_service",
  "certificate_install_requested": true,
  "certificate_update_requested": true,
  "charging_service_requested": true,
  "external_payment_requested": true,
  "contract_payment_requested": true,
  "contract_payment_approved": true,
  "contract_payment_error": true,
  "internet_ftp20_requested": true,
  "internet_ftp21_requested": true,
  "internet_http80_requested": true,
  "internet_https443_requested": true
}

receive_v2g_charger_status

receive Receive V2G charger status telemetry
Topic
everest-telemetry/V2G/{telemetry_id}/charger_status

Direction: EVerest to telemetry consumer

The topic payload contains the framework fields timestamp, connector_id, and type plus the V2gChargerStatus struct for the charger_status subcategory.

Message V2G charger status telemetry application/json

Message v2g_charger_status

V2G charger status telemetry.

Payload

object TelemetryV2gChargerStatus

V2G charger-status payload (V2G/{telemetry_id}/charger_status) with framework fields.

Definition of TelemetryV2gChargerStatus

Example

Minimal payload generated from the schema generated
{
  "timestamp": "2019-08-24T14:15:22Z",
  "connector_id": 0,
  "type": "charger_status",
  "evcc_id": "string",
  "selected_protocol": "string",
  "cable_check_status": true,
  "param_discovery_finished": true,
  "isolation_status": "string",
  "dynamic_max_current_A": 0,
  "dynamic_max_power_W": 0,
  "dynamic_max_voltage_V": 0
}

Messages

MessageSummaryUsed by
cert_status
Cert status telemetry

Certificate chain telemetry.

receive_cert_status
evse_control
EVSE control telemetry

EVSE control-state telemetry.

receive_evse_control
v2g_transport
V2G transport telemetry

V2G transport telemetry.

receive_v2g_transport
v2g_ev_electrical
V2G EV electrical telemetry

EV electrical telemetry.

receive_v2g_ev_electrical
v2g_payment_service
V2G payment service telemetry

V2G payment service telemetry.

receive_v2g_payment_service
v2g_charger_status
V2G charger status telemetry

V2G charger status telemetry.

receive_v2g_charger_status

Schemas

TelemetryEnvelope object
object

Common fields injected by the framework for all telemetry publications.

Additional properties allowed.

  • timestampstring required

    Timestamp in RFC3339 format, added by telemetry_publish.

    format date-time
  • connector_idinteger required

    Numeric telemetry id injected by telemetry_publish under the connector_id key.

  • typestring required

    Telemetry subtype used in the topic publish call.

TelemetryCertStatus object
object

Cert status payload (Cert/{telemetry_id}/status) with framework fields.

Additional properties allowed.

All of:

TelemetryEvseControl object
object

EVSE control payload (Evse/{telemetry_id}/control) with framework fields.

Additional properties allowed.

All of:

TelemetryV2gTransport object
object

V2G transport payload (V2G/{telemetry_id}/transport) with framework fields.

Additional properties allowed.

All of:

TelemetryV2gEvElectrical object
object

V2G EV electrical payload (V2G/{telemetry_id}/ev_electrical) with framework fields.

Additional properties allowed.

All of:

TelemetryV2gPaymentService object
object

V2G payment-service payload (V2G/{telemetry_id}/payment_service) with framework fields.

Additional properties allowed.

All of:

TelemetryV2gChargerStatus object
object

V2G charger-status payload (V2G/{telemetry_id}/charger_status) with framework fields.

Additional properties allowed.

All of:

CertChainState object
object

Cert chain status counters and flags.

Additional properties allowed.

  • configuredboolean required

    Certificate chain has been configured.

  • syncedboolean required

    Certificate chain is synced.

  • num_filesinteger required

    Number of certificate files.

  • num_useful_filesinteger required

    Number of useful certificate files.

CertTelemetry object
object

Certificate status for SECC and MO root chains.

Additional properties allowed.

EvseControlStatus object
object

EVSE control state flags.

Additional properties allowed.

  • authorisation_finishedboolean required

    Authorization is finished.

  • emergency_stopboolean required

    Emergency stop active.

  • error_stopboolean required

    Error stop active.

  • normal_stopboolean required

    Normal stop active.

  • contract_payment_enabledboolean required

    Contract payment enabled.

  • free_charging_enabledboolean required

    Free charging enabled.

V2gDin70121CommunicationState string
string

DIN 70121 transport communication state.

enumWaitForSessionSetupWaitForServiceDiscoveryWaitForPaymentServiceSelectionWaitForAuthorizationWaitForChargeParameterDiscoveryWaitForCableCheckWaitForPreChargeWaitForPreChargePowerDeliveryWaitForCurrentDemandWaitForCurrentDemandPowerDeliveryWaitForWeldingDetectionSessionStopWaitForSessionStopWaitForTerminatedSession
V2gIso15118AcCommunicationState string
string

ISO 15118-2 AC transport communication state.

enumWaitForSessionSetupWaitForServiceDiscoveryWaitForServiceDetailPaymentServiceSelectionWaitForPaymentDetailsCertificateInstallCertificateUpdateWaitForPaymentDetailsWaitForAuthorizationWaitForChargeParameterDiscoveryWaitForPowerDeliveryWaitForChargingStatusWaitForChargingStatusPowerDeliveryWaitForMeteringReceiptWaitForSessionStopWaitForTerminatedSession
V2gIso15118DcCommunicationState string
string

ISO 15118-2 DC communication state.

enumWaitForSessionSetupWaitForServiceDiscoveryWaitForServiceDetailPaymentServiceSelectionWaitForPaymentDetailsCertificateInstallCertificateUpdateWaitForPaymentDetailsWaitForAuthorizationWaitForChargeParameterDiscoveryWaitForCableCheckWaitForPreChargeWaitForPreChargePowerDeliveryWaitForCurrentDemandPowerDeliveryWaitForCurrentDemandWaitForMeteringReceiptWaitForWeldingDetectionSessionStopWaitForTerminatedSession
V2gCommunicationState object
object

Communication state container. Optional fields are omitted when unset.

Additional properties allowed.

  • DIN 70121 communication state.

    enumWaitForSessionSetupWaitForServiceDiscoveryWaitForPaymentServiceSelectionWaitForAuthorizationWaitForChargeParameterDiscoveryWaitForCableCheckWaitForPreChargeWaitForPreChargePowerDeliveryWaitForCurrentDemandWaitForCurrentDemandPowerDeliveryWaitForWeldingDetectionSessionStopWaitForSessionStopWaitForTerminatedSession
  • ISO 15118-2 AC communication state.

    enumWaitForSessionSetupWaitForServiceDiscoveryWaitForServiceDetailPaymentServiceSelectionWaitForPaymentDetailsCertificateInstallCertificateUpdateWaitForPaymentDetailsWaitForAuthorizationWaitForChargeParameterDiscoveryWaitForPowerDeliveryWaitForChargingStatusWaitForChargingStatusPowerDeliveryWaitForMeteringReceiptWaitForSessionStopWaitForTerminatedSession
  • ISO 15118-2 DC communication state.

    enumWaitForSessionSetupWaitForServiceDiscoveryWaitForServiceDetailPaymentServiceSelectionWaitForPaymentDetailsCertificateInstallCertificateUpdateWaitForPaymentDetailsWaitForAuthorizationWaitForChargeParameterDiscoveryWaitForCableCheckWaitForPreChargeWaitForPreChargePowerDeliveryWaitForCurrentDemandPowerDeliveryWaitForCurrentDemandWaitForMeteringReceiptWaitForWeldingDetectionSessionStopWaitForTerminatedSession
V2gMessageState string
string

ISO 15118 protocol message state.

enumSupportedAppProtocolSessionSetupServiceDiscoveryServiceDetailPaymentServiceSelectionPaymentDetailsAuthorizationChargeParameterDiscoveryMeteringReceiptCertificateUpdateCertificateInstallationChargingStatusCableCheckPreChargePowerDeliveryCurrentDemandWeldingDetectionSessionStopUnknown
V2gServerStatus string
string

Transport server status.

enumInactiveActive
V2gTransport object
object

V2G transport state.

Additional properties allowed.

  • comm_stateobject requiredV2gCommunicationState

    Communication state object.

    Definition of V2gCommunicationState

  • message_statestring requiredV2gMessageState

    Current message state.

    enumSupportedAppProtocolSessionSetupServiceDiscoveryServiceDetailPaymentServiceSelectionPaymentDetailsAuthorizationChargeParameterDiscoveryMeteringReceiptCertificateUpdateCertificateInstallationChargingStatusCableCheckPreChargePowerDeliveryCurrentDemandWeldingDetectionSessionStopUnknown
  • udp_server_statusstring requiredV2gServerStatus

    UDP server status.

    enumInactiveActive
  • tcp_listener_statusstring requiredV2gServerStatus

    TCP listener status.

    enumInactiveActive
  • tcp_server_statusstring requiredV2gServerStatus

    TCP server status.

    enumInactiveActive
  • tcp_connection_establishedboolean required

    TCP connection established.

  • tcp_discovery_enableboolean required

    TCP discovery enabled.

  • tcp_security_enableboolean required

    TCP security enabled.

  • tcp_security_requiredboolean required

    TCP security required.

  • tcp_port_numberinteger required

    TCP port number.

  • session_setup_requestedboolean required

    Session setup requested.

  • authorization_requestedboolean required

    Authorization requested.

  • charge_parameter_discovery_requestedboolean required

    Charge parameter discovery requested.

  • cable_check_requestedboolean required

    Cable check requested.

  • pre_charge_requestedboolean required

    Pre-charge requested.

  • current_demand_requestedboolean required

    Current demand requested.

  • welding_detection_requestedboolean required

    Welding detection requested.

ChargeProgress string
string

EV charge progress state.

enumStartStopRenegotiatePauseTerminate
V2gEvElectrical object
object

EV electrical telemetry.

Additional properties allowed.

  • charge_progressstring requiredChargeProgress

    Current EV charge progress.

    enumStartStopRenegotiatePauseTerminate
  • battery_soc_percentinteger required

    Battery state of charge.

  • error_codestring requiredV2gEvErrorCode

    EV error code.

    enumNO_ERRORFAILED_RESSTemperatureInhibitFAILED_EVShiftPositionFAILED_ChargerConnectorLockFaultFAILED_EVRESSMalfunctionFAILED_ChargingCurrentdifferentialFAILED_ChargingVoltageOutOfRangeReserved_AReserved_BReserved_CFAILED_ChargingSystemIncompatibilityNoData
  • maximum_current_Anumber required

    Maximum allowed current in A.

  • maximum_power_Wnumber required

    Maximum allowed power in W.

  • maximum_voltage_Vnumber required

    Maximum allowed voltage in V.

  • maximum_rated_current_Anumber required

    Maximum rated current in A.

  • maximum_rated_power_Wnumber required

    Maximum rated power in W.

  • maximum_rated_voltage_Vnumber required

    Maximum rated voltage in V.

  • target_current_Anumber required

    Target current in A.

  • target_voltage_Vnumber required

    Target voltage in V.

  • remaining_time_bulk_mininteger required

    Estimated bulk charge time in minutes.

  • remaining_time_full_mininteger required

    Estimated full charge time in minutes.

  • energy_request_Whnumber required

    Requested energy in Wh.

  • energy_capacity_Whnumber required

    Battery energy capacity in Wh.

V2gPaymentService object
object

V2G payment-service telemetry flags.

Additional properties allowed.

  • certificate_install_requestedboolean required

    Certificate install requested.

  • certificate_update_requestedboolean required

    Certificate update requested.

  • charging_service_requestedboolean required

    Charging service requested.

  • external_payment_requestedboolean required

    External payment requested.

  • contract_payment_requestedboolean required

    Contract payment requested.

  • contract_payment_approvedboolean required

    Contract payment approved.

  • contract_payment_errorboolean required

    Contract payment error.

  • internet_ftp20_requestedboolean required

    FTP20 internet request raised.

  • internet_ftp21_requestedboolean required

    FTP21 internet request raised.

  • internet_http80_requestedboolean required

    HTTP 80 internet request raised.

  • internet_https443_requestedboolean required

    HTTPS 443 internet request raised.

V2gChargerStatus object
object

V2G charger status telemetry.

Additional properties allowed.

  • evcc_idstring required

    EVCC ID.

  • selected_protocolstring required

    Selected protocol identifier.

  • cable_check_statusboolean required

    Cable check status.

  • param_discovery_finishedboolean required

    Parameter discovery complete.

  • isolation_statusstring required

    Isolation status string as reported by module.

  • dynamic_max_current_Anumber required

    Dynamic maximum current in A.

  • dynamic_max_power_Wnumber required

    Dynamic maximum power in W.

  • dynamic_max_voltage_Vnumber required

    Dynamic maximum voltage in V.

V2gEvErrorCode string
string

V2G error code for EV side.

enumNO_ERRORFAILED_RESSTemperatureInhibitFAILED_EVShiftPositionFAILED_ChargerConnectorLockFaultFAILED_EVRESSMalfunctionFAILED_ChargingCurrentdifferentialFAILED_ChargingVoltageOutOfRangeReserved_AReserved_BReserved_CFAILED_ChargingSystemIncompatibilityNoData
V2gEvseElectrical object
object

EVSE-side electrical telemetry structure.

Additional properties allowed.

  • present_current_Anumber required

    Present current in A.

  • present_voltage_Vnumber required

    Present voltage in V.

  • maximum_rated_current_Anumber required

    Maximum rated current in A.

  • maximum_rated_power_Wnumber required

    Maximum rated power in W.

  • maximum_rated_voltage_Vnumber required

    Maximum rated voltage in V.

  • minimum_rated_current_Anumber required

    Minimum rated current in A.

  • minimum_rated_voltage_Vnumber required

    Minimum rated voltage in V.

  • current_ripple_Anumber required

    Current ripple in A.

  • current_tolerance_Anumber required

    Current tolerance in A.