View Source PorscheConnEx.Struct.Emobility.DirectClimate (porsche_conn_ex v0.1.0)

Structure containing information about the pre-heat/cool setting of a particular vehicle.

Fields

  • state (atom) — the current climatisation state — :on or :off
  • remaining_minutes — the remaining time before climatisation will shut down
    • When triggered by a timer, this will be the minutes until the timer is reached.
    • When manually enabled by the user, this will start at 60 minutes.
  • target_temperature (Temperature) — the temperature that the cabin will be heated/cooled to
  • heater_source (atom) — the source of heat for pre-heating
    • :electric is the only known value so far.
  • without_hv_power? (boolean) — unknown
    • This might refer to whether the vehicle is pulling power from a charging station (or the 12V standard car battery?) rather than from the HV battery.

Summary

Types

@type heater_source() :: :electric
@type state() :: :on | :off
@type t() :: %PorscheConnEx.Struct.Emobility.DirectClimate{
  heater_source: heater_source(),
  remaining_minutes: integer(),
  state: state(),
  target_temperature: PorscheConnEx.Struct.Unit.Temperature.t(),
  without_hv_power?: boolean()
}