View Source PorscheConnEx.Struct.Overview.TirePressure (porsche_conn_ex v0.1.0)
Structure detailing the pressure and status of a single tire.
Fields
current(Pressureornil) — the current tire pressureoptimal(Pressureornil) — the optimal tire pressuredifference(Pressureornil) - the difference between the abovestatus(atom) — the overall tire pressure status- TODO: I have not seen what value is returned when pressure is correct.
:divergentif the current pressure deviates from the optimal pressure.nilif 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 }