battery
experimental

Control battery grid discharge

Changed on

Allow the home battery to discharge to the grid. Enabling may require force=true to confirm country-specific grid export restrictions.

post/batterygriddischarge/{enable}

Request

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

Path parameters

enable'true' | 'false' | '1' | '0' required

Charging mode.

Query parameters

forceboolean

Confirm country-specific grid export restrictions

Response

Success - Boolean result

boolean required

Changes

    • info

      api tag experimental added

    • info

      added the new optional query request parameter force

    • info

      added the non-success response with the status

    • breaking

      the response's body type changed from object to boolean for status

    • warning

      removed the optional property from the response with the status