.. _everest_api_telemetry: ######### telemetry ######### .. container:: everest-api overview .. raw:: html
version 1.0.0AsyncAPI 3.0.0 content type application/jsonlicense Apache-2.0EVeresttelemetry
.. container:: lead EVerest telemetry Typed telemetry payloads and topics emitted by the EVerest framework and EVSE modules. .. raw:: html

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

send the client publishes, EVerest consumes (0) receive EVerest publishes, the client consumes (6)
Servers ======= .. container:: everest-api .. raw:: html

default mqtt

default local MQTT

Host
localhost:1883
Topic prefix
everest-telemetry
Operations ========== .. container:: everest-api .. raw:: html
EVerest to client ----------------- .. _everest_api_telemetry_op_receive_cert_status: receive\_cert\_status ~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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
        }
      }
.. _everest_api_telemetry_op_receive_evse_control: receive\_evse\_control ~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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
      }
.. _everest_api_telemetry_op_receive_v2g_transport: receive\_v2g\_transport ~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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
      }
.. _everest_api_telemetry_op_receive_v2g_ev_electrical: receive\_v2g\_ev\_electrical ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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
      }
.. _everest_api_telemetry_op_receive_v2g_payment_service: receive\_v2g\_payment\_service ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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
      }
.. _everest_api_telemetry_op_receive_v2g_charger_status: receive\_v2g\_charger\_status ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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 ======== .. container:: everest-api .. raw:: html
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 ======= .. container:: everest-api .. raw:: html
TelemetryEnvelope object
object

Common fields injected by the framework for all telemetry publications.

Additional properties allowed.

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.

CertTelemetry object
object

Certificate status for SECC and MO root chains.

Additional properties allowed.

EvseControlStatus object
object

EVSE control state flags.

Additional properties allowed.

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.

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.

ChargeProgress string
string

EV charge progress state.

enumStartStopRenegotiatePauseTerminate
V2gEvElectrical object
object

EV electrical telemetry.

Additional properties allowed.

V2gPaymentService object
object

V2G payment-service telemetry flags.

Additional properties allowed.

V2gChargerStatus object
object

V2G charger status telemetry.

Additional properties allowed.

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.