This is the list of event types that we currently send.
For guidance on how to listen to these events, take a look at Svix's guide to consuming webhooks.
Represents a period within a charging session (one plug-in episode) when the same charging mode was active. Begins either when a vehicle is plugged in or when it switches mode (eg. from smart to boost) and ends either when the vehicle is unplugged or the mode switches again. Note that start/end bound the period the mode was active — not when energy was actually flowing. Energy may be delivered during only part of the sub-session, or in several separate bursts (see the energy_usage endpoint). See Understanding charging data.
36 Items
ISO 8601 UTC timestamp for when the event occurred.
The event type. Also delivered in the svix-event-type header.
{
"data": {
"co2_intensity_classification": "low",
"co2_intensity_grams_per_kilowatt_hour": 1,
"cost": 0,
"currency": "GBP",
"duration_minutes": 0,
"end": null,
"energy_delivered_watt_hours": 0,
"grid_energy_delivered_watt_hours": 0,
"id": "csub01HSH04KDEWF6Z4DB2J77J74K5",
"location": {
"name": "Home"
},
"mode": "SMART",
"solar_energy_delivered_watt_hours": 0,
"start": "2019-08-24T14:15:22Z",
"total_co2_grams": 0,
"url": "https://api.ev.energy/v2/charging_sub_sessions/csub01HSH04KDEWF6Z4DB2J77J74K5"
},
"timestamp": "2022-11-03T20:26:10.344522Z",
"type": "charging_sub_session.created"
}Represents a period within a charging session (one plug-in episode) when the same charging mode was active. Begins either when a vehicle is plugged in or when it switches mode (eg. from smart to boost) and ends either when the vehicle is unplugged or the mode switches again. Note that start/end bound the period the mode was active — not when energy was actually flowing. Energy may be delivered during only part of the sub-session, or in several separate bursts (see the energy_usage endpoint). See Understanding charging data.
36 Items
ISO 8601 UTC timestamp for when the event occurred.
The event type. Also delivered in the svix-event-type header.
{
"data": {
"co2_intensity_classification": "low",
"co2_intensity_grams_per_kilowatt_hour": 1,
"cost": 634,
"currency": "GBP",
"duration_minutes": 60,
"end": "2019-08-24T15:15:22Z",
"energy_delivered_watt_hours": 2300,
"grid_energy_delivered_watt_hours": 1840,
"id": "csub01HSH04KDEWF6Z4DB2J77J74K5",
"location": {
"name": "Home"
},
"mode": "SMART",
"solar_energy_delivered_watt_hours": 460,
"start": "2019-08-24T14:15:22Z",
"total_co2_grams": 229,
"url": "https://api.ev.energy/v2/charging_sub_sessions/csub01HSH04KDEWF6Z4DB2J77J74K5"
},
"timestamp": "2022-11-03T20:26:10.344522Z",
"type": "charging_sub_session.ended"
}