---
title: "Set battery grid discharge limit"
method: POST
path: "/batterygriddischargelimit/{cost}"
tags: ["battery"]
---

# Set battery grid discharge limit

`POST /batterygriddischargelimit/{cost}`

## Request

- Base URL: `https://demo.evcc.io/api`
- URL: `https://demo.evcc.io/api/batterygriddischargelimit/{cost}`
- Auth: none declared

Discharge home battery to grid when the grid export price is at or above the threshold (experimental). Requires a grid export tariff and the battery grid discharge setting. Ignored otherwise.

## Path parameters

- `cost` number, required

## Response `200`

Success - Number result

- number

## Changes

- **2026-09-02** `51499d334218`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evcc-io/apis/evcc/changes/batterygriddischargelimit/:cost/post.md)

---

[API](https://skmtc.dev/evcc-io/apis/evcc.md) - [All operations](https://skmtc.dev/evcc-io/apis/evcc/llms.txt) - [OpenAPI document](https://skmtc.dev/evcc-io/apis/evcc/revisions/f6589b1a9e51?raw)
