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

    Class DeviceGlowFacade

    Facade for Glow products (incl. Onyx and Shine): split high/low temperature registers, a dedicated on/off switch, and a temperature compensation offset.

    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 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 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 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.