Push EV Charger action
Send a command to an EV Charger device. The action is processed asynchronously and a webhook is sent on completion.
Authorizations
Path Parameters
The unique identifier for the EV Charger device
"device_abc123"
Body
A single EV-charger action plus optional onConflict strategy and sandbox controls.
Action variants describe what the API accepts. Per-device support varies; the commands map on GET /ev-charger/{deviceId} shows which actions a specific device handles.
A canonical EV-charger command. charge begins charging; idle pauses, holding the session. Neither takes command parameters.
{ "command": "charge" }{ "command": "idle" }cancel_and_replace cancels the active action before running this one; queue_after defers this one until the active action completes. Omit to receive 409 on conflict.
cancel_and_replace, queue_after Sandbox controls for testing error paths. Ignored in live environments.
Response
Action acknowledged and queued for processing
Always true for success responses.
Result of a push. Mirrors the dispatch (command + parameters + deviceType) and carries links.self to track the action. For immediate actions, state reflects the dispatch outcome. For deferred actions, state is scheduled, start carries the fire time, and end the window close when a window was requested.
Metadata attached to every response: the request identifier, the serving environment, the build timestamp, and the server-side latency.