homebridge
    Preparing search index...

    Variable deviceTypesConst

    deviceTypes: {
        AirQualitySensor: AirQualitySensorDevice;
        BridgedNode: BridgedNodeEndpoint;
        ColorTemperatureLight: ColorTemperatureLightDevice;
        ContactSensor: ContactSensorDevice;
        DimmableLight: DimmableLightDevice;
        DimmableOutlet: DimmablePlugInUnitDevice;
        DoorLock: DoorLockDevice;
        ElectricalSensor: ElectricalSensorEndpoint;
        ExtendedColorLight: ExtendedColorLightDevice;
        Fan: FanDevice;
        GenericSwitch: With<
            For<{}>,
            With<
                {},
                readonly [
                    Type<
                        typeof SwitchServer,
                        WithSupportedFeatures<
                            Switch,
                            {
                                actionSwitch: false;
                                latchingSwitch: false;
                                momentarySwitch: true;
                                momentarySwitchLongPress: true;
                                momentarySwitchMultiPress: true;
                                momentarySwitchRelease: true;
                            },
                        >,
                        Concrete,
                        typeof Internal,
                        "switch",
                    >,
                ],
            >,
            {},
        >;
        HumiditySensor: HumiditySensorDevice;
        LeakSensor: WaterLeakDetectorDevice;
        LightSensor: LightSensorDevice;
        MotionSensor: With<
            For<{}>,
            With<
                {},
                readonly [
                    Type<
                        typeof OccupancySensingServer,
                        WithSupportedFeatures<
                            OccupancySensing,
                            {
                                activeInfrared: false;
                                occupancyEvent: true;
                                other: false;
                                passiveInfrared: true;
                                physicalContact: false;
                                radar: false;
                                rfSensing: false;
                                ultrasonic: false;
                                vision: false;
                            },
                        >,
                        Concrete,
                        new () => {},
                        "occupancySensing",
                    >,
                ],
            >,
            {},
        >;
        OnOffLight: OnOffLightDevice;
        OnOffOutlet: OnOffPlugInUnitDevice;
        OnOffSwitch: OnOffLightSwitchDevice;
        Pump: With<
            For<{}>,
            With<
                {} & {},
                readonly [
                    Type<
                        typeof PumpConfigurationAndControlServer,
                        WithSupportedFeatures<
                            PumpConfigurationAndControl,
                            {
                                automatic: false;
                                compensatedPressure: false;
                                constantFlow: false;
                                constantPressure: false;
                                constantSpeed: true;
                                constantTemperature: false;
                                localOperation: false;
                            },
                        >,
                        Concrete,
                        new () => {},
                        "pumpConfigurationAndControl",
                    >,
                ],
            >,
            {},
        >;
        RoboticVacuumCleaner: RoboticVacuumCleanerDevice;
        RoomAirConditioner: With<
            For<{}>,
            With<
                {} & {},
                readonly [
                    Type<
                        typeof ThermostatServer,
                        WithSupportedFeatures<
                            Thermostat,
                            {
                                autoMode: false;
                                cooling: true;
                                events: false;
                                heating: true;
                                localTemperatureNotExposed: false;
                                matterScheduleConfiguration: false;
                                occupancy: false;
                                presets: false;
                                setback: false;
                                thermostatSuggestions: false;
                            },
                        >,
                        Concrete,
                        typeof Internal,
                        "thermostat",
                    >,
                ],
            >,
            {},
        >;
        SmokeSensor: SmokeCoAlarmDevice;
        TemperatureSensor: TemperatureSensorDevice;
        Thermostat: With<
            For<{}>,
            With<
                {},
                readonly [
                    Type<
                        typeof ThermostatServer,
                        WithSupportedFeatures<
                            Thermostat,
                            {
                                autoMode: true;
                                cooling: true;
                                events: false;
                                heating: true;
                                localTemperatureNotExposed: false;
                                matterScheduleConfiguration: false;
                                occupancy: true;
                                presets: false;
                                setback: false;
                                thermostatSuggestions: false;
                            },
                        >,
                        Concrete,
                        typeof Internal,
                        "thermostat",
                    >,
                ],
            >,
            {},
        >;
        WaterValve: With<
            For<{}>,
            With<{} & {}, readonly [typeof DefaultValveConfigurationAndControlServer]>,
            {},
        >;
        WindowCovering: WindowCoveringDevice;
    } = ...

    Friendly device type names for the Plugin API Maps simplified names to actual Matter.js device types

    Type Declaration

    • ReadonlyAirQualitySensor: AirQualitySensorDevice
    • ReadonlyBridgedNode: BridgedNodeEndpoint
    • ReadonlyColorTemperatureLight: ColorTemperatureLightDevice
    • ReadonlyContactSensor: ContactSensorDevice
    • ReadonlyDimmableLight: DimmableLightDevice
    • ReadonlyDimmableOutlet: DimmablePlugInUnitDevice
    • ReadonlyDoorLock: DoorLockDevice
    • ReadonlyElectricalSensor: ElectricalSensorEndpoint
    • ReadonlyExtendedColorLight: ExtendedColorLightDevice
    • ReadonlyFan: FanDevice
    • ReadonlyGenericSwitch: With<
          For<{}>,
          With<
              {},
              readonly [
                  Type<
                      typeof SwitchServer,
                      WithSupportedFeatures<
                          Switch,
                          {
                              actionSwitch: false;
                              latchingSwitch: false;
                              momentarySwitch: true;
                              momentarySwitchLongPress: true;
                              momentarySwitchMultiPress: true;
                              momentarySwitchRelease: true;
                          },
                      >,
                      Concrete,
                      typeof Internal,
                      "switch",
                  >,
              ],
          >,
          {},
      >
    • ReadonlyHumiditySensor: HumiditySensorDevice
    • ReadonlyLeakSensor: WaterLeakDetectorDevice
    • ReadonlyLightSensor: LightSensorDevice
    • ReadonlyMotionSensor: With<
          For<{}>,
          With<
              {},
              readonly [
                  Type<
                      typeof OccupancySensingServer,
                      WithSupportedFeatures<
                          OccupancySensing,
                          {
                              activeInfrared: false;
                              occupancyEvent: true;
                              other: false;
                              passiveInfrared: true;
                              physicalContact: false;
                              radar: false;
                              rfSensing: false;
                              ultrasonic: false;
                              vision: false;
                          },
                      >,
                      Concrete,
                      new () => {},
                      "occupancySensing",
                  >,
              ],
          >,
          {},
      >
    • ReadonlyOnOffLight: OnOffLightDevice
    • ReadonlyOnOffOutlet: OnOffPlugInUnitDevice
    • ReadonlyOnOffSwitch: OnOffLightSwitchDevice
    • ReadonlyPump: With<
          For<{}>,
          With<
              {} & {},
              readonly [
                  Type<
                      typeof PumpConfigurationAndControlServer,
                      WithSupportedFeatures<
                          PumpConfigurationAndControl,
                          {
                              automatic: false;
                              compensatedPressure: false;
                              constantFlow: false;
                              constantPressure: false;
                              constantSpeed: true;
                              constantTemperature: false;
                              localOperation: false;
                          },
                      >,
                      Concrete,
                      new () => {},
                      "pumpConfigurationAndControl",
                  >,
              ],
          >,
          {},
      >
    • ReadonlyRoboticVacuumCleaner: RoboticVacuumCleanerDevice
    • ReadonlyRoomAirConditioner: With<
          For<{}>,
          With<
              {} & {},
              readonly [
                  Type<
                      typeof ThermostatServer,
                      WithSupportedFeatures<
                          Thermostat,
                          {
                              autoMode: false;
                              cooling: true;
                              events: false;
                              heating: true;
                              localTemperatureNotExposed: false;
                              matterScheduleConfiguration: false;
                              occupancy: false;
                              presets: false;
                              setback: false;
                              thermostatSuggestions: false;
                          },
                      >,
                      Concrete,
                      typeof Internal,
                      "thermostat",
                  >,
              ],
          >,
          {},
      >
    • ReadonlySmokeSensor: SmokeCoAlarmDevice
    • ReadonlyTemperatureSensor: TemperatureSensorDevice
    • ReadonlyThermostat: With<
          For<{}>,
          With<
              {},
              readonly [
                  Type<
                      typeof ThermostatServer,
                      WithSupportedFeatures<
                          Thermostat,
                          {
                              autoMode: true;
                              cooling: true;
                              events: false;
                              heating: true;
                              localTemperatureNotExposed: false;
                              matterScheduleConfiguration: false;
                              occupancy: true;
                              presets: false;
                              setback: false;
                              thermostatSuggestions: false;
                          },
                      >,
                      Concrete,
                      typeof Internal,
                      "thermostat",
                  >,
              ],
          >,
          {},
      >
    • ReadonlyWaterValve: With<
          For<{}>,
          With<{} & {}, readonly [typeof DefaultValveConfigurationAndControlServer]>,
          {},
      >
    • ReadonlyWindowCovering: WindowCoveringDevice