Set minimum SoC
POST
/vehicles/{name}/minsoc/{soc}
const url = 'https://demo.evcc.io/api/vehicles/vehicle_1/minsoc/60';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://demo.evcc.io/api/vehicles/vehicle_1/minsoc/60Vehicle will be fast-charged until this SoC is reached.
Parameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β name
required
soc
required
SOC in %
number
Example
60SOC in %
Responses
Section titled β Responses βSuccess - Soc result
Media type application/json
object
result
object
soc
SOC in %
number
Example
{ "result": { "soc": 60 }}