@matter/node 0.17.4 → 0.17.5-alpha.0-20260704-9ea70abfa
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
|
@@ -19,6 +19,9 @@ import { OvenModeServer as BaseOvenModeServer } from "../behaviors/oven-mode/Ove
|
|
|
19
19
|
import {
|
|
20
20
|
OvenCavityOperationalStateServer as BaseOvenCavityOperationalStateServer
|
|
21
21
|
} from "../behaviors/oven-cavity-operational-state/OvenCavityOperationalStateServer.js";
|
|
22
|
+
import {
|
|
23
|
+
TemperatureAlarmServer as BaseTemperatureAlarmServer
|
|
24
|
+
} from "../behaviors/temperature-alarm/TemperatureAlarmServer.js";
|
|
22
25
|
import { MutableEndpoint } from "../endpoint/type/MutableEndpoint.js";
|
|
23
26
|
import { SupportedBehaviors } from "../endpoint/properties/SupportedBehaviors.js";
|
|
24
27
|
import { Identity } from "@matter/general";
|
|
@@ -33,7 +36,7 @@ import { Identity } from "@matter/general";
|
|
|
33
36
|
* because you must select the features your device supports. You can add manually using
|
|
34
37
|
* TemperatureControlledCabinetDevice.with().
|
|
35
38
|
*
|
|
36
|
-
* @see {@link MatterSpecification.
|
|
39
|
+
* @see {@link MatterSpecification.v16.Device} § 13.4
|
|
37
40
|
*/
|
|
38
41
|
export interface TemperatureControlledCabinetDevice extends Identity<typeof TemperatureControlledCabinetDeviceDefinition> {}
|
|
39
42
|
|
|
@@ -75,6 +78,13 @@ export namespace TemperatureControlledCabinetRequirements {
|
|
|
75
78
|
export const OvenCavityOperationalStateServer = BaseOvenCavityOperationalStateServer
|
|
76
79
|
.alter({ events: { operationCompletion: { optional: false } } });
|
|
77
80
|
|
|
81
|
+
/**
|
|
82
|
+
* The TemperatureAlarm cluster is optional per the Matter specification.
|
|
83
|
+
*
|
|
84
|
+
* We provide this alias to the default implementation {@link TemperatureAlarmServer} for convenience.
|
|
85
|
+
*/
|
|
86
|
+
export const TemperatureAlarmServer = BaseTemperatureAlarmServer;
|
|
87
|
+
|
|
78
88
|
/**
|
|
79
89
|
* An implementation for each server cluster supported by the endpoint per the Matter specification.
|
|
80
90
|
*/
|
|
@@ -85,7 +95,8 @@ export namespace TemperatureControlledCabinetRequirements {
|
|
|
85
95
|
TemperatureMeasurement: TemperatureMeasurementServer,
|
|
86
96
|
RefrigeratorAndTemperatureControlledCabinetMode: RefrigeratorAndTemperatureControlledCabinetModeServer,
|
|
87
97
|
OvenMode: OvenModeServer,
|
|
88
|
-
OvenCavityOperationalState: OvenCavityOperationalStateServer
|
|
98
|
+
OvenCavityOperationalState: OvenCavityOperationalStateServer,
|
|
99
|
+
TemperatureAlarm: TemperatureAlarmServer
|
|
89
100
|
}
|
|
90
101
|
};
|
|
91
102
|
}
|
|
@@ -93,7 +104,7 @@ export namespace TemperatureControlledCabinetRequirements {
|
|
|
93
104
|
export const TemperatureControlledCabinetDeviceDefinition = MutableEndpoint({
|
|
94
105
|
name: "TemperatureControlledCabinet",
|
|
95
106
|
deviceType: 0x71,
|
|
96
|
-
deviceRevision:
|
|
107
|
+
deviceRevision: 6,
|
|
97
108
|
requirements: TemperatureControlledCabinetRequirements,
|
|
98
109
|
behaviors: SupportedBehaviors()
|
|
99
110
|
});
|
|
@@ -20,7 +20,7 @@ import { Identity } from "@matter/general";
|
|
|
20
20
|
/**
|
|
21
21
|
* A Temperature Sensor device reports measurements of temperature.
|
|
22
22
|
*
|
|
23
|
-
* @see {@link MatterSpecification.
|
|
23
|
+
* @see {@link MatterSpecification.v16.Device} § 7.4
|
|
24
24
|
*/
|
|
25
25
|
export interface TemperatureSensorDevice extends Identity<typeof TemperatureSensorDeviceDefinition> {}
|
|
26
26
|
|
|
@@ -19,7 +19,7 @@ import { Identity } from "@matter/general";
|
|
|
19
19
|
/**
|
|
20
20
|
* A Thermostat Controller is a device capable of controlling a Thermostat.
|
|
21
21
|
*
|
|
22
|
-
* @see {@link MatterSpecification.
|
|
22
|
+
* @see {@link MatterSpecification.v16.Device} § 9.4
|
|
23
23
|
*/
|
|
24
24
|
export interface ThermostatControllerDevice extends Identity<typeof ThermostatControllerDeviceDefinition> {}
|
|
25
25
|
|
|
@@ -25,6 +25,9 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
OccupancySensingClient as BaseOccupancySensingClient
|
|
27
27
|
} from "../behaviors/occupancy-sensing/OccupancySensingClient.js";
|
|
28
|
+
import {
|
|
29
|
+
AmbientContextSensingClient as BaseAmbientContextSensingClient
|
|
30
|
+
} from "../behaviors/ambient-context-sensing/AmbientContextSensingClient.js";
|
|
28
31
|
import { MutableEndpoint } from "../endpoint/type/MutableEndpoint.js";
|
|
29
32
|
import { SupportedBehaviors } from "../endpoint/properties/SupportedBehaviors.js";
|
|
30
33
|
import { Identity } from "@matter/general";
|
|
@@ -38,7 +41,7 @@ import { Identity } from "@matter/general";
|
|
|
38
41
|
* ThermostatDevice requires Thermostat cluster but Thermostat is not added by default because you must select the
|
|
39
42
|
* features your device supports. You can add manually using ThermostatDevice.with().
|
|
40
43
|
*
|
|
41
|
-
* @see {@link MatterSpecification.
|
|
44
|
+
* @see {@link MatterSpecification.v16.Device} § 9.1
|
|
42
45
|
*/
|
|
43
46
|
export interface ThermostatDevice extends Identity<typeof ThermostatDeviceDefinition> {}
|
|
44
47
|
|
|
@@ -107,6 +110,13 @@ export namespace ThermostatRequirements {
|
|
|
107
110
|
*/
|
|
108
111
|
export const OccupancySensingClient = BaseOccupancySensingClient;
|
|
109
112
|
|
|
113
|
+
/**
|
|
114
|
+
* The AmbientContextSensing cluster is optional per the Matter specification.
|
|
115
|
+
*
|
|
116
|
+
* We provide this alias to the default implementation {@link AmbientContextSensingClient} for convenience.
|
|
117
|
+
*/
|
|
118
|
+
export const AmbientContextSensingClient = BaseAmbientContextSensingClient;
|
|
119
|
+
|
|
110
120
|
/**
|
|
111
121
|
* An implementation for each server cluster supported by the endpoint per the Matter specification.
|
|
112
122
|
*/
|
|
@@ -127,7 +137,8 @@ export namespace ThermostatRequirements {
|
|
|
127
137
|
FanControl: FanControlClient,
|
|
128
138
|
TemperatureMeasurement: TemperatureMeasurementClient,
|
|
129
139
|
RelativeHumidityMeasurement: RelativeHumidityMeasurementClient,
|
|
130
|
-
OccupancySensing: OccupancySensingClient
|
|
140
|
+
OccupancySensing: OccupancySensingClient,
|
|
141
|
+
AmbientContextSensing: AmbientContextSensingClient
|
|
131
142
|
},
|
|
132
143
|
|
|
133
144
|
mandatory: {}
|
|
@@ -137,7 +148,7 @@ export namespace ThermostatRequirements {
|
|
|
137
148
|
export const ThermostatDeviceDefinition = MutableEndpoint({
|
|
138
149
|
name: "Thermostat",
|
|
139
150
|
deviceType: 0x301,
|
|
140
|
-
deviceRevision:
|
|
151
|
+
deviceRevision: 6,
|
|
141
152
|
requirements: ThermostatRequirements,
|
|
142
153
|
behaviors: SupportedBehaviors(ThermostatRequirements.server.mandatory.Identify)
|
|
143
154
|
});
|
|
@@ -29,7 +29,7 @@ import { Identity } from "@matter/general";
|
|
|
29
29
|
* The necessary hardware and software prerequisites are detailed within the clusters that are mandated by this device
|
|
30
30
|
* type.
|
|
31
31
|
*
|
|
32
|
-
* @see {@link MatterSpecification.
|
|
32
|
+
* @see {@link MatterSpecification.v16.Device} § 15.4
|
|
33
33
|
*/
|
|
34
34
|
export interface ThreadBorderRouterDevice extends Identity<typeof ThreadBorderRouterDeviceDefinition> {}
|
|
35
35
|
|
|
@@ -14,7 +14,7 @@ import { Identity } from "@matter/general";
|
|
|
14
14
|
* A Video Doorbell device is a composite device which combines a camera and a switch to provide a doorbell with Video
|
|
15
15
|
* and Audio streaming.
|
|
16
16
|
*
|
|
17
|
-
* @see {@link MatterSpecification.
|
|
17
|
+
* @see {@link MatterSpecification.v16.Device} § 16.3
|
|
18
18
|
*/
|
|
19
19
|
export interface VideoDoorbellDevice extends Identity<typeof VideoDoorbellDeviceDefinition> {}
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ import { Identity } from "@matter/general";
|
|
|
32
32
|
* A Video Remote Control is a client that can control a Video Player, for example, a traditional universal remote
|
|
33
33
|
* control.
|
|
34
34
|
*
|
|
35
|
-
* @see {@link MatterSpecification.
|
|
35
|
+
* @see {@link MatterSpecification.v16.Device} § 10.7
|
|
36
36
|
*/
|
|
37
37
|
export interface VideoRemoteControlDevice extends Identity<typeof VideoRemoteControlDeviceDefinition> {}
|
|
38
38
|
|
|
@@ -18,7 +18,7 @@ import { Identity } from "@matter/general";
|
|
|
18
18
|
/**
|
|
19
19
|
* This defines conformance to the Water Freeze Detector device type.
|
|
20
20
|
*
|
|
21
|
-
* @see {@link MatterSpecification.
|
|
21
|
+
* @see {@link MatterSpecification.v16.Device} § 7.11
|
|
22
22
|
*/
|
|
23
23
|
export interface WaterFreezeDetectorDevice extends Identity<typeof WaterFreezeDetectorDeviceDefinition> {}
|
|
24
24
|
|
|
@@ -56,7 +56,7 @@ export namespace WaterFreezeDetectorRequirements {
|
|
|
56
56
|
export const WaterFreezeDetectorDeviceDefinition = MutableEndpoint({
|
|
57
57
|
name: "WaterFreezeDetector",
|
|
58
58
|
deviceType: 0x41,
|
|
59
|
-
deviceRevision:
|
|
59
|
+
deviceRevision: 2,
|
|
60
60
|
requirements: WaterFreezeDetectorRequirements,
|
|
61
61
|
behaviors: SupportedBehaviors(
|
|
62
62
|
WaterFreezeDetectorRequirements.server.mandatory.Identify,
|
|
@@ -24,7 +24,7 @@ import { Identity } from "@matter/general";
|
|
|
24
24
|
* WaterHeaterDevice requires Thermostat cluster but Thermostat is not added by default because you must select the
|
|
25
25
|
* features your device supports. You can add manually using WaterHeaterDevice.with().
|
|
26
26
|
*
|
|
27
|
-
* @see {@link MatterSpecification.
|
|
27
|
+
* @see {@link MatterSpecification.v16.Device} § 14.2
|
|
28
28
|
*/
|
|
29
29
|
export interface WaterHeaterDevice extends Identity<typeof WaterHeaterDeviceDefinition> {}
|
|
30
30
|
|
|
@@ -18,7 +18,7 @@ import { Identity } from "@matter/general";
|
|
|
18
18
|
/**
|
|
19
19
|
* This defines conformance to the Water Leak Detector device type.
|
|
20
20
|
*
|
|
21
|
-
* @see {@link MatterSpecification.
|
|
21
|
+
* @see {@link MatterSpecification.v16.Device} § 7.12
|
|
22
22
|
*/
|
|
23
23
|
export interface WaterLeakDetectorDevice extends Identity<typeof WaterLeakDetectorDeviceDefinition> {}
|
|
24
24
|
|
|
@@ -56,7 +56,7 @@ export namespace WaterLeakDetectorRequirements {
|
|
|
56
56
|
export const WaterLeakDetectorDeviceDefinition = MutableEndpoint({
|
|
57
57
|
name: "WaterLeakDetector",
|
|
58
58
|
deviceType: 0x43,
|
|
59
|
-
deviceRevision:
|
|
59
|
+
deviceRevision: 2,
|
|
60
60
|
requirements: WaterLeakDetectorRequirements,
|
|
61
61
|
behaviors: SupportedBehaviors(
|
|
62
62
|
WaterLeakDetectorRequirements.server.mandatory.Identify,
|
|
@@ -19,7 +19,7 @@ import { Identity } from "@matter/general";
|
|
|
19
19
|
/**
|
|
20
20
|
* This defines conformance to the Water Valve device type.
|
|
21
21
|
*
|
|
22
|
-
* @see {@link MatterSpecification.
|
|
22
|
+
* @see {@link MatterSpecification.v16.Device} § 5.6
|
|
23
23
|
*/
|
|
24
24
|
export interface WaterValveDevice extends Identity<typeof WaterValveDeviceDefinition> {}
|
|
25
25
|
|
|
@@ -17,7 +17,7 @@ import { Identity } from "@matter/general";
|
|
|
17
17
|
/**
|
|
18
18
|
* A Window Covering Controller is a device that controls an automatic window covering.
|
|
19
19
|
*
|
|
20
|
-
* @see {@link MatterSpecification.
|
|
20
|
+
* @see {@link MatterSpecification.v16.Device} § 8.4
|
|
21
21
|
*/
|
|
22
22
|
export interface WindowCoveringControllerDevice extends Identity<typeof WindowCoveringControllerDeviceDefinition> {}
|
|
23
23
|
|
|
@@ -19,7 +19,7 @@ import { Identity } from "@matter/general";
|
|
|
19
19
|
* WindowCoveringDevice requires WindowCovering cluster but WindowCovering is not added by default because you must
|
|
20
20
|
* select the features your device supports. You can add manually using WindowCoveringDevice.with().
|
|
21
21
|
*
|
|
22
|
-
* @see {@link MatterSpecification.
|
|
22
|
+
* @see {@link MatterSpecification.v16.Device} § 8.3
|
|
23
23
|
*/
|
|
24
24
|
export interface WindowCoveringDevice extends Identity<typeof WindowCoveringDeviceDefinition> {}
|
|
25
25
|
|
|
@@ -30,6 +30,7 @@ export class EndpointLifecycle {
|
|
|
30
30
|
this.emitError("changed", error),
|
|
31
31
|
);
|
|
32
32
|
#reset = AsyncObservable<[]>();
|
|
33
|
+
#configurationVersionChanged = Observable<[]>(error => this.emitError("configurationVersionChanged", error));
|
|
33
34
|
#queuedUpdates?: Array<EndpointLifecycle.Change>;
|
|
34
35
|
|
|
35
36
|
/**
|
|
@@ -88,6 +89,14 @@ export class EndpointLifecycle {
|
|
|
88
89
|
return this.#reset;
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Emitted when the endpoint's `ConfigurationVersion` changes — from `BasicInformation` on a node's root endpoint or
|
|
94
|
+
* `BridgedDeviceBasicInformation` on a bridged endpoint. Wired for client peers by {@link Peers}.
|
|
95
|
+
*/
|
|
96
|
+
get configurationVersionChanged() {
|
|
97
|
+
return this.#configurationVersionChanged;
|
|
98
|
+
}
|
|
99
|
+
|
|
91
100
|
/**
|
|
92
101
|
* Is the {@link Endpoint} installed in a {@link Node}?
|
|
93
102
|
*/
|
|
@@ -28,7 +28,7 @@ import { Identity } from "@matter/general";
|
|
|
28
28
|
* When using this device type as a collection of bridged nodes, please see the "Bridge" section in the System Model
|
|
29
29
|
* specification.
|
|
30
30
|
*
|
|
31
|
-
* @see {@link MatterSpecification.
|
|
31
|
+
* @see {@link MatterSpecification.v16.Device} § 11.2
|
|
32
32
|
*/
|
|
33
33
|
export interface AggregatorEndpoint extends Identity<typeof AggregatorEndpointDefinition> {}
|
|
34
34
|
|
|
@@ -31,7 +31,7 @@ import { Identity } from "@matter/general";
|
|
|
31
31
|
* describes itself and any other endpoints that make up the Bridged Node. A Bridged Node endpoint represents a device
|
|
32
32
|
* on a foreign network, but is not the root endpoint of the bridge itself.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link MatterSpecification.
|
|
34
|
+
* @see {@link MatterSpecification.v16.Device} § 2.5
|
|
35
35
|
*/
|
|
36
36
|
export interface BridgedNodeEndpoint extends Identity<typeof BridgedNodeEndpointDefinition> {}
|
|
37
37
|
|
|
@@ -28,7 +28,7 @@ import { Identity } from "@matter/general";
|
|
|
28
28
|
* default because you must select the features your device supports. You can add manually using
|
|
29
29
|
* DeviceEnergyManagementEndpoint.with().
|
|
30
30
|
*
|
|
31
|
-
* @see {@link MatterSpecification.
|
|
31
|
+
* @see {@link MatterSpecification.v16.Device} § 2.7
|
|
32
32
|
*/
|
|
33
33
|
export interface DeviceEnergyManagementEndpoint extends Identity<typeof DeviceEnergyManagementEndpointDefinition> {}
|
|
34
34
|
|
|
@@ -24,7 +24,7 @@ import { Identity } from "@matter/general";
|
|
|
24
24
|
* ElectricalSensorEndpoint requires PowerTopology cluster but PowerTopology is not added by default because you must
|
|
25
25
|
* select the features your device supports. You can add manually using ElectricalSensorEndpoint.with().
|
|
26
26
|
*
|
|
27
|
-
* @see {@link MatterSpecification.
|
|
27
|
+
* @see {@link MatterSpecification.v16.Device} § 2.6
|
|
28
28
|
*/
|
|
29
29
|
export interface ElectricalSensorEndpoint extends Identity<typeof ElectricalSensorEndpointDefinition> {}
|
|
30
30
|
|
|
@@ -25,7 +25,7 @@ import { Identity } from "@matter/general";
|
|
|
25
25
|
* (as specified in the Matter core specification) to be commissioned onto the Joint Fabric. Once commissioned, a client
|
|
26
26
|
* may access the capabilities of the Joint Fabric Administrator.
|
|
27
27
|
*
|
|
28
|
-
* @see {@link MatterSpecification.
|
|
28
|
+
* @see {@link MatterSpecification.v16.Device} § 2.9
|
|
29
29
|
*/
|
|
30
30
|
export interface JointFabricAdministratorEndpoint extends Identity<typeof JointFabricAdministratorEndpointDefinition> {}
|
|
31
31
|
|
|
@@ -20,7 +20,7 @@ import { Identity } from "@matter/general";
|
|
|
20
20
|
/**
|
|
21
21
|
* An OTA Provider is a node that is capable of providing an OTA software update to other nodes on the same fabric.
|
|
22
22
|
*
|
|
23
|
-
* @see {@link MatterSpecification.
|
|
23
|
+
* @see {@link MatterSpecification.v16.Device} § 2.4
|
|
24
24
|
*/
|
|
25
25
|
export interface OtaProviderEndpoint extends Identity<typeof OtaProviderEndpointDefinition> {}
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import { Identity } from "@matter/general";
|
|
|
20
20
|
/**
|
|
21
21
|
* An OTA Requestor is a device that is capable of receiving an OTA software update.
|
|
22
22
|
*
|
|
23
|
-
* @see {@link MatterSpecification.
|
|
23
|
+
* @see {@link MatterSpecification.v16.Device} § 2.3
|
|
24
24
|
*/
|
|
25
25
|
export interface OtaRequestorEndpoint extends Identity<typeof OtaRequestorEndpointDefinition> {}
|
|
26
26
|
|
|
@@ -18,7 +18,7 @@ import { Identity } from "@matter/general";
|
|
|
18
18
|
* PowerSourceEndpoint requires PowerSource cluster but PowerSource is not added by default because you must select the
|
|
19
19
|
* features your device supports. You can add manually using PowerSourceEndpoint.with().
|
|
20
20
|
*
|
|
21
|
-
* @see {@link MatterSpecification.
|
|
21
|
+
* @see {@link MatterSpecification.v16.Device} § 2.2
|
|
22
22
|
*/
|
|
23
23
|
export interface PowerSourceEndpoint extends Identity<typeof PowerSourceEndpointDefinition> {}
|
|
24
24
|
|
package/src/endpoints/root.ts
CHANGED
|
@@ -83,7 +83,7 @@ import { Identity } from "@matter/general";
|
|
|
83
83
|
*
|
|
84
84
|
* - Other device types with Node scope may be supported on the same endpoint as this device type.
|
|
85
85
|
*
|
|
86
|
-
* @see {@link MatterSpecification.
|
|
86
|
+
* @see {@link MatterSpecification.v16.Device} § 2.1
|
|
87
87
|
*/
|
|
88
88
|
export interface RootEndpoint extends Identity<typeof RootEndpointDefinition> {}
|
|
89
89
|
|
|
@@ -35,7 +35,7 @@ import { Identity } from "@matter/general";
|
|
|
35
35
|
* default because you must select the features your device supports. You can add manually using
|
|
36
36
|
* SecondaryNetworkInterfaceEndpoint.with().
|
|
37
37
|
*
|
|
38
|
-
* @see {@link MatterSpecification.
|
|
38
|
+
* @see {@link MatterSpecification.v16.Device} § 2.8
|
|
39
39
|
*/
|
|
40
40
|
export interface SecondaryNetworkInterfaceEndpoint extends Identity<typeof SecondaryNetworkInterfaceEndpointDefinition> {}
|
|
41
41
|
|
package/src/node/ServerNode.ts
CHANGED
|
@@ -210,7 +210,7 @@ export class ServerNode<T extends ServerNode.RootEndpoint = ServerNode.RootEndpo
|
|
|
210
210
|
* If this is inappropriate for your application, you may override to alter the behavior. Matter requires that all
|
|
211
211
|
* "security- and privacy-related data and key material" is removed on factory reset.
|
|
212
212
|
*
|
|
213
|
-
* @see {@link MatterSpecification.
|
|
213
|
+
* @see {@link MatterSpecification.v16.Core} § 13.4
|
|
214
214
|
*/
|
|
215
215
|
protected async resetStorage() {
|
|
216
216
|
await this.env.get(SessionManager).clear();
|
package/src/node/client/Peers.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { InstanceDiscovery } from "#behavior/system/controller/discovery/Instanc
|
|
|
15
15
|
import { PaseDiscovery } from "#behavior/system/controller/discovery/PaseDiscovery.js";
|
|
16
16
|
import { NetworkClient } from "#behavior/system/network/NetworkClient.js";
|
|
17
17
|
import { BasicInformationClient } from "#behaviors/basic-information";
|
|
18
|
+
import { BridgedDeviceBasicInformationClient } from "#behaviors/bridged-device-basic-information";
|
|
18
19
|
import { OperationalCredentialsClient } from "#behaviors/operational-credentials";
|
|
19
20
|
import { Endpoint } from "#endpoint/Endpoint.js";
|
|
20
21
|
import { EndpointContainer } from "#endpoint/properties/EndpointContainer.js";
|
|
@@ -85,6 +86,9 @@ export class Peers extends EndpointContainer<ClientNode> {
|
|
|
85
86
|
this.deleted.on(this.#manageExpiration.bind(this));
|
|
86
87
|
|
|
87
88
|
this.clusterInstalled(BasicInformationClient).on(this.#instrumentBasicInformation.bind(this));
|
|
89
|
+
this.clusterInstalled(BridgedDeviceBasicInformationClient).on(
|
|
90
|
+
this.#instrumentBridgedConfigurationVersion.bind(this),
|
|
91
|
+
);
|
|
88
92
|
|
|
89
93
|
const lifecycle = owner.lifecycle;
|
|
90
94
|
lifecycle.online.on(this.#nodeOnline.bind(this));
|
|
@@ -478,6 +482,17 @@ export class Peers extends EndpointContainer<ClientNode> {
|
|
|
478
482
|
node.eventsOf(type).leave?.on(({ fabricIndex }) => this.#onLeave(node, fabricIndex));
|
|
479
483
|
node.eventsOf(type).shutDown?.on(() => this.#onShutdown(node));
|
|
480
484
|
node.eventsOf(type).startUp?.on(() => this.#onStartUp(node));
|
|
485
|
+
node.eventsOf(type).configurationVersion$Changed?.on(() => node.lifecycle.configurationVersionChanged.emit());
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Bridged endpoints carry their own `ConfigurationVersion` on `BridgedDeviceBasicInformation`; surface its changes
|
|
490
|
+
* through the same endpoint lifecycle event used for the node's `BasicInformation`.
|
|
491
|
+
*/
|
|
492
|
+
#instrumentBridgedConfigurationVersion(endpoint: Endpoint, type: typeof BridgedDeviceBasicInformationClient) {
|
|
493
|
+
endpoint
|
|
494
|
+
.eventsOf(type)
|
|
495
|
+
.configurationVersion$Changed?.on(() => endpoint.lifecycle.configurationVersionChanged.emit());
|
|
481
496
|
}
|
|
482
497
|
|
|
483
498
|
#onLeave(node: ClientNode, fabricIndex: FabricIndex) {
|
|
@@ -464,7 +464,7 @@ function clusterTypeProtocolOf(backing: BehaviorBacking): ClusterTypeProtocol |
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
if (id & 0xffff0000) {
|
|
467
|
-
wildcardPathFlags |= WildcardPathFlags.
|
|
467
|
+
wildcardPathFlags |= WildcardPathFlags.skipCustomElements;
|
|
468
468
|
}
|
|
469
469
|
if (quality.fixed) {
|
|
470
470
|
wildcardPathFlags |= WildcardPathFlags.skipFixedAttributes;
|
|
@@ -21,7 +21,7 @@ export namespace AttributePath {
|
|
|
21
21
|
/**
|
|
22
22
|
* Addresses a collection (struct or list) within an attribute.
|
|
23
23
|
*
|
|
24
|
-
* @see {@link MatterSpecification.
|
|
24
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.2.2
|
|
25
25
|
*/
|
|
26
26
|
export type Nested = ({ field: FieldAddress } | { entry: EntryIndex })[];
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ export namespace AttributePath {
|
|
|
29
29
|
* Addresses attribute data for read operations. Note that if you specify the attribute you must also specify the
|
|
30
30
|
* cluster except for global attributes.
|
|
31
31
|
*
|
|
32
|
-
* @see {@link MatterSpecification.
|
|
32
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.2.1 & 8.9.2.6
|
|
33
33
|
*/
|
|
34
34
|
export type Read = BasePath.Read & {
|
|
35
35
|
attribute?: Address;
|
|
@@ -39,7 +39,7 @@ export namespace AttributePath {
|
|
|
39
39
|
/**
|
|
40
40
|
* Addresses attribute data for write operations.
|
|
41
41
|
*
|
|
42
|
-
* @see {@link MatterSpecification.
|
|
42
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.2.1 & 8.9.2.7
|
|
43
43
|
*/
|
|
44
44
|
export type Write = BasePath.Write & {
|
|
45
45
|
attribute: Address;
|
|
@@ -16,7 +16,7 @@ export namespace BasePath {
|
|
|
16
16
|
* Addresses clusters on a single node with optional endpoint and
|
|
17
17
|
* cluster wildcards.
|
|
18
18
|
*
|
|
19
|
-
* @see {@link MatterSpecification.
|
|
19
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.1.1
|
|
20
20
|
*/
|
|
21
21
|
export type Read = {
|
|
22
22
|
node: NodeId;
|
|
@@ -27,7 +27,7 @@ export namespace BasePath {
|
|
|
27
27
|
/**
|
|
28
28
|
* Addresses clusters in a group of nodes.
|
|
29
29
|
*
|
|
30
|
-
* @see {@link MatterSpecification.
|
|
30
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.1.1
|
|
31
31
|
*/
|
|
32
32
|
export type GroupWrite = {
|
|
33
33
|
group: GroupId;
|
|
@@ -37,7 +37,7 @@ export namespace BasePath {
|
|
|
37
37
|
/**
|
|
38
38
|
* Addresses clusters on a single node with endpoint wildcards.
|
|
39
39
|
*
|
|
40
|
-
* @see {@link MatterSpecification.
|
|
40
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.1.1
|
|
41
41
|
*/
|
|
42
42
|
export type NodeWrite = {
|
|
43
43
|
node: NodeId;
|
|
@@ -57,7 +57,7 @@ export namespace BasePath {
|
|
|
57
57
|
/**
|
|
58
58
|
* Addresses clusters on a node or group of nodes.
|
|
59
59
|
*
|
|
60
|
-
* @see {@link MatterSpecification.
|
|
60
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.1.1
|
|
61
61
|
*/
|
|
62
62
|
export type Write = GroupWrite | NodeWrite;
|
|
63
63
|
}
|
|
@@ -16,7 +16,7 @@ export namespace CommandPath {
|
|
|
16
16
|
/**
|
|
17
17
|
* Addresses a command for invocation.
|
|
18
18
|
*
|
|
19
|
-
* @see {@link MatterSpecification.
|
|
19
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.4.1
|
|
20
20
|
*/
|
|
21
21
|
export type Invoke = BasePath.Write & {
|
|
22
22
|
command: Address;
|
|
@@ -17,7 +17,7 @@ export namespace EventPath {
|
|
|
17
17
|
* Addresses event data for reads. Note that you can wildcard the
|
|
18
18
|
* event but if you specify an event you must also specify the cluster.
|
|
19
19
|
*
|
|
20
|
-
* @see {@link MatterSpecification.
|
|
20
|
+
* @see {@link MatterSpecification.v16.Core} § 8.9.3.2
|
|
21
21
|
*/
|
|
22
22
|
export type Read = BasePath.Read & {
|
|
23
23
|
urgent?: boolean;
|