Update charge mode
POST
/loadpoints/{id}/mode/{mode}
const url = 'https://demo.evcc.io/api/loadpoints/1/mode/off';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/mode/offChanges the charging behavior of the loadpoint.
Parameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β id
required
Loadpoint index starting at 1.
integer
Example
1Loadpoint index starting at 1
mode
required
Charging mode.
string
Responses
Section titled β Responses βSuccess
Media type application/json
object
result
Charging mode.
string
Example
{ "result": "off"}