mysa-js-sdk
    Preparing search index...

    Interface representing a status report from a Mysa AC device.

    AC-V1-0 devices send this message (type 30) with environmental readings and AC-specific operational parameters. This is the AC equivalent of DeviceV2Status (type 40) used by baseboard devices.

    interface DeviceAcStatus {
        body: {
            ambTemp: number;
            dtyCycle?: number;
            hum: number;
            mode?: number;
            stpt: number;
        };
        id: number;
        msg: DEVICE_AC_STATUS;
        src: { ref: string; type: number };
        time: number;
        ver: string;
    }

    Hierarchy (View Summary)

    Index
    body: {
        ambTemp: number;
        dtyCycle?: number;
        hum: number;
        mode?: number;
        stpt: number;
    }

    Status data payload containing current device measurements and settings

    Type Declaration

    • ambTemp: number

      Ambient temperature reading from the device sensor (°C)

    • OptionaldtyCycle?: number

      Not present on AC devices (included for compatibility with DEVICE_V2_STATUS handler)

    • hum: number

      Relative humidity percentage

    • Optionalmode?: number

      Operating mode (1=off, 2=auto, 3=heat, 4=cool, 5=fan_only, 6=dry)

    • stpt: number

      Current temperature setpoint (°C)

    id: number

    Unique identifier for the device or message source

    The strongly-typed message type identifier

    src: { ref: string; type: number }

    Source information identifying the device sending the status

    Type Declaration

    • ref: string

      Reference identifier for the device

    • type: number

      Type identifier for the source device

    time: number

    Unix timestamp when the message was created

    ver: string

    Version string of the message format