View Source PorscheConnEx.Struct.Unit.Temperature (porsche_conn_ex v0.1.0)
Structure representing temperature.
Fields
celsius
(float) — temperature in degrees Celsius (°C) with one decimal precisiondecikelvin
(integer) — temperature in tenths of degrees Kelvin (dK)
The API only provides decikelvin
, but this library provides a celsius
value for convenience, since conversion is simple and precise. Note that
Porsche considers 0°C to be equivalent to 273 K, rather than the more
accurate 273.15 K.
Decikelvin is reportedly a common integer unit for industrial sensors, which is likely why Porsche uses this unit internally.