Set smart charging cost limit for all loadpoints
POST
/smartcostlimit/{cost}
const url = 'https://demo.evcc.io/api/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/smartcostlimit/0.25Convenience method to set smart charging cost limit for all loadpoints at once. Value is applied to each individual loadpoint.
Parameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β 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}