@matter/node 0.17.4 → 0.17.5-alpha.0-20260702-a2cd6f764
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/behavior/context/ActionContext.d.ts +1 -1
- package/dist/cjs/behavior/state/validation/FabricIndexSentinel.d.ts +3 -2
- package/dist/cjs/behavior/state/validation/FabricIndexSentinel.d.ts.map +1 -1
- package/dist/cjs/behavior/state/validation/FabricIndexSentinel.js.map +1 -1
- package/dist/cjs/behavior/supervision/ValueSupervisor.d.ts +3 -2
- package/dist/cjs/behavior/supervision/ValueSupervisor.d.ts.map +1 -1
- package/dist/cjs/behavior/system/network/ServerGroupNetworking.d.ts.map +1 -1
- package/dist/cjs/behavior/system/network/ServerGroupNetworking.js +13 -9
- package/dist/cjs/behavior/system/network/ServerGroupNetworking.js.map +1 -1
- package/dist/cjs/behavior/system/software-update/SoftwareUpdateManager.js +1 -1
- package/dist/cjs/behavior/system/software-update/SoftwareUpdateManager.js.map +1 -1
- package/dist/cjs/behaviors/access-control/AccessControlServer.d.ts +40 -2
- package/dist/cjs/behaviors/access-control/AccessControlServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/access-control/AccessControlServer.js +102 -5
- package/dist/cjs/behaviors/access-control/AccessControlServer.js.map +1 -1
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.d.ts +29 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.d.ts.map +1 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.js +34 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.js.map +6 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingClient.d.ts +17 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingClient.d.ts.map +1 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingClient.js +34 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingClient.js.map +6 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingServer.d.ts +17 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingServer.d.ts.map +1 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingServer.js +32 -0
- package/dist/cjs/behaviors/ambient-context-sensing/AmbientContextSensingServer.js.map +6 -0
- package/dist/cjs/behaviors/ambient-context-sensing/index.d.ts +10 -0
- package/dist/cjs/behaviors/ambient-context-sensing/index.d.ts.map +1 -0
- package/dist/cjs/behaviors/ambient-context-sensing/index.js +26 -0
- package/dist/cjs/behaviors/ambient-context-sensing/index.js.map +6 -0
- package/dist/cjs/behaviors/basic-information/BasicInformationServer.d.ts +24 -0
- package/dist/cjs/behaviors/basic-information/BasicInformationServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/basic-information/BasicInformationServer.js +44 -0
- package/dist/cjs/behaviors/basic-information/BasicInformationServer.js.map +1 -1
- package/dist/cjs/behaviors/boolean-state/BooleanStateBehavior.d.ts +3 -0
- package/dist/cjs/behaviors/boolean-state/BooleanStateBehavior.d.ts.map +1 -1
- package/dist/cjs/behaviors/boolean-state/BooleanStateBehavior.js.map +1 -1
- package/dist/cjs/behaviors/boolean-state/BooleanStateServer.d.ts +7 -3
- package/dist/cjs/behaviors/boolean-state/BooleanStateServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/boolean-state/BooleanStateServer.js +6 -2
- package/dist/cjs/behaviors/boolean-state/BooleanStateServer.js.map +1 -1
- package/dist/cjs/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.d.ts +23 -0
- package/dist/cjs/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.js +36 -0
- package/dist/cjs/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.js.map +1 -1
- package/dist/cjs/behaviors/general-commissioning/ServerNodeFailsafeContext.d.ts +1 -1
- package/dist/cjs/behaviors/general-commissioning/ServerNodeFailsafeContext.js +1 -1
- package/dist/cjs/behaviors/general-diagnostics/GeneralDiagnosticsServer.d.ts +15 -1
- package/dist/cjs/behaviors/general-diagnostics/GeneralDiagnosticsServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/general-diagnostics/GeneralDiagnosticsServer.js +52 -1
- package/dist/cjs/behaviors/general-diagnostics/GeneralDiagnosticsServer.js.map +1 -1
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementBehavior.d.ts +3 -0
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementBehavior.d.ts.map +1 -1
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementBehavior.js.map +1 -1
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementServer.d.ts +22 -3
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementServer.js +80 -7
- package/dist/cjs/behaviors/group-key-management/GroupKeyManagementServer.js.map +1 -1
- package/dist/cjs/behaviors/groupcast/GroupcastBehavior.d.ts +28 -0
- package/dist/cjs/behaviors/groupcast/GroupcastBehavior.d.ts.map +1 -0
- package/dist/cjs/behaviors/groupcast/GroupcastBehavior.js +34 -0
- package/dist/cjs/behaviors/groupcast/GroupcastBehavior.js.map +6 -0
- package/dist/cjs/behaviors/groupcast/GroupcastClient.d.ts +17 -0
- package/dist/cjs/behaviors/groupcast/GroupcastClient.d.ts.map +1 -0
- package/dist/cjs/behaviors/groupcast/GroupcastClient.js +34 -0
- package/dist/cjs/behaviors/groupcast/GroupcastClient.js.map +6 -0
- package/dist/cjs/behaviors/groupcast/GroupcastInterface.d.ts +34 -0
- package/dist/cjs/behaviors/groupcast/GroupcastInterface.d.ts.map +1 -0
- package/dist/cjs/behaviors/groupcast/GroupcastInterface.js +22 -0
- package/dist/cjs/behaviors/groupcast/GroupcastInterface.js.map +6 -0
- package/dist/cjs/behaviors/groupcast/GroupcastServer.d.ts +58 -0
- package/dist/cjs/behaviors/groupcast/GroupcastServer.d.ts.map +1 -0
- package/dist/cjs/behaviors/groupcast/GroupcastServer.js +510 -0
- package/dist/cjs/behaviors/groupcast/GroupcastServer.js.map +6 -0
- package/dist/cjs/behaviors/groupcast/index.d.ts +10 -0
- package/dist/cjs/behaviors/groupcast/index.d.ts.map +1 -0
- package/dist/cjs/behaviors/groupcast/index.js +26 -0
- package/dist/cjs/behaviors/groupcast/index.js.map +6 -0
- package/dist/cjs/behaviors/groups/GroupsServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/groups/GroupsServer.js +22 -0
- package/dist/cjs/behaviors/groups/GroupsServer.js.map +1 -1
- package/dist/cjs/behaviors/index.d.ts +3 -0
- package/dist/cjs/behaviors/index.d.ts.map +1 -1
- package/dist/cjs/behaviors/index.js +3 -0
- package/dist/cjs/behaviors/index.js.map +1 -1
- package/dist/cjs/behaviors/level-control/LevelControlServer.d.ts +1 -1
- package/dist/cjs/behaviors/level-control/LevelControlServer.js +1 -1
- package/dist/cjs/behaviors/occupancy-sensing/OccupancySensingServer.d.ts +2 -0
- package/dist/cjs/behaviors/occupancy-sensing/OccupancySensingServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/occupancy-sensing/OccupancySensingServer.js +10 -0
- package/dist/cjs/behaviors/occupancy-sensing/OccupancySensingServer.js.map +1 -1
- package/dist/cjs/behaviors/operational-credentials/VendorIdVerification.d.ts +2 -2
- package/dist/cjs/behaviors/ota-software-update-provider/OtaSoftwareUpdateProviderServer.js +1 -1
- package/dist/cjs/behaviors/ota-software-update-provider/OtaSoftwareUpdateProviderServer.js.map +1 -1
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmBehavior.d.ts +29 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmBehavior.d.ts.map +1 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmBehavior.js +34 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmBehavior.js.map +6 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmClient.d.ts +17 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmClient.d.ts.map +1 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmClient.js +34 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmClient.js.map +6 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmServer.d.ts +16 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmServer.d.ts.map +1 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmServer.js +32 -0
- package/dist/cjs/behaviors/temperature-alarm/TemperatureAlarmServer.js.map +6 -0
- package/dist/cjs/behaviors/temperature-alarm/index.d.ts +10 -0
- package/dist/cjs/behaviors/temperature-alarm/index.d.ts.map +1 -0
- package/dist/cjs/behaviors/temperature-alarm/index.js +26 -0
- package/dist/cjs/behaviors/temperature-alarm/index.js.map +6 -0
- package/dist/cjs/behaviors/thermostat/ThermostatServer.d.ts +2 -0
- package/dist/cjs/behaviors/thermostat/ThermostatServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.d.ts +63 -1
- package/dist/cjs/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.d.ts.map +1 -1
- package/dist/cjs/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.js +134 -0
- package/dist/cjs/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.js.map +2 -2
- package/dist/cjs/devices/air-purifier.d.ts +1 -1
- package/dist/cjs/devices/air-quality-sensor.d.ts +1 -1
- package/dist/cjs/devices/audio-doorbell.d.ts +1 -1
- package/dist/cjs/devices/basic-video-player.d.ts +1 -1
- package/dist/cjs/devices/battery-storage.d.ts +1 -1
- package/dist/cjs/devices/camera-controller.d.ts +1 -1
- package/dist/cjs/devices/camera.d.ts +1 -1
- package/dist/cjs/devices/casting-video-client.d.ts +1 -1
- package/dist/cjs/devices/casting-video-player.d.ts +1 -1
- package/dist/cjs/devices/chime.d.ts +1 -1
- package/dist/cjs/devices/closure-controller.d.ts +1 -8
- package/dist/cjs/devices/closure-controller.d.ts.map +1 -1
- package/dist/cjs/devices/closure-controller.js +1 -3
- package/dist/cjs/devices/closure-controller.js.map +2 -2
- package/dist/cjs/devices/closure-panel.d.ts +1 -1
- package/dist/cjs/devices/closure.d.ts +1 -1
- package/dist/cjs/devices/color-dimmer-switch.d.ts +1 -1
- package/dist/cjs/devices/color-temperature-light.d.ts +1 -1
- package/dist/cjs/devices/contact-sensor.d.ts +1 -1
- package/dist/cjs/devices/content-app.d.ts +1 -1
- package/dist/cjs/devices/control-bridge.d.ts +1 -1
- package/dist/cjs/devices/cook-surface.d.ts +1 -1
- package/dist/cjs/devices/cooktop.d.ts +1 -1
- package/dist/cjs/devices/dimmable-light.d.ts +1 -1
- package/dist/cjs/devices/dimmable-plug-in-unit.d.ts +1 -1
- package/dist/cjs/devices/dimmer-switch.d.ts +1 -1
- package/dist/cjs/devices/dishwasher.d.ts +1 -1
- package/dist/cjs/devices/door-lock-controller.d.ts +1 -1
- package/dist/cjs/devices/door-lock.d.ts +1 -1
- package/dist/cjs/devices/doorbell.d.ts +1 -1
- package/dist/cjs/devices/electrical-energy-tariff.d.ts +1 -1
- package/dist/cjs/devices/electrical-meter.d.ts +1 -1
- package/dist/cjs/devices/electrical-utility-meter.d.ts +1 -1
- package/dist/cjs/devices/energy-evse.d.ts +1 -1
- package/dist/cjs/devices/extended-color-light.d.ts +1 -1
- package/dist/cjs/devices/extractor-hood.d.ts +1 -1
- package/dist/cjs/devices/fan.d.ts +1 -1
- package/dist/cjs/devices/floodlight-camera.d.ts +1 -1
- package/dist/cjs/devices/flow-sensor.d.ts +1 -1
- package/dist/cjs/devices/generic-switch.d.ts +1 -1
- package/dist/cjs/devices/heat-pump.d.ts +1 -1
- package/dist/cjs/devices/humidity-sensor.d.ts +1 -1
- package/dist/cjs/devices/intercom.d.ts +1 -1
- package/dist/cjs/devices/irrigation-system.d.ts +1 -1
- package/dist/cjs/devices/laundry-dryer.d.ts +1 -1
- package/dist/cjs/devices/laundry-washer.d.ts +1 -1
- package/dist/cjs/devices/light-sensor.d.ts +1 -1
- package/dist/cjs/devices/meter-reference-point.d.ts +1 -1
- package/dist/cjs/devices/microwave-oven.d.ts +1 -1
- package/dist/cjs/devices/mode-select.d.ts +1 -1
- package/dist/cjs/devices/mounted-dimmable-load-control.d.ts +1 -1
- package/dist/cjs/devices/mounted-on-off-control.d.ts +1 -1
- package/dist/cjs/devices/network-infrastructure-manager.d.ts +2 -2
- package/dist/cjs/devices/occupancy-sensor.d.ts +1 -1
- package/dist/cjs/devices/on-off-light-switch.d.ts +1 -1
- package/dist/cjs/devices/on-off-light.d.ts +1 -1
- package/dist/cjs/devices/on-off-plug-in-unit.d.ts +1 -1
- package/dist/cjs/devices/on-off-sensor.d.ts +1 -1
- package/dist/cjs/devices/oven.d.ts +1 -1
- package/dist/cjs/devices/pressure-sensor.d.ts +1 -1
- package/dist/cjs/devices/pump-controller.d.ts +1 -1
- package/dist/cjs/devices/pump.d.ts +1 -1
- package/dist/cjs/devices/rain-sensor.d.ts +14 -6
- package/dist/cjs/devices/rain-sensor.d.ts.map +1 -1
- package/dist/cjs/devices/rain-sensor.js +1 -1
- package/dist/cjs/devices/refrigerator.d.ts +11 -2
- package/dist/cjs/devices/refrigerator.d.ts.map +1 -1
- package/dist/cjs/devices/refrigerator.js +5 -2
- package/dist/cjs/devices/refrigerator.js.map +2 -2
- package/dist/cjs/devices/robotic-vacuum-cleaner.d.ts +1 -1
- package/dist/cjs/devices/room-air-conditioner.d.ts +1 -1
- package/dist/cjs/devices/smoke-co-alarm.d.ts +1 -1
- package/dist/cjs/devices/snapshot-camera.d.ts +1 -1
- package/dist/cjs/devices/soil-sensor.d.ts +1 -1
- package/dist/cjs/devices/solar-power.d.ts +1 -1
- package/dist/cjs/devices/speaker.d.ts +1 -1
- package/dist/cjs/devices/temperature-controlled-cabinet.d.ts +10 -2
- package/dist/cjs/devices/temperature-controlled-cabinet.d.ts.map +1 -1
- package/dist/cjs/devices/temperature-controlled-cabinet.js +5 -2
- package/dist/cjs/devices/temperature-controlled-cabinet.js.map +2 -2
- package/dist/cjs/devices/temperature-sensor.d.ts +1 -1
- package/dist/cjs/devices/thermostat-controller.d.ts +1 -1
- package/dist/cjs/devices/thermostat.d.ts +9 -2
- package/dist/cjs/devices/thermostat.d.ts.map +1 -1
- package/dist/cjs/devices/thermostat.js +5 -2
- package/dist/cjs/devices/thermostat.js.map +2 -2
- package/dist/cjs/devices/thread-border-router.d.ts +1 -1
- package/dist/cjs/devices/video-doorbell.d.ts +1 -1
- package/dist/cjs/devices/video-remote-control.d.ts +1 -1
- package/dist/cjs/devices/water-freeze-detector.d.ts +14 -6
- package/dist/cjs/devices/water-freeze-detector.d.ts.map +1 -1
- package/dist/cjs/devices/water-freeze-detector.js +1 -1
- package/dist/cjs/devices/water-heater.d.ts +5 -1
- package/dist/cjs/devices/water-heater.d.ts.map +1 -1
- package/dist/cjs/devices/water-leak-detector.d.ts +14 -6
- package/dist/cjs/devices/water-leak-detector.d.ts.map +1 -1
- package/dist/cjs/devices/water-leak-detector.js +1 -1
- package/dist/cjs/devices/water-valve.d.ts +1 -1
- package/dist/cjs/devices/window-covering-controller.d.ts +1 -1
- package/dist/cjs/devices/window-covering.d.ts +1 -1
- package/dist/cjs/endpoint/properties/EndpointLifecycle.d.ts +5 -0
- package/dist/cjs/endpoint/properties/EndpointLifecycle.d.ts.map +1 -1
- package/dist/cjs/endpoint/properties/EndpointLifecycle.js +8 -0
- package/dist/cjs/endpoint/properties/EndpointLifecycle.js.map +1 -1
- package/dist/cjs/endpoints/aggregator.d.ts +1 -1
- package/dist/cjs/endpoints/bridged-node.d.ts +1 -1
- package/dist/cjs/endpoints/device-energy-management.d.ts +1 -1
- package/dist/cjs/endpoints/electrical-sensor.d.ts +1 -1
- package/dist/cjs/endpoints/joint-fabric-administrator.d.ts +1 -1
- package/dist/cjs/endpoints/ota-provider.d.ts +1 -1
- package/dist/cjs/endpoints/ota-requestor.d.ts +1 -1
- package/dist/cjs/endpoints/power-source.d.ts +1 -1
- package/dist/cjs/endpoints/root.d.ts +1 -1
- package/dist/cjs/endpoints/secondary-network-interface.d.ts +1 -1
- package/dist/cjs/node/ServerNode.d.ts +1 -1
- package/dist/cjs/node/ServerNode.js +1 -1
- package/dist/cjs/node/client/Peers.d.ts.map +1 -1
- package/dist/cjs/node/client/Peers.js +12 -0
- package/dist/cjs/node/client/Peers.js.map +1 -1
- package/dist/cjs/node/integration/ProtocolService.js +1 -1
- package/dist/cjs/node/paths/AttributePath.d.ts +3 -3
- package/dist/cjs/node/paths/BasePath.d.ts +4 -4
- package/dist/cjs/node/paths/CommandPath.d.ts +1 -1
- package/dist/cjs/node/paths/EventPath.d.ts +1 -1
- package/dist/cjs/node/server/InteractionServer.d.ts +7 -0
- package/dist/cjs/node/server/InteractionServer.d.ts.map +1 -1
- package/dist/cjs/node/server/InteractionServer.js +83 -5
- package/dist/cjs/node/server/InteractionServer.js.map +1 -1
- package/dist/cjs/node/server/ServerSubscription.d.ts +1 -0
- package/dist/cjs/node/server/ServerSubscription.d.ts.map +1 -1
- package/dist/cjs/tags/ClosureCabinetTag.d.ts +1 -1
- package/dist/cjs/tags/ClosureCoveringTag.d.ts +1 -1
- package/dist/cjs/tags/ClosurePanelTag.d.ts +1 -1
- package/dist/cjs/tags/ClosureTag.d.ts +1 -1
- package/dist/cjs/tags/ClosureWindowTag.d.ts +1 -1
- package/dist/cjs/tags/CommodityTariffChronologyTag.d.ts +1 -1
- package/dist/cjs/tags/CommodityTariffCommodityTag.d.ts +1 -1
- package/dist/cjs/tags/CommodityTariffFlowTag.d.ts +1 -1
- package/dist/cjs/tags/CommonAreaNamespaceTag.d.ts +1 -1
- package/dist/cjs/tags/CommonClosureTag.d.ts +1 -1
- package/dist/cjs/tags/CommonCompassDirectionTag.d.ts +1 -1
- package/dist/cjs/tags/CommonCompassLocationTag.d.ts +1 -1
- package/dist/cjs/tags/CommonDirectionTag.d.ts +1 -1
- package/dist/cjs/tags/CommonLandmarkNamespaceTag.d.ts +1 -1
- package/dist/cjs/tags/CommonLevelTag.d.ts +1 -1
- package/dist/cjs/tags/CommonLocationTag.d.ts +1 -1
- package/dist/cjs/tags/CommonNumberTag.d.ts +1 -1
- package/dist/cjs/tags/CommonPositionTag.d.ts +1 -1
- package/dist/cjs/tags/CommonRelativePositionTag.d.ts +1 -1
- package/dist/cjs/tags/ElectricalMeasurementTag.d.ts +1 -1
- package/dist/cjs/tags/IdentifiedHumanActivityTag.d.ts +89 -0
- package/dist/cjs/tags/IdentifiedHumanActivityTag.d.ts.map +1 -0
- package/dist/cjs/tags/IdentifiedHumanActivityTag.js +75 -0
- package/dist/cjs/tags/IdentifiedHumanActivityTag.js.map +6 -0
- package/dist/cjs/tags/IdentifiedObjectTag.d.ts +123 -0
- package/dist/cjs/tags/IdentifiedObjectTag.d.ts.map +1 -0
- package/dist/cjs/tags/IdentifiedObjectTag.js +87 -0
- package/dist/cjs/tags/IdentifiedObjectTag.js.map +6 -0
- package/dist/cjs/tags/IdentifiedSoundTag.d.ts +176 -0
- package/dist/cjs/tags/IdentifiedSoundTag.d.ts.map +1 -0
- package/dist/cjs/tags/IdentifiedSoundTag.js +123 -0
- package/dist/cjs/tags/IdentifiedSoundTag.js.map +6 -0
- package/dist/cjs/tags/LaundryTag.d.ts +1 -1
- package/dist/cjs/tags/PowerSourceTag.d.ts +5 -5
- package/dist/cjs/tags/PowerSourceTag.js +4 -4
- package/dist/cjs/tags/RefrigeratorTag.d.ts +1 -1
- package/dist/cjs/tags/RoomAirConditionerTag.d.ts +1 -1
- package/dist/cjs/tags/SwitchesTag.d.ts +2 -2
- package/dist/cjs/tags/SwitchesTag.js +1 -1
- package/dist/cjs/tags/index.d.ts +3 -0
- package/dist/cjs/tags/index.d.ts.map +1 -1
- package/dist/cjs/tags/index.js +3 -0
- package/dist/cjs/tags/index.js.map +1 -1
- package/dist/esm/behavior/context/ActionContext.d.ts +1 -1
- package/dist/esm/behavior/state/validation/FabricIndexSentinel.d.ts +3 -2
- package/dist/esm/behavior/state/validation/FabricIndexSentinel.d.ts.map +1 -1
- package/dist/esm/behavior/state/validation/FabricIndexSentinel.js.map +1 -1
- package/dist/esm/behavior/supervision/ValueSupervisor.d.ts +3 -2
- package/dist/esm/behavior/supervision/ValueSupervisor.d.ts.map +1 -1
- package/dist/esm/behavior/system/network/ServerGroupNetworking.d.ts.map +1 -1
- package/dist/esm/behavior/system/network/ServerGroupNetworking.js +13 -9
- package/dist/esm/behavior/system/network/ServerGroupNetworking.js.map +1 -1
- package/dist/esm/behavior/system/software-update/SoftwareUpdateManager.js +1 -1
- package/dist/esm/behavior/system/software-update/SoftwareUpdateManager.js.map +1 -1
- package/dist/esm/behaviors/access-control/AccessControlServer.d.ts +40 -2
- package/dist/esm/behaviors/access-control/AccessControlServer.d.ts.map +1 -1
- package/dist/esm/behaviors/access-control/AccessControlServer.js +110 -6
- package/dist/esm/behaviors/access-control/AccessControlServer.js.map +1 -1
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.d.ts +29 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.d.ts.map +1 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.js +14 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.js.map +6 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingClient.d.ts +17 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingClient.d.ts.map +1 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingClient.js +14 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingClient.js.map +6 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingServer.d.ts +17 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingServer.d.ts.map +1 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingServer.js +12 -0
- package/dist/esm/behaviors/ambient-context-sensing/AmbientContextSensingServer.js.map +6 -0
- package/dist/esm/behaviors/ambient-context-sensing/index.d.ts +10 -0
- package/dist/esm/behaviors/ambient-context-sensing/index.d.ts.map +1 -0
- package/dist/esm/behaviors/ambient-context-sensing/index.js +9 -0
- package/dist/esm/behaviors/ambient-context-sensing/index.js.map +6 -0
- package/dist/esm/behaviors/basic-information/BasicInformationServer.d.ts +24 -0
- package/dist/esm/behaviors/basic-information/BasicInformationServer.d.ts.map +1 -1
- package/dist/esm/behaviors/basic-information/BasicInformationServer.js +44 -0
- package/dist/esm/behaviors/basic-information/BasicInformationServer.js.map +1 -1
- package/dist/esm/behaviors/boolean-state/BooleanStateBehavior.d.ts +3 -0
- package/dist/esm/behaviors/boolean-state/BooleanStateBehavior.d.ts.map +1 -1
- package/dist/esm/behaviors/boolean-state/BooleanStateBehavior.js.map +1 -1
- package/dist/esm/behaviors/boolean-state/BooleanStateServer.d.ts +7 -3
- package/dist/esm/behaviors/boolean-state/BooleanStateServer.d.ts.map +1 -1
- package/dist/esm/behaviors/boolean-state/BooleanStateServer.js +6 -2
- package/dist/esm/behaviors/boolean-state/BooleanStateServer.js.map +1 -1
- package/dist/esm/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.d.ts +23 -0
- package/dist/esm/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.d.ts.map +1 -1
- package/dist/esm/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.js +36 -0
- package/dist/esm/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.js.map +1 -1
- package/dist/esm/behaviors/general-commissioning/ServerNodeFailsafeContext.d.ts +1 -1
- package/dist/esm/behaviors/general-commissioning/ServerNodeFailsafeContext.js +1 -1
- package/dist/esm/behaviors/general-diagnostics/GeneralDiagnosticsServer.d.ts +15 -1
- package/dist/esm/behaviors/general-diagnostics/GeneralDiagnosticsServer.d.ts.map +1 -1
- package/dist/esm/behaviors/general-diagnostics/GeneralDiagnosticsServer.js +57 -4
- package/dist/esm/behaviors/general-diagnostics/GeneralDiagnosticsServer.js.map +1 -1
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementBehavior.d.ts +3 -0
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementBehavior.d.ts.map +1 -1
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementBehavior.js.map +1 -1
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementServer.d.ts +22 -3
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementServer.d.ts.map +1 -1
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementServer.js +80 -7
- package/dist/esm/behaviors/group-key-management/GroupKeyManagementServer.js.map +1 -1
- package/dist/esm/behaviors/groupcast/GroupcastBehavior.d.ts +28 -0
- package/dist/esm/behaviors/groupcast/GroupcastBehavior.d.ts.map +1 -0
- package/dist/esm/behaviors/groupcast/GroupcastBehavior.js +14 -0
- package/dist/esm/behaviors/groupcast/GroupcastBehavior.js.map +6 -0
- package/dist/esm/behaviors/groupcast/GroupcastClient.d.ts +17 -0
- package/dist/esm/behaviors/groupcast/GroupcastClient.d.ts.map +1 -0
- package/dist/esm/behaviors/groupcast/GroupcastClient.js +14 -0
- package/dist/esm/behaviors/groupcast/GroupcastClient.js.map +6 -0
- package/dist/esm/behaviors/groupcast/GroupcastInterface.d.ts +34 -0
- package/dist/esm/behaviors/groupcast/GroupcastInterface.d.ts.map +1 -0
- package/dist/esm/behaviors/groupcast/GroupcastInterface.js +6 -0
- package/dist/esm/behaviors/groupcast/GroupcastInterface.js.map +6 -0
- package/dist/esm/behaviors/groupcast/GroupcastServer.d.ts +58 -0
- package/dist/esm/behaviors/groupcast/GroupcastServer.d.ts.map +1 -0
- package/dist/esm/behaviors/groupcast/GroupcastServer.js +495 -0
- package/dist/esm/behaviors/groupcast/GroupcastServer.js.map +6 -0
- package/dist/esm/behaviors/groupcast/index.d.ts +10 -0
- package/dist/esm/behaviors/groupcast/index.d.ts.map +1 -0
- package/dist/esm/behaviors/groupcast/index.js +9 -0
- package/dist/esm/behaviors/groupcast/index.js.map +6 -0
- package/dist/esm/behaviors/groups/GroupsServer.d.ts.map +1 -1
- package/dist/esm/behaviors/groups/GroupsServer.js +22 -0
- package/dist/esm/behaviors/groups/GroupsServer.js.map +1 -1
- package/dist/esm/behaviors/index.d.ts +3 -0
- package/dist/esm/behaviors/index.d.ts.map +1 -1
- package/dist/esm/behaviors/index.js +3 -0
- package/dist/esm/behaviors/index.js.map +1 -1
- package/dist/esm/behaviors/level-control/LevelControlServer.d.ts +1 -1
- package/dist/esm/behaviors/level-control/LevelControlServer.js +1 -1
- package/dist/esm/behaviors/occupancy-sensing/OccupancySensingServer.d.ts +2 -0
- package/dist/esm/behaviors/occupancy-sensing/OccupancySensingServer.d.ts.map +1 -1
- package/dist/esm/behaviors/occupancy-sensing/OccupancySensingServer.js +10 -0
- package/dist/esm/behaviors/occupancy-sensing/OccupancySensingServer.js.map +1 -1
- package/dist/esm/behaviors/operational-credentials/VendorIdVerification.d.ts +2 -2
- package/dist/esm/behaviors/ota-software-update-provider/OtaSoftwareUpdateProviderServer.js +1 -1
- package/dist/esm/behaviors/ota-software-update-provider/OtaSoftwareUpdateProviderServer.js.map +1 -1
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmBehavior.d.ts +29 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmBehavior.d.ts.map +1 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmBehavior.js +14 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmBehavior.js.map +6 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmClient.d.ts +17 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmClient.d.ts.map +1 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmClient.js +14 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmClient.js.map +6 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmServer.d.ts +16 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmServer.d.ts.map +1 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmServer.js +12 -0
- package/dist/esm/behaviors/temperature-alarm/TemperatureAlarmServer.js.map +6 -0
- package/dist/esm/behaviors/temperature-alarm/index.d.ts +10 -0
- package/dist/esm/behaviors/temperature-alarm/index.d.ts.map +1 -0
- package/dist/esm/behaviors/temperature-alarm/index.js +9 -0
- package/dist/esm/behaviors/temperature-alarm/index.js.map +6 -0
- package/dist/esm/behaviors/thermostat/ThermostatServer.d.ts +2 -0
- package/dist/esm/behaviors/thermostat/ThermostatServer.d.ts.map +1 -1
- package/dist/esm/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.d.ts +63 -1
- package/dist/esm/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.d.ts.map +1 -1
- package/dist/esm/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.js +134 -0
- package/dist/esm/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.js.map +2 -2
- package/dist/esm/devices/air-purifier.d.ts +1 -1
- package/dist/esm/devices/air-quality-sensor.d.ts +1 -1
- package/dist/esm/devices/audio-doorbell.d.ts +1 -1
- package/dist/esm/devices/basic-video-player.d.ts +1 -1
- package/dist/esm/devices/battery-storage.d.ts +1 -1
- package/dist/esm/devices/camera-controller.d.ts +1 -1
- package/dist/esm/devices/camera.d.ts +1 -1
- package/dist/esm/devices/casting-video-client.d.ts +1 -1
- package/dist/esm/devices/casting-video-player.d.ts +1 -1
- package/dist/esm/devices/chime.d.ts +1 -1
- package/dist/esm/devices/closure-controller.d.ts +1 -8
- package/dist/esm/devices/closure-controller.d.ts.map +1 -1
- package/dist/esm/devices/closure-controller.js +1 -3
- package/dist/esm/devices/closure-controller.js.map +1 -1
- package/dist/esm/devices/closure-panel.d.ts +1 -1
- package/dist/esm/devices/closure.d.ts +1 -1
- package/dist/esm/devices/color-dimmer-switch.d.ts +1 -1
- package/dist/esm/devices/color-temperature-light.d.ts +1 -1
- package/dist/esm/devices/contact-sensor.d.ts +1 -1
- package/dist/esm/devices/content-app.d.ts +1 -1
- package/dist/esm/devices/control-bridge.d.ts +1 -1
- package/dist/esm/devices/cook-surface.d.ts +1 -1
- package/dist/esm/devices/cooktop.d.ts +1 -1
- package/dist/esm/devices/dimmable-light.d.ts +1 -1
- package/dist/esm/devices/dimmable-plug-in-unit.d.ts +1 -1
- package/dist/esm/devices/dimmer-switch.d.ts +1 -1
- package/dist/esm/devices/dishwasher.d.ts +1 -1
- package/dist/esm/devices/door-lock-controller.d.ts +1 -1
- package/dist/esm/devices/door-lock.d.ts +1 -1
- package/dist/esm/devices/doorbell.d.ts +1 -1
- package/dist/esm/devices/electrical-energy-tariff.d.ts +1 -1
- package/dist/esm/devices/electrical-meter.d.ts +1 -1
- package/dist/esm/devices/electrical-utility-meter.d.ts +1 -1
- package/dist/esm/devices/energy-evse.d.ts +1 -1
- package/dist/esm/devices/extended-color-light.d.ts +1 -1
- package/dist/esm/devices/extractor-hood.d.ts +1 -1
- package/dist/esm/devices/fan.d.ts +1 -1
- package/dist/esm/devices/floodlight-camera.d.ts +1 -1
- package/dist/esm/devices/flow-sensor.d.ts +1 -1
- package/dist/esm/devices/generic-switch.d.ts +1 -1
- package/dist/esm/devices/heat-pump.d.ts +1 -1
- package/dist/esm/devices/humidity-sensor.d.ts +1 -1
- package/dist/esm/devices/intercom.d.ts +1 -1
- package/dist/esm/devices/irrigation-system.d.ts +1 -1
- package/dist/esm/devices/laundry-dryer.d.ts +1 -1
- package/dist/esm/devices/laundry-washer.d.ts +1 -1
- package/dist/esm/devices/light-sensor.d.ts +1 -1
- package/dist/esm/devices/meter-reference-point.d.ts +1 -1
- package/dist/esm/devices/microwave-oven.d.ts +1 -1
- package/dist/esm/devices/mode-select.d.ts +1 -1
- package/dist/esm/devices/mounted-dimmable-load-control.d.ts +1 -1
- package/dist/esm/devices/mounted-on-off-control.d.ts +1 -1
- package/dist/esm/devices/network-infrastructure-manager.d.ts +2 -2
- package/dist/esm/devices/occupancy-sensor.d.ts +1 -1
- package/dist/esm/devices/on-off-light-switch.d.ts +1 -1
- package/dist/esm/devices/on-off-light.d.ts +1 -1
- package/dist/esm/devices/on-off-plug-in-unit.d.ts +1 -1
- package/dist/esm/devices/on-off-sensor.d.ts +1 -1
- package/dist/esm/devices/oven.d.ts +1 -1
- package/dist/esm/devices/pressure-sensor.d.ts +1 -1
- package/dist/esm/devices/pump-controller.d.ts +1 -1
- package/dist/esm/devices/pump.d.ts +1 -1
- package/dist/esm/devices/rain-sensor.d.ts +14 -6
- package/dist/esm/devices/rain-sensor.d.ts.map +1 -1
- package/dist/esm/devices/rain-sensor.js +1 -1
- package/dist/esm/devices/refrigerator.d.ts +11 -2
- package/dist/esm/devices/refrigerator.d.ts.map +1 -1
- package/dist/esm/devices/refrigerator.js +7 -2
- package/dist/esm/devices/refrigerator.js.map +1 -1
- package/dist/esm/devices/robotic-vacuum-cleaner.d.ts +1 -1
- package/dist/esm/devices/room-air-conditioner.d.ts +1 -1
- package/dist/esm/devices/smoke-co-alarm.d.ts +1 -1
- package/dist/esm/devices/snapshot-camera.d.ts +1 -1
- package/dist/esm/devices/soil-sensor.d.ts +1 -1
- package/dist/esm/devices/solar-power.d.ts +1 -1
- package/dist/esm/devices/speaker.d.ts +1 -1
- package/dist/esm/devices/temperature-controlled-cabinet.d.ts +10 -2
- package/dist/esm/devices/temperature-controlled-cabinet.d.ts.map +1 -1
- package/dist/esm/devices/temperature-controlled-cabinet.js +7 -2
- package/dist/esm/devices/temperature-controlled-cabinet.js.map +1 -1
- package/dist/esm/devices/temperature-sensor.d.ts +1 -1
- package/dist/esm/devices/thermostat-controller.d.ts +1 -1
- package/dist/esm/devices/thermostat.d.ts +9 -2
- package/dist/esm/devices/thermostat.d.ts.map +1 -1
- package/dist/esm/devices/thermostat.js +7 -2
- package/dist/esm/devices/thermostat.js.map +1 -1
- package/dist/esm/devices/thread-border-router.d.ts +1 -1
- package/dist/esm/devices/video-doorbell.d.ts +1 -1
- package/dist/esm/devices/video-remote-control.d.ts +1 -1
- package/dist/esm/devices/water-freeze-detector.d.ts +14 -6
- package/dist/esm/devices/water-freeze-detector.d.ts.map +1 -1
- package/dist/esm/devices/water-freeze-detector.js +1 -1
- package/dist/esm/devices/water-heater.d.ts +5 -1
- package/dist/esm/devices/water-heater.d.ts.map +1 -1
- package/dist/esm/devices/water-leak-detector.d.ts +14 -6
- package/dist/esm/devices/water-leak-detector.d.ts.map +1 -1
- package/dist/esm/devices/water-leak-detector.js +1 -1
- package/dist/esm/devices/water-valve.d.ts +1 -1
- package/dist/esm/devices/window-covering-controller.d.ts +1 -1
- package/dist/esm/devices/window-covering.d.ts +1 -1
- package/dist/esm/endpoint/properties/EndpointLifecycle.d.ts +5 -0
- package/dist/esm/endpoint/properties/EndpointLifecycle.d.ts.map +1 -1
- package/dist/esm/endpoint/properties/EndpointLifecycle.js +8 -0
- package/dist/esm/endpoint/properties/EndpointLifecycle.js.map +1 -1
- package/dist/esm/endpoints/aggregator.d.ts +1 -1
- package/dist/esm/endpoints/bridged-node.d.ts +1 -1
- package/dist/esm/endpoints/device-energy-management.d.ts +1 -1
- package/dist/esm/endpoints/electrical-sensor.d.ts +1 -1
- package/dist/esm/endpoints/joint-fabric-administrator.d.ts +1 -1
- package/dist/esm/endpoints/ota-provider.d.ts +1 -1
- package/dist/esm/endpoints/ota-requestor.d.ts +1 -1
- package/dist/esm/endpoints/power-source.d.ts +1 -1
- package/dist/esm/endpoints/root.d.ts +1 -1
- package/dist/esm/endpoints/secondary-network-interface.d.ts +1 -1
- package/dist/esm/node/ServerNode.d.ts +1 -1
- package/dist/esm/node/ServerNode.js +1 -1
- package/dist/esm/node/client/Peers.d.ts.map +1 -1
- package/dist/esm/node/client/Peers.js +12 -0
- package/dist/esm/node/client/Peers.js.map +1 -1
- package/dist/esm/node/integration/ProtocolService.js +1 -1
- package/dist/esm/node/paths/AttributePath.d.ts +3 -3
- package/dist/esm/node/paths/BasePath.d.ts +4 -4
- package/dist/esm/node/paths/CommandPath.d.ts +1 -1
- package/dist/esm/node/paths/EventPath.d.ts +1 -1
- package/dist/esm/node/server/InteractionServer.d.ts +7 -0
- package/dist/esm/node/server/InteractionServer.d.ts.map +1 -1
- package/dist/esm/node/server/InteractionServer.js +84 -5
- package/dist/esm/node/server/InteractionServer.js.map +1 -1
- package/dist/esm/node/server/ServerSubscription.d.ts +1 -0
- package/dist/esm/node/server/ServerSubscription.d.ts.map +1 -1
- package/dist/esm/tags/ClosureCabinetTag.d.ts +1 -1
- package/dist/esm/tags/ClosureCoveringTag.d.ts +1 -1
- package/dist/esm/tags/ClosurePanelTag.d.ts +1 -1
- package/dist/esm/tags/ClosureTag.d.ts +1 -1
- package/dist/esm/tags/ClosureWindowTag.d.ts +1 -1
- package/dist/esm/tags/CommodityTariffChronologyTag.d.ts +1 -1
- package/dist/esm/tags/CommodityTariffCommodityTag.d.ts +1 -1
- package/dist/esm/tags/CommodityTariffFlowTag.d.ts +1 -1
- package/dist/esm/tags/CommonAreaNamespaceTag.d.ts +1 -1
- package/dist/esm/tags/CommonClosureTag.d.ts +1 -1
- package/dist/esm/tags/CommonCompassDirectionTag.d.ts +1 -1
- package/dist/esm/tags/CommonCompassLocationTag.d.ts +1 -1
- package/dist/esm/tags/CommonDirectionTag.d.ts +1 -1
- package/dist/esm/tags/CommonLandmarkNamespaceTag.d.ts +1 -1
- package/dist/esm/tags/CommonLevelTag.d.ts +1 -1
- package/dist/esm/tags/CommonLocationTag.d.ts +1 -1
- package/dist/esm/tags/CommonNumberTag.d.ts +1 -1
- package/dist/esm/tags/CommonPositionTag.d.ts +1 -1
- package/dist/esm/tags/CommonRelativePositionTag.d.ts +1 -1
- package/dist/esm/tags/ElectricalMeasurementTag.d.ts +1 -1
- package/dist/esm/tags/IdentifiedHumanActivityTag.d.ts +89 -0
- package/dist/esm/tags/IdentifiedHumanActivityTag.d.ts.map +1 -0
- package/dist/esm/tags/IdentifiedHumanActivityTag.js +55 -0
- package/dist/esm/tags/IdentifiedHumanActivityTag.js.map +6 -0
- package/dist/esm/tags/IdentifiedObjectTag.d.ts +123 -0
- package/dist/esm/tags/IdentifiedObjectTag.d.ts.map +1 -0
- package/dist/esm/tags/IdentifiedObjectTag.js +67 -0
- package/dist/esm/tags/IdentifiedObjectTag.js.map +6 -0
- package/dist/esm/tags/IdentifiedSoundTag.d.ts +176 -0
- package/dist/esm/tags/IdentifiedSoundTag.d.ts.map +1 -0
- package/dist/esm/tags/IdentifiedSoundTag.js +103 -0
- package/dist/esm/tags/IdentifiedSoundTag.js.map +6 -0
- package/dist/esm/tags/LaundryTag.d.ts +1 -1
- package/dist/esm/tags/PowerSourceTag.d.ts +5 -5
- package/dist/esm/tags/PowerSourceTag.js +4 -4
- package/dist/esm/tags/RefrigeratorTag.d.ts +1 -1
- package/dist/esm/tags/RoomAirConditionerTag.d.ts +1 -1
- package/dist/esm/tags/SwitchesTag.d.ts +2 -2
- package/dist/esm/tags/SwitchesTag.js +1 -1
- package/dist/esm/tags/index.d.ts +3 -0
- package/dist/esm/tags/index.d.ts.map +1 -1
- package/dist/esm/tags/index.js +3 -0
- package/dist/esm/tags/index.js.map +1 -1
- package/package.json +6 -6
- package/src/behavior/context/ActionContext.ts +1 -1
- package/src/behavior/state/validation/FabricIndexSentinel.ts +3 -2
- package/src/behavior/supervision/ValueSupervisor.ts +3 -2
- package/src/behavior/system/network/ServerGroupNetworking.ts +18 -9
- package/src/behavior/system/software-update/SoftwareUpdateManager.ts +1 -1
- package/src/behaviors/access-control/AccessControlServer.ts +153 -7
- package/src/behaviors/ambient-context-sensing/AmbientContextSensingBehavior.ts +27 -0
- package/src/behaviors/ambient-context-sensing/AmbientContextSensingClient.ts +16 -0
- package/src/behaviors/ambient-context-sensing/AmbientContextSensingServer.ts +18 -0
- package/src/behaviors/ambient-context-sensing/index.ts +11 -0
- package/src/behaviors/basic-information/BasicInformationServer.ts +62 -1
- package/src/behaviors/boolean-state/BooleanStateBehavior.ts +3 -0
- package/src/behaviors/boolean-state/BooleanStateServer.ts +10 -3
- package/src/behaviors/bridged-device-basic-information/BridgedDeviceBasicInformationServer.ts +55 -1
- package/src/behaviors/general-commissioning/ServerNodeFailsafeContext.ts +1 -1
- package/src/behaviors/general-diagnostics/GeneralDiagnosticsServer.ts +61 -3
- package/src/behaviors/group-key-management/GroupKeyManagementBehavior.ts +3 -0
- package/src/behaviors/group-key-management/GroupKeyManagementServer.ts +98 -8
- package/src/behaviors/groupcast/GroupcastBehavior.ts +24 -0
- package/src/behaviors/groupcast/GroupcastClient.ts +16 -0
- package/src/behaviors/groupcast/GroupcastInterface.ts +30 -0
- package/src/behaviors/groupcast/GroupcastServer.ts +665 -0
- package/src/behaviors/groupcast/index.ts +11 -0
- package/src/behaviors/groups/GroupsServer.ts +28 -1
- package/src/behaviors/index.ts +3 -0
- package/src/behaviors/level-control/LevelControlServer.ts +1 -1
- package/src/behaviors/occupancy-sensing/OccupancySensingServer.ts +14 -2
- package/src/behaviors/operational-credentials/VendorIdVerification.ts +2 -2
- package/src/behaviors/ota-software-update-provider/OtaSoftwareUpdateProviderServer.ts +1 -1
- package/src/behaviors/scenes-management/ScenesManagementServer.ts +1 -1
- package/src/behaviors/temperature-alarm/TemperatureAlarmBehavior.ts +27 -0
- package/src/behaviors/temperature-alarm/TemperatureAlarmClient.ts +16 -0
- package/src/behaviors/temperature-alarm/TemperatureAlarmServer.ts +17 -0
- package/src/behaviors/temperature-alarm/index.ts +11 -0
- package/src/behaviors/web-rtc-transport-requestor/WebRtcTransportRequestorServer.ts +183 -3
- package/src/devices/air-purifier.ts +1 -1
- package/src/devices/air-quality-sensor.ts +1 -1
- package/src/devices/audio-doorbell.ts +1 -1
- package/src/devices/basic-video-player.ts +1 -1
- package/src/devices/battery-storage.ts +1 -1
- package/src/devices/camera-controller.ts +1 -1
- package/src/devices/camera.ts +1 -1
- package/src/devices/casting-video-client.ts +1 -1
- package/src/devices/casting-video-player.ts +1 -1
- package/src/devices/chime.ts +1 -1
- package/src/devices/closure-controller.ts +2 -10
- package/src/devices/closure-panel.ts +1 -1
- package/src/devices/closure.ts +1 -1
- package/src/devices/color-dimmer-switch.ts +1 -1
- package/src/devices/color-temperature-light.ts +1 -1
- package/src/devices/contact-sensor.ts +1 -1
- package/src/devices/content-app.ts +1 -1
- package/src/devices/control-bridge.ts +1 -1
- package/src/devices/cook-surface.ts +1 -1
- package/src/devices/cooktop.ts +1 -1
- package/src/devices/dimmable-light.ts +1 -1
- package/src/devices/dimmable-plug-in-unit.ts +1 -1
- package/src/devices/dimmer-switch.ts +1 -1
- package/src/devices/dishwasher.ts +1 -1
- package/src/devices/door-lock-controller.ts +1 -1
- package/src/devices/door-lock.ts +1 -1
- package/src/devices/doorbell.ts +1 -1
- package/src/devices/electrical-energy-tariff.ts +1 -1
- package/src/devices/electrical-meter.ts +1 -1
- package/src/devices/electrical-utility-meter.ts +1 -1
- package/src/devices/energy-evse.ts +1 -1
- package/src/devices/extended-color-light.ts +1 -1
- package/src/devices/extractor-hood.ts +1 -1
- package/src/devices/fan.ts +1 -1
- package/src/devices/floodlight-camera.ts +1 -1
- package/src/devices/flow-sensor.ts +1 -1
- package/src/devices/generic-switch.ts +1 -1
- package/src/devices/heat-pump.ts +1 -1
- package/src/devices/humidity-sensor.ts +1 -1
- package/src/devices/intercom.ts +1 -1
- package/src/devices/irrigation-system.ts +1 -1
- package/src/devices/laundry-dryer.ts +1 -1
- package/src/devices/laundry-washer.ts +1 -1
- package/src/devices/light-sensor.ts +1 -1
- package/src/devices/meter-reference-point.ts +1 -1
- package/src/devices/microwave-oven.ts +1 -1
- package/src/devices/mode-select.ts +1 -1
- package/src/devices/mounted-dimmable-load-control.ts +1 -1
- package/src/devices/mounted-on-off-control.ts +1 -1
- package/src/devices/network-infrastructure-manager.ts +2 -2
- package/src/devices/occupancy-sensor.ts +1 -1
- package/src/devices/on-off-light-switch.ts +1 -1
- package/src/devices/on-off-light.ts +1 -1
- package/src/devices/on-off-plug-in-unit.ts +1 -1
- package/src/devices/on-off-sensor.ts +1 -1
- package/src/devices/oven.ts +1 -1
- package/src/devices/pressure-sensor.ts +1 -1
- package/src/devices/pump-controller.ts +1 -1
- package/src/devices/pump.ts +1 -1
- package/src/devices/rain-sensor.ts +2 -2
- package/src/devices/refrigerator.ts +16 -3
- package/src/devices/robotic-vacuum-cleaner.ts +1 -1
- package/src/devices/room-air-conditioner.ts +1 -1
- package/src/devices/smoke-co-alarm.ts +1 -1
- package/src/devices/snapshot-camera.ts +1 -1
- package/src/devices/soil-sensor.ts +1 -1
- package/src/devices/solar-power.ts +1 -1
- package/src/devices/speaker.ts +1 -1
- package/src/devices/temperature-controlled-cabinet.ts +14 -3
- package/src/devices/temperature-sensor.ts +1 -1
- package/src/devices/thermostat-controller.ts +1 -1
- package/src/devices/thermostat.ts +14 -3
- package/src/devices/thread-border-router.ts +1 -1
- package/src/devices/video-doorbell.ts +1 -1
- package/src/devices/video-remote-control.ts +1 -1
- package/src/devices/water-freeze-detector.ts +2 -2
- package/src/devices/water-heater.ts +1 -1
- package/src/devices/water-leak-detector.ts +2 -2
- package/src/devices/water-valve.ts +1 -1
- package/src/devices/window-covering-controller.ts +1 -1
- package/src/devices/window-covering.ts +1 -1
- package/src/endpoint/properties/EndpointLifecycle.ts +9 -0
- package/src/endpoints/aggregator.ts +1 -1
- package/src/endpoints/bridged-node.ts +1 -1
- package/src/endpoints/device-energy-management.ts +1 -1
- package/src/endpoints/electrical-sensor.ts +1 -1
- package/src/endpoints/joint-fabric-administrator.ts +1 -1
- package/src/endpoints/ota-provider.ts +1 -1
- package/src/endpoints/ota-requestor.ts +1 -1
- package/src/endpoints/power-source.ts +1 -1
- package/src/endpoints/root.ts +1 -1
- package/src/endpoints/secondary-network-interface.ts +1 -1
- package/src/node/ServerNode.ts +1 -1
- package/src/node/client/Peers.ts +15 -0
- package/src/node/integration/ProtocolService.ts +1 -1
- package/src/node/paths/AttributePath.ts +3 -3
- package/src/node/paths/BasePath.ts +4 -4
- package/src/node/paths/CommandPath.ts +1 -1
- package/src/node/paths/EventPath.ts +1 -1
- package/src/node/server/InteractionServer.ts +113 -6
- package/src/tags/ClosureCabinetTag.ts +1 -1
- package/src/tags/ClosureCoveringTag.ts +1 -1
- package/src/tags/ClosurePanelTag.ts +1 -1
- package/src/tags/ClosureTag.ts +1 -1
- package/src/tags/ClosureWindowTag.ts +1 -1
- package/src/tags/CommodityTariffChronologyTag.ts +1 -1
- package/src/tags/CommodityTariffCommodityTag.ts +1 -1
- package/src/tags/CommodityTariffFlowTag.ts +1 -1
- package/src/tags/CommonAreaNamespaceTag.ts +1 -1
- package/src/tags/CommonClosureTag.ts +1 -1
- package/src/tags/CommonCompassDirectionTag.ts +1 -1
- package/src/tags/CommonCompassLocationTag.ts +1 -1
- package/src/tags/CommonDirectionTag.ts +1 -1
- package/src/tags/CommonLandmarkNamespaceTag.ts +1 -1
- package/src/tags/CommonLevelTag.ts +1 -1
- package/src/tags/CommonLocationTag.ts +1 -1
- package/src/tags/CommonNumberTag.ts +1 -1
- package/src/tags/CommonPositionTag.ts +1 -1
- package/src/tags/CommonRelativePositionTag.ts +1 -1
- package/src/tags/ElectricalMeasurementTag.ts +1 -1
- package/src/tags/IdentifiedHumanActivityTag.ts +71 -0
- package/src/tags/IdentifiedObjectTag.ts +99 -0
- package/src/tags/IdentifiedSoundTag.ts +134 -0
- package/src/tags/LaundryTag.ts +1 -1
- package/src/tags/PowerSourceTag.ts +5 -5
- package/src/tags/RefrigeratorTag.ts +1 -1
- package/src/tags/RoomAirConditionerTag.ts +1 -1
- package/src/tags/SwitchesTag.ts +2 -2
- package/src/tags/index.ts +3 -0
|
@@ -11,7 +11,7 @@ import { Endpoint } from "#endpoint/Endpoint.js";
|
|
|
11
11
|
import { RootEndpoint } from "#endpoints/root";
|
|
12
12
|
import { InternalError, Logger } from "@matter/general";
|
|
13
13
|
import { assertRemoteActor, Fabric } from "@matter/protocol";
|
|
14
|
-
import { Status, StatusResponseError } from "@matter/types";
|
|
14
|
+
import { FabricIndex, Status, StatusResponseError } from "@matter/types";
|
|
15
15
|
import { Groups } from "@matter/types/clusters/groups";
|
|
16
16
|
import { GroupsBehavior } from "./GroupsBehavior.js";
|
|
17
17
|
|
|
@@ -81,6 +81,16 @@ export class GroupsServer extends GroupsBase {
|
|
|
81
81
|
return act(this.context.session.associatedFabric, gkm);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
// Groups cluster rev 5: management commands return INVALID_IN_STATE for Groupcast-adopted fabrics. Inert while
|
|
85
|
+
// the Groupcast feature is provisional (groupcastAdoption is never populated), guarded in GroupKeyManagementServer.
|
|
86
|
+
#isGroupcastAdopted(fabricIndex: FabricIndex): boolean {
|
|
87
|
+
const groupcastAdoption = this.#rootEndpoint.stateOf(GroupKeyManagementServer).groupcastAdoption;
|
|
88
|
+
if (!groupcastAdoption) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return groupcastAdoption.some(e => e.fabricIndex === fabricIndex && e.groupcastAdopted);
|
|
92
|
+
}
|
|
93
|
+
|
|
84
94
|
override async addGroup({ groupId, groupName }: Groups.AddGroupRequest): Promise<Groups.AddGroupResponse> {
|
|
85
95
|
assertRemoteActor(this.context);
|
|
86
96
|
const fabric = this.context.session.associatedFabric;
|
|
@@ -92,6 +102,10 @@ export class GroupsServer extends GroupsBase {
|
|
|
92
102
|
return { status: Status.ConstraintError, groupId };
|
|
93
103
|
}
|
|
94
104
|
|
|
105
|
+
if (this.#isGroupcastAdopted(fabric.fabricIndex)) {
|
|
106
|
+
return { status: Status.InvalidInState, groupId };
|
|
107
|
+
}
|
|
108
|
+
|
|
95
109
|
if (!fabric.groups.groupKeyIdMap.has(groupId)) {
|
|
96
110
|
return { status: Status.UnsupportedAccess, groupId };
|
|
97
111
|
}
|
|
@@ -119,6 +133,10 @@ export class GroupsServer extends GroupsBase {
|
|
|
119
133
|
return { status: Status.ConstraintError, groupId, groupName: "" };
|
|
120
134
|
}
|
|
121
135
|
|
|
136
|
+
if (this.#isGroupcastAdopted(fabric.fabricIndex)) {
|
|
137
|
+
return { status: Status.InvalidInState, groupId, groupName: "" };
|
|
138
|
+
}
|
|
139
|
+
|
|
122
140
|
const fabricIndex = fabric.fabricIndex;
|
|
123
141
|
const endpointNumber = this.endpoint.number;
|
|
124
142
|
|
|
@@ -135,6 +153,11 @@ export class GroupsServer extends GroupsBase {
|
|
|
135
153
|
}: Groups.GetGroupMembershipRequest): Promise<Groups.GetGroupMembershipResponse> {
|
|
136
154
|
assertRemoteActor(this.context);
|
|
137
155
|
const fabric = this.context.session.associatedFabric;
|
|
156
|
+
|
|
157
|
+
if (this.#isGroupcastAdopted(fabric.fabricIndex)) {
|
|
158
|
+
throw new StatusResponseError("Groupcast adopted, use Groupcast cluster", Status.InvalidInState);
|
|
159
|
+
}
|
|
160
|
+
|
|
138
161
|
const fabricIndex = fabric.fabricIndex;
|
|
139
162
|
const endpointNumber = this.endpoint.number;
|
|
140
163
|
|
|
@@ -194,6 +217,10 @@ export class GroupsServer extends GroupsBase {
|
|
|
194
217
|
}
|
|
195
218
|
|
|
196
219
|
override async addGroupIfIdentifying({ groupId, groupName }: Groups.AddGroupIfIdentifyingRequest) {
|
|
220
|
+
assertRemoteActor(this.context);
|
|
221
|
+
if (this.#isGroupcastAdopted(this.context.session.associatedFabric.fabricIndex)) {
|
|
222
|
+
throw new StatusResponseError("Groupcast adopted, use Groupcast cluster", Status.InvalidInState);
|
|
223
|
+
}
|
|
197
224
|
if (this.endpoint.stateOf(IdentifyBehavior).identifyTime > 0) {
|
|
198
225
|
// We identify ourselves currently
|
|
199
226
|
const { status } = await this.addGroup({ groupId, groupName });
|
package/src/behaviors/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./activated-carbon-filter-monitoring/index.js";
|
|
|
13
13
|
export * from "./administrator-commissioning/index.js";
|
|
14
14
|
export * from "./air-quality/index.js";
|
|
15
15
|
export * from "./alarm-base/index.js";
|
|
16
|
+
export * from "./ambient-context-sensing/index.js";
|
|
16
17
|
export * from "./application-basic/index.js";
|
|
17
18
|
export * from "./application-launcher/index.js";
|
|
18
19
|
export * from "./audio-output/index.js";
|
|
@@ -60,6 +61,7 @@ export * from "./formaldehyde-concentration-measurement/index.js";
|
|
|
60
61
|
export * from "./general-commissioning/index.js";
|
|
61
62
|
export * from "./general-diagnostics/index.js";
|
|
62
63
|
export * from "./group-key-management/index.js";
|
|
64
|
+
export * from "./groupcast/index.js";
|
|
63
65
|
export * from "./groups/index.js";
|
|
64
66
|
export * from "./hepa-filter-monitoring/index.js";
|
|
65
67
|
export * from "./icd-management/index.js";
|
|
@@ -118,6 +120,7 @@ export * from "./software-diagnostics/index.js";
|
|
|
118
120
|
export * from "./soil-measurement/index.js";
|
|
119
121
|
export * from "./switch/index.js";
|
|
120
122
|
export * from "./target-navigator/index.js";
|
|
123
|
+
export * from "./temperature-alarm/index.js";
|
|
121
124
|
export * from "./temperature-control/index.js";
|
|
122
125
|
export * from "./temperature-measurement/index.js";
|
|
123
126
|
export * from "./thermostat/index.js";
|
|
@@ -559,7 +559,7 @@ export class LevelControlBaseServer extends LevelControlBase {
|
|
|
559
559
|
*
|
|
560
560
|
* By default we set the current level to the onLevel value when the device is turned on.
|
|
561
561
|
*
|
|
562
|
-
* Other fading up/down logic required by the {@link MatterSpecification.
|
|
562
|
+
* Other fading up/down logic required by the {@link MatterSpecification.v16.Cluster} §1.6.4.1.1 needs to be
|
|
563
563
|
* implemented in a specialized implementation if needed.
|
|
564
564
|
*
|
|
565
565
|
* @param onOff The new onOff state
|
|
@@ -16,6 +16,7 @@ const logger = Logger.get("OccupancySensingServer");
|
|
|
16
16
|
*
|
|
17
17
|
* The Matter specification requires the OccupancySensing cluster to support features we do not enable by default. You
|
|
18
18
|
* should use {@link OccupancySensingServer.with} to specialize the class for the features your implementation supports.
|
|
19
|
+
* When the OccupancyEvent feature is enabled the OccupancyChanged event is emitted automatically on occupancy change.
|
|
19
20
|
*/
|
|
20
21
|
export class OccupancySensingServer extends OccupancySensingBehavior {
|
|
21
22
|
override initialize(): MaybePromise {
|
|
@@ -63,8 +64,15 @@ export class OccupancySensingServer extends OccupancySensingBehavior {
|
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
//
|
|
67
|
-
|
|
67
|
+
// Emit the OccupancyChanged event on occupancy change when the feature is enabled
|
|
68
|
+
if (this.features.occupancyEvent) {
|
|
69
|
+
this.reactTo(this.events.occupancy$Changed, this.#emitOccupancyChanged);
|
|
70
|
+
} else {
|
|
71
|
+
logger.info(
|
|
72
|
+
'OccupancySensingServer: enable the OccupancyEvent feature (e.g. OccupancySensingServer.with("<DetectorType>", "OccupancyEvent")) to emit the OccupancyChanged event.',
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
// Clear attributes that are dependent on HoldTime if HoldTime is not set.
|
|
69
77
|
// TODO - if we instead avoid defaults for attributes with field-conditional conformance, remove this
|
|
70
78
|
if (this.state.holdTime === undefined) {
|
|
@@ -76,6 +84,10 @@ export class OccupancySensingServer extends OccupancySensingBehavior {
|
|
|
76
84
|
}
|
|
77
85
|
}
|
|
78
86
|
}
|
|
87
|
+
|
|
88
|
+
#emitOccupancyChanged(occupancy: OccupancySensing.Occupancy) {
|
|
89
|
+
this.events.occupancyChanged?.emit({ occupancy }, this.context);
|
|
90
|
+
}
|
|
79
91
|
}
|
|
80
92
|
|
|
81
93
|
const holdTimeDependencies = [
|
|
@@ -96,7 +96,7 @@ export namespace VendorIdVerification {
|
|
|
96
96
|
* It requires data read the the device (if relevant read non fabric filtered) for fabrics, nocs and
|
|
97
97
|
* trustedRootCertificates to provide the raw input data for verification.
|
|
98
98
|
*
|
|
99
|
-
* @see {@link MatterSpecification.
|
|
99
|
+
* @see {@link MatterSpecification.v16.Core} § 6.4.10.1.
|
|
100
100
|
*/
|
|
101
101
|
export async function verify(
|
|
102
102
|
node: ClientNode,
|
|
@@ -163,7 +163,7 @@ export namespace VendorIdVerification {
|
|
|
163
163
|
/**
|
|
164
164
|
* Verify VendorId ownership using VID Verification protocol on pure data level
|
|
165
165
|
*
|
|
166
|
-
* @see {@link MatterSpecification.
|
|
166
|
+
* @see {@link MatterSpecification.v16.Core} § 6.4.10.1.
|
|
167
167
|
*/
|
|
168
168
|
export async function verifyData(
|
|
169
169
|
crypto: Crypto,
|
|
@@ -110,7 +110,7 @@ export class OtaSoftwareUpdateProviderServer extends OtaSoftwareUpdateProviderBe
|
|
|
110
110
|
if (!ownFabric) {
|
|
111
111
|
// Can only happen if the SoftwareUpdateManager is used without any commissioned nodes
|
|
112
112
|
logger.info(`No owning fabric, delay initialization`);
|
|
113
|
-
fabricAuthority.fabricAdded
|
|
113
|
+
this.reactTo(fabricAuthority.fabricAdded, this.#nodeOnline, { once: true });
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -185,7 +185,7 @@ export class ScenesManagementServer extends ScenesManagementBase {
|
|
|
185
185
|
// Initialize fabric scene info field to match to the current state of the scene table
|
|
186
186
|
this.#initializeFabricSceneInfo(fabricManager);
|
|
187
187
|
|
|
188
|
-
// When a fabric
|
|
188
|
+
// When a fabric got removed, we need to check if the active scene is considered from that fabric
|
|
189
189
|
// Data cleanup happens automatically
|
|
190
190
|
this.reactTo(fabricManager.events.deleting, this.#handleDeleteFabric);
|
|
191
191
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022-2026 Matter.js Authors
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
|
+
|
|
9
|
+
import { TemperatureAlarm } from "@matter/types/clusters/temperature-alarm";
|
|
10
|
+
import { ClusterBehavior } from "../../behavior/cluster/ClusterBehavior.js";
|
|
11
|
+
import { Identity } from "@matter/general";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* TemperatureAlarmBehavior is the base class for objects that support interaction with
|
|
15
|
+
* {@link TemperatureAlarm.Cluster}.
|
|
16
|
+
*
|
|
17
|
+
* TemperatureAlarm.Cluster requires you to enable one or more optional features. You can do so using
|
|
18
|
+
* {@link TemperatureAlarmBehavior.with}.
|
|
19
|
+
*/
|
|
20
|
+
export const TemperatureAlarmBehaviorConstructor = ClusterBehavior.for(TemperatureAlarm);
|
|
21
|
+
|
|
22
|
+
export interface TemperatureAlarmBehaviorConstructor extends Identity<typeof TemperatureAlarmBehaviorConstructor> {}
|
|
23
|
+
export const TemperatureAlarmBehavior: TemperatureAlarmBehaviorConstructor = TemperatureAlarmBehaviorConstructor;
|
|
24
|
+
export interface TemperatureAlarmBehavior extends InstanceType<TemperatureAlarmBehaviorConstructor> {}
|
|
25
|
+
export namespace TemperatureAlarmBehavior {
|
|
26
|
+
export interface State extends InstanceType<typeof TemperatureAlarmBehavior.State> {}
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022-2026 Matter.js Authors
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
|
+
|
|
9
|
+
import { TemperatureAlarm } from "@matter/types/clusters/temperature-alarm";
|
|
10
|
+
import { ClientBehavior } from "../../behavior/cluster/ClientBehavior.js";
|
|
11
|
+
import { Identity } from "@matter/general";
|
|
12
|
+
|
|
13
|
+
export const TemperatureAlarmClientConstructor = ClientBehavior(TemperatureAlarm);
|
|
14
|
+
export interface TemperatureAlarmClient extends InstanceType<typeof TemperatureAlarmClientConstructor> {}
|
|
15
|
+
export interface TemperatureAlarmClientConstructor extends Identity<typeof TemperatureAlarmClientConstructor> {}
|
|
16
|
+
export const TemperatureAlarmClient: TemperatureAlarmClientConstructor = TemperatureAlarmClientConstructor;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022-2026 Matter.js Authors
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*** THIS FILE WILL BE REGENERATED IF YOU DO NOT REMOVE THIS MESSAGE ***/
|
|
8
|
+
|
|
9
|
+
import { TemperatureAlarmBehavior } from "./TemperatureAlarmBehavior.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* This is the default server implementation of {@link TemperatureAlarmBehavior}.
|
|
13
|
+
*
|
|
14
|
+
* The Matter specification requires the TemperatureAlarm cluster to support features we do not enable by default. You
|
|
15
|
+
* should use {@link TemperatureAlarmServer.with} to specialize the class for the features your implementation supports.
|
|
16
|
+
*/
|
|
17
|
+
export class TemperatureAlarmServer extends TemperatureAlarmBehavior {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022-2026 Matter.js Authors
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*** THIS FILE WILL BE REGENERATED IF YOU DO NOT REMOVE THIS MESSAGE ***/
|
|
8
|
+
|
|
9
|
+
export * from "./TemperatureAlarmBehavior.js";
|
|
10
|
+
export * from "./TemperatureAlarmServer.js";
|
|
11
|
+
export * from "./TemperatureAlarmClient.js";
|
|
@@ -4,11 +4,191 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { AccessControlServer } from "#behaviors/access-control";
|
|
8
|
+
import { Node } from "#node/Node.js";
|
|
9
|
+
import type { ServerNode } from "#node/ServerNode.js";
|
|
10
|
+
import { Logger, Observable } from "@matter/general";
|
|
11
|
+
import { assertRemoteActor, FabricAuthority, NodeSession } from "@matter/protocol";
|
|
12
|
+
import { Status, StatusResponseError } from "@matter/types";
|
|
13
|
+
import { AccessControl } from "@matter/types/clusters/access-control";
|
|
14
|
+
import { WebRtcTransportDefinitions } from "@matter/types/clusters/web-rtc-transport-definitions";
|
|
15
|
+
import { WebRtcTransportRequestor } from "@matter/types/clusters/web-rtc-transport-requestor";
|
|
9
16
|
import { WebRtcTransportRequestorBehavior } from "./WebRtcTransportRequestorBehavior.js";
|
|
10
17
|
|
|
18
|
+
type WebRtcSession = WebRtcTransportDefinitions.WebRtcSession;
|
|
19
|
+
|
|
20
|
+
const logger = Logger.get("WebRtcTransportRequestorServer");
|
|
21
|
+
|
|
11
22
|
/**
|
|
12
23
|
* This is the default server implementation of {@link WebRtcTransportRequestorBehavior}.
|
|
24
|
+
*
|
|
25
|
+
* This cluster lives on the controller side of a WebRTC stream (e.g. a camera controller). The peer camera/provider
|
|
26
|
+
* drives signaling by invoking the Offer, Answer, IceCandidates and End commands on this cluster. The default
|
|
27
|
+
* implementation validates each command against the session's originating fabric and peer node, tracks live sessions in
|
|
28
|
+
* the `currentSessions` attribute, and re-emits the signaling through the {@link WebRtcTransportRequestorServer.Events}
|
|
29
|
+
* observables so you can drive your own WebRTC peer connection.
|
|
30
|
+
*
|
|
31
|
+
* To use it:
|
|
32
|
+
* * Register a session with {@link upsertSession} when you initiate a stream, so the peer's subsequent commands for that
|
|
33
|
+
* session id are accepted; commands for an unknown session or a mismatched fabric/peer are rejected with NotFound.
|
|
34
|
+
* * Subscribe to the `offer` / `answer` / `iceCandidates` / `end` events to feed your WebRTC stack. A session is removed
|
|
35
|
+
* from tracking automatically when the peer sends End.
|
|
36
|
+
* * Call {@link removeSession} when you tear a stream down locally.
|
|
37
|
+
*
|
|
38
|
+
* On the first commissioned fabric the implementation installs an Operate-privilege ACL entry granting that fabric
|
|
39
|
+
* access to this cluster, so the peer can reach the signaling commands without further configuration.
|
|
13
40
|
*/
|
|
14
|
-
export class WebRtcTransportRequestorServer extends WebRtcTransportRequestorBehavior {
|
|
41
|
+
export class WebRtcTransportRequestorServer extends WebRtcTransportRequestorBehavior {
|
|
42
|
+
declare readonly events: WebRtcTransportRequestorServer.Events;
|
|
43
|
+
|
|
44
|
+
override async initialize() {
|
|
45
|
+
const node = Node.forEndpoint(this.endpoint) as ServerNode;
|
|
46
|
+
logger.info(
|
|
47
|
+
`WebRtcTransportRequestor initialized on endpoint=${this.endpoint.number} (id="${this.endpoint.id}")`,
|
|
48
|
+
);
|
|
49
|
+
this.reactTo(node.lifecycle.online, this.#nodeOnline);
|
|
50
|
+
if (node.lifecycle.isOnline) {
|
|
51
|
+
await this.#nodeOnline();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
async #nodeOnline() {
|
|
56
|
+
const fabricAuthority = this.env.get(FabricAuthority);
|
|
57
|
+
const ownFabric = fabricAuthority.fabrics[0];
|
|
58
|
+
if (!ownFabric) {
|
|
59
|
+
this.reactTo(fabricAuthority.fabricAdded, this.#nodeOnline, { once: true });
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const node = Node.forEndpoint(this.endpoint) as ServerNode;
|
|
64
|
+
await node.act(agent => agent.load(AccessControlServer));
|
|
65
|
+
if (node.behaviors.has(AccessControlServer)) {
|
|
66
|
+
if (
|
|
67
|
+
!node
|
|
68
|
+
.stateOf(AccessControlServer)
|
|
69
|
+
.acl.some(
|
|
70
|
+
({ fabricIndex, privilege, authMode, subjects, targets }) =>
|
|
71
|
+
fabricIndex === ownFabric.fabricIndex &&
|
|
72
|
+
privilege === AccessControl.AccessControlEntryPrivilege.Operate &&
|
|
73
|
+
authMode === AccessControl.AccessControlEntryAuthMode.Case &&
|
|
74
|
+
subjects?.length === 0 &&
|
|
75
|
+
targets?.length === 1 &&
|
|
76
|
+
targets[0].endpoint === this.endpoint.number &&
|
|
77
|
+
targets[0].cluster === WebRtcTransportRequestor.id,
|
|
78
|
+
)
|
|
79
|
+
) {
|
|
80
|
+
const acl = [
|
|
81
|
+
...node.stateOf(AccessControlServer).acl,
|
|
82
|
+
{
|
|
83
|
+
fabricIndex: ownFabric.fabricIndex,
|
|
84
|
+
privilege: AccessControl.AccessControlEntryPrivilege.Operate,
|
|
85
|
+
authMode: AccessControl.AccessControlEntryAuthMode.Case,
|
|
86
|
+
subjects: [],
|
|
87
|
+
targets: [{ endpoint: this.endpoint.number, cluster: WebRtcTransportRequestor.id }],
|
|
88
|
+
},
|
|
89
|
+
];
|
|
90
|
+
await node.setStateOf(AccessControlServer, { acl });
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Register or update a WebRTC session you have initiated with a peer. A session must be registered before the peer's
|
|
97
|
+
* signaling commands for the matching session id are accepted, and registration populates the `currentSessions`
|
|
98
|
+
* attribute. Re-registering an existing id replaces the entry.
|
|
99
|
+
*/
|
|
100
|
+
upsertSession(session: WebRtcSession): void {
|
|
101
|
+
const enriched: WebRtcSession = {
|
|
102
|
+
...session,
|
|
103
|
+
videoStreamId: session.videoStreams?.[0] ?? null,
|
|
104
|
+
audioStreamId: session.audioStreams?.[0] ?? null,
|
|
105
|
+
};
|
|
106
|
+
const sessions = this.state.currentSessions;
|
|
107
|
+
const idx = sessions.findIndex(s => s.id === session.id);
|
|
108
|
+
if (idx === -1) {
|
|
109
|
+
this.state.currentSessions = [...sessions, enriched];
|
|
110
|
+
} else {
|
|
111
|
+
this.state.currentSessions = sessions.map((s, i) => (i === idx ? enriched : s));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** Stop tracking a session, e.g. after you tear down the stream locally. No-op if the id is unknown. */
|
|
116
|
+
removeSession(id: number): void {
|
|
117
|
+
const sessions = this.state.currentSessions;
|
|
118
|
+
if (sessions.some(s => s.id === id)) {
|
|
119
|
+
this.state.currentSessions = sessions.filter(s => s.id !== id);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Invoked by the peer to deliver an SDP offer. Surfaces it via the {@link WebRtcTransportRequestorServer.Events}
|
|
125
|
+
* `offer` event.
|
|
126
|
+
*/
|
|
127
|
+
override async offer(request: WebRtcTransportRequestor.OfferRequest): Promise<void> {
|
|
128
|
+
logger.debug(`incoming Offer webRtcSessionId=${request.webRtcSessionId} sdpLen=${request.sdp.length}`);
|
|
129
|
+
const session = this.#findSessionStrict(request.webRtcSessionId);
|
|
130
|
+
this.events.offer.emit(session, request);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Invoked by the peer to deliver an SDP answer. Surfaces it via the {@link WebRtcTransportRequestorServer.Events}
|
|
135
|
+
* `answer` event.
|
|
136
|
+
*/
|
|
137
|
+
override async answer(request: WebRtcTransportRequestor.AnswerRequest): Promise<void> {
|
|
138
|
+
logger.debug(`incoming Answer webRtcSessionId=${request.webRtcSessionId} sdpLen=${request.sdp.length}`);
|
|
139
|
+
const session = this.#findSessionStrict(request.webRtcSessionId);
|
|
140
|
+
this.events.answer.emit(session, request.sdp);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** Invoked by the peer to deliver ICE candidates. Surfaces them via the {@link WebRtcTransportRequestorServer.Events}
|
|
144
|
+
* `iceCandidates` event.
|
|
145
|
+
*/
|
|
146
|
+
override async iceCandidates(request: WebRtcTransportRequestor.IceCandidatesRequest): Promise<void> {
|
|
147
|
+
logger.debug(
|
|
148
|
+
`incoming ICECandidates webRtcSessionId=${request.webRtcSessionId} count=${request.iceCandidates.length}`,
|
|
149
|
+
);
|
|
150
|
+
if (request.iceCandidates.length === 0) {
|
|
151
|
+
throw new StatusResponseError("ICE candidates list must not be empty", Status.InvalidCommand);
|
|
152
|
+
}
|
|
153
|
+
const session = this.#findSessionStrict(request.webRtcSessionId);
|
|
154
|
+
this.events.iceCandidates.emit(session, request.iceCandidates);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/** Invoked by the peer to end a session. Removes it from tracking and surfaces it via the
|
|
158
|
+
* {@link WebRtcTransportRequestorServer.Events} `end` event.
|
|
159
|
+
*/
|
|
160
|
+
override async end(request: WebRtcTransportRequestor.EndRequest): Promise<void> {
|
|
161
|
+
logger.debug(`incoming End webRtcSessionId=${request.webRtcSessionId} reason=${request.reason}`);
|
|
162
|
+
const session = this.#findSessionStrict(request.webRtcSessionId);
|
|
163
|
+
this.removeSession(request.webRtcSessionId);
|
|
164
|
+
this.events.end.emit(session, request.reason);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
#findSessionStrict(id: number): WebRtcSession {
|
|
168
|
+
assertRemoteActor(this.context);
|
|
169
|
+
NodeSession.assert(this.context.session);
|
|
170
|
+
const peer = this.context.session.peerAddress;
|
|
171
|
+
const session = this.state.currentSessions.find(s => s.id === id);
|
|
172
|
+
if (session === undefined || session.fabricIndex !== peer.fabricIndex || session.peerNodeId !== peer.nodeId) {
|
|
173
|
+
throw new StatusResponseError(`WebRTC session ${id} not found`, Status.NotFound);
|
|
174
|
+
}
|
|
175
|
+
return session;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export namespace WebRtcTransportRequestorServer {
|
|
180
|
+
/** Transport-signaling events the peer triggers; subscribe to these to drive your WebRTC peer connection. */
|
|
181
|
+
export class Events extends WebRtcTransportRequestorBehavior.Events {
|
|
182
|
+
/** Peer sent an SDP offer for a tracked session; apply it to your peer connection. */
|
|
183
|
+
offer = Observable<[session: WebRtcSession, args: WebRtcTransportRequestor.OfferRequest]>();
|
|
184
|
+
|
|
185
|
+
/** Peer sent an SDP answer for a tracked session. */
|
|
186
|
+
answer = Observable<[session: WebRtcSession, sdp: string]>();
|
|
187
|
+
|
|
188
|
+
/** Peer sent ICE candidates for a tracked session; add them to your peer connection. */
|
|
189
|
+
iceCandidates = Observable<[session: WebRtcSession, candidates: WebRtcTransportDefinitions.IceCandidate[]]>();
|
|
190
|
+
|
|
191
|
+
/** Peer ended a session; the session is already removed from tracking when this fires. */
|
|
192
|
+
end = Observable<[session: WebRtcSession, reason: WebRtcTransportDefinitions.WebRtcEndReason]>();
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -26,7 +26,7 @@ import { Identity } from "@matter/general";
|
|
|
26
26
|
* It is a device that has a fan to control the air speed while it is operating. Optionally, it can report on the
|
|
27
27
|
* condition of its filters.
|
|
28
28
|
*
|
|
29
|
-
* @see {@link MatterSpecification.
|
|
29
|
+
* @see {@link MatterSpecification.v16.Device} § 9.3
|
|
30
30
|
*/
|
|
31
31
|
export interface AirPurifierDevice extends Identity<typeof AirPurifierDeviceDefinition> {}
|
|
32
32
|
|
|
@@ -54,7 +54,7 @@ import { Identity } from "@matter/general";
|
|
|
54
54
|
* An air quality sensor is a device designed to monitor and measure various parameters related to the quality of
|
|
55
55
|
* ambient air in indoor or outdoor environments.
|
|
56
56
|
*
|
|
57
|
-
* @see {@link MatterSpecification.
|
|
57
|
+
* @see {@link MatterSpecification.v16.Device} § 7.10
|
|
58
58
|
*/
|
|
59
59
|
export interface AirQualitySensorDevice extends Identity<typeof AirQualitySensorDeviceDefinition> {}
|
|
60
60
|
|
|
@@ -38,7 +38,7 @@ import { Identity } from "@matter/general";
|
|
|
38
38
|
* AudioDoorbellDevice requires Switch and CameraAvStreamManagement clusters but they are not added by default because
|
|
39
39
|
* you must select the features your device supports. You can add manually using AudioDoorbellDevice.with().
|
|
40
40
|
*
|
|
41
|
-
* @see {@link MatterSpecification.
|
|
41
|
+
* @see {@link MatterSpecification.v16.Device} § 16.5
|
|
42
42
|
*/
|
|
43
43
|
export interface AudioDoorbellDevice extends Identity<typeof AudioDoorbellDeviceDefinition> {}
|
|
44
44
|
|
|
@@ -37,7 +37,7 @@ import { Identity } from "@matter/general";
|
|
|
37
37
|
* See Section 10.1, "Video Player Architecture" for additional Basic Video Player requirements relating to Video Player
|
|
38
38
|
* device endpoint composition, commissioning, feature representation in clusters, and UI context.
|
|
39
39
|
*
|
|
40
|
-
* @see {@link MatterSpecification.
|
|
40
|
+
* @see {@link MatterSpecification.v16.Device} § 10.2
|
|
41
41
|
*/
|
|
42
42
|
export interface BasicVideoPlayerDevice extends Identity<typeof BasicVideoPlayerDeviceDefinition> {}
|
|
43
43
|
|
|
@@ -18,7 +18,7 @@ import { Identity } from "@matter/general";
|
|
|
18
18
|
* energy consumed in premises. It is not intended to be used for a UPS directly supplying a set of appliances, nor for
|
|
19
19
|
* portable battery storage devices.
|
|
20
20
|
*
|
|
21
|
-
* @see {@link MatterSpecification.
|
|
21
|
+
* @see {@link MatterSpecification.v16.Device} § 14.4
|
|
22
22
|
*/
|
|
23
23
|
export interface BatteryStorageDevice extends Identity<typeof BatteryStorageDeviceDefinition> {}
|
|
24
24
|
|
|
@@ -40,7 +40,7 @@ import { Identity } from "@matter/general";
|
|
|
40
40
|
/**
|
|
41
41
|
* A Camera controller device is a device that provides interfaces for controlling and managing camera devices.
|
|
42
42
|
*
|
|
43
|
-
* @see {@link MatterSpecification.
|
|
43
|
+
* @see {@link MatterSpecification.v16.Device} § 16.8
|
|
44
44
|
*/
|
|
45
45
|
export interface CameraControllerDevice extends Identity<typeof CameraControllerDeviceDefinition> {}
|
|
46
46
|
|
package/src/devices/camera.ts
CHANGED
|
@@ -43,7 +43,7 @@ import { Identity } from "@matter/general";
|
|
|
43
43
|
* CameraDevice requires CameraAvStreamManagement cluster but CameraAvStreamManagement is not added by default because
|
|
44
44
|
* you must select the features your device supports. You can add manually using CameraDevice.with().
|
|
45
45
|
*
|
|
46
|
-
* @see {@link MatterSpecification.
|
|
46
|
+
* @see {@link MatterSpecification.v16.Device} § 16.1
|
|
47
47
|
*/
|
|
48
48
|
export interface CameraDevice extends Identity<typeof CameraDeviceDefinition> {}
|
|
49
49
|
|
|
@@ -39,7 +39,7 @@ import { Identity } from "@matter/general";
|
|
|
39
39
|
* A Casting Video Client is a client that can launch content on a Casting Video Player, for example, a Smart Speaker or
|
|
40
40
|
* a Content Provider phone app.
|
|
41
41
|
*
|
|
42
|
-
* @see {@link MatterSpecification.
|
|
42
|
+
* @see {@link MatterSpecification.v16.Device} § 10.6
|
|
43
43
|
*/
|
|
44
44
|
export interface CastingVideoClientDevice extends Identity<typeof CastingVideoClientDeviceDefinition> {}
|
|
45
45
|
|
|
@@ -41,7 +41,7 @@ import { Identity } from "@matter/general";
|
|
|
41
41
|
* See Section 10.1, "Video Player Architecture" for additional Casting Video Player requirements relating to Video
|
|
42
42
|
* Player device endpoint composition, commissioning, feature representation in clusters, and UI context.
|
|
43
43
|
*
|
|
44
|
-
* @see {@link MatterSpecification.
|
|
44
|
+
* @see {@link MatterSpecification.v16.Device} § 10.3
|
|
45
45
|
*/
|
|
46
46
|
export interface CastingVideoPlayerDevice extends Identity<typeof CastingVideoPlayerDeviceDefinition> {}
|
|
47
47
|
|
package/src/devices/chime.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { Identity } from "@matter/general";
|
|
|
16
16
|
* A Chime device is a device which can play from a range of pre installed sounds and is typically used with a Doorbell,
|
|
17
17
|
* Audio Doorbell, or Video Doorbell.
|
|
18
18
|
*
|
|
19
|
-
* @see {@link MatterSpecification.
|
|
19
|
+
* @see {@link MatterSpecification.v16.Device} § 16.7
|
|
20
20
|
*/
|
|
21
21
|
export interface ChimeDevice extends Identity<typeof ChimeDeviceDefinition> {}
|
|
22
22
|
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
import { ClosureControlClient as BaseClosureControlClient } from "../behaviors/closure-control/ClosureControlClient.js";
|
|
10
10
|
import { IdentifyClient as BaseIdentifyClient } from "../behaviors/identify/IdentifyClient.js";
|
|
11
|
-
import { GroupsClient as BaseGroupsClient } from "../behaviors/groups/GroupsClient.js";
|
|
12
11
|
import {
|
|
13
12
|
ClosureDimensionClient as BaseClosureDimensionClient
|
|
14
13
|
} from "../behaviors/closure-dimension/ClosureDimensionClient.js";
|
|
@@ -19,7 +18,7 @@ import { Identity } from "@matter/general";
|
|
|
19
18
|
/**
|
|
20
19
|
* A Closure Controller is capable of controlling a Closure.
|
|
21
20
|
*
|
|
22
|
-
* @see {@link MatterSpecification.
|
|
21
|
+
* @see {@link MatterSpecification.v16.Device} § 8.7
|
|
23
22
|
*/
|
|
24
23
|
export interface ClosureControllerDevice extends Identity<typeof ClosureControllerDeviceDefinition> {}
|
|
25
24
|
|
|
@@ -38,13 +37,6 @@ export namespace ClosureControllerRequirements {
|
|
|
38
37
|
*/
|
|
39
38
|
export const IdentifyClient = BaseIdentifyClient;
|
|
40
39
|
|
|
41
|
-
/**
|
|
42
|
-
* The Groups cluster is optional per the Matter specification.
|
|
43
|
-
*
|
|
44
|
-
* We provide this alias to the default implementation {@link GroupsClient} for convenience.
|
|
45
|
-
*/
|
|
46
|
-
export const GroupsClient = BaseGroupsClient;
|
|
47
|
-
|
|
48
40
|
/**
|
|
49
41
|
* The ClosureDimension cluster is optional per the Matter specification.
|
|
50
42
|
*
|
|
@@ -57,7 +49,7 @@ export namespace ClosureControllerRequirements {
|
|
|
57
49
|
*/
|
|
58
50
|
export const client = {
|
|
59
51
|
mandatory: { ClosureControl: ClosureControlClient },
|
|
60
|
-
optional: { Identify: IdentifyClient,
|
|
52
|
+
optional: { Identify: IdentifyClient, ClosureDimension: ClosureDimensionClient }
|
|
61
53
|
};
|
|
62
54
|
}
|
|
63
55
|
|
|
@@ -31,7 +31,7 @@ import { Identity } from "@matter/general";
|
|
|
31
31
|
* ClosurePanelDevice requires ClosureDimension cluster but ClosureDimension is not added by default because you must
|
|
32
32
|
* select the features your device supports. You can add manually using ClosurePanelDevice.with().
|
|
33
33
|
*
|
|
34
|
-
* @see {@link MatterSpecification.
|
|
34
|
+
* @see {@link MatterSpecification.v16.Device} § 8.6
|
|
35
35
|
*/
|
|
36
36
|
export interface ClosurePanelDevice extends Identity<typeof ClosurePanelDeviceDefinition> {}
|
|
37
37
|
|
package/src/devices/closure.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { Identity } from "@matter/general";
|
|
|
23
23
|
* ClosureDevice requires ClosureControl cluster but ClosureControl is not added by default because you must select the
|
|
24
24
|
* features your device supports. You can add manually using ClosureDevice.with().
|
|
25
25
|
*
|
|
26
|
-
* @see {@link MatterSpecification.
|
|
26
|
+
* @see {@link MatterSpecification.v16.Device} § 8.5
|
|
27
27
|
*/
|
|
28
28
|
export interface ClosureDevice extends Identity<typeof ClosureDeviceDefinition> {}
|
|
29
29
|
|
|
@@ -23,7 +23,7 @@ import { Identity } from "@matter/general";
|
|
|
23
23
|
* A Color Dimmer Switch is a controller device that, when bound to a lighting device such as an Extended Color Light,
|
|
24
24
|
* is capable of being used to adjust the color of the light being emitted.
|
|
25
25
|
*
|
|
26
|
-
* @see {@link MatterSpecification.
|
|
26
|
+
* @see {@link MatterSpecification.v16.Device} § 6.3
|
|
27
27
|
*/
|
|
28
28
|
export interface ColorDimmerSwitchDevice extends Identity<typeof ColorDimmerSwitchDeviceDefinition> {}
|
|
29
29
|
|
|
@@ -26,7 +26,7 @@ import { Identity } from "@matter/general";
|
|
|
26
26
|
* light adjusted, and its color temperature adjusted by means of a bound controller device such as a Color Dimmer
|
|
27
27
|
* Switch.
|
|
28
28
|
*
|
|
29
|
-
* @see {@link MatterSpecification.
|
|
29
|
+
* @see {@link MatterSpecification.v16.Device} § 4.3
|
|
30
30
|
*/
|
|
31
31
|
export interface ColorTemperatureLightDevice extends Identity<typeof ColorTemperatureLightDeviceDefinition> {}
|
|
32
32
|
|
|
@@ -18,7 +18,7 @@ import { Identity } from "@matter/general";
|
|
|
18
18
|
/**
|
|
19
19
|
* This defines conformance to the Contact Sensor device type.
|
|
20
20
|
*
|
|
21
|
-
* @see {@link MatterSpecification.
|
|
21
|
+
* @see {@link MatterSpecification.v16.Device} § 7.1
|
|
22
22
|
*/
|
|
23
23
|
export interface ContactSensorDevice extends Identity<typeof ContactSensorDeviceDefinition> {}
|
|
24
24
|
|