@matter/types 0.13.0-alpha.0-20250304-d4a7592a4 → 0.13.0-alpha.0-20250311-3eb0af5f2
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/clusters/access-control.d.ts +3972 -522
- package/dist/cjs/clusters/access-control.d.ts.map +1 -1
- package/dist/cjs/clusters/access-control.js +640 -116
- package/dist/cjs/clusters/access-control.js.map +2 -2
- package/dist/cjs/clusters/actions.d.ts +10 -9
- package/dist/cjs/clusters/actions.d.ts.map +1 -1
- package/dist/cjs/clusters/actions.js +4 -4
- package/dist/cjs/clusters/actions.js.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.d.ts +156 -129
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.js +40 -35
- package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +9 -12
- package/dist/cjs/clusters/alarm-base.d.ts.map +1 -1
- package/dist/cjs/clusters/alarm-base.js +3 -4
- package/dist/cjs/clusters/alarm-base.js.map +1 -1
- package/dist/cjs/clusters/application-launcher.d.ts +27 -15
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/application-launcher.js +7 -4
- package/dist/cjs/clusters/application-launcher.js.map +1 -1
- package/dist/cjs/clusters/ballast-configuration.d.ts +7 -7
- package/dist/cjs/clusters/ballast-configuration.js +7 -7
- package/dist/cjs/clusters/basic-information.d.ts +29 -21
- package/dist/cjs/clusters/basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/basic-information.js +29 -21
- package/dist/cjs/clusters/basic-information.js.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +816 -34
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.js +182 -29
- package/dist/cjs/clusters/bridged-device-basic-information.js.map +2 -2
- package/dist/cjs/clusters/channel.d.ts +115 -124
- package/dist/cjs/clusters/channel.d.ts.map +1 -1
- package/dist/cjs/clusters/channel.js +15 -16
- package/dist/cjs/clusters/channel.js.map +1 -1
- package/dist/cjs/clusters/color-control.d.ts +3076 -1366
- package/dist/cjs/clusters/color-control.d.ts.map +1 -1
- package/dist/cjs/clusters/color-control.js +423 -357
- package/dist/cjs/clusters/color-control.js.map +2 -2
- package/dist/cjs/clusters/commissioner-control.d.ts +268 -0
- package/dist/cjs/clusters/commissioner-control.d.ts.map +1 -0
- package/dist/cjs/clusters/commissioner-control.js +194 -0
- package/dist/cjs/clusters/commissioner-control.js.map +6 -0
- package/dist/cjs/clusters/content-control.d.ts +497 -221
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +59 -41
- package/dist/cjs/clusters/content-control.js.map +2 -2
- package/dist/cjs/clusters/content-launcher.d.ts +248 -215
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +16 -15
- package/dist/cjs/clusters/content-launcher.js.map +1 -1
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +76 -333
- package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/device-energy-management-mode.js +26 -73
- package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/cjs/clusters/device-energy-management.d.ts +1299 -930
- package/dist/cjs/clusters/device-energy-management.d.ts.map +1 -1
- package/dist/cjs/clusters/device-energy-management.js +189 -160
- package/dist/cjs/clusters/device-energy-management.js.map +2 -2
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +14 -17
- package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.js +3 -4
- package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.d.ts +65 -105
- package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.js +12 -24
- package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
- package/dist/cjs/clusters/door-lock.d.ts +2751 -5427
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +480 -802
- package/dist/cjs/clusters/door-lock.js.map +2 -2
- package/dist/cjs/clusters/ecosystem-information.d.ts +186 -0
- package/dist/cjs/clusters/ecosystem-information.d.ts.map +1 -0
- package/dist/cjs/clusters/ecosystem-information.js +154 -0
- package/dist/cjs/clusters/ecosystem-information.js.map +6 -0
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +363 -368
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts.map +1 -1
- package/dist/cjs/clusters/electrical-energy-measurement.js +15 -16
- package/dist/cjs/clusters/electrical-energy-measurement.js.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.d.ts +92 -330
- package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.js +25 -72
- package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
- package/dist/cjs/clusters/energy-evse.d.ts +557 -273
- package/dist/cjs/clusters/energy-evse.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-evse.js +107 -55
- package/dist/cjs/clusters/energy-evse.js.map +1 -1
- package/dist/cjs/clusters/energy-preference.d.ts +76 -76
- package/dist/cjs/clusters/energy-preference.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-preference.js +15 -18
- package/dist/cjs/clusters/energy-preference.js.map +1 -1
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +3 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +1 -3
- package/dist/cjs/clusters/ethernet-network-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/fan-control.d.ts +12 -12
- package/dist/cjs/clusters/fan-control.js +4 -4
- package/dist/cjs/clusters/fixed-label.d.ts +7 -2
- package/dist/cjs/clusters/fixed-label.d.ts.map +1 -1
- package/dist/cjs/clusters/fixed-label.js.map +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +4 -4
- package/dist/cjs/clusters/flow-measurement.d.ts.map +1 -1
- package/dist/cjs/clusters/flow-measurement.js +6 -6
- package/dist/cjs/clusters/flow-measurement.js.map +1 -1
- package/dist/cjs/clusters/general-commissioning.d.ts +1416 -111
- package/dist/cjs/clusters/general-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/general-commissioning.js +272 -54
- package/dist/cjs/clusters/general-commissioning.js.map +2 -2
- package/dist/cjs/clusters/general-diagnostics.d.ts +115 -122
- package/dist/cjs/clusters/general-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/general-diagnostics.js +31 -33
- package/dist/cjs/clusters/general-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/group-key-management.d.ts +72 -82
- package/dist/cjs/clusters/group-key-management.d.ts.map +1 -1
- package/dist/cjs/clusters/group-key-management.js +19 -22
- package/dist/cjs/clusters/group-key-management.js.map +1 -1
- package/dist/cjs/clusters/groups.d.ts +9 -6
- package/dist/cjs/clusters/groups.d.ts.map +1 -1
- package/dist/cjs/clusters/groups.js +3 -2
- package/dist/cjs/clusters/groups.js.map +1 -1
- package/dist/cjs/clusters/icd-management.d.ts +223 -66
- package/dist/cjs/clusters/icd-management.d.ts.map +1 -1
- package/dist/cjs/clusters/icd-management.js +61 -23
- package/dist/cjs/clusters/icd-management.js.map +2 -2
- package/dist/cjs/clusters/identify.d.ts +12 -13
- package/dist/cjs/clusters/identify.d.ts.map +1 -1
- package/dist/cjs/clusters/identify.js +9 -10
- package/dist/cjs/clusters/identify.js.map +1 -1
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -8
- package/dist/cjs/clusters/illuminance-measurement.d.ts.map +1 -1
- package/dist/cjs/clusters/illuminance-measurement.js +9 -10
- package/dist/cjs/clusters/illuminance-measurement.js.map +1 -1
- package/dist/cjs/clusters/index.d.ts +11 -1
- package/dist/cjs/clusters/index.d.ts.map +1 -1
- package/dist/cjs/clusters/index.js +33 -3
- package/dist/cjs/clusters/index.js.map +1 -1
- package/dist/cjs/clusters/joint-fabric-datastore-cluster.d.ts +1239 -0
- package/dist/cjs/clusters/joint-fabric-datastore-cluster.d.ts.map +1 -0
- package/dist/cjs/clusters/joint-fabric-datastore-cluster.js +490 -0
- package/dist/cjs/clusters/joint-fabric-datastore-cluster.js.map +6 -0
- package/dist/cjs/clusters/joint-fabric-pki.d.ts +174 -0
- package/dist/cjs/clusters/joint-fabric-pki.d.ts.map +1 -0
- package/dist/cjs/clusters/joint-fabric-pki.js +120 -0
- package/dist/cjs/clusters/joint-fabric-pki.js.map +6 -0
- package/dist/cjs/clusters/keypad-input.d.ts +2 -2
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +6 -7
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts.map +1 -1
- package/dist/cjs/clusters/laundry-dryer-controls.js +5 -9
- package/dist/cjs/clusters/laundry-dryer-controls.js.map +1 -1
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +74 -62
- package/dist/cjs/clusters/laundry-washer-controls.d.ts.map +1 -1
- package/dist/cjs/clusters/laundry-washer-controls.js +26 -25
- package/dist/cjs/clusters/laundry-washer-controls.js.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +69 -109
- package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.js +13 -25
- package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/cjs/clusters/level-control.d.ts +209 -70
- package/dist/cjs/clusters/level-control.d.ts.map +1 -1
- package/dist/cjs/clusters/level-control.js +45 -12
- package/dist/cjs/clusters/level-control.js.map +1 -1
- package/dist/cjs/clusters/localization-configuration.d.ts +5 -6
- package/dist/cjs/clusters/localization-configuration.d.ts.map +1 -1
- package/dist/cjs/clusters/localization-configuration.js +5 -6
- package/dist/cjs/clusters/localization-configuration.js.map +1 -1
- package/dist/cjs/clusters/media-input.d.ts +9 -6
- package/dist/cjs/clusters/media-input.d.ts.map +1 -1
- package/dist/cjs/clusters/media-input.js +3 -2
- package/dist/cjs/clusters/media-input.js.map +1 -1
- package/dist/cjs/clusters/media-playback.d.ts +29 -24
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +5 -4
- package/dist/cjs/clusters/media-playback.js.map +1 -1
- package/dist/cjs/clusters/microwave-oven-control.d.ts +54 -48
- package/dist/cjs/clusters/microwave-oven-control.d.ts.map +1 -1
- package/dist/cjs/clusters/microwave-oven-control.js +19 -17
- package/dist/cjs/clusters/microwave-oven-control.js.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +63 -69
- package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.js +14 -11
- package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/cjs/clusters/mode-base.d.ts +27 -46
- package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
- package/dist/cjs/clusters/mode-base.js +9 -10
- package/dist/cjs/clusters/mode-base.js.map +1 -1
- package/dist/cjs/clusters/mode-select.d.ts +33 -27
- package/dist/cjs/clusters/mode-select.d.ts.map +1 -1
- package/dist/cjs/clusters/mode-select.js +14 -13
- package/dist/cjs/clusters/mode-select.js.map +1 -1
- package/dist/cjs/clusters/network-commissioning.d.ts +263 -240
- package/dist/cjs/clusters/network-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/network-commissioning.js +46 -39
- package/dist/cjs/clusters/network-commissioning.js.map +1 -1
- package/dist/cjs/clusters/occupancy-sensing.d.ts +1002 -63
- package/dist/cjs/clusters/occupancy-sensing.d.ts.map +1 -1
- package/dist/cjs/clusters/occupancy-sensing.js +278 -63
- package/dist/cjs/clusters/occupancy-sensing.js.map +2 -2
- package/dist/cjs/clusters/on-off.d.ts +18 -24
- package/dist/cjs/clusters/on-off.d.ts.map +1 -1
- package/dist/cjs/clusters/on-off.js +3 -4
- package/dist/cjs/clusters/on-off.js.map +1 -1
- package/dist/cjs/clusters/operational-credentials.d.ts +98 -85
- package/dist/cjs/clusters/operational-credentials.d.ts.map +1 -1
- package/dist/cjs/clusters/operational-credentials.js +56 -49
- package/dist/cjs/clusters/operational-credentials.js.map +1 -1
- package/dist/cjs/clusters/operational-state.d.ts +136 -57
- package/dist/cjs/clusters/operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/operational-state.js +62 -36
- package/dist/cjs/clusters/operational-state.js.map +2 -2
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +43 -42
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-provider.js +20 -19
- package/dist/cjs/clusters/ota-software-update-provider.js.map +1 -1
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +6 -10
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-requestor.js +4 -6
- package/dist/cjs/clusters/ota-software-update-requestor.js.map +1 -1
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +44 -154
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-cavity-operational-state.js +39 -156
- package/dist/cjs/clusters/oven-cavity-operational-state.js.map +1 -1
- package/dist/cjs/clusters/oven-mode.d.ts +79 -349
- package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-mode.js +26 -82
- package/dist/cjs/clusters/oven-mode.js.map +1 -1
- package/dist/cjs/clusters/power-source.d.ts +169 -44
- package/dist/cjs/clusters/power-source.d.ts.map +1 -1
- package/dist/cjs/clusters/power-source.js +40 -16
- package/dist/cjs/clusters/power-source.js.map +1 -1
- package/dist/cjs/clusters/pressure-measurement.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.js.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +73 -63
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js +19 -20
- package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +2 -1
- package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +59 -91
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +11 -19
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/cjs/clusters/relative-humidity-measurement.js +1 -1
- package/dist/cjs/clusters/relative-humidity-measurement.js.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +59 -103
- package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.js +11 -15
- package/dist/cjs/clusters/rvc-clean-mode.js.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.d.ts +81 -25
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.js +49 -20
- package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.d.ts +85 -129
- package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.js +16 -15
- package/dist/cjs/clusters/rvc-run-mode.js.map +1 -1
- package/dist/cjs/clusters/scenes-management.d.ts +328 -181
- package/dist/cjs/clusters/scenes-management.d.ts.map +1 -1
- package/dist/cjs/clusters/scenes-management.js +37 -22
- package/dist/cjs/clusters/scenes-management.js.map +1 -1
- package/dist/cjs/clusters/service-area.d.ts +2052 -0
- package/dist/cjs/clusters/service-area.d.ts.map +1 -0
- package/dist/cjs/clusters/service-area.js +582 -0
- package/dist/cjs/clusters/service-area.js.map +6 -0
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +10 -18
- package/dist/cjs/clusters/smoke-co-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/smoke-co-alarm.js +2 -3
- package/dist/cjs/clusters/smoke-co-alarm.js.map +1 -1
- package/dist/cjs/clusters/switch.d.ts +478 -191
- package/dist/cjs/clusters/switch.d.ts.map +1 -1
- package/dist/cjs/clusters/switch.js +145 -57
- package/dist/cjs/clusters/switch.js.map +1 -1
- package/dist/cjs/clusters/target-navigator.d.ts +1 -1
- package/dist/cjs/clusters/target-navigator.js +1 -1
- package/dist/cjs/clusters/thermostat.d.ts +3877 -830
- package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
- package/dist/cjs/clusters/thermostat.js +841 -159
- package/dist/cjs/clusters/thermostat.js.map +2 -2
- package/dist/cjs/clusters/thread-border-router-management.d.ts +711 -0
- package/dist/cjs/clusters/thread-border-router-management.d.ts.map +1 -0
- package/dist/cjs/clusters/thread-border-router-management.js +265 -0
- package/dist/cjs/clusters/thread-border-router-management.js.map +6 -0
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +81 -55
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/thread-network-diagnostics.js +32 -21
- package/dist/cjs/clusters/thread-network-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/thread-network-directory.d.ts +250 -0
- package/dist/cjs/clusters/thread-network-directory.d.ts.map +1 -0
- package/dist/cjs/clusters/thread-network-directory.js +187 -0
- package/dist/cjs/clusters/thread-network-directory.js.map +6 -0
- package/dist/cjs/clusters/time-synchronization.d.ts +101 -76
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +30 -23
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/unit-localization.d.ts +3 -4
- package/dist/cjs/clusters/unit-localization.d.ts.map +1 -1
- package/dist/cjs/clusters/unit-localization.js.map +1 -1
- package/dist/cjs/clusters/user-label.d.ts +2 -1
- package/dist/cjs/clusters/user-label.d.ts.map +1 -1
- package/dist/cjs/clusters/user-label.js.map +1 -1
- package/dist/cjs/clusters/water-heater-management.d.ts +1371 -0
- package/dist/cjs/clusters/water-heater-management.d.ts.map +1 -0
- package/dist/cjs/clusters/water-heater-management.js +336 -0
- package/dist/cjs/clusters/water-heater-management.js.map +6 -0
- package/dist/cjs/clusters/water-heater-mode.d.ts +491 -0
- package/dist/cjs/clusters/water-heater-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/water-heater-mode.js +195 -0
- package/dist/cjs/clusters/water-heater-mode.js.map +6 -0
- package/dist/cjs/clusters/water-tank-level-monitoring.d.ts +162 -0
- package/dist/cjs/clusters/water-tank-level-monitoring.d.ts.map +1 -0
- package/dist/cjs/clusters/water-tank-level-monitoring.js +47 -0
- package/dist/cjs/clusters/water-tank-level-monitoring.js.map +6 -0
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +20 -27
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +6 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +91 -0
- package/dist/cjs/clusters/wi-fi-network-management.d.ts.map +1 -0
- package/dist/cjs/clusters/wi-fi-network-management.js +122 -0
- package/dist/cjs/clusters/wi-fi-network-management.js.map +6 -0
- package/dist/cjs/clusters/window-covering.d.ts +66 -78
- package/dist/cjs/clusters/window-covering.d.ts.map +1 -1
- package/dist/cjs/clusters/window-covering.js +26 -37
- package/dist/cjs/clusters/window-covering.js.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +34 -0
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts.map +1 -0
- package/dist/cjs/globals/AtomicAttributeStatus.js +46 -0
- package/dist/cjs/globals/AtomicAttributeStatus.js.map +6 -0
- package/dist/cjs/globals/AtomicRequestType.d.ts +24 -0
- package/dist/cjs/globals/AtomicRequestType.d.ts.map +1 -0
- package/dist/cjs/globals/AtomicRequestType.js +35 -0
- package/dist/cjs/globals/AtomicRequestType.js.map +6 -0
- package/dist/cjs/globals/Locationdesc.d.ts +79 -0
- package/dist/cjs/globals/Locationdesc.d.ts.map +1 -0
- package/dist/cjs/globals/Locationdesc.js +89 -0
- package/dist/cjs/globals/Locationdesc.js.map +6 -0
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +18 -3
- package/dist/cjs/globals/Status.d.ts.map +1 -1
- package/dist/cjs/globals/Status.js +3 -1
- package/dist/cjs/globals/Status.js.map +1 -1
- package/dist/cjs/globals/Tod.d.ts +2 -2
- package/dist/cjs/globals/index.d.ts +3 -0
- package/dist/cjs/globals/index.d.ts.map +1 -1
- package/dist/cjs/globals/index.js +3 -0
- package/dist/cjs/globals/index.js.map +1 -1
- package/dist/cjs/schema/QrCodeSchema.d.ts.map +1 -1
- package/dist/cjs/schema/QrCodeSchema.js +4 -1
- package/dist/cjs/schema/QrCodeSchema.js.map +1 -1
- package/dist/esm/clusters/access-control.d.ts +3972 -522
- package/dist/esm/clusters/access-control.d.ts.map +1 -1
- package/dist/esm/clusters/access-control.js +645 -120
- package/dist/esm/clusters/access-control.js.map +2 -2
- package/dist/esm/clusters/actions.d.ts +10 -9
- package/dist/esm/clusters/actions.d.ts.map +1 -1
- package/dist/esm/clusters/actions.js +4 -4
- package/dist/esm/clusters/actions.js.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.d.ts +156 -129
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.js +40 -35
- package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +9 -12
- package/dist/esm/clusters/alarm-base.d.ts.map +1 -1
- package/dist/esm/clusters/alarm-base.js +3 -4
- package/dist/esm/clusters/alarm-base.js.map +1 -1
- package/dist/esm/clusters/application-launcher.d.ts +27 -15
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/application-launcher.js +7 -4
- package/dist/esm/clusters/application-launcher.js.map +1 -1
- package/dist/esm/clusters/ballast-configuration.d.ts +7 -7
- package/dist/esm/clusters/ballast-configuration.js +7 -7
- package/dist/esm/clusters/basic-information.d.ts +29 -21
- package/dist/esm/clusters/basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/basic-information.js +29 -21
- package/dist/esm/clusters/basic-information.js.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +816 -34
- package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.js +188 -32
- package/dist/esm/clusters/bridged-device-basic-information.js.map +2 -2
- package/dist/esm/clusters/channel.d.ts +115 -124
- package/dist/esm/clusters/channel.d.ts.map +1 -1
- package/dist/esm/clusters/channel.js +15 -16
- package/dist/esm/clusters/channel.js.map +1 -1
- package/dist/esm/clusters/color-control.d.ts +3076 -1366
- package/dist/esm/clusters/color-control.d.ts.map +1 -1
- package/dist/esm/clusters/color-control.js +424 -358
- package/dist/esm/clusters/color-control.js.map +2 -2
- package/dist/esm/clusters/commissioner-control.d.ts +268 -0
- package/dist/esm/clusters/commissioner-control.d.ts.map +1 -0
- package/dist/esm/clusters/commissioner-control.js +174 -0
- package/dist/esm/clusters/commissioner-control.js.map +6 -0
- package/dist/esm/clusters/content-control.d.ts +497 -221
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +60 -42
- package/dist/esm/clusters/content-control.js.map +2 -2
- package/dist/esm/clusters/content-launcher.d.ts +248 -215
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +16 -15
- package/dist/esm/clusters/content-launcher.js.map +1 -1
- package/dist/esm/clusters/device-energy-management-mode.d.ts +76 -333
- package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/esm/clusters/device-energy-management-mode.js +26 -80
- package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/esm/clusters/device-energy-management.d.ts +1299 -930
- package/dist/esm/clusters/device-energy-management.d.ts.map +1 -1
- package/dist/esm/clusters/device-energy-management.js +189 -160
- package/dist/esm/clusters/device-energy-management.js.map +2 -2
- package/dist/esm/clusters/dishwasher-alarm.d.ts +14 -17
- package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.js +3 -4
- package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.d.ts +65 -105
- package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.js +13 -25
- package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
- package/dist/esm/clusters/door-lock.d.ts +2751 -5427
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +482 -804
- package/dist/esm/clusters/door-lock.js.map +2 -2
- package/dist/esm/clusters/ecosystem-information.d.ts +186 -0
- package/dist/esm/clusters/ecosystem-information.d.ts.map +1 -0
- package/dist/esm/clusters/ecosystem-information.js +134 -0
- package/dist/esm/clusters/ecosystem-information.js.map +6 -0
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +363 -368
- package/dist/esm/clusters/electrical-energy-measurement.d.ts.map +1 -1
- package/dist/esm/clusters/electrical-energy-measurement.js +15 -16
- package/dist/esm/clusters/electrical-energy-measurement.js.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.d.ts +92 -330
- package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.js +25 -79
- package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
- package/dist/esm/clusters/energy-evse.d.ts +557 -273
- package/dist/esm/clusters/energy-evse.d.ts.map +1 -1
- package/dist/esm/clusters/energy-evse.js +107 -55
- package/dist/esm/clusters/energy-evse.js.map +1 -1
- package/dist/esm/clusters/energy-preference.d.ts +76 -76
- package/dist/esm/clusters/energy-preference.d.ts.map +1 -1
- package/dist/esm/clusters/energy-preference.js +15 -18
- package/dist/esm/clusters/energy-preference.js.map +1 -1
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +3 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/ethernet-network-diagnostics.js +1 -3
- package/dist/esm/clusters/ethernet-network-diagnostics.js.map +1 -1
- package/dist/esm/clusters/fan-control.d.ts +12 -12
- package/dist/esm/clusters/fan-control.js +4 -4
- package/dist/esm/clusters/fixed-label.d.ts +7 -2
- package/dist/esm/clusters/fixed-label.d.ts.map +1 -1
- package/dist/esm/clusters/fixed-label.js.map +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +4 -4
- package/dist/esm/clusters/flow-measurement.d.ts.map +1 -1
- package/dist/esm/clusters/flow-measurement.js +6 -6
- package/dist/esm/clusters/flow-measurement.js.map +1 -1
- package/dist/esm/clusters/general-commissioning.d.ts +1416 -111
- package/dist/esm/clusters/general-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/general-commissioning.js +274 -56
- package/dist/esm/clusters/general-commissioning.js.map +2 -2
- package/dist/esm/clusters/general-diagnostics.d.ts +115 -122
- package/dist/esm/clusters/general-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/general-diagnostics.js +31 -33
- package/dist/esm/clusters/general-diagnostics.js.map +1 -1
- package/dist/esm/clusters/group-key-management.d.ts +72 -82
- package/dist/esm/clusters/group-key-management.d.ts.map +1 -1
- package/dist/esm/clusters/group-key-management.js +19 -22
- package/dist/esm/clusters/group-key-management.js.map +1 -1
- package/dist/esm/clusters/groups.d.ts +9 -6
- package/dist/esm/clusters/groups.d.ts.map +1 -1
- package/dist/esm/clusters/groups.js +3 -2
- package/dist/esm/clusters/groups.js.map +1 -1
- package/dist/esm/clusters/icd-management.d.ts +223 -66
- package/dist/esm/clusters/icd-management.d.ts.map +1 -1
- package/dist/esm/clusters/icd-management.js +61 -23
- package/dist/esm/clusters/icd-management.js.map +2 -2
- package/dist/esm/clusters/identify.d.ts +12 -13
- package/dist/esm/clusters/identify.d.ts.map +1 -1
- package/dist/esm/clusters/identify.js +9 -10
- package/dist/esm/clusters/identify.js.map +1 -1
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -8
- package/dist/esm/clusters/illuminance-measurement.d.ts.map +1 -1
- package/dist/esm/clusters/illuminance-measurement.js +9 -10
- package/dist/esm/clusters/illuminance-measurement.js.map +1 -1
- package/dist/esm/clusters/index.d.ts +11 -1
- package/dist/esm/clusters/index.d.ts.map +1 -1
- package/dist/esm/clusters/index.js +36 -3
- package/dist/esm/clusters/index.js.map +1 -1
- package/dist/esm/clusters/joint-fabric-datastore-cluster.d.ts +1239 -0
- package/dist/esm/clusters/joint-fabric-datastore-cluster.d.ts.map +1 -0
- package/dist/esm/clusters/joint-fabric-datastore-cluster.js +470 -0
- package/dist/esm/clusters/joint-fabric-datastore-cluster.js.map +6 -0
- package/dist/esm/clusters/joint-fabric-pki.d.ts +174 -0
- package/dist/esm/clusters/joint-fabric-pki.d.ts.map +1 -0
- package/dist/esm/clusters/joint-fabric-pki.js +100 -0
- package/dist/esm/clusters/joint-fabric-pki.js.map +6 -0
- package/dist/esm/clusters/keypad-input.d.ts +2 -2
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +6 -7
- package/dist/esm/clusters/laundry-dryer-controls.d.ts.map +1 -1
- package/dist/esm/clusters/laundry-dryer-controls.js +6 -10
- package/dist/esm/clusters/laundry-dryer-controls.js.map +1 -1
- package/dist/esm/clusters/laundry-washer-controls.d.ts +74 -62
- package/dist/esm/clusters/laundry-washer-controls.d.ts.map +1 -1
- package/dist/esm/clusters/laundry-washer-controls.js +26 -25
- package/dist/esm/clusters/laundry-washer-controls.js.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.d.ts +69 -109
- package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.js +14 -26
- package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/esm/clusters/level-control.d.ts +209 -70
- package/dist/esm/clusters/level-control.d.ts.map +1 -1
- package/dist/esm/clusters/level-control.js +45 -12
- package/dist/esm/clusters/level-control.js.map +1 -1
- package/dist/esm/clusters/localization-configuration.d.ts +5 -6
- package/dist/esm/clusters/localization-configuration.d.ts.map +1 -1
- package/dist/esm/clusters/localization-configuration.js +5 -6
- package/dist/esm/clusters/localization-configuration.js.map +1 -1
- package/dist/esm/clusters/media-input.d.ts +9 -6
- package/dist/esm/clusters/media-input.d.ts.map +1 -1
- package/dist/esm/clusters/media-input.js +3 -2
- package/dist/esm/clusters/media-input.js.map +1 -1
- package/dist/esm/clusters/media-playback.d.ts +29 -24
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +5 -4
- package/dist/esm/clusters/media-playback.js.map +1 -1
- package/dist/esm/clusters/microwave-oven-control.d.ts +54 -48
- package/dist/esm/clusters/microwave-oven-control.d.ts.map +1 -1
- package/dist/esm/clusters/microwave-oven-control.js +19 -17
- package/dist/esm/clusters/microwave-oven-control.js.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.d.ts +63 -69
- package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.js +14 -11
- package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/esm/clusters/mode-base.d.ts +27 -46
- package/dist/esm/clusters/mode-base.d.ts.map +1 -1
- package/dist/esm/clusters/mode-base.js +9 -10
- package/dist/esm/clusters/mode-base.js.map +1 -1
- package/dist/esm/clusters/mode-select.d.ts +33 -27
- package/dist/esm/clusters/mode-select.d.ts.map +1 -1
- package/dist/esm/clusters/mode-select.js +14 -13
- package/dist/esm/clusters/mode-select.js.map +1 -1
- package/dist/esm/clusters/network-commissioning.d.ts +263 -240
- package/dist/esm/clusters/network-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/network-commissioning.js +46 -39
- package/dist/esm/clusters/network-commissioning.js.map +1 -1
- package/dist/esm/clusters/occupancy-sensing.d.ts +1002 -63
- package/dist/esm/clusters/occupancy-sensing.d.ts.map +1 -1
- package/dist/esm/clusters/occupancy-sensing.js +287 -65
- package/dist/esm/clusters/occupancy-sensing.js.map +2 -2
- package/dist/esm/clusters/on-off.d.ts +18 -24
- package/dist/esm/clusters/on-off.d.ts.map +1 -1
- package/dist/esm/clusters/on-off.js +3 -4
- package/dist/esm/clusters/on-off.js.map +1 -1
- package/dist/esm/clusters/operational-credentials.d.ts +98 -85
- package/dist/esm/clusters/operational-credentials.d.ts.map +1 -1
- package/dist/esm/clusters/operational-credentials.js +56 -49
- package/dist/esm/clusters/operational-credentials.js.map +1 -1
- package/dist/esm/clusters/operational-state.d.ts +136 -57
- package/dist/esm/clusters/operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/operational-state.js +63 -37
- package/dist/esm/clusters/operational-state.js.map +2 -2
- package/dist/esm/clusters/ota-software-update-provider.d.ts +43 -42
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-provider.js +20 -19
- package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +6 -10
- package/dist/esm/clusters/ota-software-update-requestor.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.js +4 -6
- package/dist/esm/clusters/ota-software-update-requestor.js.map +1 -1
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +44 -154
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/oven-cavity-operational-state.js +41 -166
- package/dist/esm/clusters/oven-cavity-operational-state.js.map +1 -1
- package/dist/esm/clusters/oven-mode.d.ts +79 -349
- package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/oven-mode.js +26 -89
- package/dist/esm/clusters/oven-mode.js.map +1 -1
- package/dist/esm/clusters/power-source.d.ts +169 -44
- package/dist/esm/clusters/power-source.d.ts.map +1 -1
- package/dist/esm/clusters/power-source.js +40 -16
- package/dist/esm/clusters/power-source.js.map +1 -1
- package/dist/esm/clusters/pressure-measurement.js +2 -2
- package/dist/esm/clusters/pressure-measurement.js.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +73 -63
- package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.js +19 -20
- package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.d.ts +2 -1
- package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +59 -91
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +12 -20
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/esm/clusters/relative-humidity-measurement.js +1 -1
- package/dist/esm/clusters/relative-humidity-measurement.js.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.d.ts +59 -103
- package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.js +11 -15
- package/dist/esm/clusters/rvc-clean-mode.js.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.d.ts +81 -25
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.js +49 -20
- package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.d.ts +85 -129
- package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.js +16 -15
- package/dist/esm/clusters/rvc-run-mode.js.map +1 -1
- package/dist/esm/clusters/scenes-management.d.ts +328 -181
- package/dist/esm/clusters/scenes-management.d.ts.map +1 -1
- package/dist/esm/clusters/scenes-management.js +37 -22
- package/dist/esm/clusters/scenes-management.js.map +1 -1
- package/dist/esm/clusters/service-area.d.ts +2052 -0
- package/dist/esm/clusters/service-area.d.ts.map +1 -0
- package/dist/esm/clusters/service-area.js +562 -0
- package/dist/esm/clusters/service-area.js.map +6 -0
- package/dist/esm/clusters/smoke-co-alarm.d.ts +10 -18
- package/dist/esm/clusters/smoke-co-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/smoke-co-alarm.js +2 -3
- package/dist/esm/clusters/smoke-co-alarm.js.map +1 -1
- package/dist/esm/clusters/switch.d.ts +478 -191
- package/dist/esm/clusters/switch.d.ts.map +1 -1
- package/dist/esm/clusters/switch.js +145 -57
- package/dist/esm/clusters/switch.js.map +1 -1
- package/dist/esm/clusters/target-navigator.d.ts +1 -1
- package/dist/esm/clusters/target-navigator.js +1 -1
- package/dist/esm/clusters/thermostat.d.ts +3877 -830
- package/dist/esm/clusters/thermostat.d.ts.map +1 -1
- package/dist/esm/clusters/thermostat.js +842 -160
- package/dist/esm/clusters/thermostat.js.map +2 -2
- package/dist/esm/clusters/thread-border-router-management.d.ts +711 -0
- package/dist/esm/clusters/thread-border-router-management.d.ts.map +1 -0
- package/dist/esm/clusters/thread-border-router-management.js +245 -0
- package/dist/esm/clusters/thread-border-router-management.js.map +6 -0
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +81 -55
- package/dist/esm/clusters/thread-network-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/thread-network-diagnostics.js +32 -21
- package/dist/esm/clusters/thread-network-diagnostics.js.map +1 -1
- package/dist/esm/clusters/thread-network-directory.d.ts +250 -0
- package/dist/esm/clusters/thread-network-directory.d.ts.map +1 -0
- package/dist/esm/clusters/thread-network-directory.js +167 -0
- package/dist/esm/clusters/thread-network-directory.js.map +6 -0
- package/dist/esm/clusters/time-synchronization.d.ts +101 -76
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +30 -23
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/unit-localization.d.ts +3 -4
- package/dist/esm/clusters/unit-localization.d.ts.map +1 -1
- package/dist/esm/clusters/unit-localization.js.map +1 -1
- package/dist/esm/clusters/user-label.d.ts +2 -1
- package/dist/esm/clusters/user-label.d.ts.map +1 -1
- package/dist/esm/clusters/user-label.js.map +1 -1
- package/dist/esm/clusters/water-heater-management.d.ts +1371 -0
- package/dist/esm/clusters/water-heater-management.d.ts.map +1 -0
- package/dist/esm/clusters/water-heater-management.js +325 -0
- package/dist/esm/clusters/water-heater-management.js.map +6 -0
- package/dist/esm/clusters/water-heater-mode.d.ts +491 -0
- package/dist/esm/clusters/water-heater-mode.d.ts.map +1 -0
- package/dist/esm/clusters/water-heater-mode.js +175 -0
- package/dist/esm/clusters/water-heater-mode.js.map +6 -0
- package/dist/esm/clusters/water-tank-level-monitoring.d.ts +162 -0
- package/dist/esm/clusters/water-tank-level-monitoring.d.ts.map +1 -0
- package/dist/esm/clusters/water-tank-level-monitoring.js +27 -0
- package/dist/esm/clusters/water-tank-level-monitoring.js.map +6 -0
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +20 -27
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +6 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.js.map +1 -1
- package/dist/esm/clusters/wi-fi-network-management.d.ts +91 -0
- package/dist/esm/clusters/wi-fi-network-management.d.ts.map +1 -0
- package/dist/esm/clusters/wi-fi-network-management.js +102 -0
- package/dist/esm/clusters/wi-fi-network-management.js.map +6 -0
- package/dist/esm/clusters/window-covering.d.ts +66 -78
- package/dist/esm/clusters/window-covering.d.ts.map +1 -1
- package/dist/esm/clusters/window-covering.js +26 -37
- package/dist/esm/clusters/window-covering.js.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +34 -0
- package/dist/esm/globals/AtomicAttributeStatus.d.ts.map +1 -0
- package/dist/esm/globals/AtomicAttributeStatus.js +26 -0
- package/dist/esm/globals/AtomicAttributeStatus.js.map +6 -0
- package/dist/esm/globals/AtomicRequestType.d.ts +24 -0
- package/dist/esm/globals/AtomicRequestType.d.ts.map +1 -0
- package/dist/esm/globals/AtomicRequestType.js +15 -0
- package/dist/esm/globals/AtomicRequestType.js.map +6 -0
- package/dist/esm/globals/Locationdesc.d.ts +79 -0
- package/dist/esm/globals/Locationdesc.d.ts.map +1 -0
- package/dist/esm/globals/Locationdesc.js +69 -0
- package/dist/esm/globals/Locationdesc.js.map +6 -0
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +18 -3
- package/dist/esm/globals/Status.d.ts.map +1 -1
- package/dist/esm/globals/Status.js +3 -1
- package/dist/esm/globals/Status.js.map +1 -1
- package/dist/esm/globals/Tod.d.ts +2 -2
- package/dist/esm/globals/index.d.ts +3 -0
- package/dist/esm/globals/index.d.ts.map +1 -1
- package/dist/esm/globals/index.js +3 -0
- package/dist/esm/globals/index.js.map +1 -1
- package/dist/esm/schema/QrCodeSchema.d.ts.map +1 -1
- package/dist/esm/schema/QrCodeSchema.js +4 -1
- package/dist/esm/schema/QrCodeSchema.js.map +1 -1
- package/package.json +5 -5
- package/src/clusters/access-control.ts +926 -171
- package/src/clusters/actions.ts +12 -11
- package/src/clusters/administrator-commissioning.ts +54 -35
- package/src/clusters/alarm-base.ts +3 -4
- package/src/clusters/application-launcher.ts +22 -7
- package/src/clusters/ballast-configuration.ts +7 -7
- package/src/clusters/basic-information.ts +29 -21
- package/src/clusters/bridged-device-basic-information.ts +264 -41
- package/src/clusters/channel.ts +20 -17
- package/src/clusters/color-control.ts +589 -426
- package/src/clusters/commissioner-control.ts +282 -0
- package/src/clusters/content-control.ts +48 -54
- package/src/clusters/content-launcher.ts +16 -15
- package/src/clusters/device-energy-management-mode.ts +63 -161
- package/src/clusters/device-energy-management.ts +246 -193
- package/src/clusters/dishwasher-alarm.ts +5 -5
- package/src/clusters/dishwasher-mode.ts +46 -87
- package/src/clusters/door-lock.ts +786 -1235
- package/src/clusters/ecosystem-information.ts +200 -0
- package/src/clusters/electrical-energy-measurement.ts +15 -16
- package/src/clusters/energy-evse-mode.ts +81 -158
- package/src/clusters/energy-evse.ts +138 -72
- package/src/clusters/energy-preference.ts +34 -28
- package/src/clusters/ethernet-network-diagnostics.ts +1 -3
- package/src/clusters/fan-control.ts +5 -5
- package/src/clusters/fixed-label.ts +7 -2
- package/src/clusters/flow-measurement.ts +6 -6
- package/src/clusters/general-commissioning.ts +396 -96
- package/src/clusters/general-diagnostics.ts +31 -33
- package/src/clusters/group-key-management.ts +22 -24
- package/src/clusters/groups.ts +3 -2
- package/src/clusters/icd-management.ts +88 -31
- package/src/clusters/identify.ts +9 -10
- package/src/clusters/illuminance-measurement.ts +9 -10
- package/src/clusters/index.ts +14 -1
- package/src/clusters/joint-fabric-datastore-cluster.ts +657 -0
- package/src/clusters/joint-fabric-pki.ts +202 -0
- package/src/clusters/keypad-input.ts +2 -2
- package/src/clusters/laundry-dryer-controls.ts +6 -10
- package/src/clusters/laundry-washer-controls.ts +28 -27
- package/src/clusters/laundry-washer-mode.ts +49 -90
- package/src/clusters/level-control.ts +45 -12
- package/src/clusters/localization-configuration.ts +5 -6
- package/src/clusters/media-input.ts +3 -2
- package/src/clusters/media-playback.ts +9 -7
- package/src/clusters/microwave-oven-control.ts +19 -17
- package/src/clusters/microwave-oven-mode.ts +42 -61
- package/src/clusters/mode-base.ts +16 -33
- package/src/clusters/mode-select.ts +17 -14
- package/src/clusters/network-commissioning.ts +47 -40
- package/src/clusters/occupancy-sensing.ts +433 -72
- package/src/clusters/on-off.ts +6 -8
- package/src/clusters/operational-credentials.ts +54 -47
- package/src/clusters/operational-state.ts +136 -58
- package/src/clusters/ota-software-update-provider.ts +23 -23
- package/src/clusters/ota-software-update-requestor.ts +4 -6
- package/src/clusters/oven-cavity-operational-state.ts +43 -171
- package/src/clusters/oven-mode.ts +76 -178
- package/src/clusters/power-source.ts +45 -21
- package/src/clusters/pressure-measurement.ts +2 -2
- package/src/clusters/pump-configuration-and-control.ts +35 -23
- package/src/clusters/refrigerator-alarm.ts +2 -1
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +41 -78
- package/src/clusters/relative-humidity-measurement.ts +1 -1
- package/src/clusters/rvc-clean-mode.ts +42 -101
- package/src/clusters/rvc-operational-state.ts +87 -25
- package/src/clusters/rvc-run-mode.ts +62 -126
- package/src/clusters/scenes-management.ts +38 -23
- package/src/clusters/service-area.ts +904 -0
- package/src/clusters/smoke-co-alarm.ts +6 -12
- package/src/clusters/switch.ts +177 -78
- package/src/clusters/target-navigator.ts +1 -1
- package/src/clusters/thermostat.ts +1245 -214
- package/src/clusters/thread-border-router-management.ts +355 -0
- package/src/clusters/thread-network-diagnostics.ts +34 -21
- package/src/clusters/thread-network-directory.ts +256 -0
- package/src/clusters/time-synchronization.ts +30 -23
- package/src/clusters/unit-localization.ts +3 -4
- package/src/clusters/user-label.ts +2 -1
- package/src/clusters/water-heater-management.ts +457 -0
- package/src/clusters/water-heater-mode.ts +301 -0
- package/src/clusters/water-tank-level-monitoring.ts +50 -0
- package/src/clusters/wi-fi-network-diagnostics.ts +6 -8
- package/src/clusters/wi-fi-network-management.ts +119 -0
- package/src/clusters/window-covering.ts +26 -37
- package/src/globals/AtomicAttributeStatus.ts +41 -0
- package/src/globals/AtomicRequestType.ts +27 -0
- package/src/globals/Locationdesc.ts +88 -0
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +20 -3
- package/src/globals/Tod.ts +2 -2
- package/src/globals/index.ts +3 -0
- package/src/schema/QrCodeSchema.ts +7 -2
- package/dist/cjs/clusters/pulse-width-modulation.d.ts +0 -2023
- package/dist/cjs/clusters/pulse-width-modulation.d.ts.map +0 -1
- package/dist/cjs/clusters/pulse-width-modulation.js +0 -51
- package/dist/cjs/clusters/pulse-width-modulation.js.map +0 -6
- package/dist/esm/clusters/pulse-width-modulation.d.ts +0 -2023
- package/dist/esm/clusters/pulse-width-modulation.d.ts.map +0 -1
- package/dist/esm/clusters/pulse-width-modulation.js +0 -31
- package/dist/esm/clusters/pulse-width-modulation.js.map +0 -6
- package/src/clusters/pulse-width-modulation.ts +0 -54
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "../cluster/Cluster.js";
|
|
20
20
|
import { TlvUInt8, TlvEnum, TlvUInt16, TlvBitmap, TlvInt16 } from "../tlv/TlvNumber.js";
|
|
21
21
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
22
|
-
import { BitFlag
|
|
22
|
+
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
23
23
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
24
24
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
25
25
|
import { AccessLevel } from "#model";
|
|
@@ -31,7 +31,7 @@ export namespace ColorControl {
|
|
|
31
31
|
/**
|
|
32
32
|
* These are optional features supported by ColorControlCluster.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
34
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.4
|
|
35
35
|
*/
|
|
36
36
|
export enum Feature {
|
|
37
37
|
/**
|
|
@@ -71,49 +71,68 @@ export namespace ColorControl {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
74
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.7
|
|
75
75
|
*/
|
|
76
76
|
export enum Direction {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Shortest distance
|
|
79
|
+
*/
|
|
80
|
+
Shortest = 0,
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Longest distance
|
|
84
|
+
*/
|
|
85
|
+
Longest = 1,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Up
|
|
89
|
+
*/
|
|
79
90
|
Up = 2,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Down
|
|
94
|
+
*/
|
|
80
95
|
Down = 3
|
|
81
96
|
}
|
|
82
97
|
|
|
83
98
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.11
|
|
99
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.2
|
|
87
100
|
*/
|
|
88
|
-
export const Options = {
|
|
101
|
+
export const Options = {
|
|
102
|
+
/**
|
|
103
|
+
* Dependency on On/Off cluster
|
|
104
|
+
*
|
|
105
|
+
* This bit shall indicate if this cluster server instance has a dependency with the On/Off cluster.
|
|
106
|
+
*
|
|
107
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.2.1
|
|
108
|
+
*/
|
|
109
|
+
executeIfOff: BitFlag(0)
|
|
110
|
+
};
|
|
89
111
|
|
|
90
112
|
/**
|
|
91
113
|
* Input to the ColorControl moveToHue command
|
|
92
114
|
*
|
|
93
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
115
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4
|
|
94
116
|
*/
|
|
95
117
|
export const TlvMoveToHueRequest = TlvObject({
|
|
96
118
|
/**
|
|
97
|
-
*
|
|
119
|
+
* This field shall indicate the hue to be moved to.
|
|
98
120
|
*
|
|
99
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
121
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.1
|
|
100
122
|
*/
|
|
101
123
|
hue: TlvField(0, TlvUInt8.bound({ max: 254 })),
|
|
102
124
|
|
|
103
125
|
/**
|
|
104
|
-
*
|
|
126
|
+
* This field shall indicate the movement direction.
|
|
105
127
|
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.4.2
|
|
128
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.2
|
|
109
129
|
*/
|
|
110
130
|
direction: TlvField(1, TlvEnum<Direction>()),
|
|
111
131
|
|
|
112
132
|
/**
|
|
113
|
-
*
|
|
114
|
-
* hue.
|
|
133
|
+
* This field shall indicate, in 1/10ths of a second, the time that shall be taken to move to the new hue.
|
|
115
134
|
*
|
|
116
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
135
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.3
|
|
117
136
|
*/
|
|
118
137
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
119
138
|
|
|
@@ -124,42 +143,48 @@ export namespace ColorControl {
|
|
|
124
143
|
/**
|
|
125
144
|
* Input to the ColorControl moveToHue command
|
|
126
145
|
*
|
|
127
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
146
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4
|
|
128
147
|
*/
|
|
129
148
|
export interface MoveToHueRequest extends TypeFromSchema<typeof TlvMoveToHueRequest> {}
|
|
130
149
|
|
|
131
150
|
/**
|
|
132
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
151
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.8
|
|
133
152
|
*/
|
|
134
153
|
export enum MoveMode {
|
|
154
|
+
/**
|
|
155
|
+
* Stop the movement
|
|
156
|
+
*/
|
|
135
157
|
Stop = 0,
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Move in an upwards direction
|
|
161
|
+
*/
|
|
136
162
|
Up = 1,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Move in a downwards direction
|
|
166
|
+
*/
|
|
137
167
|
Down = 3
|
|
138
168
|
}
|
|
139
169
|
|
|
140
170
|
/**
|
|
141
171
|
* Input to the ColorControl moveHue command
|
|
142
172
|
*
|
|
143
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
173
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5
|
|
144
174
|
*/
|
|
145
175
|
export const TlvMoveHueRequest = TlvObject({
|
|
146
176
|
/**
|
|
147
|
-
*
|
|
148
|
-
* field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
149
|
-
*
|
|
150
|
-
* ### Table 18. Values of the MoveMode Field
|
|
177
|
+
* This field shall indicate the mode of movement.
|
|
151
178
|
*
|
|
152
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
179
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5.1
|
|
153
180
|
*/
|
|
154
181
|
moveMode: TlvField(0, TlvEnum<MoveMode>()),
|
|
155
182
|
|
|
156
183
|
/**
|
|
157
|
-
*
|
|
158
|
-
* one unit.
|
|
159
|
-
* command has no effect and a response command shall be sent in response, with the status code set to
|
|
160
|
-
* INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
184
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s hue
|
|
185
|
+
* of one unit.
|
|
161
186
|
*
|
|
162
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
187
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5.2
|
|
163
188
|
*/
|
|
164
189
|
rate: TlvField(1, TlvUInt8),
|
|
165
190
|
|
|
@@ -170,50 +195,57 @@ export namespace ColorControl {
|
|
|
170
195
|
/**
|
|
171
196
|
* Input to the ColorControl moveHue command
|
|
172
197
|
*
|
|
173
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
198
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5
|
|
174
199
|
*/
|
|
175
200
|
export interface MoveHueRequest extends TypeFromSchema<typeof TlvMoveHueRequest> {}
|
|
176
201
|
|
|
177
202
|
/**
|
|
178
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
203
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.9
|
|
179
204
|
*/
|
|
180
205
|
export enum StepMode {
|
|
206
|
+
/**
|
|
207
|
+
* Step in an upwards direction
|
|
208
|
+
*/
|
|
181
209
|
Up = 1,
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Step in a downwards direction
|
|
213
|
+
*/
|
|
182
214
|
Down = 3
|
|
183
215
|
}
|
|
184
216
|
|
|
185
217
|
/**
|
|
186
218
|
* Input to the ColorControl stepHue command
|
|
187
219
|
*
|
|
188
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
220
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6
|
|
189
221
|
*/
|
|
190
222
|
export const TlvStepHueRequest = TlvObject({
|
|
191
223
|
/**
|
|
192
|
-
*
|
|
224
|
+
* This field shall indicate the mode of the step to be performed.
|
|
193
225
|
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.6.1
|
|
226
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.1
|
|
197
227
|
*/
|
|
198
228
|
stepMode: TlvField(0, TlvEnum<StepMode>()),
|
|
199
229
|
|
|
200
230
|
/**
|
|
201
|
-
*
|
|
231
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
232
|
+
* hue.
|
|
202
233
|
*
|
|
203
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
234
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.2
|
|
204
235
|
*/
|
|
205
236
|
stepSize: TlvField(1, TlvUInt8),
|
|
206
237
|
|
|
207
238
|
/**
|
|
208
|
-
*
|
|
209
|
-
*
|
|
239
|
+
* This field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the step.
|
|
240
|
+
*
|
|
241
|
+
* A step is a change in the device’s hue of Step size units.
|
|
210
242
|
*
|
|
211
243
|
* NOTE
|
|
212
244
|
*
|
|
213
245
|
* Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime
|
|
214
246
|
* data fields in other clusters / commands.
|
|
215
247
|
*
|
|
216
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
248
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.3
|
|
217
249
|
*/
|
|
218
250
|
transitionTime: TlvField(2, TlvUInt8),
|
|
219
251
|
|
|
@@ -224,14 +256,14 @@ export namespace ColorControl {
|
|
|
224
256
|
/**
|
|
225
257
|
* Input to the ColorControl stepHue command
|
|
226
258
|
*
|
|
227
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
259
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6
|
|
228
260
|
*/
|
|
229
261
|
export interface StepHueRequest extends TypeFromSchema<typeof TlvStepHueRequest> {}
|
|
230
262
|
|
|
231
263
|
/**
|
|
232
264
|
* Input to the ColorControl moveToSaturation command
|
|
233
265
|
*
|
|
234
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
266
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.7
|
|
235
267
|
*/
|
|
236
268
|
export const TlvMoveToSaturationRequest = TlvObject({
|
|
237
269
|
saturation: TlvField(0, TlvUInt8.bound({ max: 254 })),
|
|
@@ -243,33 +275,28 @@ export namespace ColorControl {
|
|
|
243
275
|
/**
|
|
244
276
|
* Input to the ColorControl moveToSaturation command
|
|
245
277
|
*
|
|
246
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
278
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.7
|
|
247
279
|
*/
|
|
248
280
|
export interface MoveToSaturationRequest extends TypeFromSchema<typeof TlvMoveToSaturationRequest> {}
|
|
249
281
|
|
|
250
282
|
/**
|
|
251
283
|
* Input to the ColorControl moveSaturation command
|
|
252
284
|
*
|
|
253
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
285
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8
|
|
254
286
|
*/
|
|
255
287
|
export const TlvMoveSaturationRequest = TlvObject({
|
|
256
288
|
/**
|
|
257
|
-
*
|
|
258
|
-
* field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
289
|
+
* This field shall indicate the mode of movement, as described in the MoveHue command.
|
|
259
290
|
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.8.1
|
|
291
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8.1
|
|
263
292
|
*/
|
|
264
293
|
moveMode: TlvField(0, TlvEnum<MoveMode>()),
|
|
265
294
|
|
|
266
295
|
/**
|
|
267
|
-
*
|
|
268
|
-
* saturation of one unit.
|
|
269
|
-
* zero, the command has no effect and a response command shall be sent in response, with the status code set
|
|
270
|
-
* to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
296
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
|
|
297
|
+
* saturation of one unit.
|
|
271
298
|
*
|
|
272
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
299
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8.2
|
|
273
300
|
*/
|
|
274
301
|
rate: TlvField(1, TlvUInt8),
|
|
275
302
|
|
|
@@ -280,42 +307,41 @@ export namespace ColorControl {
|
|
|
280
307
|
/**
|
|
281
308
|
* Input to the ColorControl moveSaturation command
|
|
282
309
|
*
|
|
283
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
310
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8
|
|
284
311
|
*/
|
|
285
312
|
export interface MoveSaturationRequest extends TypeFromSchema<typeof TlvMoveSaturationRequest> {}
|
|
286
313
|
|
|
287
314
|
/**
|
|
288
315
|
* Input to the ColorControl stepSaturation command
|
|
289
316
|
*
|
|
290
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
317
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9
|
|
291
318
|
*/
|
|
292
319
|
export const TlvStepSaturationRequest = TlvObject({
|
|
293
320
|
/**
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
* ### Table 24. Values of the StepMode Field
|
|
321
|
+
* This field shall indicate the mode of the step to be performed, as described in the StepHue command.
|
|
297
322
|
*
|
|
298
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
323
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.1
|
|
299
324
|
*/
|
|
300
325
|
stepMode: TlvField(0, TlvEnum<StepMode>()),
|
|
301
326
|
|
|
302
327
|
/**
|
|
303
|
-
*
|
|
328
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
329
|
+
* saturation.
|
|
304
330
|
*
|
|
305
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
331
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.2
|
|
306
332
|
*/
|
|
307
333
|
stepSize: TlvField(1, TlvUInt8),
|
|
308
334
|
|
|
309
335
|
/**
|
|
310
|
-
*
|
|
311
|
-
*
|
|
336
|
+
* This field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the step. A step
|
|
337
|
+
* is a change in the device’s saturation of Step size units.
|
|
312
338
|
*
|
|
313
339
|
* NOTE
|
|
314
340
|
*
|
|
315
341
|
* Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime
|
|
316
342
|
* data fields in other clusters / commands.
|
|
317
343
|
*
|
|
318
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
344
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.3
|
|
319
345
|
*/
|
|
320
346
|
transitionTime: TlvField(2, TlvUInt8),
|
|
321
347
|
|
|
@@ -326,14 +352,14 @@ export namespace ColorControl {
|
|
|
326
352
|
/**
|
|
327
353
|
* Input to the ColorControl stepSaturation command
|
|
328
354
|
*
|
|
329
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
355
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9
|
|
330
356
|
*/
|
|
331
357
|
export interface StepSaturationRequest extends TypeFromSchema<typeof TlvStepSaturationRequest> {}
|
|
332
358
|
|
|
333
359
|
/**
|
|
334
360
|
* Input to the ColorControl moveToHueAndSaturation command
|
|
335
361
|
*
|
|
336
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
362
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.10
|
|
337
363
|
*/
|
|
338
364
|
export const TlvMoveToHueAndSaturationRequest = TlvObject({
|
|
339
365
|
hue: TlvField(0, TlvUInt8.bound({ max: 254 })),
|
|
@@ -346,14 +372,14 @@ export namespace ColorControl {
|
|
|
346
372
|
/**
|
|
347
373
|
* Input to the ColorControl moveToHueAndSaturation command
|
|
348
374
|
*
|
|
349
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
375
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.10
|
|
350
376
|
*/
|
|
351
377
|
export interface MoveToHueAndSaturationRequest extends TypeFromSchema<typeof TlvMoveToHueAndSaturationRequest> {}
|
|
352
378
|
|
|
353
379
|
/**
|
|
354
380
|
* Input to the ColorControl moveToColor command
|
|
355
381
|
*
|
|
356
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
382
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.11
|
|
357
383
|
*/
|
|
358
384
|
export const TlvMoveToColorRequest = TlvObject({
|
|
359
385
|
colorX: TlvField(0, TlvUInt16.bound({ max: 65279 })),
|
|
@@ -366,29 +392,29 @@ export namespace ColorControl {
|
|
|
366
392
|
/**
|
|
367
393
|
* Input to the ColorControl moveToColor command
|
|
368
394
|
*
|
|
369
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
395
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.11
|
|
370
396
|
*/
|
|
371
397
|
export interface MoveToColorRequest extends TypeFromSchema<typeof TlvMoveToColorRequest> {}
|
|
372
398
|
|
|
373
399
|
/**
|
|
374
400
|
* Input to the ColorControl moveColor command
|
|
375
401
|
*
|
|
376
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
402
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12
|
|
377
403
|
*/
|
|
378
404
|
export const TlvMoveColorRequest = TlvObject({
|
|
379
405
|
/**
|
|
380
|
-
*
|
|
406
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
|
|
381
407
|
* CurrentX attribute of one unit.
|
|
382
408
|
*
|
|
383
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
409
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12.1
|
|
384
410
|
*/
|
|
385
411
|
rateX: TlvField(0, TlvInt16),
|
|
386
412
|
|
|
387
413
|
/**
|
|
388
|
-
*
|
|
414
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
|
|
389
415
|
* CurrentY attribute of one unit.
|
|
390
416
|
*
|
|
391
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
417
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12.2
|
|
392
418
|
*/
|
|
393
419
|
rateY: TlvField(1, TlvInt16),
|
|
394
420
|
|
|
@@ -399,24 +425,23 @@ export namespace ColorControl {
|
|
|
399
425
|
/**
|
|
400
426
|
* Input to the ColorControl moveColor command
|
|
401
427
|
*
|
|
402
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
428
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12
|
|
403
429
|
*/
|
|
404
430
|
export interface MoveColorRequest extends TypeFromSchema<typeof TlvMoveColorRequest> {}
|
|
405
431
|
|
|
406
432
|
/**
|
|
407
433
|
* Input to the ColorControl stepColor command
|
|
408
434
|
*
|
|
409
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
435
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13
|
|
410
436
|
*/
|
|
411
437
|
export const TlvStepColorRequest = TlvObject({
|
|
412
438
|
stepX: TlvField(0, TlvInt16),
|
|
413
439
|
stepY: TlvField(1, TlvInt16),
|
|
414
440
|
|
|
415
441
|
/**
|
|
416
|
-
* The
|
|
417
|
-
* color change.
|
|
442
|
+
* The field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the color change.
|
|
418
443
|
*
|
|
419
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
444
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13.2
|
|
420
445
|
*/
|
|
421
446
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
422
447
|
|
|
@@ -427,14 +452,14 @@ export namespace ColorControl {
|
|
|
427
452
|
/**
|
|
428
453
|
* Input to the ColorControl stepColor command
|
|
429
454
|
*
|
|
430
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
455
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13
|
|
431
456
|
*/
|
|
432
457
|
export interface StepColorRequest extends TypeFromSchema<typeof TlvStepColorRequest> {}
|
|
433
458
|
|
|
434
459
|
/**
|
|
435
460
|
* Input to the ColorControl moveToColorTemperature command
|
|
436
461
|
*
|
|
437
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
462
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.14
|
|
438
463
|
*/
|
|
439
464
|
export const TlvMoveToColorTemperatureRequest = TlvObject({
|
|
440
465
|
colorTemperatureMireds: TlvField(0, TlvUInt16.bound({ max: 65279 })),
|
|
@@ -446,37 +471,34 @@ export namespace ColorControl {
|
|
|
446
471
|
/**
|
|
447
472
|
* Input to the ColorControl moveToColorTemperature command
|
|
448
473
|
*
|
|
449
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
474
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.14
|
|
450
475
|
*/
|
|
451
476
|
export interface MoveToColorTemperatureRequest extends TypeFromSchema<typeof TlvMoveToColorTemperatureRequest> {}
|
|
452
477
|
|
|
453
478
|
/**
|
|
454
479
|
* Input to the ColorControl moveColorTemperature command
|
|
455
480
|
*
|
|
456
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
481
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21
|
|
457
482
|
*/
|
|
458
483
|
export const TlvMoveColorTemperatureRequest = TlvObject({
|
|
459
484
|
/**
|
|
460
|
-
* This field
|
|
461
|
-
* sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
485
|
+
* This field shall indicate the mode of movement, as described in the MoveHue command.
|
|
462
486
|
*
|
|
463
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
487
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.1
|
|
464
488
|
*/
|
|
465
489
|
moveMode: TlvField(0, TlvEnum<MoveMode>()),
|
|
466
490
|
|
|
467
491
|
/**
|
|
468
|
-
*
|
|
469
|
-
* temperature of a device by one unit.
|
|
470
|
-
* has a value of zero, the command has no effect and a response command shall be sent in response, with the
|
|
471
|
-
* status code set to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
492
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the color
|
|
493
|
+
* temperature of a device by one unit.
|
|
472
494
|
*
|
|
473
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
495
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.2
|
|
474
496
|
*/
|
|
475
497
|
rate: TlvField(1, TlvUInt16),
|
|
476
498
|
|
|
477
499
|
/**
|
|
478
|
-
*
|
|
479
|
-
*
|
|
500
|
+
* This field shall indicate a lower bound on the ColorTemperatureMireds attribute (≡ an upper bound on the
|
|
501
|
+
* color temperature in kelvins) for the current move operation
|
|
480
502
|
*
|
|
481
503
|
* ColorTempPhysicalMinMireds <= ColorTemperatureMinimumMireds field <= ColorTemperatureMireds
|
|
482
504
|
*
|
|
@@ -485,13 +507,13 @@ export namespace ColorControl {
|
|
|
485
507
|
* ColorTemperatureMinimumMireds field is set to 0, ColorTempPhysicalMinMireds shall be used as the lower bound
|
|
486
508
|
* for the ColorTemperatureMireds attribute.
|
|
487
509
|
*
|
|
488
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
510
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.3
|
|
489
511
|
*/
|
|
490
512
|
colorTemperatureMinimumMireds: TlvField(2, TlvUInt16.bound({ max: 65279 })),
|
|
491
513
|
|
|
492
514
|
/**
|
|
493
|
-
*
|
|
494
|
-
*
|
|
515
|
+
* This field shall indicate an upper bound on the ColorTemperatureMireds attribute (≡ a lower bound on the
|
|
516
|
+
* color temperature in kelvins) for the current move operation
|
|
495
517
|
*
|
|
496
518
|
* ColorTemperatureMireds <= ColorTemperatureMaximumMireds field <= ColorTempPhysicalMaxMireds
|
|
497
519
|
*
|
|
@@ -500,7 +522,7 @@ export namespace ColorControl {
|
|
|
500
522
|
* ColorTemperatureMaximumMireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper bound
|
|
501
523
|
* for the ColorTemperatureMireds attribute.
|
|
502
524
|
*
|
|
503
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
525
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.4
|
|
504
526
|
*/
|
|
505
527
|
colorTemperatureMaximumMireds: TlvField(3, TlvUInt16.bound({ max: 65279 })),
|
|
506
528
|
|
|
@@ -511,68 +533,67 @@ export namespace ColorControl {
|
|
|
511
533
|
/**
|
|
512
534
|
* Input to the ColorControl moveColorTemperature command
|
|
513
535
|
*
|
|
514
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
536
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21
|
|
515
537
|
*/
|
|
516
538
|
export interface MoveColorTemperatureRequest extends TypeFromSchema<typeof TlvMoveColorTemperatureRequest> {}
|
|
517
539
|
|
|
518
540
|
/**
|
|
519
541
|
* Input to the ColorControl stepColorTemperature command
|
|
520
542
|
*
|
|
521
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
543
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22
|
|
522
544
|
*/
|
|
523
545
|
export const TlvStepColorTemperatureRequest = TlvObject({
|
|
524
546
|
/**
|
|
525
|
-
* This field
|
|
526
|
-
* sub-clause StepHue Command).
|
|
547
|
+
* This field shall indicate the mode of the step to be performed, as described in the StepHue command.
|
|
527
548
|
*
|
|
528
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
549
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.1
|
|
529
550
|
*/
|
|
530
551
|
stepMode: TlvField(0, TlvEnum<StepMode>()),
|
|
531
552
|
|
|
532
553
|
/**
|
|
533
|
-
*
|
|
534
|
-
*
|
|
554
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
555
|
+
* color temperature.
|
|
535
556
|
*
|
|
536
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
557
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.2
|
|
537
558
|
*/
|
|
538
559
|
stepSize: TlvField(1, TlvUInt16),
|
|
539
560
|
|
|
540
561
|
/**
|
|
541
|
-
*
|
|
542
|
-
*
|
|
562
|
+
* This field shall indicate, in units of 1/10ths of a second, the time that shall be taken to perform the
|
|
563
|
+
* step. A step is a change to the device’s color temperature of a magnitude corresponding to the StepSize
|
|
543
564
|
* field.
|
|
544
565
|
*
|
|
545
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
566
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.3
|
|
546
567
|
*/
|
|
547
568
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
548
569
|
|
|
549
570
|
/**
|
|
550
|
-
*
|
|
551
|
-
*
|
|
571
|
+
* This field shall indicate a lower bound on the ColorTemperatureMireds attribute (≡ an upper bound on the
|
|
572
|
+
* color temperature in kelvins) for the current step operation
|
|
552
573
|
*
|
|
553
574
|
* ColorTempPhysicalMinMireds <= ColorTemperatureMinimumMireds field <= ColorTemperatureMireds
|
|
554
575
|
*
|
|
555
|
-
* As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
|
|
556
|
-
*
|
|
576
|
+
* As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
|
|
577
|
+
* ColorTemperatureMinimumMireds field it shall be clipped so that the above invariant is satisfied. If the
|
|
557
578
|
* ColorTemperatureMinimumMireds field is set to 0, ColorTempPhysicalMinMireds shall be used as the lower bound
|
|
558
579
|
* for the ColorTemperatureMireds attribute.
|
|
559
580
|
*
|
|
560
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
581
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.4
|
|
561
582
|
*/
|
|
562
583
|
colorTemperatureMinimumMireds: TlvField(3, TlvUInt16.bound({ max: 65279 })),
|
|
563
584
|
|
|
564
585
|
/**
|
|
565
|
-
*
|
|
566
|
-
*
|
|
586
|
+
* This field shall indicate an upper bound on the ColorTemperatureMireds attribute (≡ a lower bound on the
|
|
587
|
+
* color temperature in kelvins) for the current step operation
|
|
567
588
|
*
|
|
568
589
|
* ColorTemperatureMireds ≤ ColorTemperatureMaximumMireds field ≤ ColorTempPhysicalMaxMireds
|
|
569
590
|
*
|
|
570
591
|
* As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
|
|
571
592
|
* ColorTemperatureMaximumMireds field it shall be clipped so that the above invariant is satisfied. If the
|
|
572
|
-
*
|
|
573
|
-
*
|
|
593
|
+
* ColorTemperatureMaximumMireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper bound
|
|
594
|
+
* for the ColorTemperatureMireds attribute.
|
|
574
595
|
*
|
|
575
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
596
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.5
|
|
576
597
|
*/
|
|
577
598
|
colorTemperatureMaximumMireds: TlvField(4, TlvUInt16.bound({ max: 65279 })),
|
|
578
599
|
|
|
@@ -583,36 +604,34 @@ export namespace ColorControl {
|
|
|
583
604
|
/**
|
|
584
605
|
* Input to the ColorControl stepColorTemperature command
|
|
585
606
|
*
|
|
586
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
607
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22
|
|
587
608
|
*/
|
|
588
609
|
export interface StepColorTemperatureRequest extends TypeFromSchema<typeof TlvStepColorTemperatureRequest> {}
|
|
589
610
|
|
|
590
611
|
/**
|
|
591
612
|
* Input to the ColorControl enhancedMoveToHue command
|
|
592
613
|
*
|
|
593
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
614
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15
|
|
594
615
|
*/
|
|
595
616
|
export const TlvEnhancedMoveToHueRequest = TlvObject({
|
|
596
617
|
/**
|
|
597
|
-
*
|
|
618
|
+
* This field shall indicate the target extended hue for the light.
|
|
598
619
|
*
|
|
599
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
620
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.1
|
|
600
621
|
*/
|
|
601
622
|
enhancedHue: TlvField(0, TlvUInt16),
|
|
602
623
|
|
|
603
624
|
/**
|
|
604
|
-
* This field
|
|
605
|
-
* sub-clause Use of the OptionsMask and OptionsOverride fields).
|
|
625
|
+
* This field shall indicate the movement direction.
|
|
606
626
|
*
|
|
607
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
627
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.2
|
|
608
628
|
*/
|
|
609
629
|
direction: TlvField(1, TlvEnum<Direction>()),
|
|
610
630
|
|
|
611
631
|
/**
|
|
612
|
-
* This field
|
|
613
|
-
* (see sub-clause Use of the OptionsMask and OptionsOverride fields).
|
|
632
|
+
* This field shall indicate the transition time, as described in the MoveToHue command.
|
|
614
633
|
*
|
|
615
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
634
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.3
|
|
616
635
|
*/
|
|
617
636
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
618
637
|
|
|
@@ -623,31 +642,28 @@ export namespace ColorControl {
|
|
|
623
642
|
/**
|
|
624
643
|
* Input to the ColorControl enhancedMoveToHue command
|
|
625
644
|
*
|
|
626
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
645
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15
|
|
627
646
|
*/
|
|
628
647
|
export interface EnhancedMoveToHueRequest extends TypeFromSchema<typeof TlvEnhancedMoveToHueRequest> {}
|
|
629
648
|
|
|
630
649
|
/**
|
|
631
650
|
* Input to the ColorControl enhancedMoveHue command
|
|
632
651
|
*
|
|
633
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
652
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16
|
|
634
653
|
*/
|
|
635
654
|
export const TlvEnhancedMoveHueRequest = TlvObject({
|
|
636
655
|
/**
|
|
637
|
-
* This field
|
|
638
|
-
* sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
656
|
+
* This field shall indicate the mode of movement, as described in the MoveHue command.
|
|
639
657
|
*
|
|
640
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
658
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16.1
|
|
641
659
|
*/
|
|
642
660
|
moveMode: TlvField(0, TlvEnum<MoveMode>()),
|
|
643
661
|
|
|
644
662
|
/**
|
|
645
|
-
*
|
|
646
|
-
* a device by one unit.
|
|
647
|
-
* zero, the command has no effect and a response command shall be sent in response, with the status code set
|
|
648
|
-
* to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
663
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the extended hue
|
|
664
|
+
* of a device by one unit.
|
|
649
665
|
*
|
|
650
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
666
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16.2
|
|
651
667
|
*/
|
|
652
668
|
rate: TlvField(1, TlvUInt16),
|
|
653
669
|
|
|
@@ -658,42 +674,41 @@ export namespace ColorControl {
|
|
|
658
674
|
/**
|
|
659
675
|
* Input to the ColorControl enhancedMoveHue command
|
|
660
676
|
*
|
|
661
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
677
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16
|
|
662
678
|
*/
|
|
663
679
|
export interface EnhancedMoveHueRequest extends TypeFromSchema<typeof TlvEnhancedMoveHueRequest> {}
|
|
664
680
|
|
|
665
681
|
/**
|
|
666
682
|
* Input to the ColorControl enhancedStepHue command
|
|
667
683
|
*
|
|
668
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
684
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17
|
|
669
685
|
*/
|
|
670
686
|
export const TlvEnhancedStepHueRequest = TlvObject({
|
|
671
687
|
/**
|
|
672
|
-
* This field
|
|
673
|
-
* sub-clause StepHue Command).
|
|
688
|
+
* This field shall indicate the mode of the step to be performed, as described in the StepHue command.
|
|
674
689
|
*
|
|
675
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
690
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.1
|
|
676
691
|
*/
|
|
677
692
|
stepMode: TlvField(0, TlvEnum<StepMode>()),
|
|
678
693
|
|
|
679
694
|
/**
|
|
680
|
-
*
|
|
681
|
-
*
|
|
695
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
696
|
+
* enhanced hue.
|
|
682
697
|
*
|
|
683
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
698
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.2
|
|
684
699
|
*/
|
|
685
700
|
stepSize: TlvField(1, TlvUInt16),
|
|
686
701
|
|
|
687
702
|
/**
|
|
688
|
-
* The
|
|
689
|
-
*
|
|
703
|
+
* The field shall indicate, in units of 1/10ths of a second, the time that shall be taken to perform the step.
|
|
704
|
+
* A step is a change to the device’s enhanced hue of a magnitude corresponding to the StepSize field.
|
|
690
705
|
*
|
|
691
706
|
* NOTE
|
|
692
707
|
*
|
|
693
708
|
* Here TransitionTime data field is of data type uint16, while the TransitionTime data field of the StepHue
|
|
694
709
|
* command is of data type uint8.
|
|
695
710
|
*
|
|
696
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
711
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.3
|
|
697
712
|
*/
|
|
698
713
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
699
714
|
|
|
@@ -704,36 +719,34 @@ export namespace ColorControl {
|
|
|
704
719
|
/**
|
|
705
720
|
* Input to the ColorControl enhancedStepHue command
|
|
706
721
|
*
|
|
707
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
722
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17
|
|
708
723
|
*/
|
|
709
724
|
export interface EnhancedStepHueRequest extends TypeFromSchema<typeof TlvEnhancedStepHueRequest> {}
|
|
710
725
|
|
|
711
726
|
/**
|
|
712
727
|
* Input to the ColorControl enhancedMoveToHueAndSaturation command
|
|
713
728
|
*
|
|
714
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
729
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18
|
|
715
730
|
*/
|
|
716
731
|
export const TlvEnhancedMoveToHueAndSaturationRequest = TlvObject({
|
|
717
732
|
/**
|
|
718
|
-
*
|
|
733
|
+
* This field shall indicate the target extended hue for the light.
|
|
719
734
|
*
|
|
720
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
735
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.1
|
|
721
736
|
*/
|
|
722
737
|
enhancedHue: TlvField(0, TlvUInt16),
|
|
723
738
|
|
|
724
739
|
/**
|
|
725
|
-
* This field
|
|
726
|
-
* cluster (see sub-clause MoveToHueAndSaturation Command).
|
|
740
|
+
* This field shall indicate the saturation, as described in the MoveToHueAndSaturation command.
|
|
727
741
|
*
|
|
728
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
742
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.2
|
|
729
743
|
*/
|
|
730
744
|
saturation: TlvField(1, TlvUInt8.bound({ max: 254 })),
|
|
731
745
|
|
|
732
746
|
/**
|
|
733
|
-
* This field
|
|
734
|
-
* (see sub-clause MoveToHueAndSaturation Command).
|
|
747
|
+
* This field shall indicate the transition time, as described in the MoveToHue command.
|
|
735
748
|
*
|
|
736
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
749
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.3
|
|
737
750
|
*/
|
|
738
751
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
739
752
|
|
|
@@ -744,7 +757,7 @@ export namespace ColorControl {
|
|
|
744
757
|
/**
|
|
745
758
|
* Input to the ColorControl enhancedMoveToHueAndSaturation command
|
|
746
759
|
*
|
|
747
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
760
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18
|
|
748
761
|
*/
|
|
749
762
|
export interface EnhancedMoveToHueAndSaturationRequest extends TypeFromSchema<typeof TlvEnhancedMoveToHueAndSaturationRequest> {}
|
|
750
763
|
|
|
@@ -759,111 +772,133 @@ export namespace ColorControl {
|
|
|
759
772
|
}
|
|
760
773
|
|
|
761
774
|
/**
|
|
762
|
-
*
|
|
763
|
-
*
|
|
764
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.15
|
|
775
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.11
|
|
765
776
|
*/
|
|
766
777
|
export enum ColorLoopDirection {
|
|
778
|
+
/**
|
|
779
|
+
* Decrement the hue in the color loop.
|
|
780
|
+
*/
|
|
767
781
|
Decrement = 0,
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Increment the hue in the color loop.
|
|
785
|
+
*/
|
|
768
786
|
Increment = 1
|
|
769
787
|
}
|
|
770
788
|
|
|
771
789
|
/**
|
|
772
|
-
*
|
|
790
|
+
* This data type is derived from map8 and is used in the ColorLoopSet command.
|
|
773
791
|
*
|
|
774
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
792
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3
|
|
775
793
|
*/
|
|
776
794
|
export const UpdateFlags = {
|
|
795
|
+
/**
|
|
796
|
+
* Device adheres to the associated action field.
|
|
797
|
+
*
|
|
798
|
+
* This bit shall indicate whether the server adheres to the Action field in order to process the command.
|
|
799
|
+
*
|
|
800
|
+
* • 0 = Device shall ignore the Action field.
|
|
801
|
+
*
|
|
802
|
+
* • 1 = Device shall adhere to the Action field.
|
|
803
|
+
*
|
|
804
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.1
|
|
805
|
+
*/
|
|
777
806
|
updateAction: BitFlag(0),
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Device updates the associated direction attribute.
|
|
810
|
+
*
|
|
811
|
+
* This bit shall indicate whether the device updates the ColorLoopDirection attribute with the Direction field.
|
|
812
|
+
*
|
|
813
|
+
* • 0 = Device shall ignore the Direction field.
|
|
814
|
+
*
|
|
815
|
+
* • 1 = Device shall update the ColorLoopDirection attribute with the value of the Direction field.
|
|
816
|
+
*
|
|
817
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.2
|
|
818
|
+
*/
|
|
778
819
|
updateDirection: BitFlag(1),
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Device updates the associated time attribute.
|
|
823
|
+
*
|
|
824
|
+
* This bit shall indicate whether the device updates the ColorLoopTime attribute with the Time field.
|
|
825
|
+
*
|
|
826
|
+
* • 0 = Device shall ignore the Time field.
|
|
827
|
+
*
|
|
828
|
+
* • 1 = Device shall update the value of the ColorLoopTime attribute with the value of the Time field.
|
|
829
|
+
*
|
|
830
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.3
|
|
831
|
+
*/
|
|
779
832
|
updateTime: BitFlag(2),
|
|
780
|
-
|
|
781
|
-
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Device updates the associated start hue attribute.
|
|
836
|
+
*
|
|
837
|
+
* This bit shall indicate whether the device updates the ColorLoopStartEnhancedHue attribute with the value of
|
|
838
|
+
* the StartHue field.
|
|
839
|
+
*
|
|
840
|
+
* • 0 = Device shall ignore the StartHue field.
|
|
841
|
+
*
|
|
842
|
+
* • 1 = Device shall update the value of the ColorLoopStartEnhancedHue attribute with the value of the
|
|
843
|
+
* StartHue field.
|
|
844
|
+
*
|
|
845
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.4
|
|
846
|
+
*/
|
|
847
|
+
updateStartHue: BitFlag(3)
|
|
782
848
|
};
|
|
783
849
|
|
|
784
850
|
/**
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.2
|
|
851
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.10
|
|
788
852
|
*/
|
|
789
|
-
export enum
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
853
|
+
export enum ColorLoopAction {
|
|
854
|
+
/**
|
|
855
|
+
* De-activate the color loop.
|
|
856
|
+
*/
|
|
857
|
+
Deactivate = 0,
|
|
794
858
|
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
859
|
+
/**
|
|
860
|
+
* Activate the color loop from the value in the ColorLoopStartEnhancedHue field.
|
|
861
|
+
*/
|
|
862
|
+
ActivateFromColorLoopStartEnhancedHue = 1,
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Activate the color loop from the value of the EnhancedCurrentHue attribute.
|
|
866
|
+
*/
|
|
867
|
+
ActivateFromEnhancedCurrentHue = 2
|
|
803
868
|
}
|
|
804
869
|
|
|
805
870
|
/**
|
|
806
871
|
* Input to the ColorControl colorLoopSet command
|
|
807
872
|
*
|
|
808
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
873
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19
|
|
809
874
|
*/
|
|
810
875
|
export const TlvColorLoopSetRequest = TlvObject({
|
|
811
876
|
/**
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
815
|
-
* ### Table 28. Format of the UpdateFlags Field of the ColorLoopSet Command
|
|
816
|
-
*
|
|
817
|
-
* The UpdateAction sub-field is 1 bit in length and specifies whether the device shall adhere to the action
|
|
818
|
-
* field in order to process the command. If this sub-field is set to 1, the device shall adhere to the action
|
|
819
|
-
* field. If this sub-field is set to 0, the device shall ignore the Action field.
|
|
820
|
-
*
|
|
821
|
-
* The UpdateDirection sub-field is 1 bit in length and specifies whether the device shall update the
|
|
822
|
-
* ColorLoopDirection attribute with the Direction field. If this sub-field is set to 1, the device shall
|
|
823
|
-
* update the value of the ColorLoopDirection attribute with the value of the Direction field. If this
|
|
824
|
-
* sub-field is set to 0, the device shall ignore the Direction field.
|
|
877
|
+
* This field shall indicate which color loop attributes to update (from the values supplied in the other
|
|
878
|
+
* fields, see field descriptions below) before the color loop is started.
|
|
825
879
|
*
|
|
826
|
-
*
|
|
827
|
-
* attribute with the Time field. If this sub-field is set to 1, the device shall update the value of the
|
|
828
|
-
* ColorLoopTime attribute with the value of the Time field. If this sub-field is set to 0, the device shall
|
|
829
|
-
* ignore the Time field.
|
|
830
|
-
*
|
|
831
|
-
* The UpdateStartHue sub-field is 1 bit in length and specifies whether the device shall update the
|
|
832
|
-
* ColorLoopStartEnhancedHue attribute with the StartHue field. If this sub-field is set to 1, the device shall
|
|
833
|
-
* update the value of the ColorLoopStartEnhancedHue attribute with the value of the StartHue field. If this
|
|
834
|
-
* sub-field is set to 0, the device shall ignore the StartHue field.
|
|
835
|
-
*
|
|
836
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.1
|
|
880
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.1
|
|
837
881
|
*/
|
|
838
882
|
updateFlags: TlvField(0, TlvBitmap(TlvUInt8, UpdateFlags)),
|
|
839
883
|
|
|
840
884
|
/**
|
|
841
|
-
*
|
|
842
|
-
* UpdateFlags field is set to 1. This field shall be set to one of the non-reserved values listed in Values of
|
|
843
|
-
* the Action Field of the ColorLoopSet Command.
|
|
844
|
-
*
|
|
845
|
-
* ### Table 29. Values of the Action Field of the ColorLoopSet Command
|
|
885
|
+
* This field shall indicate the action to take for the color loop.
|
|
846
886
|
*
|
|
847
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
887
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.2
|
|
848
888
|
*/
|
|
849
|
-
action: TlvField(1, TlvEnum<
|
|
889
|
+
action: TlvField(1, TlvEnum<ColorLoopAction>()),
|
|
850
890
|
|
|
851
891
|
/**
|
|
852
|
-
*
|
|
853
|
-
* UpdateFlags field is set to 1. This field shall be set to one of the non-reserved values listed in Values of
|
|
854
|
-
* the Direction Field of the ColorLoopSet Command.
|
|
892
|
+
* This field shall indicate the direction for the color loop.
|
|
855
893
|
*
|
|
856
|
-
*
|
|
857
|
-
*
|
|
858
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.3
|
|
894
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.3
|
|
859
895
|
*/
|
|
860
|
-
direction: TlvField(2, TlvEnum<
|
|
896
|
+
direction: TlvField(2, TlvEnum<ColorLoopDirection>()),
|
|
861
897
|
|
|
862
898
|
/**
|
|
863
|
-
*
|
|
864
|
-
* sub-field of the UpdateFlags field is set to 1.
|
|
899
|
+
* This field shall indicate the number of seconds over which to perform a full color loop.
|
|
865
900
|
*
|
|
866
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
901
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.4
|
|
867
902
|
*/
|
|
868
903
|
time: TlvField(3, TlvUInt16),
|
|
869
904
|
|
|
@@ -875,14 +910,14 @@ export namespace ColorControl {
|
|
|
875
910
|
/**
|
|
876
911
|
* Input to the ColorControl colorLoopSet command
|
|
877
912
|
*
|
|
878
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
913
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19
|
|
879
914
|
*/
|
|
880
915
|
export interface ColorLoopSetRequest extends TypeFromSchema<typeof TlvColorLoopSetRequest> {}
|
|
881
916
|
|
|
882
917
|
/**
|
|
883
918
|
* Input to the ColorControl stopMoveStep command
|
|
884
919
|
*
|
|
885
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
920
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.20
|
|
886
921
|
*/
|
|
887
922
|
export const TlvStopMoveStepRequest = TlvObject({
|
|
888
923
|
optionsMask: TlvField(0, TlvBitmap(TlvUInt8, Options)),
|
|
@@ -892,43 +927,82 @@ export namespace ColorControl {
|
|
|
892
927
|
/**
|
|
893
928
|
* Input to the ColorControl stopMoveStep command
|
|
894
929
|
*
|
|
895
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
930
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.20
|
|
896
931
|
*/
|
|
897
932
|
export interface StopMoveStepRequest extends TypeFromSchema<typeof TlvStopMoveStepRequest> {}
|
|
898
933
|
|
|
899
934
|
/**
|
|
900
|
-
*
|
|
901
|
-
*
|
|
902
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.7
|
|
935
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.4
|
|
903
936
|
*/
|
|
904
937
|
export enum DriftCompensation {
|
|
938
|
+
/**
|
|
939
|
+
* There is no compensation.
|
|
940
|
+
*/
|
|
905
941
|
None = 0,
|
|
906
|
-
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* The compensation is based on other or unknown mechanism.
|
|
945
|
+
*/
|
|
946
|
+
OtherOrUnknown = 1,
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* The compensation is based on temperature monitoring.
|
|
950
|
+
*/
|
|
907
951
|
TemperatureMonitoring = 2,
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* The compensation is based on optical luminance monitoring and feedback.
|
|
955
|
+
*/
|
|
908
956
|
OpticalLuminanceMonitoringAndFeedback = 3,
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* The compensation is based on optical color monitoring and feedback.
|
|
960
|
+
*/
|
|
909
961
|
OpticalColorMonitoringAndFeedback = 4
|
|
910
962
|
}
|
|
911
963
|
|
|
912
964
|
/**
|
|
913
|
-
*
|
|
914
|
-
*
|
|
915
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.10
|
|
965
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.5
|
|
916
966
|
*/
|
|
917
967
|
export enum ColorMode {
|
|
968
|
+
/**
|
|
969
|
+
* The current hue and saturation attributes determine the color.
|
|
970
|
+
*/
|
|
918
971
|
CurrentHueAndCurrentSaturation = 0,
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* The current X and Y attributes determine the color.
|
|
975
|
+
*/
|
|
919
976
|
CurrentXAndCurrentY = 1,
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* The color temperature attribute determines the color.
|
|
980
|
+
*/
|
|
920
981
|
ColorTemperatureMireds = 2
|
|
921
982
|
}
|
|
922
983
|
|
|
923
984
|
/**
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.13
|
|
985
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.6
|
|
927
986
|
*/
|
|
928
987
|
export enum EnhancedColorMode {
|
|
988
|
+
/**
|
|
989
|
+
* The current hue and saturation attributes determine the color.
|
|
990
|
+
*/
|
|
929
991
|
CurrentHueAndCurrentSaturation = 0,
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* The current X and Y attributes determine the color.
|
|
995
|
+
*/
|
|
930
996
|
CurrentXAndCurrentY = 1,
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* The color temperature attribute determines the color.
|
|
1000
|
+
*/
|
|
931
1001
|
ColorTemperatureMireds = 2,
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* The enhanced current hue and saturation attributes determine the color.
|
|
1005
|
+
*/
|
|
932
1006
|
EnhancedCurrentHueAndCurrentSaturation = 3
|
|
933
1007
|
}
|
|
934
1008
|
|
|
@@ -938,10 +1012,29 @@ export namespace ColorControl {
|
|
|
938
1012
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.19
|
|
939
1013
|
*/
|
|
940
1014
|
export const ColorCapabilities = {
|
|
1015
|
+
/**
|
|
1016
|
+
* Supports color specification via hue/saturation.
|
|
1017
|
+
*/
|
|
941
1018
|
hueSaturation: BitFlag(0),
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Enhanced hue is supported.
|
|
1022
|
+
*/
|
|
942
1023
|
enhancedHue: BitFlag(1),
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Color loop is supported.
|
|
1027
|
+
*/
|
|
943
1028
|
colorLoop: BitFlag(2),
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Supports color specification via XY.
|
|
1032
|
+
*/
|
|
944
1033
|
xy: BitFlag(3),
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Supports color specification via color temperature.
|
|
1037
|
+
*/
|
|
945
1038
|
colorTemperature: BitFlag(4)
|
|
946
1039
|
};
|
|
947
1040
|
|
|
@@ -954,24 +1047,38 @@ export namespace ColorControl {
|
|
|
954
1047
|
* The CurrentHue attribute contains the current hue value of the light. It is updated as fast as practical
|
|
955
1048
|
* during commands that change the hue.
|
|
956
1049
|
*
|
|
957
|
-
* The hue in degrees shall be related to the CurrentHue attribute by the relationship:
|
|
958
|
-
* 360 / 254 (CurrentHue in the range 0 to 254 inclusive)
|
|
1050
|
+
* The hue in degrees shall be related to the CurrentHue attribute by the relationship:
|
|
959
1051
|
*
|
|
960
|
-
*
|
|
961
|
-
*
|
|
1052
|
+
* Hue = "CurrentHue" * 360 / 254
|
|
1053
|
+
*
|
|
1054
|
+
* where CurrentHue is in the range from 0 to 254 inclusive.
|
|
1055
|
+
*
|
|
1056
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1057
|
+
*
|
|
1058
|
+
* • At most once per second or
|
|
1059
|
+
*
|
|
1060
|
+
* • At the end of the movement/transition.
|
|
962
1061
|
*
|
|
963
1062
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.2
|
|
964
1063
|
*/
|
|
965
1064
|
currentHue: Attribute(0x0, TlvUInt8.bound({ max: 254 }), { persistent: true, default: 0 }),
|
|
966
1065
|
|
|
967
1066
|
/**
|
|
968
|
-
*
|
|
969
|
-
*
|
|
1067
|
+
* Indicates the current saturation value of the light. It is updated as fast as practical during commands
|
|
1068
|
+
* that change the saturation.
|
|
970
1069
|
*
|
|
971
|
-
* The saturation shall be related to the CurrentSaturation attribute by the
|
|
972
|
-
*
|
|
1070
|
+
* The saturation (on a scale from 0.0 to 1.0) shall be related to the CurrentSaturation attribute by the
|
|
1071
|
+
* relationship:
|
|
973
1072
|
*
|
|
974
|
-
*
|
|
1073
|
+
* Saturation = "CurrentSaturation" / 254
|
|
1074
|
+
*
|
|
1075
|
+
* where CurrentSaturation is in the range from 0 to 254 inclusive.
|
|
1076
|
+
*
|
|
1077
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1078
|
+
*
|
|
1079
|
+
* • At most once per second or
|
|
1080
|
+
*
|
|
1081
|
+
* • At the end of the movement/transition.
|
|
975
1082
|
*
|
|
976
1083
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.3
|
|
977
1084
|
*/
|
|
@@ -984,37 +1091,37 @@ export namespace ColorControl {
|
|
|
984
1091
|
|
|
985
1092
|
commands: {
|
|
986
1093
|
/**
|
|
987
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1094
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4
|
|
988
1095
|
*/
|
|
989
1096
|
moveToHue: Command(0x0, TlvMoveToHueRequest, 0x0, TlvNoResponse),
|
|
990
1097
|
|
|
991
1098
|
/**
|
|
992
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1099
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5
|
|
993
1100
|
*/
|
|
994
1101
|
moveHue: Command(0x1, TlvMoveHueRequest, 0x1, TlvNoResponse),
|
|
995
1102
|
|
|
996
1103
|
/**
|
|
997
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1104
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6
|
|
998
1105
|
*/
|
|
999
1106
|
stepHue: Command(0x2, TlvStepHueRequest, 0x2, TlvNoResponse),
|
|
1000
1107
|
|
|
1001
1108
|
/**
|
|
1002
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1109
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.7
|
|
1003
1110
|
*/
|
|
1004
1111
|
moveToSaturation: Command(0x3, TlvMoveToSaturationRequest, 0x3, TlvNoResponse),
|
|
1005
1112
|
|
|
1006
1113
|
/**
|
|
1007
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1114
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8
|
|
1008
1115
|
*/
|
|
1009
1116
|
moveSaturation: Command(0x4, TlvMoveSaturationRequest, 0x4, TlvNoResponse),
|
|
1010
1117
|
|
|
1011
1118
|
/**
|
|
1012
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1119
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9
|
|
1013
1120
|
*/
|
|
1014
1121
|
stepSaturation: Command(0x5, TlvStepSaturationRequest, 0x5, TlvNoResponse),
|
|
1015
1122
|
|
|
1016
1123
|
/**
|
|
1017
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1124
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.10
|
|
1018
1125
|
*/
|
|
1019
1126
|
moveToHueAndSaturation: Command(0x6, TlvMoveToHueAndSaturationRequest, 0x6, TlvNoResponse)
|
|
1020
1127
|
}
|
|
@@ -1026,11 +1133,20 @@ export namespace ColorControl {
|
|
|
1026
1133
|
export const XyComponent = MutableCluster.Component({
|
|
1027
1134
|
attributes: {
|
|
1028
1135
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
*
|
|
1136
|
+
* Indicates the current value of the normalized chromaticity value x, as defined in the CIE xyY Color
|
|
1137
|
+
* Space. It is updated as fast as practical during commands that change the color.
|
|
1138
|
+
*
|
|
1139
|
+
* The value of x shall be related to the CurrentX attribute by the relationship
|
|
1140
|
+
*
|
|
1141
|
+
* x = "CurrentX" / 65536
|
|
1031
1142
|
*
|
|
1032
|
-
*
|
|
1033
|
-
*
|
|
1143
|
+
* where CurrentX is in the range from 0 to 65279 inclusive.
|
|
1144
|
+
*
|
|
1145
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1146
|
+
*
|
|
1147
|
+
* • At most once per second or
|
|
1148
|
+
*
|
|
1149
|
+
* • At the end of the movement/transition.
|
|
1034
1150
|
*
|
|
1035
1151
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.5
|
|
1036
1152
|
*/
|
|
@@ -1041,11 +1157,20 @@ export namespace ColorControl {
|
|
|
1041
1157
|
),
|
|
1042
1158
|
|
|
1043
1159
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
*
|
|
1160
|
+
* Indicates the current value of the normalized chromaticity value y, as defined in the CIE xyY Color
|
|
1161
|
+
* Space. It is updated as fast as practical during commands that change the color.
|
|
1162
|
+
*
|
|
1163
|
+
* The value of y shall be related to the CurrentY attribute by the relationship
|
|
1164
|
+
*
|
|
1165
|
+
* y = "CurrentY" / 65536
|
|
1166
|
+
*
|
|
1167
|
+
* where CurrentY is in the range from 0 to 65279 inclusive.
|
|
1046
1168
|
*
|
|
1047
|
-
*
|
|
1048
|
-
*
|
|
1169
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1170
|
+
*
|
|
1171
|
+
* • At most once per second or
|
|
1172
|
+
*
|
|
1173
|
+
* • At the end of the movement/transition.
|
|
1049
1174
|
*
|
|
1050
1175
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.6
|
|
1051
1176
|
*/
|
|
@@ -1058,17 +1183,17 @@ export namespace ColorControl {
|
|
|
1058
1183
|
|
|
1059
1184
|
commands: {
|
|
1060
1185
|
/**
|
|
1061
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1186
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.11
|
|
1062
1187
|
*/
|
|
1063
1188
|
moveToColor: Command(0x7, TlvMoveToColorRequest, 0x7, TlvNoResponse),
|
|
1064
1189
|
|
|
1065
1190
|
/**
|
|
1066
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1191
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12
|
|
1067
1192
|
*/
|
|
1068
1193
|
moveColor: Command(0x8, TlvMoveColorRequest, 0x8, TlvNoResponse),
|
|
1069
1194
|
|
|
1070
1195
|
/**
|
|
1071
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1196
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13
|
|
1072
1197
|
*/
|
|
1073
1198
|
stepColor: Command(0x9, TlvStepColorRequest, 0x9, TlvNoResponse)
|
|
1074
1199
|
}
|
|
@@ -1080,16 +1205,23 @@ export namespace ColorControl {
|
|
|
1080
1205
|
export const ColorTemperatureComponent = MutableCluster.Component({
|
|
1081
1206
|
attributes: {
|
|
1082
1207
|
/**
|
|
1083
|
-
*
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1208
|
+
* Indicates a scaled inverse of the current value of the color temperature. The unit of
|
|
1209
|
+
* ColorTemperatureMireds is the mired (micro reciprocal degree), a.k.a. mirek (micro reciprocal kelvin).
|
|
1210
|
+
* It is updated as fast as practical during commands that change the color.
|
|
1211
|
+
*
|
|
1212
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1213
|
+
*
|
|
1214
|
+
* • At most once per second or
|
|
1215
|
+
*
|
|
1216
|
+
* • At the end of the movement/transition.
|
|
1217
|
+
*
|
|
1218
|
+
* The color temperature value in kelvins shall be related to the ColorTemperatureMireds attribute in mired
|
|
1219
|
+
* by the relationship
|
|
1086
1220
|
*
|
|
1087
|
-
*
|
|
1088
|
-
* mireds by the relationship
|
|
1221
|
+
* "Color temperature [K]" = "1,000,000" / "ColorTemperatureMireds"
|
|
1089
1222
|
*
|
|
1090
|
-
*
|
|
1091
|
-
*
|
|
1092
|
-
* kelvins.
|
|
1223
|
+
* where ColorTemperatureMireds is in the range from 1 to 65279 inclusive, giving a color temperature range
|
|
1224
|
+
* from 1,000,000 K to 15.32 K.
|
|
1093
1225
|
*
|
|
1094
1226
|
* If this attribute is implemented then the ColorMode attribute shall also be implemented.
|
|
1095
1227
|
*
|
|
@@ -1098,78 +1230,78 @@ export namespace ColorControl {
|
|
|
1098
1230
|
colorTemperatureMireds: Attribute(0x7, TlvUInt16, { scene: true, persistent: true, default: 250 }),
|
|
1099
1231
|
|
|
1100
1232
|
/**
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1233
|
+
* Indicates the minimum mired value supported by the hardware. ColorTempPhysicalMinMireds corresponds to
|
|
1234
|
+
* the maximum color temperature in kelvins supported by the hardware.
|
|
1235
|
+
*
|
|
1236
|
+
* ColorTempPhysicalMinMireds <= ColorTemperatureMireds.
|
|
1104
1237
|
*
|
|
1105
1238
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.20
|
|
1106
1239
|
*/
|
|
1107
|
-
colorTempPhysicalMinMireds: Attribute(0x400b, TlvUInt16.bound({ max: 65279 }), { default:
|
|
1240
|
+
colorTempPhysicalMinMireds: Attribute(0x400b, TlvUInt16.bound({ min: 1, max: 65279 }), { default: 1 }),
|
|
1108
1241
|
|
|
1109
1242
|
/**
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
*
|
|
1243
|
+
* Indicates the maximum mired value supported by the hardware. ColorTempPhysicalMaxMireds corresponds to
|
|
1244
|
+
* the minimum color temperature in kelvins supported by the hardware.
|
|
1245
|
+
*
|
|
1246
|
+
* ColorTemperatureMireds <= ColorTempPhysicalMaxMireds.
|
|
1113
1247
|
*
|
|
1114
1248
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.21
|
|
1115
1249
|
*/
|
|
1116
1250
|
colorTempPhysicalMaxMireds: Attribute(0x400c, TlvUInt16.bound({ max: 65279 }), { default: 65279 }),
|
|
1117
1251
|
|
|
1118
1252
|
/**
|
|
1119
|
-
*
|
|
1120
|
-
* ColorTemperatureMireds attribute
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1253
|
+
* Indicates a lower bound on the value of the ColorTemperatureMireds attribute for the purposes of
|
|
1254
|
+
* coupling the ColorTemperatureMireds attribute to the CurrentLevel attribute when the
|
|
1255
|
+
* CoupleColorTempToLevel bit of the Options attribute of the Level Control cluster is equal to 1. When
|
|
1256
|
+
* coupling the ColorTemperatureMireds attribute to the CurrentLevel attribute, this value shall correspond
|
|
1257
|
+
* to a CurrentLevel value of 254 (100%).
|
|
1124
1258
|
*
|
|
1125
|
-
* This attribute shall be set such that the following relationship exists: ColorTempPhysicalMinMireds
|
|
1126
|
-
* CoupleColorTempToLevelMinMireds
|
|
1259
|
+
* This attribute shall be set such that the following relationship exists: ColorTempPhysicalMinMireds <=
|
|
1260
|
+
* CoupleColorTempToLevelMinMireds <= ColorTemperatureMireds
|
|
1127
1261
|
*
|
|
1128
1262
|
* Note that since this attribute is stored as a micro reciprocal degree (mired) value (i.e. color
|
|
1129
1263
|
* temperature in kelvins = 1,000,000 / CoupleColorTempToLevelMinMireds), the
|
|
1130
1264
|
* CoupleColorTempToLevelMinMireds attribute corresponds to an upper bound on the value of the color
|
|
1131
|
-
* temperature
|
|
1265
|
+
* temperature
|
|
1266
|
+
*
|
|
1267
|
+
* in kelvins supported by the device.
|
|
1132
1268
|
*
|
|
1133
1269
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.22
|
|
1134
1270
|
*/
|
|
1135
1271
|
coupleColorTempToLevelMinMireds: OptionalAttribute(0x400d, TlvUInt16),
|
|
1136
1272
|
|
|
1137
1273
|
/**
|
|
1138
|
-
*
|
|
1139
|
-
*
|
|
1140
|
-
*
|
|
1141
|
-
*
|
|
1142
|
-
* the table below,
|
|
1143
|
-
*
|
|
1144
|
-
* Table 12. Values of the StartUpColorTemperatureMireds attribute
|
|
1274
|
+
* Indicates the desired startup color temperature value the light shall use when it is supplied with power
|
|
1275
|
+
* and this value shall be reflected in the ColorTemperatureMireds attribute. In addition, the ColorMode
|
|
1276
|
+
* and EnhancedColorMode attributes shall be set to 2 (ColorTemperatureMireds). The values of the
|
|
1277
|
+
* StartUpColorTemperatureMireds attribute are listed in the table below,
|
|
1145
1278
|
*
|
|
1146
1279
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.23
|
|
1147
1280
|
*/
|
|
1148
1281
|
startUpColorTemperatureMireds: OptionalWritableAttribute(
|
|
1149
1282
|
0x4010,
|
|
1150
|
-
TlvNullable(TlvUInt16.bound({ max: 65279 })),
|
|
1283
|
+
TlvNullable(TlvUInt16.bound({ min: 1, max: 65279 })),
|
|
1151
1284
|
{ persistent: true, writeAcl: AccessLevel.Manage }
|
|
1152
1285
|
)
|
|
1153
1286
|
},
|
|
1154
1287
|
|
|
1155
1288
|
commands: {
|
|
1156
1289
|
/**
|
|
1157
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1290
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.14
|
|
1158
1291
|
*/
|
|
1159
1292
|
moveToColorTemperature: Command(0xa, TlvMoveToColorTemperatureRequest, 0xa, TlvNoResponse),
|
|
1160
1293
|
|
|
1161
1294
|
/**
|
|
1162
|
-
*
|
|
1295
|
+
* This command allows the color temperature of the light to be moved at a specified rate.
|
|
1163
1296
|
*
|
|
1164
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1297
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21
|
|
1165
1298
|
*/
|
|
1166
1299
|
moveColorTemperature: Command(0x4b, TlvMoveColorTemperatureRequest, 0x4b, TlvNoResponse),
|
|
1167
1300
|
|
|
1168
1301
|
/**
|
|
1169
|
-
*
|
|
1170
|
-
* step size.
|
|
1302
|
+
* This command allows the color temperature of the light to be stepped with a specified step size.
|
|
1171
1303
|
*
|
|
1172
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1304
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22
|
|
1173
1305
|
*/
|
|
1174
1306
|
stepColorTemperature: Command(0x4c, TlvStepColorTemperatureRequest, 0x4c, TlvNoResponse)
|
|
1175
1307
|
}
|
|
@@ -1181,15 +1313,20 @@ export namespace ColorControl {
|
|
|
1181
1313
|
export const EnhancedHueComponent = MutableCluster.Component({
|
|
1182
1314
|
attributes: {
|
|
1183
1315
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
* it provides 16-bits precision.
|
|
1316
|
+
* Indicates the non-equidistant steps along the CIE 1931 color triangle, and it provides 16-bits precision.
|
|
1186
1317
|
*
|
|
1187
1318
|
* The upper 8 bits of this attribute shall be used as an index in the implementation specific XY lookup
|
|
1188
|
-
* table to provide the non-
|
|
1319
|
+
* table to provide the non-equidistant steps. The lower 8 bits shall be used to interpolate between these
|
|
1189
1320
|
* steps in a linear way in order to provide color zoom for the user.
|
|
1190
1321
|
*
|
|
1191
|
-
* To provide compatibility with
|
|
1192
|
-
* range 0 to 254, calculated from the EnhancedCurrentHue attribute.
|
|
1322
|
+
* To provide compatibility with clients not supporting EHUE, the CurrentHue attribute shall contain a hue
|
|
1323
|
+
* value in the range 0 to 254, calculated from the EnhancedCurrentHue attribute.
|
|
1324
|
+
*
|
|
1325
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1326
|
+
*
|
|
1327
|
+
* • At most once per second or
|
|
1328
|
+
*
|
|
1329
|
+
* • At the end of the movement/transition.
|
|
1193
1330
|
*
|
|
1194
1331
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.12
|
|
1195
1332
|
*/
|
|
@@ -1198,34 +1335,33 @@ export namespace ColorControl {
|
|
|
1198
1335
|
|
|
1199
1336
|
commands: {
|
|
1200
1337
|
/**
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1338
|
+
* This command allows the light to be moved in a smooth continuous transition from their current hue to a
|
|
1339
|
+
* target hue.
|
|
1203
1340
|
*
|
|
1204
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1341
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15
|
|
1205
1342
|
*/
|
|
1206
1343
|
enhancedMoveToHue: Command(0x40, TlvEnhancedMoveToHueRequest, 0x40, TlvNoResponse),
|
|
1207
1344
|
|
|
1208
1345
|
/**
|
|
1209
|
-
*
|
|
1210
|
-
* current hue to a target hue.
|
|
1346
|
+
* This command allows the light to start a continuous transition starting from their current hue.
|
|
1211
1347
|
*
|
|
1212
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1348
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16
|
|
1213
1349
|
*/
|
|
1214
1350
|
enhancedMoveHue: Command(0x41, TlvEnhancedMoveHueRequest, 0x41, TlvNoResponse),
|
|
1215
1351
|
|
|
1216
1352
|
/**
|
|
1217
|
-
*
|
|
1218
|
-
*
|
|
1353
|
+
* This command allows the light to be moved in a stepped transition from their current hue, resulting in a
|
|
1354
|
+
* linear transition through XY space.
|
|
1219
1355
|
*
|
|
1220
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1356
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17
|
|
1221
1357
|
*/
|
|
1222
1358
|
enhancedStepHue: Command(0x42, TlvEnhancedStepHueRequest, 0x42, TlvNoResponse),
|
|
1223
1359
|
|
|
1224
1360
|
/**
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
1361
|
+
* This command allows the light to be moved in a smooth continuous transition from their current hue to a
|
|
1362
|
+
* target hue and from their current saturation to a target saturation.
|
|
1227
1363
|
*
|
|
1228
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1364
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18
|
|
1229
1365
|
*/
|
|
1230
1366
|
enhancedMoveToHueAndSaturation: Command(
|
|
1231
1367
|
0x43,
|
|
@@ -1242,9 +1378,8 @@ export namespace ColorControl {
|
|
|
1242
1378
|
export const ColorLoopComponent = MutableCluster.Component({
|
|
1243
1379
|
attributes: {
|
|
1244
1380
|
/**
|
|
1245
|
-
*
|
|
1246
|
-
*
|
|
1247
|
-
* shall be active. All other values (2 to 254) are reserved.
|
|
1381
|
+
* Indicates the current active status of the color loop. If this attribute has the value 0, the color loop
|
|
1382
|
+
* shall NOT be active. If this attribute has the value 1, the color loop shall be active.
|
|
1248
1383
|
*
|
|
1249
1384
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.14
|
|
1250
1385
|
*/
|
|
@@ -1255,9 +1390,9 @@ export namespace ColorControl {
|
|
|
1255
1390
|
),
|
|
1256
1391
|
|
|
1257
1392
|
/**
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1393
|
+
* Indicates the current direction of the color loop. If this attribute has the value 0, the
|
|
1394
|
+
* EnhancedCurrentHue attribute shall be decremented. If this attribute has the value 1, the
|
|
1395
|
+
* EnhancedCurrentHue attribute shall be incremented.
|
|
1261
1396
|
*
|
|
1262
1397
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.15
|
|
1263
1398
|
*/
|
|
@@ -1268,25 +1403,23 @@ export namespace ColorControl {
|
|
|
1268
1403
|
),
|
|
1269
1404
|
|
|
1270
1405
|
/**
|
|
1271
|
-
*
|
|
1272
|
-
*
|
|
1406
|
+
* Indicates the number of seconds it shall take to perform a full color loop, i.e., to cycle all values of
|
|
1407
|
+
* the EnhancedCurrentHue attribute (between 0 and 65534).
|
|
1273
1408
|
*
|
|
1274
1409
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.16
|
|
1275
1410
|
*/
|
|
1276
1411
|
colorLoopTime: Attribute(0x4004, TlvUInt16, { scene: true, persistent: true, default: 25 }),
|
|
1277
1412
|
|
|
1278
1413
|
/**
|
|
1279
|
-
*
|
|
1280
|
-
* which the color loop shall be started.
|
|
1414
|
+
* Indicates the value of the EnhancedCurrentHue attribute from which the color loop shall be started.
|
|
1281
1415
|
*
|
|
1282
1416
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.17
|
|
1283
1417
|
*/
|
|
1284
1418
|
colorLoopStartEnhancedHue: Attribute(0x4005, TlvUInt16, { default: 8960 }),
|
|
1285
1419
|
|
|
1286
1420
|
/**
|
|
1287
|
-
*
|
|
1288
|
-
*
|
|
1289
|
-
* restored to this value.
|
|
1421
|
+
* Indicates the value of the EnhancedCurrentHue attribute before the color loop was started. Once the
|
|
1422
|
+
* color loop is complete, the EnhancedCurrentHue attribute shall be restored to this value.
|
|
1290
1423
|
*
|
|
1291
1424
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.18
|
|
1292
1425
|
*/
|
|
@@ -1295,10 +1428,10 @@ export namespace ColorControl {
|
|
|
1295
1428
|
|
|
1296
1429
|
commands: {
|
|
1297
1430
|
/**
|
|
1298
|
-
*
|
|
1299
|
-
*
|
|
1431
|
+
* This command allows a color loop to be activated such that the color light cycles through its range of
|
|
1432
|
+
* hues.
|
|
1300
1433
|
*
|
|
1301
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1434
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19
|
|
1302
1435
|
*/
|
|
1303
1436
|
colorLoopSet: Command(0x44, TlvColorLoopSetRequest, 0x44, TlvNoResponse)
|
|
1304
1437
|
}
|
|
@@ -1310,12 +1443,13 @@ export namespace ColorControl {
|
|
|
1310
1443
|
export const HueSaturationOrXyOrColorTemperatureComponent = MutableCluster.Component({
|
|
1311
1444
|
commands: {
|
|
1312
1445
|
/**
|
|
1313
|
-
*
|
|
1314
|
-
*
|
|
1446
|
+
* This command is provided to allow MoveTo and Step commands to be stopped.
|
|
1447
|
+
*
|
|
1448
|
+
* NOTE This automatically provides symmetry to the Level Control cluster.
|
|
1315
1449
|
*
|
|
1316
|
-
* NOTE
|
|
1450
|
+
* NOTE The StopMoveStep command has no effect on an active color loop.
|
|
1317
1451
|
*
|
|
1318
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1452
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.20
|
|
1319
1453
|
*/
|
|
1320
1454
|
stopMoveStep: Command(0x47, TlvStopMoveStepRequest, 0x47, TlvNoResponse)
|
|
1321
1455
|
}
|
|
@@ -1327,7 +1461,7 @@ export namespace ColorControl {
|
|
|
1327
1461
|
export const Base = MutableCluster.Component({
|
|
1328
1462
|
id: 0x300,
|
|
1329
1463
|
name: "ColorControl",
|
|
1330
|
-
revision:
|
|
1464
|
+
revision: 7,
|
|
1331
1465
|
|
|
1332
1466
|
features: {
|
|
1333
1467
|
/**
|
|
@@ -1368,58 +1502,64 @@ export namespace ColorControl {
|
|
|
1368
1502
|
|
|
1369
1503
|
attributes: {
|
|
1370
1504
|
/**
|
|
1371
|
-
*
|
|
1505
|
+
* Indicates the time remaining, in 1/10ths of a second, until transitions due to the currently active
|
|
1372
1506
|
* command will be complete.
|
|
1373
1507
|
*
|
|
1508
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
1509
|
+
*
|
|
1510
|
+
* • When it changes from 0 to any value higher than 10, or
|
|
1511
|
+
*
|
|
1512
|
+
* • When it changes, with a delta larger than 10, caused by the invoke of a command, or
|
|
1513
|
+
*
|
|
1514
|
+
* • When it changes to 0.
|
|
1515
|
+
*
|
|
1516
|
+
* For commands with a transition time or changes to the transition time less than 1 second, changes to
|
|
1517
|
+
* this attribute shall NOT be reported.
|
|
1518
|
+
*
|
|
1519
|
+
* As this attribute is not being reported during a regular countdown, clients SHOULD NOT rely on the
|
|
1520
|
+
* reporting of this attribute in order to keep track of the remaining duration.
|
|
1521
|
+
*
|
|
1374
1522
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.4
|
|
1375
1523
|
*/
|
|
1376
1524
|
remainingTime: OptionalAttribute(0x2, TlvUInt16, { default: 0 }),
|
|
1377
1525
|
|
|
1378
1526
|
/**
|
|
1379
|
-
*
|
|
1380
|
-
* color/intensity drift over time. It shall be one of the non-reserved values in Values of the
|
|
1381
|
-
* DriftCompensation Attribute.
|
|
1382
|
-
*
|
|
1383
|
-
* ### Table 8. Values of the DriftCompensation Attribute
|
|
1527
|
+
* Indicates what mechanism, if any, is in use for compensation for color/intensity drift over time.
|
|
1384
1528
|
*
|
|
1385
1529
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.7
|
|
1386
1530
|
*/
|
|
1387
1531
|
driftCompensation: OptionalAttribute(0x5, TlvEnum<DriftCompensation>()),
|
|
1388
1532
|
|
|
1389
1533
|
/**
|
|
1390
|
-
*
|
|
1391
|
-
*
|
|
1534
|
+
* This attribute shall contain a textual indication of what mechanism, if any, is in use to compensate for
|
|
1535
|
+
* color/intensity drift over time.
|
|
1392
1536
|
*
|
|
1393
1537
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.8
|
|
1394
1538
|
*/
|
|
1395
1539
|
compensationText: OptionalAttribute(0x6, TlvString.bound({ maxLength: 254 })),
|
|
1396
1540
|
|
|
1397
1541
|
/**
|
|
1398
|
-
*
|
|
1542
|
+
* Indicates which attributes are currently determining the color of the device.
|
|
1399
1543
|
*
|
|
1400
1544
|
* The value of the ColorMode attribute cannot be written directly - it is set upon reception of any
|
|
1401
1545
|
* command in section Commands to the appropriate mode for that command.
|
|
1402
1546
|
*
|
|
1403
|
-
* Table 9. Values of the ColorMode Attribute
|
|
1404
|
-
*
|
|
1405
1547
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.10
|
|
1406
1548
|
*/
|
|
1407
1549
|
colorMode: Attribute(0x8, TlvEnum<ColorMode>(), { persistent: true }),
|
|
1408
1550
|
|
|
1409
1551
|
/**
|
|
1410
|
-
*
|
|
1411
|
-
*
|
|
1412
|
-
* the
|
|
1413
|
-
*
|
|
1414
|
-
*
|
|
1552
|
+
* Indicates a bitmap that determines the default behavior of some cluster commands. Each command that is
|
|
1553
|
+
* dependent on the Options attribute shall first construct a temporary Options bitmap that is in effect
|
|
1554
|
+
* during the command processing. The temporary Options bitmap has the same format and meaning as the
|
|
1555
|
+
* Options attribute, but includes any bits that may be overridden by command fields.
|
|
1556
|
+
*
|
|
1557
|
+
* This attribute is meant to be changed only during commissioning.
|
|
1415
1558
|
*
|
|
1416
1559
|
* Below is the format and description of the Options attribute and temporary Options bitmap and the effect
|
|
1417
1560
|
* on dependent commands.
|
|
1418
1561
|
*
|
|
1419
|
-
*
|
|
1420
|
-
*
|
|
1421
|
-
* ExecuteIfOff Options bit: Command execution shall NOT continue beyond the Options processing if all of
|
|
1422
|
-
* these criteria are true:
|
|
1562
|
+
* Command execution shall NOT continue beyond the Options processing if all of these criteria are true:
|
|
1423
1563
|
*
|
|
1424
1564
|
* • The On/Off cluster exists on the same endpoint as this cluster.
|
|
1425
1565
|
*
|
|
@@ -1432,134 +1572,139 @@ export namespace ColorControl {
|
|
|
1432
1572
|
options: WritableAttribute(0xf, TlvBitmap(TlvUInt8, Options)),
|
|
1433
1573
|
|
|
1434
1574
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
*
|
|
1575
|
+
* Indicates the number of color primaries implemented on this device. A value of null shall indicate that
|
|
1576
|
+
* the number of primaries is unknown.
|
|
1437
1577
|
*
|
|
1438
1578
|
* Where this attribute is implemented, the attributes below for indicating the “x” and “y” color values of
|
|
1439
1579
|
* the primaries shall also be implemented for each of the primaries from 1 to NumberOfPrimaries, without
|
|
1440
1580
|
* leaving gaps. Implementation of the Primary1Intensity attribute and subsequent intensity attributes is
|
|
1441
1581
|
* optional.
|
|
1442
1582
|
*
|
|
1443
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1583
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.24
|
|
1444
1584
|
*/
|
|
1445
1585
|
numberOfPrimaries: FixedAttribute(0x10, TlvNullable(TlvUInt8.bound({ max: 6 }))),
|
|
1446
1586
|
|
|
1447
1587
|
/**
|
|
1448
|
-
*
|
|
1449
|
-
* CIE xyY Color Space.
|
|
1588
|
+
* Indicates the normalized chromaticity value x for this primary, as defined in the CIE xyY Color Space.
|
|
1450
1589
|
*
|
|
1451
1590
|
* The value of x shall be related to the Primary1X attribute by the relationship x = Primary1X / 65536
|
|
1452
1591
|
* (Primary1X in the range 0 to 65279 inclusive)
|
|
1453
1592
|
*
|
|
1454
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1593
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.25
|
|
1455
1594
|
*/
|
|
1456
1595
|
primary1X: OptionalFixedAttribute(0x11, TlvUInt16.bound({ max: 65279 })),
|
|
1457
1596
|
|
|
1458
1597
|
/**
|
|
1459
|
-
*
|
|
1460
|
-
* CIE xyY Color Space.
|
|
1598
|
+
* Indicates the normalized chromaticity value y for this primary, as defined in the CIE xyY Color Space.
|
|
1461
1599
|
*
|
|
1462
1600
|
* The value of y shall be related to the Primary1Y attribute by the relationship y = Primary1Y / 65536
|
|
1463
1601
|
* (Primary1Y in the range 0 to 65279 inclusive)
|
|
1464
1602
|
*
|
|
1465
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1603
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.26
|
|
1466
1604
|
*/
|
|
1467
1605
|
primary1Y: OptionalFixedAttribute(0x12, TlvUInt16.bound({ max: 65279 })),
|
|
1468
1606
|
|
|
1469
1607
|
/**
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
1472
|
-
*
|
|
1608
|
+
* Indicates a representation of the maximum intensity of this primary as defined in the Dimming Light
|
|
1609
|
+
* Curve in the Ballast Configuration cluster (see Ballast Configuration Cluster), normalized such that the
|
|
1610
|
+
* primary with the highest maximum intensity contains the value 254.
|
|
1473
1611
|
*
|
|
1474
1612
|
* A value of null shall indicate that this primary is not available.
|
|
1475
1613
|
*
|
|
1476
|
-
*
|
|
1614
|
+
* 3.2.7.28. Primary2X, Primary2Y, Primary2Intensity, Primary3X, Primary3Y, Primary3Intensity, Primary4X,
|
|
1615
|
+
* Primary4Y, Primary4Intensity, Primary5X, Primary5Y, Primary5Intensity, Primary6X, Primary6Y and
|
|
1616
|
+
* Primary6Intensity Attributes
|
|
1617
|
+
*
|
|
1618
|
+
* These attributes shall represent the capabilities of the 2nd, 3rd, 4th, 5th and 6th primaries, where
|
|
1619
|
+
* present, in the same way as for the Primary1X, Primary1Y and Primary1Intensity attributes.
|
|
1620
|
+
*
|
|
1621
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.27
|
|
1477
1622
|
*/
|
|
1478
1623
|
primary1Intensity: OptionalFixedAttribute(0x13, TlvNullable(TlvUInt8)),
|
|
1479
1624
|
|
|
1480
1625
|
/**
|
|
1481
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1626
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1482
1627
|
*/
|
|
1483
1628
|
primary2X: OptionalFixedAttribute(0x15, TlvUInt16.bound({ max: 65279 })),
|
|
1484
1629
|
|
|
1485
1630
|
/**
|
|
1486
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1631
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1487
1632
|
*/
|
|
1488
1633
|
primary2Y: OptionalFixedAttribute(0x16, TlvUInt16.bound({ max: 65279 })),
|
|
1489
1634
|
|
|
1490
1635
|
/**
|
|
1491
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1636
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1492
1637
|
*/
|
|
1493
1638
|
primary2Intensity: OptionalFixedAttribute(0x17, TlvNullable(TlvUInt8)),
|
|
1494
1639
|
|
|
1495
1640
|
/**
|
|
1496
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1641
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1497
1642
|
*/
|
|
1498
1643
|
primary3X: OptionalFixedAttribute(0x19, TlvUInt16.bound({ max: 65279 })),
|
|
1499
1644
|
|
|
1500
1645
|
/**
|
|
1501
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1646
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1502
1647
|
*/
|
|
1503
1648
|
primary3Y: OptionalFixedAttribute(0x1a, TlvUInt16.bound({ max: 65279 })),
|
|
1504
1649
|
|
|
1505
1650
|
/**
|
|
1506
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1651
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1507
1652
|
*/
|
|
1508
1653
|
primary3Intensity: OptionalFixedAttribute(0x1b, TlvNullable(TlvUInt8)),
|
|
1509
1654
|
|
|
1510
1655
|
/**
|
|
1511
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1656
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1512
1657
|
*/
|
|
1513
1658
|
primary4X: OptionalFixedAttribute(0x20, TlvUInt16.bound({ max: 65279 })),
|
|
1514
1659
|
|
|
1515
1660
|
/**
|
|
1516
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1661
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1517
1662
|
*/
|
|
1518
1663
|
primary4Y: OptionalFixedAttribute(0x21, TlvUInt16.bound({ max: 65279 })),
|
|
1519
1664
|
|
|
1520
1665
|
/**
|
|
1521
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1666
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1522
1667
|
*/
|
|
1523
1668
|
primary4Intensity: OptionalFixedAttribute(0x22, TlvNullable(TlvUInt8)),
|
|
1524
1669
|
|
|
1525
1670
|
/**
|
|
1526
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1671
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1527
1672
|
*/
|
|
1528
1673
|
primary5X: OptionalFixedAttribute(0x24, TlvUInt16.bound({ max: 65279 })),
|
|
1529
1674
|
|
|
1530
1675
|
/**
|
|
1531
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1676
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1532
1677
|
*/
|
|
1533
1678
|
primary5Y: OptionalFixedAttribute(0x25, TlvUInt16.bound({ max: 65279 })),
|
|
1534
1679
|
|
|
1535
1680
|
/**
|
|
1536
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1681
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1537
1682
|
*/
|
|
1538
1683
|
primary5Intensity: OptionalFixedAttribute(0x26, TlvNullable(TlvUInt8)),
|
|
1539
1684
|
|
|
1540
1685
|
/**
|
|
1541
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1686
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1542
1687
|
*/
|
|
1543
1688
|
primary6X: OptionalFixedAttribute(0x28, TlvUInt16.bound({ max: 65279 })),
|
|
1544
1689
|
|
|
1545
1690
|
/**
|
|
1546
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1691
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1547
1692
|
*/
|
|
1548
1693
|
primary6Y: OptionalFixedAttribute(0x29, TlvUInt16.bound({ max: 65279 })),
|
|
1549
1694
|
|
|
1550
1695
|
/**
|
|
1551
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1696
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1552
1697
|
*/
|
|
1553
1698
|
primary6Intensity: OptionalFixedAttribute(0x2a, TlvNullable(TlvUInt8)),
|
|
1554
1699
|
|
|
1555
1700
|
/**
|
|
1556
|
-
*
|
|
1557
|
-
*
|
|
1701
|
+
* Indicates the normalized chromaticity value x, as defined in the CIE xyY Color Space, of the current
|
|
1702
|
+
* white point of the device.
|
|
1558
1703
|
*
|
|
1559
1704
|
* The value of x shall be related to the WhitePointX attribute by the relationship x = WhitePointX / 65536
|
|
1560
1705
|
* (WhitePointX in the range 0 to 65279 inclusive)
|
|
1561
1706
|
*
|
|
1562
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1707
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.29
|
|
1563
1708
|
*/
|
|
1564
1709
|
whitePointX: OptionalWritableAttribute(
|
|
1565
1710
|
0x30,
|
|
@@ -1568,14 +1713,13 @@ export namespace ColorControl {
|
|
|
1568
1713
|
),
|
|
1569
1714
|
|
|
1570
1715
|
/**
|
|
1571
|
-
*
|
|
1572
|
-
*
|
|
1573
|
-
* Color Space, of the current white point of the device.
|
|
1716
|
+
* Indicates the normalized chromaticity value y, as defined in the CIE xyY Color Space, of the current
|
|
1717
|
+
* white point of the device.
|
|
1574
1718
|
*
|
|
1575
1719
|
* The value of y shall be related to the WhitePointY attribute by the relationship y = WhitePointY / 65536
|
|
1576
1720
|
* (WhitePointY in the range 0 to 65279 inclusive)
|
|
1577
1721
|
*
|
|
1578
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1722
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.30
|
|
1579
1723
|
*/
|
|
1580
1724
|
whitePointY: OptionalWritableAttribute(
|
|
1581
1725
|
0x31,
|
|
@@ -1584,13 +1728,13 @@ export namespace ColorControl {
|
|
|
1584
1728
|
),
|
|
1585
1729
|
|
|
1586
1730
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
*
|
|
1731
|
+
* Indicates the normalized chromaticity value x, as defined in the CIE xyY Color Space, of the red color
|
|
1732
|
+
* point of the device.
|
|
1589
1733
|
*
|
|
1590
1734
|
* The value of x shall be related to the ColorPointRX attribute by the relationship x = ColorPointRX /
|
|
1591
1735
|
* 65536 (ColorPointRX in the range 0 to 65279 inclusive)
|
|
1592
1736
|
*
|
|
1593
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1737
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.31
|
|
1594
1738
|
*/
|
|
1595
1739
|
colorPointRx: OptionalWritableAttribute(
|
|
1596
1740
|
0x32,
|
|
@@ -1599,13 +1743,13 @@ export namespace ColorControl {
|
|
|
1599
1743
|
),
|
|
1600
1744
|
|
|
1601
1745
|
/**
|
|
1602
|
-
*
|
|
1603
|
-
*
|
|
1746
|
+
* Indicates the normalized chromaticity value y, as defined in the CIE xyY Color Space, of the red color
|
|
1747
|
+
* point of the device.
|
|
1604
1748
|
*
|
|
1605
1749
|
* The value of y shall be related to the ColorPointRY attribute by the relationship y = ColorPointRY /
|
|
1606
1750
|
* 65536 (ColorPointRY in the range 0 to 65279 inclusive)
|
|
1607
1751
|
*
|
|
1608
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1752
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.32
|
|
1609
1753
|
*/
|
|
1610
1754
|
colorPointRy: OptionalWritableAttribute(
|
|
1611
1755
|
0x33,
|
|
@@ -1614,14 +1758,22 @@ export namespace ColorControl {
|
|
|
1614
1758
|
),
|
|
1615
1759
|
|
|
1616
1760
|
/**
|
|
1617
|
-
*
|
|
1618
|
-
*
|
|
1619
|
-
*
|
|
1620
|
-
* contains the value 0xFE.
|
|
1761
|
+
* Indicates a representation of the relative intensity of the red color point as defined in the Dimming
|
|
1762
|
+
* Light Curve in the Ballast Configuration cluster (see Ballast Configuration Cluster), normalized such
|
|
1763
|
+
* that the color point with the highest relative intensity contains the value 254.
|
|
1621
1764
|
*
|
|
1622
1765
|
* A value of null shall indicate an invalid value.
|
|
1623
1766
|
*
|
|
1624
|
-
*
|
|
1767
|
+
* 3.2.7.34. ColorPointGX, ColorPointGY, ColorPointGIntensity, ColorPointBX, ColorPointBY and
|
|
1768
|
+
* ColorPointBIntensity Attributes
|
|
1769
|
+
*
|
|
1770
|
+
* These attributes shall represent the chromaticity values and intensities of the green and blue color
|
|
1771
|
+
* points, in the same way as for the ColorPointRX, ColorPointRY and ColorPointRIntensity attributes.
|
|
1772
|
+
*
|
|
1773
|
+
* If any one of these red, green or blue color point attributes is implemented then they shall all be
|
|
1774
|
+
* implemented.
|
|
1775
|
+
*
|
|
1776
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.33
|
|
1625
1777
|
*/
|
|
1626
1778
|
colorPointRIntensity: OptionalWritableAttribute(
|
|
1627
1779
|
0x34,
|
|
@@ -1630,7 +1782,7 @@ export namespace ColorControl {
|
|
|
1630
1782
|
),
|
|
1631
1783
|
|
|
1632
1784
|
/**
|
|
1633
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1785
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1634
1786
|
*/
|
|
1635
1787
|
colorPointGx: OptionalWritableAttribute(
|
|
1636
1788
|
0x36,
|
|
@@ -1639,7 +1791,7 @@ export namespace ColorControl {
|
|
|
1639
1791
|
),
|
|
1640
1792
|
|
|
1641
1793
|
/**
|
|
1642
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1794
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1643
1795
|
*/
|
|
1644
1796
|
colorPointGy: OptionalWritableAttribute(
|
|
1645
1797
|
0x37,
|
|
@@ -1648,7 +1800,7 @@ export namespace ColorControl {
|
|
|
1648
1800
|
),
|
|
1649
1801
|
|
|
1650
1802
|
/**
|
|
1651
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1803
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1652
1804
|
*/
|
|
1653
1805
|
colorPointGIntensity: OptionalWritableAttribute(
|
|
1654
1806
|
0x38,
|
|
@@ -1657,7 +1809,7 @@ export namespace ColorControl {
|
|
|
1657
1809
|
),
|
|
1658
1810
|
|
|
1659
1811
|
/**
|
|
1660
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1812
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1661
1813
|
*/
|
|
1662
1814
|
colorPointBx: OptionalWritableAttribute(
|
|
1663
1815
|
0x3a,
|
|
@@ -1666,7 +1818,7 @@ export namespace ColorControl {
|
|
|
1666
1818
|
),
|
|
1667
1819
|
|
|
1668
1820
|
/**
|
|
1669
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1821
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1670
1822
|
*/
|
|
1671
1823
|
colorPointBy: OptionalWritableAttribute(
|
|
1672
1824
|
0x3b,
|
|
@@ -1675,7 +1827,7 @@ export namespace ColorControl {
|
|
|
1675
1827
|
),
|
|
1676
1828
|
|
|
1677
1829
|
/**
|
|
1678
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1830
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1679
1831
|
*/
|
|
1680
1832
|
colorPointBIntensity: OptionalWritableAttribute(
|
|
1681
1833
|
0x3c,
|
|
@@ -1684,15 +1836,11 @@ export namespace ColorControl {
|
|
|
1684
1836
|
),
|
|
1685
1837
|
|
|
1686
1838
|
/**
|
|
1687
|
-
*
|
|
1688
|
-
* device, as detailed in Values of the EnhancedColorMode Attribute.
|
|
1689
|
-
*
|
|
1690
|
-
* ### Table 11. Values of the EnhancedColorMode Attribute
|
|
1839
|
+
* Indicates which attributes are currently determining the color of the device.
|
|
1691
1840
|
*
|
|
1692
|
-
* To provide compatibility with
|
|
1693
|
-
* and CurrentSaturation
|
|
1694
|
-
* is changed,
|
|
1695
|
-
* value shall be copied to the EnhancedColorMode attribute.
|
|
1841
|
+
* To provide compatibility with clients not supporting EHUE, the original ColorMode attribute shall
|
|
1842
|
+
* indicate CurrentHue and CurrentSaturation when the light uses the EnhancedCurrentHue attribute. If the
|
|
1843
|
+
* ColorMode attribute is changed, its new value shall be copied to the EnhancedColorMode attribute.
|
|
1696
1844
|
*
|
|
1697
1845
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.13
|
|
1698
1846
|
*/
|
|
@@ -1703,6 +1851,8 @@ export namespace ColorControl {
|
|
|
1703
1851
|
),
|
|
1704
1852
|
|
|
1705
1853
|
/**
|
|
1854
|
+
* Indicates the color control capabilities of the device.
|
|
1855
|
+
*
|
|
1706
1856
|
* Bits 0-4 of the ColorCapabilities attribute shall have the same values as the corresponding bits of the
|
|
1707
1857
|
* FeatureMap attribute. All other bits in ColorCapabilities shall be 0.
|
|
1708
1858
|
*
|
|
@@ -1723,7 +1873,9 @@ export namespace ColorControl {
|
|
|
1723
1873
|
{ flags: { colorLoop: true }, component: ColorLoopComponent },
|
|
1724
1874
|
{ flags: { hueSaturation: true }, component: HueSaturationOrXyOrColorTemperatureComponent },
|
|
1725
1875
|
{ flags: { xy: true }, component: HueSaturationOrXyOrColorTemperatureComponent },
|
|
1726
|
-
{ flags: { colorTemperature: true }, component: HueSaturationOrXyOrColorTemperatureComponent }
|
|
1876
|
+
{ flags: { colorTemperature: true }, component: HueSaturationOrXyOrColorTemperatureComponent },
|
|
1877
|
+
{ flags: { enhancedHue: true, hueSaturation: false }, component: false },
|
|
1878
|
+
{ flags: { colorLoop: true, enhancedHue: false }, component: false }
|
|
1727
1879
|
)
|
|
1728
1880
|
});
|
|
1729
1881
|
|
|
@@ -1733,6 +1885,17 @@ export namespace ColorControl {
|
|
|
1733
1885
|
export const ClusterInstance = MutableCluster(Base);
|
|
1734
1886
|
|
|
1735
1887
|
/**
|
|
1888
|
+
* This cluster provides an interface for changing the color of a light. Color is specified according to the CIE
|
|
1889
|
+
* 1931 Color space. Color control is carried out in terms of x,y values, as defined by this specification.
|
|
1890
|
+
*
|
|
1891
|
+
* Additionally, color may optionally be controlled in terms of color temperature, or as hue and saturation values
|
|
1892
|
+
* based on optionally variable RGB and W color points. It is recommended that the hue and saturation are
|
|
1893
|
+
* interpreted according to the HSV (a.k.a. HSB) color model.
|
|
1894
|
+
*
|
|
1895
|
+
* Control over luminance is not included, as this is provided by means of the Level Control for Lighting cluster.
|
|
1896
|
+
* It is recommended that the level provided by this cluster be interpreted as representing a proportion of the
|
|
1897
|
+
* maximum intensity achievable at the current color.
|
|
1898
|
+
*
|
|
1736
1899
|
* ColorControlCluster supports optional features that you can enable with the ColorControlCluster.with() factory
|
|
1737
1900
|
* method.
|
|
1738
1901
|
*
|