battery

Set external battery mode

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.

post/batterymode/{batteryMode}

Path parameters

batteryMode'unknown' | 'normal' | 'hold' | 'charge' required

Battery mode

Example:normal

Response

Battery mode

resultinteger

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

Changes