JouloDocs

Sessions

Understand charging session data in Joulo

A session represents a single charging event — from the moment your car starts drawing power until it stops. Every session records how much energy was delivered and, when applicable, how many ERE-credits were earned.

Session object

{
  "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
  "charger_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "charger_nickname": "Garage",
  "started_at": "2026-04-08T18:30:00Z",
  "ended_at": "2026-04-09T06:45:00Z",
  "kwh": 42.37,
  "status": "completed",
  "ere_credits": 6.36
}

Fields

FieldTypeDescription
idstring (UUID)Unique identifier for the session.
charger_idstring (UUID)ID of the charger this session belongs to.
charger_nicknamestringUser-defined name of the charger.
started_atstring (ISO 8601)When the session started.
ended_atstring (ISO 8601)When the session ended. null for active sessions.
kwhnumberTotal energy delivered, in kilowatt-hours.
statusstringactive, charging, or completed.
ere_creditsnumberERE-credits earned by this session. null if not yet calculated.

Session statuses

StatusDescription
activeThe charger is connected and a session is in progress.
chargingThe charger is actively delivering power.
completedThe session has ended and final energy values are recorded.

Energy calculation

Joulo calculates kwh from the best available data source for each session:

  1. Direct kWh value from the charger (if reported)
  2. Energy in watt-hours, converted to kWh
  3. Difference between meter start and stop readings
  4. Live meter reading minus meter start (for active sessions)

This ensures accurate energy values regardless of which charger brand you use.

ERE-credits

Each completed session may earn ERE-credits (Energie Rendement Eenheden). The ere_credits field shows the number of credits earned. Credits are calculated based on the energy delivered during the session and depend on whether the charger has a MID-certified meter.

Filtering sessions

The GET /sessions endpoint supports several query parameters:

  • charger_id — Show sessions for a specific charger only
  • from / to — Filter by date range (ISO 8601 timestamps)
  • limit / offset — Paginate through results

See the API reference for full details.

Next steps