View Source PorscheConnEx.Struct.Status (porsche_conn_ex v0.1.0)
Structure containing overview information about a particular vehicle.
This is the structure returned by PorscheConnEx.Client.status/2
.
Note that there is significant overlap between this structure and PorscheConnEx.Struct.Overview
, and to a lesser degree, with PorscheConnEx.Struct.Emobility
.
Fields
vin
(string) — the 17-character Vehicle Identification Numbermileage
(Distance
) — the total distance the vehicle has travelled in its lifetimebattery_level
(BatteryLevel
) — the battery charge level of the vehicleremaining_ranges
(Status.RemainingRanges
) — the estimated remaining travel ranges, by propulsion type- contains 2 sub-fields
service_intervals
(map of string toStatus.ServiceInterval
) — upcoming service intervalsdoors
(Status.LockStatus
) — the overall state of all vehicle doorsoil_level
(unknown) — my Taycan has no oil, this isnil
for mefuel_level
(unknown) — my Taycan has no fuel, this isnil
for me
Summary
Types
@type t() :: %PorscheConnEx.Struct.Status{ battery_level: PorscheConnEx.Struct.Unit.BatteryLevel.t(), doors: PorscheConnEx.Struct.Status.LockStatus.t(), fuel_level: any(), mileage: PorscheConnEx.Struct.Unit.Distance.t(), oil_level: any(), remaining_ranges: PorscheConnEx.Struct.Status.RemainingRanges.t(), service_intervals: %{ optional(binary()) => PorscheConnEx.Struct.Status.ServiceInterval.t() }, vin: binary() }