This cluster provides an interface for managing low power mode on a device.

This cluster would be supported on an endpoint that represents a physical device with a low power mode. This cluster provides a sleep() command to allow clients to manually put the device into low power mode. There is no command here to wake up a sleeping device because that operation often involves other protocols such as Wake On LAN. Most devices automatically enter low power mode based upon inactivity.

The cluster server for Low Power is implemented by a device that supports a low power mode, such as a TV, Set-top box, or Smart Speaker.

NOTE

We have considered a “DisableLowPowerMode” command but have not added it due to suspected issues with energy consumption regulations. This can be added in the future.

MatterSpecification.v13.Cluster § 1.11

interface Cluster {
    attributes: {};
    base: undefined;
    commands: {
        sleep: Command<void, void, any>;
    };
    events: {};
    extensions: undefined;
    features: {};
    id: Branded<1288, "ClusterId">;
    name: "LowPower";
    revision: 1;
    supportedFeatures: {};
    unknown: false;
    alter<const AlterationsT>(alterations: AlterationsT): WithAlterations<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, AlterationsT>;
    enable<const FlagsT>(flags: FlagsT): WithFlags<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, FlagsT>;
    set<const ValuesT>(values: ValuesT): WithValues<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, ValuesT>;
    with<const SelectionT>(...selection: SelectionT): Of<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, SelectionT>;
}

Hierarchy (view full)

Properties

attributes: {}
base: undefined
commands: {
    sleep: Command<void, void, any>;
}

Type declaration

  • Readonlysleep: Command<void, void, any>

    This command shall put the device into low power mode.

    MatterSpecification.v13.Cluster § 1.11.4.1

events: {}
extensions: undefined
features: {}
id: Branded<1288, "ClusterId">
name
revision
supportedFeatures: {}
unknown

Methods

  • Modify elements using ElementModifier.alter.

    Type Parameters

    • const AlterationsT extends Alterations<Of<{
          commands: {
              sleep: Command<void, void, any>;
          };
          id: 1288;
          name: "LowPower";
          revision: 1;
      }>>

    Parameters

    Returns WithAlterations<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, AlterationsT>

  • Modify elements using ElementModifier.enable.

    Type Parameters

    • const FlagsT extends ElementFlags<Of<{
          commands: {
              sleep: Command<void, void, any>;
          };
          id: 1288;
          name: "LowPower";
          revision: 1;
      }>>

    Parameters

    Returns WithFlags<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, FlagsT>

  • Modify elements using ElementModifier.set.

    Type Parameters

    • const ValuesT extends {}

    Parameters

    Returns WithValues<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, ValuesT>

  • Select features using ClusterComposer.compose.

    Type Parameters

    • const SelectionT extends FeatureSelection<Of<{
          commands: {
              sleep: Command<void, void, any>;
          };
          id: 1288;
          name: "LowPower";
          revision: 1;
      }>>

    Parameters

    Returns Of<Of<{
        commands: {
            sleep: Command<void, void, any>;
        };
        id: 1288;
        name: "LowPower";
        revision: 1;
    }>, SelectionT>