Disable external battery control
DELETE
/batterymode
const url = 'https://demo.evcc.io/api/batterymode';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://demo.evcc.io/api/batterymodeDefault evcc control behavior is restored
Responses
Section titled “Responses”Battery mode
Media typeapplication/json
object
result
Battery mode. 0: unknown, 1: normal, 2: hold, 3: charge
integer
Examplegenerated
{ "result": 1}