vehicles

Set charge mode

Changed on

Sets the charge mode applied when this vehicle becomes active on a loadpoint.

post/vehicles/{name}/mode/{mode}

Request

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

Path parameters

namestring required
Example:vehicle_1

Vehicle name

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

modeChargeMode (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 property 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

      removed the minpv enum value from the response property for the response status

    • info

      removed the now enum value from the response property for the response status

    • info

      removed the off enum value from the response property for the response status

    • info

      removed the pv enum value from the response property for the response status