Skip to content

ScheduleInterval

A schedule interval represents a charging instruction for a specific time period within a charging session. It specifies the charging current (in milliamps) that should be applied during that period.

started_atstring, (date-time)read-only

The start time of the period this schedule applies to. Always aligned to half-hour boundaries (:00 or :30).

Example:"2024-01-01T02:00:00Z"
interval_secondsinteger or nullread-only

The duration of this schedule in seconds. Currently always 1800 seconds (30 minutes), or null for boost sessions which have no defined end time.

Example:1800
current_milliampsintegerread-only

The charging current in milliamps that should be applied during this period. A value of 0 means no charging.

Example:7400
schedule_typestringread-only

The type of scheduling that generated this instruction.

  • INITIAL_CHARGE_TIME: Initial charge to condition the battery
  • BATTERY_WARMING: Pre-warming the hour before the ready-by-time
  • SMART: Optimised smart charging
  • BOOST: Immediate charging at maximum rate
  • SOLAR_ONLY: Charging only from solar generation
  • SOLAR_SMART: Combined solar and smart charging
  • V2G_DISCHARGE: Vehicle-to-grid discharge
  • V2G_CHARGEBACK: Charging back after V2G discharge
  • LEGACY: Legacy schedules from before type tracking
Enum:"INITIAL_CHARGE_TIME""BATTERY_WARMING""SMART""BOOST""SOLAR_ONLY""SOLAR_SMART""V2G_DISCHARGE""V2G_CHARGEBACK""LEGACY"
Example:"SMART"
dispatched_atstring or null, (date-time)read-only

When this schedule was last sent to the device. Null if not yet dispatched.

Example:"2024-01-01T02:00:15Z"
created_atstring, (date-time)read-only

When this schedule was created.

Example:"2024-01-01T01:55:00Z"
{ "started_at": "2024-01-01T02:00:00Z", "interval_seconds": 1800, "current_milliamps": 7400, "schedule_type": "SMART", "dispatched_at": "2024-01-01T02:00:15Z", "created_at": "2024-01-01T01:55:00Z" }