View Source PorscheConnEx.Struct.Overview.TirePressure (porsche_conn_ex v0.1.0)
Structure detailing the pressure and status of a single tire.
Fields
current
(Pressure
ornil
) — the current tire pressureoptimal
(Pressure
ornil
) — the optimal tire pressuredifference
(Pressure
ornil
) - the difference between the abovestatus
(atom) — the overall tire pressure status- TODO: I have not seen what value is returned when pressure is correct.
:divergent
if the current pressure deviates from the optimal pressure.nil
if tire pressure data is not available.
The Porsche tire pressure monitoring system requires that the vehicle be
moving. When the vehicle is parked and does not have recent tire pressure
data, all of the above will be nil
.
Summary
Types
@type status() :: :divergent
@type t() :: %PorscheConnEx.Struct.Overview.TirePressure{ current: PorscheConnEx.Struct.Unit.Pressure.t() | nil, difference: PorscheConnEx.Struct.Unit.Pressure.t() | nil, optimal: PorscheConnEx.Struct.Unit.Pressure.t() | nil, status: status() | nil }