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}

Request

  • Base URL
    https://demo.evcc.io/api
  • URL
    https://demo.evcc.io/api/batterymode/{batteryMode}
  • Auth
    none declared

Path parameters

batteryModeBatteryMode required(unresolved $ref)

Response

Battery mode

integer required

Battery mode. 0: unknown, 1: normal, 2: hold, 3: charge, 4: holdcharge, 5: discharge

Changes