Set smart charging cost limit
POST
/loadpoints/{id}/smartcostlimit/{cost}
const url = 'https://demo.evcc.io/api/loadpoints/1/smartcostlimit/0.25';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/loadpoints/1/smartcostlimit/0.25Set cost or emission limit for fast-charging with grid energy.
Parameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β id
required
Loadpoint index starting at 1.
integer
Example
1Loadpoint index starting at 1
cost
required
number
Cost limit in configured currency (default EUR) or CO2 limit in g/kWh
Example
0.25Responses
Section titled β Responses βSuccess - Number result
Media type application/json
object
result
number
Example generated
{ "result": 1}