---
title: "Set optimizer automatic level"
method: POST
path: "/config/optimizerautomatic/{value}"
tags: ["experimental"]
---

# Set optimizer automatic level

`POST /config/optimizerautomatic/{value}`

## Request

- Base URL: `https://demo.evcc.io/api`
- URL: `https://demo.evcc.io/api/config/optimizerautomatic/{value}`
- Auth: one of:
  - API key in cookie `auth`
  - HTTP bearer

Let the optimizer directly control the home battery (`battery`) or home battery and loadpoints (`full`) instead of only advising (`off`). Requires a sponsor token.

## Path parameters

- `value` 'off' | 'battery' | 'full', required

## Response `200`

Success - String result

- string

## Changes

- **2026-10-11** `7a3193f4d6c7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evcc-io/apis/evcc/changes/config/optimizerautomatic/:value/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)
