Session Energy Report


It is now possible to retrieve the historical energy reports for any previous or running session. These records will show how much current and power was drawn by the EV along with the energy meter value of this particular chargestation. This can be done by using the eDRV APIs or from the Admin Dashboard.

Using the API to Get an Energy Report

To fetch the energy reports for a particular session, execute the GET /sessions/:id/energy_reports API and it will
return every single energy report that was delivered by the chargestation.

const options = {method: 'GET', headers: {
    Accept: 'application/json',
    Authorization: 'Bearer ****'

fetch('', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Executing this API will have the following response. The result property will have an array of energy reports sorted by the latest timestamps.

       "timestamp": "2021-12-02T05:57:35Z",
       "current": {"value":"31.7","unit":"A"},
       "energy_meter": {"value":"2345.950","unit":"kWh"},
       "energy_meter":{"value":"2345.890","unit": "kWh"},

Using the Admin Panel to Get an Energy Report

Every session details page will now have a button named Download Energy Report. By clicking on the button, it will generate a CSV file with all the energy report properties.

Example CSV file