Cost Updated

This message contains periodic updates of the running total cost of a session. The message is extended with custom data fields to allow running cost calculations and inform EV-driver about upcoming price schedules.

CostUpdated

Topic: josev/cs. Used to inform the EV-Driver the current cost.

type

object

properties

  • id

type

string

format

uuid

  • name

const

cost_updated

  • type

const

update

  • data

type

object

properties

  • total_cost

type

number

  • evse_id

type

string

  • currency

ISO 4217 currency code configured in TariffCostCtrlr component

type

string

  • custom_data

type

object

properties

  • vendor_id

type

string

Example:

{
 "id": "123e4567-e89b-12d3-a456-426614174000",
 "name": "cost_updated",
 "type": "update",
 "data": {
     "total_cost": 3.1,
     "evse_id": "DE*SEV*E123456789",
     "currency": "USD",
     "custom_data": {
         "vendor_id": "org.openchargealliance.costmsg"  # Optional
     }
 }

}