Skip to content
EN | DE

Set external battery mode

POST
/batterymode/{batteryMode}
curl --request POST \
--url https://demo.evcc.io/api/batterymode/unknown

Directly controls the mode of all controllable batteries. evcc behavior like ‘price limit’ or ‘prevent discharge while fast charging’ is overruled. External mode resets after 60s. The external system has to call this endpoint regularly.

batteryMode
required

Battery mode

string
Allowed values: unknown normal hold charge
Example
normal

Battery mode

Media type application/json
object
result

Battery mode. 0: unknown, 1: normal, 2: hold, 3: charge

integer
<= 3
Example generated
{
"result": 1
}