MELCloud & MELCloud Home API for Node.js - v60.5.0
    Preparing search index...

    Interface ClassicHotWaterState

    ATW hot water state derived from device data — the cross-dialect AtwHotWaterState kept precise: the Classic wire always carries the eco flag and the reported tank maximum.

    interface ClassicHotWaterState {
        isEcoHotWater: boolean;
        isForcedMode: boolean;
        isProhibited: boolean;
        lastLegionellaActivationEpochMs: number | null;
        maxTankTemperature: number;
        operationalState: ClassicOperationModeStateHotWater;
        setTankWaterTemperature: number;
        tankWaterTemperature: number;
    }

    Hierarchy (View Summary)

    Index
    isEcoHotWater: boolean

    Whether eco hot-water mode is on.

    isForcedMode: boolean

    Whether forced hot-water production is on.

    isProhibited: boolean

    Whether hot-water production is currently inhibited.

    lastLegionellaActivationEpochMs: number | null

    Instant of the last legionella-prevention cycle, in epoch milliseconds; null where the wire cannot say — Home has no counterpart in its /context settings, and Classic reads null when no cycle was ever recorded (the year-1 sentinel) or the wire value cannot be parsed. The Classic stamp is BUILDING-local wall clock anchored in the client's configured timezone (ClassicAPIConfig.timezone, the host's zone when unset): exact only insofar as that timezone is the building's — a building in another zone skews the instant by the zone delta, so day-scale reasoning stays safe where sub-hour reasoning does not.

    maxTankTemperature: number

    Reported tank maximum, in °C.

    Derived hot-water operational state, same precedence on both dialects: forced reads dhw, prohibited reads prohibited, else the operation mode decides between dhw, legionella and idle.

    setTankWaterTemperature: number

    Tank-water setpoint, in °C.

    tankWaterTemperature: number

    Last-reported tank-water temperature, in °C.