The commands below are available for you to issue commands to a charger.
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 1 | Reboot | Reboot charger | - | POST api/chargers/{chargerId}/commands/reboot |
| 4 | UpgradeFirmware | Upgrade firmware to the latest version using delta OTA | - | POST api/chargers/{chargerId}/commands/update_firmware |
| 29 | SetEnabled | Set true to enable charger | IsEnabled (bool) | POST api/chargers/{chargerId}/settings (field: Enabled) |
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 21 | SetDynamicCurrentOfflineFallback | Sets the maximum circuit current to be used by the load balancer in case the charger goes offline [Amperes] | MaxDynamicCurrentP1 (int), MaxDynamicCurrentP2 (int), MaxDynamicCurrentP3 (int) | POST api/sites/{siteId}/circuits/{circuitId}/settings (fields: OfflineMaxCircuitCurrentP1/P2/P3) |
| 22 | SetDynamicCircuitCurrent | Set charge current for each phase [Amperes], use 0 for all phases to pause charging (for smart charging / volatile setting) | CurrentP1 (double), CurrentP2 (double), CurrentP3 (double), TTL_Minutes (int) | POST api/sites/{siteId}/circuits/{circuitId}/dynamicCurrent
POST api/sites/{siteId}/circuits/{circuitId}/settings (fields: DynamicCircuitCurrentP1/P2/P3) |
| 48 | SetDynamicChargerCurrent | Set max charge current for this charger [Amperes], use 0 to pause charging (for smart charging / volatile setting) | Current_Amp (int), TTL_Minutes (int) | POST api/chargers/{chargerId}/commands/set_dynamic_charger_current
POST api/chargers/{chargerId}/settings (field: DynamicChargerCurrent) |
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 24 | SetMaxCircuitCurrent | Non-volatile max current for circuit [Amperes] | CurrentP1 (int), CurrentP2 (int), CurrentP3 (int) | POST api/sites/{siteId}/circuits/{circuitId}/settings (fields: MaxCircuitCurrentP1/P2/P3) |
| 47 | SetMaxChargerCurrent | Set max charge current for this charger [Amperes]. Non-volatile setting, stored in flash. Should only be used for permanent change to current | Current_Amp (int) | POST api/chargers/{chargerId}/settings (field: MaxChargerCurrent) |
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 25 | AuthorizeCharging | Provide authorization result | IDToken (string), Status (int), ExpirationDate (string) | POST api/chargers/{chargerId}/commands/toggle_charging (indirect, when auth required) |
| 26 | DeauthorizeCharging | Deauthorizes charging | IDToken (string), Status (int) | POST api/chargers/{chargerId}/commands/stop_charging |
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 11 | SetSmartCharging | Set smart charging mode | SmartCharging (bool) | POST api/chargers/{chargerId}/commands/smart_charging
POST api/chargers/{chargerId}/settings (field: SmartCharging) |
| 63 | OverrideSchedule | Overrides the schedule for the current session. Output current will not be limited by the schedule. Schedule is automatically resumed when EV disconnects. | - | POST api/chargers/{chargerId}/commands/override_schedule |
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 38 | SetPhaseMode | Set Phase mode on this charger. 1-Locked to 1-Phase, 2-Auto, 3-Locked to 3-phase | PhaseMode (int) | POST api/chargers/{chargerId}/commands/set_phase_mode
POST api/chargers/{chargerId}/settings (field: PhaseMode) |
| Id | Name | Description | Arguments | API Endpoint |
|---|
| 30 | SetLockCablePermanently | Set cable lock state | Locked (bool) | POST api/chargers/{chargerId}/commands/lock_state
POST api/chargers/{chargerId}/settings (field: LockCablePermanently) |
Response sent by the device for every command, regardless of command type.
| Field | Type | Required | Description |
|---|
| Id | int | Yes | Command id |
| Timestamp | datetime | Yes | Timestamp from the original command |
| WasAccepted | bool | Yes | Whether the command was accepted |
| DeliveredAt | datetime | No | Current datetime. Only present when WasAccepted=true |
| SerialNumber | string | Yes | Device serial number |
| ResultCode | int | No | Result code from the device |
| Comment | string | No | Human-readable comment from the device |