View Source PorscheConnEx.Struct.Emobility (porsche_conn_ex v0.1.0)
Structure containing information about the electric charging status and behaviour of a particular vehicle.
This is the structure returned by PorscheConnEx.Client.emobility/3
.
Note that there is some overlap between this structure, PorscheConnEx.Struct.Status
, and PorscheConnEx.Struct.Overview
.
Fields
charging
(Emobility.ChargeStatus
) — information about the vehicle's charging status- contains 17 sub-fields
direct_charge
(Emobility.DirectCharge
) — info about the vehicle's "Direct Charge" setting- contains 2 sub-fields
direct_climate
(Emobility.DirectClimate
) — info about the vehicle's pre-heat/cool setting- contains 5 sub-fields
timers
(list ofEmobility.Timer
s) — all charging/climatisation timers (user-created)charging_profiles
(list ofEmobility.ChargingProfile
s) — all charging profiles (built-in and user-created)current_charging_profile
(Emobility.ChargingProfile
) — the currently active charging profile
For a list of sub-fields, see the relevant module documentation.
Summary
Types
@type t() :: %PorscheConnEx.Struct.Emobility{ charging: PorscheConnEx.Struct.Emobility.ChargeStatus.t(), charging_profiles: [PorscheConnEx.Struct.Emobility.ChargingProfile.t()], current_charging_profile: PorscheConnEx.Struct.Emobility.ChargingProfile.t(), direct_charge: PorscheConnEx.Struct.Emobility.DirectCharge.t(), direct_climate: PorscheConnEx.Struct.Emobility.DirectClimate.t(), timers: [PorscheConnEx.Struct.Emobility.Timer.t()] }