node-switchbot
    Preparing search index...

    Interface MotionStatus

    Motion Sensor specific types

    interface MotionStatus {
        battery?: number;
        brightness?: "bright" | "dim" | "dark";
        connectionType: ConnectionType;
        deviceId: string;
        moveDetected: boolean;
        updatedAt?: Date;
        version?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    battery?: number

    Battery level (0-100)

    brightness?: "bright" | "dim" | "dark"
    connectionType: ConnectionType

    Connection type used to retrieve status

    deviceId: string

    Device ID

    moveDetected: boolean
    updatedAt?: Date

    Last updated timestamp

    version?: string

    Firmware version