loadpoints

Update charge mode

Changed on

Changes the charging behavior of the loadpoint.

post/loadpoints/{id}/mode/{mode}

Request

  • Base URL
    https://demo.evcc.io/api
  • URL
    https://demo.evcc.io/api/loadpoints/{id}/mode/{mode}
  • Auth
    none declared

Path parameters

idinteger required

Loadpoint index starting at 1.

Example:1

Loadpoint index starting at 1

mode'off' | 'smart' | 'now' | 'pv' | 'minpv' required

Charging behavior. The values pv and minpv are deprecated aliases: pv maps to smart, minpv maps to smart with always charge enabled.

Example:smart

Response

Success

ChargeMode required(unresolved $ref)

Changes

    • breaking

      the path request parameter mode was restricted to a list of enum values

    • info

      added the new enum value minpv to the path request parameter mode

    • info

      added the new enum value now to the path request parameter mode

    • info

      added the new enum value off to the path request parameter mode

    • info

      added the new enum value pv to the path request parameter mode

    • info

      added the new enum value smart to the path request parameter mode

    • info

      for the path request parameter mode, the type was generalized from no type to string

    • breaking

      removed the enum value minpv from the path request parameter mode

    • breaking

      removed the enum value now from the path request parameter mode

    • breaking

      removed the enum value off from the path request parameter mode

    • breaking

      removed the enum value pv from the path request parameter mode

    • breaking

      the response's body type changed from string to no type for status

    • info

      for the path request parameter mode, the type was generalized from string to no type

    • info

      response schema application/json enum value removed minpv

    • info

      response schema application/json enum value removed now

    • info

      response schema application/json enum value removed off

    • info

      response schema application/json enum value removed pv