View Source PorscheConnEx.Struct.Emobility.ChargingProfile (porsche_conn_ex v0.1.0)
Structure describing a vehicle charging profile.
Charging profiles define basic charging parameters, such as charging targets, preferred charging hours, etc. They can also be tied to a specific geographical location, such as a home or office, in which case they will automatically de/activate based on the vehicle's location.
API calls
- To create or update a charging profile, use
PorscheConnEx.Client.put_charging_profile/4
. - To delete a charging profile, use
PorscheConnEx.Client.delete_charging_profile/4
.
Fields
id
(integer) — the ID (slot number) of the charging profile- The default built-in profile is slot #4.
- User-created profiles are in slots 5 through 7.
name
(string) — the display name of the profile- The default profile is named "Allgemein" (German for "General"), regardless of locale settings.
enabled?
(boolean) — whether the charging profile is enabled or not- This only indicates whether the profile can be used, not whether it's currently selected.
charging
(Emobility.ChargingProfile.ChargingOptions
) — the desired charging behaviour while this profile is active- contains 4 sub-fields
position
(Emobility.ChargingProfile.Position
ornil
) — the geographical location at which to activate the profile (if set)- contains 3 sub-fields
Summary
Types
@type id() :: 4..7
@type t() :: %PorscheConnEx.Struct.Emobility.ChargingProfile{ charging: PorscheConnEx.Struct.Emobility.ChargingProfile.ChargingOptions.t(), enabled?: boolean(), id: id(), name: binary(), position: PorscheConnEx.Struct.Emobility.ChargingProfile.Position.t() }