Heatzy API for Node.js - v13.0.0
    Preparing search index...

    Class DeviceProFacade

    Facade for Pro products: single-register temperatures, humidity and reported-mode measures, open-window detection, and the presence derogation.

    Hierarchy (View Summary)

    Index
    id: string

    Wire did of the wrapped device.

    product: Product

    Product generation of the wrapped device.

    • get comfortTemperature(): number

      The comfort target temperature, clamped to the wire's accepted range.

      Returns number

      The setpoint in °C.

    • get currentMode(): Mode

      The mode the device is actually applying right now (wire cur_mode), which can differ from the commanded mode during a presence derogation.

      Returns Mode

      The reported mode.

    • get currentTemperature(): number

      The measured ambient temperature.

      Returns number

      The reading in °C.

    • get derogationEndString(): string | null

      The running derogation's end, formatted for display in the configured locale — time-of-day for boost and presence, day + month + time for vacation. null when no derogation is running — or when it was already running at first sight: the wire carries no start timestamp, so the end is only derived when a change is observed (see Device.derogationEndDate).

      Returns string | null

      The formatted end label, or null.

    • get derogationTime(): number

      The derogation duration — minutes for boost, days for vacation.

      Returns number

      The wire derog_time value.

    • get ecoTemperature(): number

      The eco target temperature, clamped to the wire's accepted range.

      Returns number

      The setpoint in °C.

    • get isDetectingOpenWindow(): boolean

      Whether the device has detected an open window and paused heating.

      Returns boolean

      true while open-window detection is triggered.

    • get isLocked(): boolean

      Whether the physical controls are locked.

      Returns boolean

      true when the child lock is on.

    • get isOn(): boolean

      Whether the device is heating (mode is not stop).

      Returns boolean

      true while any heating mode is active.

    • get isPresence(): boolean

      Whether a presence derogation is running and currently applying comfort.

      Returns boolean

      true during an active presence window.

    • get isTimer(): boolean

      Whether the on-device program timer is running.

      Returns boolean

      true when the timer is on.

    • get name(): string

      The user-facing device name, tracking renames across syncs.

      Returns string

      The wire dev_alias value.