HomeGuidesAPI ReferenceChangelog
Terms of Use
Terms of Use

Setup Smart Charging (Public, Private, Personal/Home)

Configure the Smart Charging settings

disabled - no smart charging is available for the charge point
tod - for public and private charge points. The maximum load for a specific time period during the day could be set - the charge point could be part of a dynamic load management circuit.
dynamic - for public and private charge points. The charge point could be part of a dynamic load management circuit.
user_schedule - for personal charge points. The maximum power load will be defined on the EVSE level. The charge point owner could manually create a charging schedule.

Define the type and parameters of Smart Charging using a user schedule, Dynamic Load Management Circuit (see ENERGY MANAGEMENT) or Time of Day

curl --location 'https://{{baseUrl}}/public-api/resources/charge-points/v2.0/10/smart-charging' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{apiToken}}' \
--data '{
  "defaultChargePointMaxCurrent": 48,
  "mode": "tod",
  "periods": [
    {
      "weekDay": "wed",
      "elements": [
        {
          "startAt": "08:00",
          "endAt": "09:00",
          "maxCurrent": 24
        },
        {
          "startAt": "22:00",
          "endAt": "23:00",
          "maxCurrent": 48
        }
      ]
    },
    {
      "weekDay": "thu",
      "elements": [
        {
          "startAt": "08:00",
          "endAt": "09:00",
          "maxCurrent": 24
        },
        {
          "startAt": "22:00",
          "endAt": "23:00",
          "maxCurrent": 48
        }
      ]
    }
  ],
  "minCurrent": 12,
  "enableKeepAwake": true,
  "maxVoltage": "400",
  "phases": "three_phase",
  "phaseRotation": "TSR"
}'

RESPONSE Status: 201 Created

{
    "data": {
        "mode": "tod",
        "defaultChargePointMaxCurrent": 48,
        "periods": [
            {
                "weekDay": "wed",
                "elements": [
                    {
                        "startAt": "08:00",
                        "endAt": "09:00",
                        "maxCurrent": 24
                    },
                    {
                        "startAt": "22:00",
                        "endAt": "23:00",
                        "maxCurrent": 48
                    }
                ]
            },
            {
                "weekDay": "thu",
                "elements": [
                    {
                        "startAt": "08:00",
                        "endAt": "09:00",
                        "maxCurrent": 24
                    },
                    {
                        "startAt": "22:00",
                        "endAt": "23:00",
                        "maxCurrent": 48
                    }
                ]
            }
        ],
        "minCurrent": 6,
        "enableKeepAwake": false,
        "maxVoltage": "400",
        "phases": "three_phase",
        "phaseRotation": "TSR"
    }
}