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  | 
||||
  | 
type  | 
string  | 
||
format  | 
uuid  | 
|||
  | 
const  | 
cost_updated  | 
||
  | 
const  | 
update  | 
||
  | 
type  | 
object  | 
||
properties  | 
||||
  | 
type  | 
number  | 
||
  | 
type  | 
string  | 
||
  | 
ISO 4217 currency code configured in TariffCostCtrlr component  | 
|||
type  | 
string  | 
|||
  | 
type  | 
object  | 
||
properties  | 
||||
  | 
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
     }
 }
}