@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
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "../cluster/Cluster.js";
|
|
17
17
|
import { TlvUInt8, TlvEnum, TlvUInt16, TlvBitmap, TlvInt16 } from "../tlv/TlvNumber.js";
|
|
18
18
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
19
|
-
import { BitFlag
|
|
19
|
+
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
20
20
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
21
21
|
import { AccessLevel } from "#model";
|
|
22
22
|
import { TlvString } from "../tlv/TlvString.js";
|
|
@@ -33,32 +33,38 @@ var ColorControl;
|
|
|
33
33
|
})(Feature = ColorControl2.Feature || (ColorControl2.Feature = {}));
|
|
34
34
|
let Direction;
|
|
35
35
|
((Direction2) => {
|
|
36
|
-
Direction2[Direction2["
|
|
37
|
-
Direction2[Direction2["
|
|
36
|
+
Direction2[Direction2["Shortest"] = 0] = "Shortest";
|
|
37
|
+
Direction2[Direction2["Longest"] = 1] = "Longest";
|
|
38
38
|
Direction2[Direction2["Up"] = 2] = "Up";
|
|
39
39
|
Direction2[Direction2["Down"] = 3] = "Down";
|
|
40
40
|
})(Direction = ColorControl2.Direction || (ColorControl2.Direction = {}));
|
|
41
|
-
ColorControl2.Options = {
|
|
41
|
+
ColorControl2.Options = {
|
|
42
|
+
/**
|
|
43
|
+
* Dependency on On/Off cluster
|
|
44
|
+
*
|
|
45
|
+
* This bit shall indicate if this cluster server instance has a dependency with the On/Off cluster.
|
|
46
|
+
*
|
|
47
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.2.1
|
|
48
|
+
*/
|
|
49
|
+
executeIfOff: BitFlag(0)
|
|
50
|
+
};
|
|
42
51
|
ColorControl2.TlvMoveToHueRequest = TlvObject({
|
|
43
52
|
/**
|
|
44
|
-
*
|
|
53
|
+
* This field shall indicate the hue to be moved to.
|
|
45
54
|
*
|
|
46
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
55
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.1
|
|
47
56
|
*/
|
|
48
57
|
hue: TlvField(0, TlvUInt8.bound({ max: 254 })),
|
|
49
58
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* ### Table 17. Values of the Direction Field
|
|
59
|
+
* This field shall indicate the movement direction.
|
|
53
60
|
*
|
|
54
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
61
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.2
|
|
55
62
|
*/
|
|
56
63
|
direction: TlvField(1, TlvEnum()),
|
|
57
64
|
/**
|
|
58
|
-
*
|
|
59
|
-
* hue.
|
|
65
|
+
* This field shall indicate, in 1/10ths of a second, the time that shall be taken to move to the new hue.
|
|
60
66
|
*
|
|
61
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
67
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.3
|
|
62
68
|
*/
|
|
63
69
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
64
70
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -72,21 +78,16 @@ var ColorControl;
|
|
|
72
78
|
})(MoveMode = ColorControl2.MoveMode || (ColorControl2.MoveMode = {}));
|
|
73
79
|
ColorControl2.TlvMoveHueRequest = TlvObject({
|
|
74
80
|
/**
|
|
75
|
-
*
|
|
76
|
-
* field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
81
|
+
* This field shall indicate the mode of movement.
|
|
77
82
|
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.5.1
|
|
83
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5.1
|
|
81
84
|
*/
|
|
82
85
|
moveMode: TlvField(0, TlvEnum()),
|
|
83
86
|
/**
|
|
84
|
-
*
|
|
85
|
-
* one unit.
|
|
86
|
-
* command has no effect and a response command shall be sent in response, with the status code set to
|
|
87
|
-
* INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
87
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s hue
|
|
88
|
+
* of one unit.
|
|
88
89
|
*
|
|
89
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
90
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5.2
|
|
90
91
|
*/
|
|
91
92
|
rate: TlvField(1, TlvUInt8),
|
|
92
93
|
optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -99,29 +100,29 @@ var ColorControl;
|
|
|
99
100
|
})(StepMode = ColorControl2.StepMode || (ColorControl2.StepMode = {}));
|
|
100
101
|
ColorControl2.TlvStepHueRequest = TlvObject({
|
|
101
102
|
/**
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* ### Table 20. Values of the StepMode Field
|
|
103
|
+
* This field shall indicate the mode of the step to be performed.
|
|
105
104
|
*
|
|
106
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
105
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.1
|
|
107
106
|
*/
|
|
108
107
|
stepMode: TlvField(0, TlvEnum()),
|
|
109
108
|
/**
|
|
110
|
-
*
|
|
109
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
110
|
+
* hue.
|
|
111
111
|
*
|
|
112
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
112
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.2
|
|
113
113
|
*/
|
|
114
114
|
stepSize: TlvField(1, TlvUInt8),
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
117
|
-
*
|
|
116
|
+
* This field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the step.
|
|
117
|
+
*
|
|
118
|
+
* A step is a change in the device’s hue of Step size units.
|
|
118
119
|
*
|
|
119
120
|
* NOTE
|
|
120
121
|
*
|
|
121
122
|
* Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime
|
|
122
123
|
* data fields in other clusters / commands.
|
|
123
124
|
*
|
|
124
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
125
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.3
|
|
125
126
|
*/
|
|
126
127
|
transitionTime: TlvField(2, TlvUInt8),
|
|
127
128
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -135,21 +136,16 @@ var ColorControl;
|
|
|
135
136
|
});
|
|
136
137
|
ColorControl2.TlvMoveSaturationRequest = TlvObject({
|
|
137
138
|
/**
|
|
138
|
-
*
|
|
139
|
-
* field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
139
|
+
* This field shall indicate the mode of movement, as described in the MoveHue command.
|
|
140
140
|
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.11.8.1
|
|
141
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8.1
|
|
144
142
|
*/
|
|
145
143
|
moveMode: TlvField(0, TlvEnum()),
|
|
146
144
|
/**
|
|
147
|
-
*
|
|
148
|
-
* saturation of one unit.
|
|
149
|
-
* zero, the command has no effect and a response command shall be sent in response, with the status code set
|
|
150
|
-
* to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
145
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
|
|
146
|
+
* saturation of one unit.
|
|
151
147
|
*
|
|
152
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
148
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8.2
|
|
153
149
|
*/
|
|
154
150
|
rate: TlvField(1, TlvUInt8),
|
|
155
151
|
optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -157,29 +153,28 @@ var ColorControl;
|
|
|
157
153
|
});
|
|
158
154
|
ColorControl2.TlvStepSaturationRequest = TlvObject({
|
|
159
155
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* ### Table 24. Values of the StepMode Field
|
|
156
|
+
* This field shall indicate the mode of the step to be performed, as described in the StepHue command.
|
|
163
157
|
*
|
|
164
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
158
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.1
|
|
165
159
|
*/
|
|
166
160
|
stepMode: TlvField(0, TlvEnum()),
|
|
167
161
|
/**
|
|
168
|
-
*
|
|
162
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
163
|
+
* saturation.
|
|
169
164
|
*
|
|
170
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
165
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.2
|
|
171
166
|
*/
|
|
172
167
|
stepSize: TlvField(1, TlvUInt8),
|
|
173
168
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
169
|
+
* This field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the step. A step
|
|
170
|
+
* is a change in the device’s saturation of Step size units.
|
|
176
171
|
*
|
|
177
172
|
* NOTE
|
|
178
173
|
*
|
|
179
174
|
* Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime
|
|
180
175
|
* data fields in other clusters / commands.
|
|
181
176
|
*
|
|
182
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
177
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.3
|
|
183
178
|
*/
|
|
184
179
|
transitionTime: TlvField(2, TlvUInt8),
|
|
185
180
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -201,17 +196,17 @@ var ColorControl;
|
|
|
201
196
|
});
|
|
202
197
|
ColorControl2.TlvMoveColorRequest = TlvObject({
|
|
203
198
|
/**
|
|
204
|
-
*
|
|
199
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
|
|
205
200
|
* CurrentX attribute of one unit.
|
|
206
201
|
*
|
|
207
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
202
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12.1
|
|
208
203
|
*/
|
|
209
204
|
rateX: TlvField(0, TlvInt16),
|
|
210
205
|
/**
|
|
211
|
-
*
|
|
206
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
|
|
212
207
|
* CurrentY attribute of one unit.
|
|
213
208
|
*
|
|
214
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
209
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12.2
|
|
215
210
|
*/
|
|
216
211
|
rateY: TlvField(1, TlvInt16),
|
|
217
212
|
optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -221,10 +216,9 @@ var ColorControl;
|
|
|
221
216
|
stepX: TlvField(0, TlvInt16),
|
|
222
217
|
stepY: TlvField(1, TlvInt16),
|
|
223
218
|
/**
|
|
224
|
-
* The
|
|
225
|
-
* color change.
|
|
219
|
+
* The field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the color change.
|
|
226
220
|
*
|
|
227
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
221
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13.2
|
|
228
222
|
*/
|
|
229
223
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
230
224
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -238,24 +232,21 @@ var ColorControl;
|
|
|
238
232
|
});
|
|
239
233
|
ColorControl2.TlvMoveColorTemperatureRequest = TlvObject({
|
|
240
234
|
/**
|
|
241
|
-
* This field
|
|
242
|
-
* sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
235
|
+
* This field shall indicate the mode of movement, as described in the MoveHue command.
|
|
243
236
|
*
|
|
244
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
237
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.1
|
|
245
238
|
*/
|
|
246
239
|
moveMode: TlvField(0, TlvEnum()),
|
|
247
240
|
/**
|
|
248
|
-
*
|
|
249
|
-
* temperature of a device by one unit.
|
|
250
|
-
* has a value of zero, the command has no effect and a response command shall be sent in response, with the
|
|
251
|
-
* status code set to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
241
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the color
|
|
242
|
+
* temperature of a device by one unit.
|
|
252
243
|
*
|
|
253
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
244
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.2
|
|
254
245
|
*/
|
|
255
246
|
rate: TlvField(1, TlvUInt16),
|
|
256
247
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
248
|
+
* This field shall indicate a lower bound on the ColorTemperatureMireds attribute (≡ an upper bound on the
|
|
249
|
+
* color temperature in kelvins) for the current move operation
|
|
259
250
|
*
|
|
260
251
|
* ColorTempPhysicalMinMireds <= ColorTemperatureMinimumMireds field <= ColorTemperatureMireds
|
|
261
252
|
*
|
|
@@ -264,12 +255,12 @@ var ColorControl;
|
|
|
264
255
|
* ColorTemperatureMinimumMireds field is set to 0, ColorTempPhysicalMinMireds shall be used as the lower bound
|
|
265
256
|
* for the ColorTemperatureMireds attribute.
|
|
266
257
|
*
|
|
267
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
258
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.3
|
|
268
259
|
*/
|
|
269
260
|
colorTemperatureMinimumMireds: TlvField(2, TlvUInt16.bound({ max: 65279 })),
|
|
270
261
|
/**
|
|
271
|
-
*
|
|
272
|
-
*
|
|
262
|
+
* This field shall indicate an upper bound on the ColorTemperatureMireds attribute (≡ a lower bound on the
|
|
263
|
+
* color temperature in kelvins) for the current move operation
|
|
273
264
|
*
|
|
274
265
|
* ColorTemperatureMireds <= ColorTemperatureMaximumMireds field <= ColorTempPhysicalMaxMireds
|
|
275
266
|
*
|
|
@@ -278,7 +269,7 @@ var ColorControl;
|
|
|
278
269
|
* ColorTemperatureMaximumMireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper bound
|
|
279
270
|
* for the ColorTemperatureMireds attribute.
|
|
280
271
|
*
|
|
281
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
272
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.4
|
|
282
273
|
*/
|
|
283
274
|
colorTemperatureMaximumMireds: TlvField(3, TlvUInt16.bound({ max: 65279 })),
|
|
284
275
|
optionsMask: TlvField(4, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -286,53 +277,52 @@ var ColorControl;
|
|
|
286
277
|
});
|
|
287
278
|
ColorControl2.TlvStepColorTemperatureRequest = TlvObject({
|
|
288
279
|
/**
|
|
289
|
-
* This field
|
|
290
|
-
* sub-clause StepHue Command).
|
|
280
|
+
* This field shall indicate the mode of the step to be performed, as described in the StepHue command.
|
|
291
281
|
*
|
|
292
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
282
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.1
|
|
293
283
|
*/
|
|
294
284
|
stepMode: TlvField(0, TlvEnum()),
|
|
295
285
|
/**
|
|
296
|
-
*
|
|
297
|
-
*
|
|
286
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
287
|
+
* color temperature.
|
|
298
288
|
*
|
|
299
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
289
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.2
|
|
300
290
|
*/
|
|
301
291
|
stepSize: TlvField(1, TlvUInt16),
|
|
302
292
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
293
|
+
* This field shall indicate, in units of 1/10ths of a second, the time that shall be taken to perform the
|
|
294
|
+
* step. A step is a change to the device’s color temperature of a magnitude corresponding to the StepSize
|
|
305
295
|
* field.
|
|
306
296
|
*
|
|
307
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
297
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.3
|
|
308
298
|
*/
|
|
309
299
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
310
300
|
/**
|
|
311
|
-
*
|
|
312
|
-
*
|
|
301
|
+
* This field shall indicate a lower bound on the ColorTemperatureMireds attribute (≡ an upper bound on the
|
|
302
|
+
* color temperature in kelvins) for the current step operation
|
|
313
303
|
*
|
|
314
304
|
* ColorTempPhysicalMinMireds <= ColorTemperatureMinimumMireds field <= ColorTemperatureMireds
|
|
315
305
|
*
|
|
316
|
-
* As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
|
|
317
|
-
*
|
|
306
|
+
* As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
|
|
307
|
+
* ColorTemperatureMinimumMireds field it shall be clipped so that the above invariant is satisfied. If the
|
|
318
308
|
* ColorTemperatureMinimumMireds field is set to 0, ColorTempPhysicalMinMireds shall be used as the lower bound
|
|
319
309
|
* for the ColorTemperatureMireds attribute.
|
|
320
310
|
*
|
|
321
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
311
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.4
|
|
322
312
|
*/
|
|
323
313
|
colorTemperatureMinimumMireds: TlvField(3, TlvUInt16.bound({ max: 65279 })),
|
|
324
314
|
/**
|
|
325
|
-
*
|
|
326
|
-
*
|
|
315
|
+
* This field shall indicate an upper bound on the ColorTemperatureMireds attribute (≡ a lower bound on the
|
|
316
|
+
* color temperature in kelvins) for the current step operation
|
|
327
317
|
*
|
|
328
318
|
* ColorTemperatureMireds ≤ ColorTemperatureMaximumMireds field ≤ ColorTempPhysicalMaxMireds
|
|
329
319
|
*
|
|
330
320
|
* As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
|
|
331
321
|
* ColorTemperatureMaximumMireds field it shall be clipped so that the above invariant is satisfied. If the
|
|
332
|
-
*
|
|
333
|
-
*
|
|
322
|
+
* ColorTemperatureMaximumMireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper bound
|
|
323
|
+
* for the ColorTemperatureMireds attribute.
|
|
334
324
|
*
|
|
335
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
325
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.5
|
|
336
326
|
*/
|
|
337
327
|
colorTemperatureMaximumMireds: TlvField(4, TlvUInt16.bound({ max: 65279 })),
|
|
338
328
|
optionsMask: TlvField(5, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -340,23 +330,21 @@ var ColorControl;
|
|
|
340
330
|
});
|
|
341
331
|
ColorControl2.TlvEnhancedMoveToHueRequest = TlvObject({
|
|
342
332
|
/**
|
|
343
|
-
*
|
|
333
|
+
* This field shall indicate the target extended hue for the light.
|
|
344
334
|
*
|
|
345
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
335
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.1
|
|
346
336
|
*/
|
|
347
337
|
enhancedHue: TlvField(0, TlvUInt16),
|
|
348
338
|
/**
|
|
349
|
-
* This field
|
|
350
|
-
* sub-clause Use of the OptionsMask and OptionsOverride fields).
|
|
339
|
+
* This field shall indicate the movement direction.
|
|
351
340
|
*
|
|
352
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
341
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.2
|
|
353
342
|
*/
|
|
354
343
|
direction: TlvField(1, TlvEnum()),
|
|
355
344
|
/**
|
|
356
|
-
* This field
|
|
357
|
-
* (see sub-clause Use of the OptionsMask and OptionsOverride fields).
|
|
345
|
+
* This field shall indicate the transition time, as described in the MoveToHue command.
|
|
358
346
|
*
|
|
359
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
347
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.3
|
|
360
348
|
*/
|
|
361
349
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
362
350
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -364,19 +352,16 @@ var ColorControl;
|
|
|
364
352
|
});
|
|
365
353
|
ColorControl2.TlvEnhancedMoveHueRequest = TlvObject({
|
|
366
354
|
/**
|
|
367
|
-
* This field
|
|
368
|
-
* sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.
|
|
355
|
+
* This field shall indicate the mode of movement, as described in the MoveHue command.
|
|
369
356
|
*
|
|
370
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
357
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16.1
|
|
371
358
|
*/
|
|
372
359
|
moveMode: TlvField(0, TlvEnum()),
|
|
373
360
|
/**
|
|
374
|
-
*
|
|
375
|
-
* a device by one unit.
|
|
376
|
-
* zero, the command has no effect and a response command shall be sent in response, with the status code set
|
|
377
|
-
* to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
|
|
361
|
+
* This field shall indicate the rate of movement in steps per second. A step is a change in the extended hue
|
|
362
|
+
* of a device by one unit.
|
|
378
363
|
*
|
|
379
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
364
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16.2
|
|
380
365
|
*/
|
|
381
366
|
rate: TlvField(1, TlvUInt16),
|
|
382
367
|
optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -384,29 +369,28 @@ var ColorControl;
|
|
|
384
369
|
});
|
|
385
370
|
ColorControl2.TlvEnhancedStepHueRequest = TlvObject({
|
|
386
371
|
/**
|
|
387
|
-
* This field
|
|
388
|
-
* sub-clause StepHue Command).
|
|
372
|
+
* This field shall indicate the mode of the step to be performed, as described in the StepHue command.
|
|
389
373
|
*
|
|
390
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
374
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.1
|
|
391
375
|
*/
|
|
392
376
|
stepMode: TlvField(0, TlvEnum()),
|
|
393
377
|
/**
|
|
394
|
-
*
|
|
395
|
-
*
|
|
378
|
+
* This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
|
|
379
|
+
* enhanced hue.
|
|
396
380
|
*
|
|
397
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
381
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.2
|
|
398
382
|
*/
|
|
399
383
|
stepSize: TlvField(1, TlvUInt16),
|
|
400
384
|
/**
|
|
401
|
-
* The
|
|
402
|
-
*
|
|
385
|
+
* The field shall indicate, in units of 1/10ths of a second, the time that shall be taken to perform the step.
|
|
386
|
+
* A step is a change to the device’s enhanced hue of a magnitude corresponding to the StepSize field.
|
|
403
387
|
*
|
|
404
388
|
* NOTE
|
|
405
389
|
*
|
|
406
390
|
* Here TransitionTime data field is of data type uint16, while the TransitionTime data field of the StepHue
|
|
407
391
|
* command is of data type uint8.
|
|
408
392
|
*
|
|
409
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
393
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.3
|
|
410
394
|
*/
|
|
411
395
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
412
396
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -414,23 +398,21 @@ var ColorControl;
|
|
|
414
398
|
});
|
|
415
399
|
ColorControl2.TlvEnhancedMoveToHueAndSaturationRequest = TlvObject({
|
|
416
400
|
/**
|
|
417
|
-
*
|
|
401
|
+
* This field shall indicate the target extended hue for the light.
|
|
418
402
|
*
|
|
419
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
403
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.1
|
|
420
404
|
*/
|
|
421
405
|
enhancedHue: TlvField(0, TlvUInt16),
|
|
422
406
|
/**
|
|
423
|
-
* This field
|
|
424
|
-
* cluster (see sub-clause MoveToHueAndSaturation Command).
|
|
407
|
+
* This field shall indicate the saturation, as described in the MoveToHueAndSaturation command.
|
|
425
408
|
*
|
|
426
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
409
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.2
|
|
427
410
|
*/
|
|
428
411
|
saturation: TlvField(1, TlvUInt8.bound({ max: 254 })),
|
|
429
412
|
/**
|
|
430
|
-
* This field
|
|
431
|
-
* (see sub-clause MoveToHueAndSaturation Command).
|
|
413
|
+
* This field shall indicate the transition time, as described in the MoveToHue command.
|
|
432
414
|
*
|
|
433
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
415
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.3
|
|
434
416
|
*/
|
|
435
417
|
transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
|
|
436
418
|
optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
@@ -447,77 +429,87 @@ var ColorControl;
|
|
|
447
429
|
ColorLoopDirection2[ColorLoopDirection2["Increment"] = 1] = "Increment";
|
|
448
430
|
})(ColorLoopDirection = ColorControl2.ColorLoopDirection || (ColorControl2.ColorLoopDirection = {}));
|
|
449
431
|
ColorControl2.UpdateFlags = {
|
|
432
|
+
/**
|
|
433
|
+
* Device adheres to the associated action field.
|
|
434
|
+
*
|
|
435
|
+
* This bit shall indicate whether the server adheres to the Action field in order to process the command.
|
|
436
|
+
*
|
|
437
|
+
* • 0 = Device shall ignore the Action field.
|
|
438
|
+
*
|
|
439
|
+
* • 1 = Device shall adhere to the Action field.
|
|
440
|
+
*
|
|
441
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.1
|
|
442
|
+
*/
|
|
450
443
|
updateAction: BitFlag(0),
|
|
444
|
+
/**
|
|
445
|
+
* Device updates the associated direction attribute.
|
|
446
|
+
*
|
|
447
|
+
* This bit shall indicate whether the device updates the ColorLoopDirection attribute with the Direction field.
|
|
448
|
+
*
|
|
449
|
+
* • 0 = Device shall ignore the Direction field.
|
|
450
|
+
*
|
|
451
|
+
* • 1 = Device shall update the ColorLoopDirection attribute with the value of the Direction field.
|
|
452
|
+
*
|
|
453
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.2
|
|
454
|
+
*/
|
|
451
455
|
updateDirection: BitFlag(1),
|
|
452
|
-
updateTime: BitFlag(2),
|
|
453
|
-
updateStartHue: BitFlag(3),
|
|
454
|
-
reserved: BitField(4, 4)
|
|
455
|
-
};
|
|
456
|
-
let Action;
|
|
457
|
-
((Action2) => {
|
|
458
|
-
Action2[Action2["DeActivateTheColorLoop"] = 0] = "DeActivateTheColorLoop";
|
|
459
|
-
Action2[Action2["ActivateTheColorLoopFromTheValueInTheColorLoopStartEnhancedHueField"] = 1] = "ActivateTheColorLoopFromTheValueInTheColorLoopStartEnhancedHueField";
|
|
460
|
-
Action2[Action2["ActivateTheColorLoopFromTheValueOfTheEnhancedCurrentHueAttribute"] = 2] = "ActivateTheColorLoopFromTheValueOfTheEnhancedCurrentHueAttribute";
|
|
461
|
-
})(Action = ColorControl2.Action || (ColorControl2.Action = {}));
|
|
462
|
-
let ColorLoopSetDirection;
|
|
463
|
-
((ColorLoopSetDirection2) => {
|
|
464
|
-
ColorLoopSetDirection2[ColorLoopSetDirection2["DecrementTheHueInTheColorLoop"] = 0] = "DecrementTheHueInTheColorLoop";
|
|
465
|
-
ColorLoopSetDirection2[ColorLoopSetDirection2["IncrementTheHueInTheColorLoop"] = 1] = "IncrementTheHueInTheColorLoop";
|
|
466
|
-
})(ColorLoopSetDirection = ColorControl2.ColorLoopSetDirection || (ColorControl2.ColorLoopSetDirection = {}));
|
|
467
|
-
ColorControl2.TlvColorLoopSetRequest = TlvObject({
|
|
468
456
|
/**
|
|
469
|
-
*
|
|
470
|
-
* field shall be formatted as illustrated in Format of the UpdateFlags Field of the ColorLoopSet Command.
|
|
457
|
+
* Device updates the associated time attribute.
|
|
471
458
|
*
|
|
472
|
-
*
|
|
459
|
+
* This bit shall indicate whether the device updates the ColorLoopTime attribute with the Time field.
|
|
473
460
|
*
|
|
474
|
-
*
|
|
475
|
-
* field in order to process the command. If this sub-field is set to 1, the device shall adhere to the action
|
|
476
|
-
* field. If this sub-field is set to 0, the device shall ignore the Action field.
|
|
461
|
+
* • 0 = Device shall ignore the Time field.
|
|
477
462
|
*
|
|
478
|
-
*
|
|
479
|
-
* ColorLoopDirection attribute with the Direction field. If this sub-field is set to 1, the device shall
|
|
480
|
-
* update the value of the ColorLoopDirection attribute with the value of the Direction field. If this
|
|
481
|
-
* sub-field is set to 0, the device shall ignore the Direction field.
|
|
463
|
+
* • 1 = Device shall update the value of the ColorLoopTime attribute with the value of the Time field.
|
|
482
464
|
*
|
|
483
|
-
*
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
465
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.3
|
|
466
|
+
*/
|
|
467
|
+
updateTime: BitFlag(2),
|
|
468
|
+
/**
|
|
469
|
+
* Device updates the associated start hue attribute.
|
|
470
|
+
*
|
|
471
|
+
* This bit shall indicate whether the device updates the ColorLoopStartEnhancedHue attribute with the value of
|
|
472
|
+
* the StartHue field.
|
|
473
|
+
*
|
|
474
|
+
* • 0 = Device shall ignore the StartHue field.
|
|
487
475
|
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
* update the value of the ColorLoopStartEnhancedHue attribute with the value of the StartHue field. If this
|
|
491
|
-
* sub-field is set to 0, the device shall ignore the StartHue field.
|
|
476
|
+
* • 1 = Device shall update the value of the ColorLoopStartEnhancedHue attribute with the value of the
|
|
477
|
+
* StartHue field.
|
|
492
478
|
*
|
|
493
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
479
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.4
|
|
494
480
|
*/
|
|
495
|
-
|
|
481
|
+
updateStartHue: BitFlag(3)
|
|
482
|
+
};
|
|
483
|
+
let ColorLoopAction;
|
|
484
|
+
((ColorLoopAction2) => {
|
|
485
|
+
ColorLoopAction2[ColorLoopAction2["Deactivate"] = 0] = "Deactivate";
|
|
486
|
+
ColorLoopAction2[ColorLoopAction2["ActivateFromColorLoopStartEnhancedHue"] = 1] = "ActivateFromColorLoopStartEnhancedHue";
|
|
487
|
+
ColorLoopAction2[ColorLoopAction2["ActivateFromEnhancedCurrentHue"] = 2] = "ActivateFromEnhancedCurrentHue";
|
|
488
|
+
})(ColorLoopAction = ColorControl2.ColorLoopAction || (ColorControl2.ColorLoopAction = {}));
|
|
489
|
+
ColorControl2.TlvColorLoopSetRequest = TlvObject({
|
|
496
490
|
/**
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
* the Action Field of the ColorLoopSet Command.
|
|
491
|
+
* This field shall indicate which color loop attributes to update (from the values supplied in the other
|
|
492
|
+
* fields, see field descriptions below) before the color loop is started.
|
|
500
493
|
*
|
|
501
|
-
*
|
|
494
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.1
|
|
495
|
+
*/
|
|
496
|
+
updateFlags: TlvField(0, TlvBitmap(TlvUInt8, ColorControl2.UpdateFlags)),
|
|
497
|
+
/**
|
|
498
|
+
* This field shall indicate the action to take for the color loop.
|
|
502
499
|
*
|
|
503
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
500
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.2
|
|
504
501
|
*/
|
|
505
502
|
action: TlvField(1, TlvEnum()),
|
|
506
503
|
/**
|
|
507
|
-
*
|
|
508
|
-
* UpdateFlags field is set to 1. This field shall be set to one of the non-reserved values listed in Values of
|
|
509
|
-
* the Direction Field of the ColorLoopSet Command.
|
|
510
|
-
*
|
|
511
|
-
* ### Table 30. Values of the Direction Field of the ColorLoopSet Command
|
|
504
|
+
* This field shall indicate the direction for the color loop.
|
|
512
505
|
*
|
|
513
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
506
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.3
|
|
514
507
|
*/
|
|
515
508
|
direction: TlvField(2, TlvEnum()),
|
|
516
509
|
/**
|
|
517
|
-
*
|
|
518
|
-
* sub-field of the UpdateFlags field is set to 1.
|
|
510
|
+
* This field shall indicate the number of seconds over which to perform a full color loop.
|
|
519
511
|
*
|
|
520
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
512
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.4
|
|
521
513
|
*/
|
|
522
514
|
time: TlvField(3, TlvUInt16),
|
|
523
515
|
startHue: TlvField(4, TlvUInt16),
|
|
@@ -531,7 +523,7 @@ var ColorControl;
|
|
|
531
523
|
let DriftCompensation;
|
|
532
524
|
((DriftCompensation2) => {
|
|
533
525
|
DriftCompensation2[DriftCompensation2["None"] = 0] = "None";
|
|
534
|
-
DriftCompensation2[DriftCompensation2["
|
|
526
|
+
DriftCompensation2[DriftCompensation2["OtherOrUnknown"] = 1] = "OtherOrUnknown";
|
|
535
527
|
DriftCompensation2[DriftCompensation2["TemperatureMonitoring"] = 2] = "TemperatureMonitoring";
|
|
536
528
|
DriftCompensation2[DriftCompensation2["OpticalLuminanceMonitoringAndFeedback"] = 3] = "OpticalLuminanceMonitoringAndFeedback";
|
|
537
529
|
DriftCompensation2[DriftCompensation2["OpticalColorMonitoringAndFeedback"] = 4] = "OpticalColorMonitoringAndFeedback";
|
|
@@ -550,10 +542,25 @@ var ColorControl;
|
|
|
550
542
|
EnhancedColorMode2[EnhancedColorMode2["EnhancedCurrentHueAndCurrentSaturation"] = 3] = "EnhancedCurrentHueAndCurrentSaturation";
|
|
551
543
|
})(EnhancedColorMode = ColorControl2.EnhancedColorMode || (ColorControl2.EnhancedColorMode = {}));
|
|
552
544
|
ColorControl2.ColorCapabilities = {
|
|
545
|
+
/**
|
|
546
|
+
* Supports color specification via hue/saturation.
|
|
547
|
+
*/
|
|
553
548
|
hueSaturation: BitFlag(0),
|
|
549
|
+
/**
|
|
550
|
+
* Enhanced hue is supported.
|
|
551
|
+
*/
|
|
554
552
|
enhancedHue: BitFlag(1),
|
|
553
|
+
/**
|
|
554
|
+
* Color loop is supported.
|
|
555
|
+
*/
|
|
555
556
|
colorLoop: BitFlag(2),
|
|
557
|
+
/**
|
|
558
|
+
* Supports color specification via XY.
|
|
559
|
+
*/
|
|
556
560
|
xy: BitFlag(3),
|
|
561
|
+
/**
|
|
562
|
+
* Supports color specification via color temperature.
|
|
563
|
+
*/
|
|
557
564
|
colorTemperature: BitFlag(4)
|
|
558
565
|
};
|
|
559
566
|
ColorControl2.HueSaturationComponent = MutableCluster.Component({
|
|
@@ -562,23 +569,37 @@ var ColorControl;
|
|
|
562
569
|
* The CurrentHue attribute contains the current hue value of the light. It is updated as fast as practical
|
|
563
570
|
* during commands that change the hue.
|
|
564
571
|
*
|
|
565
|
-
* The hue in degrees shall be related to the CurrentHue attribute by the relationship:
|
|
566
|
-
* 360 / 254 (CurrentHue in the range 0 to 254 inclusive)
|
|
572
|
+
* The hue in degrees shall be related to the CurrentHue attribute by the relationship:
|
|
567
573
|
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
574
|
+
* Hue = "CurrentHue" * 360 / 254
|
|
575
|
+
*
|
|
576
|
+
* where CurrentHue is in the range from 0 to 254 inclusive.
|
|
577
|
+
*
|
|
578
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
579
|
+
*
|
|
580
|
+
* • At most once per second or
|
|
581
|
+
*
|
|
582
|
+
* • At the end of the movement/transition.
|
|
570
583
|
*
|
|
571
584
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.2
|
|
572
585
|
*/
|
|
573
586
|
currentHue: Attribute(0, TlvUInt8.bound({ max: 254 }), { persistent: true, default: 0 }),
|
|
574
587
|
/**
|
|
575
|
-
*
|
|
576
|
-
*
|
|
588
|
+
* Indicates the current saturation value of the light. It is updated as fast as practical during commands
|
|
589
|
+
* that change the saturation.
|
|
590
|
+
*
|
|
591
|
+
* The saturation (on a scale from 0.0 to 1.0) shall be related to the CurrentSaturation attribute by the
|
|
592
|
+
* relationship:
|
|
577
593
|
*
|
|
578
|
-
*
|
|
579
|
-
* CurrentSaturation/254 (CurrentSaturation in the range 0 to 254 inclusive)
|
|
594
|
+
* Saturation = "CurrentSaturation" / 254
|
|
580
595
|
*
|
|
581
|
-
*
|
|
596
|
+
* where CurrentSaturation is in the range from 0 to 254 inclusive.
|
|
597
|
+
*
|
|
598
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
599
|
+
*
|
|
600
|
+
* • At most once per second or
|
|
601
|
+
*
|
|
602
|
+
* • At the end of the movement/transition.
|
|
582
603
|
*
|
|
583
604
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.3
|
|
584
605
|
*/
|
|
@@ -590,31 +611,31 @@ var ColorControl;
|
|
|
590
611
|
},
|
|
591
612
|
commands: {
|
|
592
613
|
/**
|
|
593
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
614
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4
|
|
594
615
|
*/
|
|
595
616
|
moveToHue: Command(0, ColorControl2.TlvMoveToHueRequest, 0, TlvNoResponse),
|
|
596
617
|
/**
|
|
597
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
618
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5
|
|
598
619
|
*/
|
|
599
620
|
moveHue: Command(1, ColorControl2.TlvMoveHueRequest, 1, TlvNoResponse),
|
|
600
621
|
/**
|
|
601
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
622
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6
|
|
602
623
|
*/
|
|
603
624
|
stepHue: Command(2, ColorControl2.TlvStepHueRequest, 2, TlvNoResponse),
|
|
604
625
|
/**
|
|
605
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
626
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.7
|
|
606
627
|
*/
|
|
607
628
|
moveToSaturation: Command(3, ColorControl2.TlvMoveToSaturationRequest, 3, TlvNoResponse),
|
|
608
629
|
/**
|
|
609
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
630
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8
|
|
610
631
|
*/
|
|
611
632
|
moveSaturation: Command(4, ColorControl2.TlvMoveSaturationRequest, 4, TlvNoResponse),
|
|
612
633
|
/**
|
|
613
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
634
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9
|
|
614
635
|
*/
|
|
615
636
|
stepSaturation: Command(5, ColorControl2.TlvStepSaturationRequest, 5, TlvNoResponse),
|
|
616
637
|
/**
|
|
617
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
638
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.10
|
|
618
639
|
*/
|
|
619
640
|
moveToHueAndSaturation: Command(6, ColorControl2.TlvMoveToHueAndSaturationRequest, 6, TlvNoResponse)
|
|
620
641
|
}
|
|
@@ -622,11 +643,20 @@ var ColorControl;
|
|
|
622
643
|
ColorControl2.XyComponent = MutableCluster.Component({
|
|
623
644
|
attributes: {
|
|
624
645
|
/**
|
|
625
|
-
*
|
|
626
|
-
*
|
|
646
|
+
* Indicates the current value of the normalized chromaticity value x, as defined in the CIE xyY Color
|
|
647
|
+
* Space. It is updated as fast as practical during commands that change the color.
|
|
648
|
+
*
|
|
649
|
+
* The value of x shall be related to the CurrentX attribute by the relationship
|
|
650
|
+
*
|
|
651
|
+
* x = "CurrentX" / 65536
|
|
652
|
+
*
|
|
653
|
+
* where CurrentX is in the range from 0 to 65279 inclusive.
|
|
627
654
|
*
|
|
628
|
-
*
|
|
629
|
-
*
|
|
655
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
656
|
+
*
|
|
657
|
+
* • At most once per second or
|
|
658
|
+
*
|
|
659
|
+
* • At the end of the movement/transition.
|
|
630
660
|
*
|
|
631
661
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.5
|
|
632
662
|
*/
|
|
@@ -636,11 +666,20 @@ var ColorControl;
|
|
|
636
666
|
{ scene: true, persistent: true, default: 24939 }
|
|
637
667
|
),
|
|
638
668
|
/**
|
|
639
|
-
*
|
|
640
|
-
*
|
|
669
|
+
* Indicates the current value of the normalized chromaticity value y, as defined in the CIE xyY Color
|
|
670
|
+
* Space. It is updated as fast as practical during commands that change the color.
|
|
671
|
+
*
|
|
672
|
+
* The value of y shall be related to the CurrentY attribute by the relationship
|
|
673
|
+
*
|
|
674
|
+
* y = "CurrentY" / 65536
|
|
675
|
+
*
|
|
676
|
+
* where CurrentY is in the range from 0 to 65279 inclusive.
|
|
677
|
+
*
|
|
678
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
679
|
+
*
|
|
680
|
+
* • At most once per second or
|
|
641
681
|
*
|
|
642
|
-
*
|
|
643
|
-
* (CurrentY in the range 0 to 65279 inclusive)
|
|
682
|
+
* • At the end of the movement/transition.
|
|
644
683
|
*
|
|
645
684
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.6
|
|
646
685
|
*/
|
|
@@ -652,15 +691,15 @@ var ColorControl;
|
|
|
652
691
|
},
|
|
653
692
|
commands: {
|
|
654
693
|
/**
|
|
655
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
694
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.11
|
|
656
695
|
*/
|
|
657
696
|
moveToColor: Command(7, ColorControl2.TlvMoveToColorRequest, 7, TlvNoResponse),
|
|
658
697
|
/**
|
|
659
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
698
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12
|
|
660
699
|
*/
|
|
661
700
|
moveColor: Command(8, ColorControl2.TlvMoveColorRequest, 8, TlvNoResponse),
|
|
662
701
|
/**
|
|
663
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
702
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13
|
|
664
703
|
*/
|
|
665
704
|
stepColor: Command(9, ColorControl2.TlvStepColorRequest, 9, TlvNoResponse)
|
|
666
705
|
}
|
|
@@ -668,16 +707,23 @@ var ColorControl;
|
|
|
668
707
|
ColorControl2.ColorTemperatureComponent = MutableCluster.Component({
|
|
669
708
|
attributes: {
|
|
670
709
|
/**
|
|
671
|
-
*
|
|
672
|
-
*
|
|
673
|
-
*
|
|
710
|
+
* Indicates a scaled inverse of the current value of the color temperature. The unit of
|
|
711
|
+
* ColorTemperatureMireds is the mired (micro reciprocal degree), a.k.a. mirek (micro reciprocal kelvin).
|
|
712
|
+
* It is updated as fast as practical during commands that change the color.
|
|
674
713
|
*
|
|
675
|
-
*
|
|
676
|
-
* mireds by the relationship
|
|
714
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
677
715
|
*
|
|
678
|
-
*
|
|
679
|
-
*
|
|
680
|
-
*
|
|
716
|
+
* • At most once per second or
|
|
717
|
+
*
|
|
718
|
+
* • At the end of the movement/transition.
|
|
719
|
+
*
|
|
720
|
+
* The color temperature value in kelvins shall be related to the ColorTemperatureMireds attribute in mired
|
|
721
|
+
* by the relationship
|
|
722
|
+
*
|
|
723
|
+
* "Color temperature [K]" = "1,000,000" / "ColorTemperatureMireds"
|
|
724
|
+
*
|
|
725
|
+
* where ColorTemperatureMireds is in the range from 1 to 65279 inclusive, giving a color temperature range
|
|
726
|
+
* from 1,000,000 K to 15.32 K.
|
|
681
727
|
*
|
|
682
728
|
* If this attribute is implemented then the ColorMode attribute shall also be implemented.
|
|
683
729
|
*
|
|
@@ -685,72 +731,72 @@ var ColorControl;
|
|
|
685
731
|
*/
|
|
686
732
|
colorTemperatureMireds: Attribute(7, TlvUInt16, { scene: true, persistent: true, default: 250 }),
|
|
687
733
|
/**
|
|
688
|
-
*
|
|
689
|
-
*
|
|
690
|
-
*
|
|
734
|
+
* Indicates the minimum mired value supported by the hardware. ColorTempPhysicalMinMireds corresponds to
|
|
735
|
+
* the maximum color temperature in kelvins supported by the hardware.
|
|
736
|
+
*
|
|
737
|
+
* ColorTempPhysicalMinMireds <= ColorTemperatureMireds.
|
|
691
738
|
*
|
|
692
739
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.20
|
|
693
740
|
*/
|
|
694
|
-
colorTempPhysicalMinMireds: Attribute(16395, TlvUInt16.bound({ max: 65279 }), { default:
|
|
741
|
+
colorTempPhysicalMinMireds: Attribute(16395, TlvUInt16.bound({ min: 1, max: 65279 }), { default: 1 }),
|
|
695
742
|
/**
|
|
696
|
-
*
|
|
697
|
-
*
|
|
698
|
-
*
|
|
743
|
+
* Indicates the maximum mired value supported by the hardware. ColorTempPhysicalMaxMireds corresponds to
|
|
744
|
+
* the minimum color temperature in kelvins supported by the hardware.
|
|
745
|
+
*
|
|
746
|
+
* ColorTemperatureMireds <= ColorTempPhysicalMaxMireds.
|
|
699
747
|
*
|
|
700
748
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.21
|
|
701
749
|
*/
|
|
702
750
|
colorTempPhysicalMaxMireds: Attribute(16396, TlvUInt16.bound({ max: 65279 }), { default: 65279 }),
|
|
703
751
|
/**
|
|
704
|
-
*
|
|
705
|
-
* ColorTemperatureMireds attribute
|
|
706
|
-
*
|
|
707
|
-
*
|
|
708
|
-
*
|
|
752
|
+
* Indicates a lower bound on the value of the ColorTemperatureMireds attribute for the purposes of
|
|
753
|
+
* coupling the ColorTemperatureMireds attribute to the CurrentLevel attribute when the
|
|
754
|
+
* CoupleColorTempToLevel bit of the Options attribute of the Level Control cluster is equal to 1. When
|
|
755
|
+
* coupling the ColorTemperatureMireds attribute to the CurrentLevel attribute, this value shall correspond
|
|
756
|
+
* to a CurrentLevel value of 254 (100%).
|
|
709
757
|
*
|
|
710
|
-
* This attribute shall be set such that the following relationship exists: ColorTempPhysicalMinMireds
|
|
711
|
-
* CoupleColorTempToLevelMinMireds
|
|
758
|
+
* This attribute shall be set such that the following relationship exists: ColorTempPhysicalMinMireds <=
|
|
759
|
+
* CoupleColorTempToLevelMinMireds <= ColorTemperatureMireds
|
|
712
760
|
*
|
|
713
761
|
* Note that since this attribute is stored as a micro reciprocal degree (mired) value (i.e. color
|
|
714
762
|
* temperature in kelvins = 1,000,000 / CoupleColorTempToLevelMinMireds), the
|
|
715
763
|
* CoupleColorTempToLevelMinMireds attribute corresponds to an upper bound on the value of the color
|
|
716
|
-
* temperature
|
|
764
|
+
* temperature
|
|
765
|
+
*
|
|
766
|
+
* in kelvins supported by the device.
|
|
717
767
|
*
|
|
718
768
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.22
|
|
719
769
|
*/
|
|
720
770
|
coupleColorTempToLevelMinMireds: OptionalAttribute(16397, TlvUInt16),
|
|
721
771
|
/**
|
|
722
|
-
*
|
|
723
|
-
*
|
|
724
|
-
*
|
|
725
|
-
*
|
|
726
|
-
* the table below,
|
|
727
|
-
*
|
|
728
|
-
* Table 12. Values of the StartUpColorTemperatureMireds attribute
|
|
772
|
+
* Indicates the desired startup color temperature value the light shall use when it is supplied with power
|
|
773
|
+
* and this value shall be reflected in the ColorTemperatureMireds attribute. In addition, the ColorMode
|
|
774
|
+
* and EnhancedColorMode attributes shall be set to 2 (ColorTemperatureMireds). The values of the
|
|
775
|
+
* StartUpColorTemperatureMireds attribute are listed in the table below,
|
|
729
776
|
*
|
|
730
777
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.23
|
|
731
778
|
*/
|
|
732
779
|
startUpColorTemperatureMireds: OptionalWritableAttribute(
|
|
733
780
|
16400,
|
|
734
|
-
TlvNullable(TlvUInt16.bound({ max: 65279 })),
|
|
781
|
+
TlvNullable(TlvUInt16.bound({ min: 1, max: 65279 })),
|
|
735
782
|
{ persistent: true, writeAcl: AccessLevel.Manage }
|
|
736
783
|
)
|
|
737
784
|
},
|
|
738
785
|
commands: {
|
|
739
786
|
/**
|
|
740
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
787
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.14
|
|
741
788
|
*/
|
|
742
789
|
moveToColorTemperature: Command(10, ColorControl2.TlvMoveToColorTemperatureRequest, 10, TlvNoResponse),
|
|
743
790
|
/**
|
|
744
|
-
*
|
|
791
|
+
* This command allows the color temperature of the light to be moved at a specified rate.
|
|
745
792
|
*
|
|
746
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
793
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21
|
|
747
794
|
*/
|
|
748
795
|
moveColorTemperature: Command(75, ColorControl2.TlvMoveColorTemperatureRequest, 75, TlvNoResponse),
|
|
749
796
|
/**
|
|
750
|
-
*
|
|
751
|
-
* step size.
|
|
797
|
+
* This command allows the color temperature of the light to be stepped with a specified step size.
|
|
752
798
|
*
|
|
753
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
799
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22
|
|
754
800
|
*/
|
|
755
801
|
stepColorTemperature: Command(76, ColorControl2.TlvStepColorTemperatureRequest, 76, TlvNoResponse)
|
|
756
802
|
}
|
|
@@ -758,15 +804,20 @@ var ColorControl;
|
|
|
758
804
|
ColorControl2.EnhancedHueComponent = MutableCluster.Component({
|
|
759
805
|
attributes: {
|
|
760
806
|
/**
|
|
761
|
-
*
|
|
762
|
-
* it provides 16-bits precision.
|
|
807
|
+
* Indicates the non-equidistant steps along the CIE 1931 color triangle, and it provides 16-bits precision.
|
|
763
808
|
*
|
|
764
809
|
* The upper 8 bits of this attribute shall be used as an index in the implementation specific XY lookup
|
|
765
|
-
* table to provide the non-
|
|
810
|
+
* table to provide the non-equidistant steps. The lower 8 bits shall be used to interpolate between these
|
|
766
811
|
* steps in a linear way in order to provide color zoom for the user.
|
|
767
812
|
*
|
|
768
|
-
* To provide compatibility with
|
|
769
|
-
* range 0 to 254, calculated from the EnhancedCurrentHue attribute.
|
|
813
|
+
* To provide compatibility with clients not supporting EHUE, the CurrentHue attribute shall contain a hue
|
|
814
|
+
* value in the range 0 to 254, calculated from the EnhancedCurrentHue attribute.
|
|
815
|
+
*
|
|
816
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
817
|
+
*
|
|
818
|
+
* • At most once per second or
|
|
819
|
+
*
|
|
820
|
+
* • At the end of the movement/transition.
|
|
770
821
|
*
|
|
771
822
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.12
|
|
772
823
|
*/
|
|
@@ -774,31 +825,30 @@ var ColorControl;
|
|
|
774
825
|
},
|
|
775
826
|
commands: {
|
|
776
827
|
/**
|
|
777
|
-
*
|
|
778
|
-
*
|
|
828
|
+
* This command allows the light to be moved in a smooth continuous transition from their current hue to a
|
|
829
|
+
* target hue.
|
|
779
830
|
*
|
|
780
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
831
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15
|
|
781
832
|
*/
|
|
782
833
|
enhancedMoveToHue: Command(64, ColorControl2.TlvEnhancedMoveToHueRequest, 64, TlvNoResponse),
|
|
783
834
|
/**
|
|
784
|
-
*
|
|
785
|
-
* current hue to a target hue.
|
|
835
|
+
* This command allows the light to start a continuous transition starting from their current hue.
|
|
786
836
|
*
|
|
787
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
837
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16
|
|
788
838
|
*/
|
|
789
839
|
enhancedMoveHue: Command(65, ColorControl2.TlvEnhancedMoveHueRequest, 65, TlvNoResponse),
|
|
790
840
|
/**
|
|
791
|
-
*
|
|
792
|
-
*
|
|
841
|
+
* This command allows the light to be moved in a stepped transition from their current hue, resulting in a
|
|
842
|
+
* linear transition through XY space.
|
|
793
843
|
*
|
|
794
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
844
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17
|
|
795
845
|
*/
|
|
796
846
|
enhancedStepHue: Command(66, ColorControl2.TlvEnhancedStepHueRequest, 66, TlvNoResponse),
|
|
797
847
|
/**
|
|
798
|
-
*
|
|
799
|
-
*
|
|
848
|
+
* This command allows the light to be moved in a smooth continuous transition from their current hue to a
|
|
849
|
+
* target hue and from their current saturation to a target saturation.
|
|
800
850
|
*
|
|
801
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
851
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18
|
|
802
852
|
*/
|
|
803
853
|
enhancedMoveToHueAndSaturation: Command(
|
|
804
854
|
67,
|
|
@@ -811,9 +861,8 @@ var ColorControl;
|
|
|
811
861
|
ColorControl2.ColorLoopComponent = MutableCluster.Component({
|
|
812
862
|
attributes: {
|
|
813
863
|
/**
|
|
814
|
-
*
|
|
815
|
-
*
|
|
816
|
-
* shall be active. All other values (2 to 254) are reserved.
|
|
864
|
+
* Indicates the current active status of the color loop. If this attribute has the value 0, the color loop
|
|
865
|
+
* shall NOT be active. If this attribute has the value 1, the color loop shall be active.
|
|
817
866
|
*
|
|
818
867
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.14
|
|
819
868
|
*/
|
|
@@ -823,9 +872,9 @@ var ColorControl;
|
|
|
823
872
|
{ scene: true, persistent: true, default: 0 /* Inactive */ }
|
|
824
873
|
),
|
|
825
874
|
/**
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
*
|
|
875
|
+
* Indicates the current direction of the color loop. If this attribute has the value 0, the
|
|
876
|
+
* EnhancedCurrentHue attribute shall be decremented. If this attribute has the value 1, the
|
|
877
|
+
* EnhancedCurrentHue attribute shall be incremented.
|
|
829
878
|
*
|
|
830
879
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.15
|
|
831
880
|
*/
|
|
@@ -835,23 +884,21 @@ var ColorControl;
|
|
|
835
884
|
{ scene: true, persistent: true, default: 0 /* Decrement */ }
|
|
836
885
|
),
|
|
837
886
|
/**
|
|
838
|
-
*
|
|
839
|
-
*
|
|
887
|
+
* Indicates the number of seconds it shall take to perform a full color loop, i.e., to cycle all values of
|
|
888
|
+
* the EnhancedCurrentHue attribute (between 0 and 65534).
|
|
840
889
|
*
|
|
841
890
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.16
|
|
842
891
|
*/
|
|
843
892
|
colorLoopTime: Attribute(16388, TlvUInt16, { scene: true, persistent: true, default: 25 }),
|
|
844
893
|
/**
|
|
845
|
-
*
|
|
846
|
-
* which the color loop shall be started.
|
|
894
|
+
* Indicates the value of the EnhancedCurrentHue attribute from which the color loop shall be started.
|
|
847
895
|
*
|
|
848
896
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.17
|
|
849
897
|
*/
|
|
850
898
|
colorLoopStartEnhancedHue: Attribute(16389, TlvUInt16, { default: 8960 }),
|
|
851
899
|
/**
|
|
852
|
-
*
|
|
853
|
-
*
|
|
854
|
-
* restored to this value.
|
|
900
|
+
* Indicates the value of the EnhancedCurrentHue attribute before the color loop was started. Once the
|
|
901
|
+
* color loop is complete, the EnhancedCurrentHue attribute shall be restored to this value.
|
|
855
902
|
*
|
|
856
903
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.18
|
|
857
904
|
*/
|
|
@@ -859,10 +906,10 @@ var ColorControl;
|
|
|
859
906
|
},
|
|
860
907
|
commands: {
|
|
861
908
|
/**
|
|
862
|
-
*
|
|
863
|
-
*
|
|
909
|
+
* This command allows a color loop to be activated such that the color light cycles through its range of
|
|
910
|
+
* hues.
|
|
864
911
|
*
|
|
865
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
912
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19
|
|
866
913
|
*/
|
|
867
914
|
colorLoopSet: Command(68, ColorControl2.TlvColorLoopSetRequest, 68, TlvNoResponse)
|
|
868
915
|
}
|
|
@@ -870,12 +917,13 @@ var ColorControl;
|
|
|
870
917
|
ColorControl2.HueSaturationOrXyOrColorTemperatureComponent = MutableCluster.Component({
|
|
871
918
|
commands: {
|
|
872
919
|
/**
|
|
873
|
-
*
|
|
874
|
-
*
|
|
920
|
+
* This command is provided to allow MoveTo and Step commands to be stopped.
|
|
921
|
+
*
|
|
922
|
+
* NOTE This automatically provides symmetry to the Level Control cluster.
|
|
875
923
|
*
|
|
876
|
-
* NOTE
|
|
924
|
+
* NOTE The StopMoveStep command has no effect on an active color loop.
|
|
877
925
|
*
|
|
878
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
926
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.8.20
|
|
879
927
|
*/
|
|
880
928
|
stopMoveStep: Command(71, ColorControl2.TlvStopMoveStepRequest, 71, TlvNoResponse)
|
|
881
929
|
}
|
|
@@ -883,7 +931,7 @@ var ColorControl;
|
|
|
883
931
|
ColorControl2.Base = MutableCluster.Component({
|
|
884
932
|
id: 768,
|
|
885
933
|
name: "ColorControl",
|
|
886
|
-
revision:
|
|
934
|
+
revision: 7,
|
|
887
935
|
features: {
|
|
888
936
|
/**
|
|
889
937
|
* HueSaturation
|
|
@@ -918,54 +966,60 @@ var ColorControl;
|
|
|
918
966
|
},
|
|
919
967
|
attributes: {
|
|
920
968
|
/**
|
|
921
|
-
*
|
|
969
|
+
* Indicates the time remaining, in 1/10ths of a second, until transitions due to the currently active
|
|
922
970
|
* command will be complete.
|
|
923
971
|
*
|
|
972
|
+
* Changes to this attribute shall only be marked as reportable in the following cases:
|
|
973
|
+
*
|
|
974
|
+
* • When it changes from 0 to any value higher than 10, or
|
|
975
|
+
*
|
|
976
|
+
* • When it changes, with a delta larger than 10, caused by the invoke of a command, or
|
|
977
|
+
*
|
|
978
|
+
* • When it changes to 0.
|
|
979
|
+
*
|
|
980
|
+
* For commands with a transition time or changes to the transition time less than 1 second, changes to
|
|
981
|
+
* this attribute shall NOT be reported.
|
|
982
|
+
*
|
|
983
|
+
* As this attribute is not being reported during a regular countdown, clients SHOULD NOT rely on the
|
|
984
|
+
* reporting of this attribute in order to keep track of the remaining duration.
|
|
985
|
+
*
|
|
924
986
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.4
|
|
925
987
|
*/
|
|
926
988
|
remainingTime: OptionalAttribute(2, TlvUInt16, { default: 0 }),
|
|
927
989
|
/**
|
|
928
|
-
*
|
|
929
|
-
* color/intensity drift over time. It shall be one of the non-reserved values in Values of the
|
|
930
|
-
* DriftCompensation Attribute.
|
|
931
|
-
*
|
|
932
|
-
* ### Table 8. Values of the DriftCompensation Attribute
|
|
990
|
+
* Indicates what mechanism, if any, is in use for compensation for color/intensity drift over time.
|
|
933
991
|
*
|
|
934
992
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.7
|
|
935
993
|
*/
|
|
936
994
|
driftCompensation: OptionalAttribute(5, TlvEnum()),
|
|
937
995
|
/**
|
|
938
|
-
*
|
|
939
|
-
*
|
|
996
|
+
* This attribute shall contain a textual indication of what mechanism, if any, is in use to compensate for
|
|
997
|
+
* color/intensity drift over time.
|
|
940
998
|
*
|
|
941
999
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.8
|
|
942
1000
|
*/
|
|
943
1001
|
compensationText: OptionalAttribute(6, TlvString.bound({ maxLength: 254 })),
|
|
944
1002
|
/**
|
|
945
|
-
*
|
|
1003
|
+
* Indicates which attributes are currently determining the color of the device.
|
|
946
1004
|
*
|
|
947
1005
|
* The value of the ColorMode attribute cannot be written directly - it is set upon reception of any
|
|
948
1006
|
* command in section Commands to the appropriate mode for that command.
|
|
949
1007
|
*
|
|
950
|
-
* Table 9. Values of the ColorMode Attribute
|
|
951
|
-
*
|
|
952
1008
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.10
|
|
953
1009
|
*/
|
|
954
1010
|
colorMode: Attribute(8, TlvEnum(), { persistent: true }),
|
|
955
1011
|
/**
|
|
956
|
-
*
|
|
957
|
-
*
|
|
958
|
-
* the
|
|
959
|
-
*
|
|
960
|
-
*
|
|
1012
|
+
* Indicates a bitmap that determines the default behavior of some cluster commands. Each command that is
|
|
1013
|
+
* dependent on the Options attribute shall first construct a temporary Options bitmap that is in effect
|
|
1014
|
+
* during the command processing. The temporary Options bitmap has the same format and meaning as the
|
|
1015
|
+
* Options attribute, but includes any bits that may be overridden by command fields.
|
|
1016
|
+
*
|
|
1017
|
+
* This attribute is meant to be changed only during commissioning.
|
|
961
1018
|
*
|
|
962
1019
|
* Below is the format and description of the Options attribute and temporary Options bitmap and the effect
|
|
963
1020
|
* on dependent commands.
|
|
964
1021
|
*
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
* ExecuteIfOff Options bit: Command execution shall NOT continue beyond the Options processing if all of
|
|
968
|
-
* these criteria are true:
|
|
1022
|
+
* Command execution shall NOT continue beyond the Options processing if all of these criteria are true:
|
|
969
1023
|
*
|
|
970
1024
|
* • The On/Off cluster exists on the same endpoint as this cluster.
|
|
971
1025
|
*
|
|
@@ -977,115 +1031,120 @@ var ColorControl;
|
|
|
977
1031
|
*/
|
|
978
1032
|
options: WritableAttribute(15, TlvBitmap(TlvUInt8, ColorControl2.Options)),
|
|
979
1033
|
/**
|
|
980
|
-
*
|
|
981
|
-
*
|
|
1034
|
+
* Indicates the number of color primaries implemented on this device. A value of null shall indicate that
|
|
1035
|
+
* the number of primaries is unknown.
|
|
982
1036
|
*
|
|
983
1037
|
* Where this attribute is implemented, the attributes below for indicating the “x” and “y” color values of
|
|
984
1038
|
* the primaries shall also be implemented for each of the primaries from 1 to NumberOfPrimaries, without
|
|
985
1039
|
* leaving gaps. Implementation of the Primary1Intensity attribute and subsequent intensity attributes is
|
|
986
1040
|
* optional.
|
|
987
1041
|
*
|
|
988
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1042
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.24
|
|
989
1043
|
*/
|
|
990
1044
|
numberOfPrimaries: FixedAttribute(16, TlvNullable(TlvUInt8.bound({ max: 6 }))),
|
|
991
1045
|
/**
|
|
992
|
-
*
|
|
993
|
-
* CIE xyY Color Space.
|
|
1046
|
+
* Indicates the normalized chromaticity value x for this primary, as defined in the CIE xyY Color Space.
|
|
994
1047
|
*
|
|
995
1048
|
* The value of x shall be related to the Primary1X attribute by the relationship x = Primary1X / 65536
|
|
996
1049
|
* (Primary1X in the range 0 to 65279 inclusive)
|
|
997
1050
|
*
|
|
998
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1051
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.25
|
|
999
1052
|
*/
|
|
1000
1053
|
primary1X: OptionalFixedAttribute(17, TlvUInt16.bound({ max: 65279 })),
|
|
1001
1054
|
/**
|
|
1002
|
-
*
|
|
1003
|
-
* CIE xyY Color Space.
|
|
1055
|
+
* Indicates the normalized chromaticity value y for this primary, as defined in the CIE xyY Color Space.
|
|
1004
1056
|
*
|
|
1005
1057
|
* The value of y shall be related to the Primary1Y attribute by the relationship y = Primary1Y / 65536
|
|
1006
1058
|
* (Primary1Y in the range 0 to 65279 inclusive)
|
|
1007
1059
|
*
|
|
1008
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1060
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.26
|
|
1009
1061
|
*/
|
|
1010
1062
|
primary1Y: OptionalFixedAttribute(18, TlvUInt16.bound({ max: 65279 })),
|
|
1011
1063
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1064
|
+
* Indicates a representation of the maximum intensity of this primary as defined in the Dimming Light
|
|
1065
|
+
* Curve in the Ballast Configuration cluster (see Ballast Configuration Cluster), normalized such that the
|
|
1066
|
+
* primary with the highest maximum intensity contains the value 254.
|
|
1015
1067
|
*
|
|
1016
1068
|
* A value of null shall indicate that this primary is not available.
|
|
1017
1069
|
*
|
|
1018
|
-
*
|
|
1070
|
+
* 3.2.7.28. Primary2X, Primary2Y, Primary2Intensity, Primary3X, Primary3Y, Primary3Intensity, Primary4X,
|
|
1071
|
+
* Primary4Y, Primary4Intensity, Primary5X, Primary5Y, Primary5Intensity, Primary6X, Primary6Y and
|
|
1072
|
+
* Primary6Intensity Attributes
|
|
1073
|
+
*
|
|
1074
|
+
* These attributes shall represent the capabilities of the 2nd, 3rd, 4th, 5th and 6th primaries, where
|
|
1075
|
+
* present, in the same way as for the Primary1X, Primary1Y and Primary1Intensity attributes.
|
|
1076
|
+
*
|
|
1077
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.27
|
|
1019
1078
|
*/
|
|
1020
1079
|
primary1Intensity: OptionalFixedAttribute(19, TlvNullable(TlvUInt8)),
|
|
1021
1080
|
/**
|
|
1022
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1081
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1023
1082
|
*/
|
|
1024
1083
|
primary2X: OptionalFixedAttribute(21, TlvUInt16.bound({ max: 65279 })),
|
|
1025
1084
|
/**
|
|
1026
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1085
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1027
1086
|
*/
|
|
1028
1087
|
primary2Y: OptionalFixedAttribute(22, TlvUInt16.bound({ max: 65279 })),
|
|
1029
1088
|
/**
|
|
1030
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1089
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1031
1090
|
*/
|
|
1032
1091
|
primary2Intensity: OptionalFixedAttribute(23, TlvNullable(TlvUInt8)),
|
|
1033
1092
|
/**
|
|
1034
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1093
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1035
1094
|
*/
|
|
1036
1095
|
primary3X: OptionalFixedAttribute(25, TlvUInt16.bound({ max: 65279 })),
|
|
1037
1096
|
/**
|
|
1038
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1097
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1039
1098
|
*/
|
|
1040
1099
|
primary3Y: OptionalFixedAttribute(26, TlvUInt16.bound({ max: 65279 })),
|
|
1041
1100
|
/**
|
|
1042
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1101
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1043
1102
|
*/
|
|
1044
1103
|
primary3Intensity: OptionalFixedAttribute(27, TlvNullable(TlvUInt8)),
|
|
1045
1104
|
/**
|
|
1046
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1105
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1047
1106
|
*/
|
|
1048
1107
|
primary4X: OptionalFixedAttribute(32, TlvUInt16.bound({ max: 65279 })),
|
|
1049
1108
|
/**
|
|
1050
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1109
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1051
1110
|
*/
|
|
1052
1111
|
primary4Y: OptionalFixedAttribute(33, TlvUInt16.bound({ max: 65279 })),
|
|
1053
1112
|
/**
|
|
1054
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1113
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1055
1114
|
*/
|
|
1056
1115
|
primary4Intensity: OptionalFixedAttribute(34, TlvNullable(TlvUInt8)),
|
|
1057
1116
|
/**
|
|
1058
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1117
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1059
1118
|
*/
|
|
1060
1119
|
primary5X: OptionalFixedAttribute(36, TlvUInt16.bound({ max: 65279 })),
|
|
1061
1120
|
/**
|
|
1062
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1121
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1063
1122
|
*/
|
|
1064
1123
|
primary5Y: OptionalFixedAttribute(37, TlvUInt16.bound({ max: 65279 })),
|
|
1065
1124
|
/**
|
|
1066
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1125
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1067
1126
|
*/
|
|
1068
1127
|
primary5Intensity: OptionalFixedAttribute(38, TlvNullable(TlvUInt8)),
|
|
1069
1128
|
/**
|
|
1070
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1129
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1071
1130
|
*/
|
|
1072
1131
|
primary6X: OptionalFixedAttribute(40, TlvUInt16.bound({ max: 65279 })),
|
|
1073
1132
|
/**
|
|
1074
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1133
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1075
1134
|
*/
|
|
1076
1135
|
primary6Y: OptionalFixedAttribute(41, TlvUInt16.bound({ max: 65279 })),
|
|
1077
1136
|
/**
|
|
1078
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1137
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1079
1138
|
*/
|
|
1080
1139
|
primary6Intensity: OptionalFixedAttribute(42, TlvNullable(TlvUInt8)),
|
|
1081
1140
|
/**
|
|
1082
|
-
*
|
|
1083
|
-
*
|
|
1141
|
+
* Indicates the normalized chromaticity value x, as defined in the CIE xyY Color Space, of the current
|
|
1142
|
+
* white point of the device.
|
|
1084
1143
|
*
|
|
1085
1144
|
* The value of x shall be related to the WhitePointX attribute by the relationship x = WhitePointX / 65536
|
|
1086
1145
|
* (WhitePointX in the range 0 to 65279 inclusive)
|
|
1087
1146
|
*
|
|
1088
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1147
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.29
|
|
1089
1148
|
*/
|
|
1090
1149
|
whitePointX: OptionalWritableAttribute(
|
|
1091
1150
|
48,
|
|
@@ -1093,14 +1152,13 @@ var ColorControl;
|
|
|
1093
1152
|
{ writeAcl: AccessLevel.Manage }
|
|
1094
1153
|
),
|
|
1095
1154
|
/**
|
|
1096
|
-
*
|
|
1097
|
-
*
|
|
1098
|
-
* Color Space, of the current white point of the device.
|
|
1155
|
+
* Indicates the normalized chromaticity value y, as defined in the CIE xyY Color Space, of the current
|
|
1156
|
+
* white point of the device.
|
|
1099
1157
|
*
|
|
1100
1158
|
* The value of y shall be related to the WhitePointY attribute by the relationship y = WhitePointY / 65536
|
|
1101
1159
|
* (WhitePointY in the range 0 to 65279 inclusive)
|
|
1102
1160
|
*
|
|
1103
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1161
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.30
|
|
1104
1162
|
*/
|
|
1105
1163
|
whitePointY: OptionalWritableAttribute(
|
|
1106
1164
|
49,
|
|
@@ -1108,13 +1166,13 @@ var ColorControl;
|
|
|
1108
1166
|
{ writeAcl: AccessLevel.Manage }
|
|
1109
1167
|
),
|
|
1110
1168
|
/**
|
|
1111
|
-
*
|
|
1112
|
-
*
|
|
1169
|
+
* Indicates the normalized chromaticity value x, as defined in the CIE xyY Color Space, of the red color
|
|
1170
|
+
* point of the device.
|
|
1113
1171
|
*
|
|
1114
1172
|
* The value of x shall be related to the ColorPointRX attribute by the relationship x = ColorPointRX /
|
|
1115
1173
|
* 65536 (ColorPointRX in the range 0 to 65279 inclusive)
|
|
1116
1174
|
*
|
|
1117
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1175
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.31
|
|
1118
1176
|
*/
|
|
1119
1177
|
colorPointRx: OptionalWritableAttribute(
|
|
1120
1178
|
50,
|
|
@@ -1122,13 +1180,13 @@ var ColorControl;
|
|
|
1122
1180
|
{ writeAcl: AccessLevel.Manage }
|
|
1123
1181
|
),
|
|
1124
1182
|
/**
|
|
1125
|
-
*
|
|
1126
|
-
*
|
|
1183
|
+
* Indicates the normalized chromaticity value y, as defined in the CIE xyY Color Space, of the red color
|
|
1184
|
+
* point of the device.
|
|
1127
1185
|
*
|
|
1128
1186
|
* The value of y shall be related to the ColorPointRY attribute by the relationship y = ColorPointRY /
|
|
1129
1187
|
* 65536 (ColorPointRY in the range 0 to 65279 inclusive)
|
|
1130
1188
|
*
|
|
1131
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1189
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.32
|
|
1132
1190
|
*/
|
|
1133
1191
|
colorPointRy: OptionalWritableAttribute(
|
|
1134
1192
|
51,
|
|
@@ -1136,14 +1194,22 @@ var ColorControl;
|
|
|
1136
1194
|
{ writeAcl: AccessLevel.Manage }
|
|
1137
1195
|
),
|
|
1138
1196
|
/**
|
|
1139
|
-
*
|
|
1140
|
-
*
|
|
1141
|
-
*
|
|
1142
|
-
* contains the value 0xFE.
|
|
1197
|
+
* Indicates a representation of the relative intensity of the red color point as defined in the Dimming
|
|
1198
|
+
* Light Curve in the Ballast Configuration cluster (see Ballast Configuration Cluster), normalized such
|
|
1199
|
+
* that the color point with the highest relative intensity contains the value 254.
|
|
1143
1200
|
*
|
|
1144
1201
|
* A value of null shall indicate an invalid value.
|
|
1145
1202
|
*
|
|
1146
|
-
*
|
|
1203
|
+
* 3.2.7.34. ColorPointGX, ColorPointGY, ColorPointGIntensity, ColorPointBX, ColorPointBY and
|
|
1204
|
+
* ColorPointBIntensity Attributes
|
|
1205
|
+
*
|
|
1206
|
+
* These attributes shall represent the chromaticity values and intensities of the green and blue color
|
|
1207
|
+
* points, in the same way as for the ColorPointRX, ColorPointRY and ColorPointRIntensity attributes.
|
|
1208
|
+
*
|
|
1209
|
+
* If any one of these red, green or blue color point attributes is implemented then they shall all be
|
|
1210
|
+
* implemented.
|
|
1211
|
+
*
|
|
1212
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.33
|
|
1147
1213
|
*/
|
|
1148
1214
|
colorPointRIntensity: OptionalWritableAttribute(
|
|
1149
1215
|
52,
|
|
@@ -1151,7 +1217,7 @@ var ColorControl;
|
|
|
1151
1217
|
{ writeAcl: AccessLevel.Manage }
|
|
1152
1218
|
),
|
|
1153
1219
|
/**
|
|
1154
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1220
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1155
1221
|
*/
|
|
1156
1222
|
colorPointGx: OptionalWritableAttribute(
|
|
1157
1223
|
54,
|
|
@@ -1159,7 +1225,7 @@ var ColorControl;
|
|
|
1159
1225
|
{ writeAcl: AccessLevel.Manage }
|
|
1160
1226
|
),
|
|
1161
1227
|
/**
|
|
1162
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1228
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1163
1229
|
*/
|
|
1164
1230
|
colorPointGy: OptionalWritableAttribute(
|
|
1165
1231
|
55,
|
|
@@ -1167,7 +1233,7 @@ var ColorControl;
|
|
|
1167
1233
|
{ writeAcl: AccessLevel.Manage }
|
|
1168
1234
|
),
|
|
1169
1235
|
/**
|
|
1170
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1236
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1171
1237
|
*/
|
|
1172
1238
|
colorPointGIntensity: OptionalWritableAttribute(
|
|
1173
1239
|
56,
|
|
@@ -1175,7 +1241,7 @@ var ColorControl;
|
|
|
1175
1241
|
{ writeAcl: AccessLevel.Manage }
|
|
1176
1242
|
),
|
|
1177
1243
|
/**
|
|
1178
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1244
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1179
1245
|
*/
|
|
1180
1246
|
colorPointBx: OptionalWritableAttribute(
|
|
1181
1247
|
58,
|
|
@@ -1183,7 +1249,7 @@ var ColorControl;
|
|
|
1183
1249
|
{ writeAcl: AccessLevel.Manage }
|
|
1184
1250
|
),
|
|
1185
1251
|
/**
|
|
1186
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1252
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1187
1253
|
*/
|
|
1188
1254
|
colorPointBy: OptionalWritableAttribute(
|
|
1189
1255
|
59,
|
|
@@ -1191,7 +1257,7 @@ var ColorControl;
|
|
|
1191
1257
|
{ writeAcl: AccessLevel.Manage }
|
|
1192
1258
|
),
|
|
1193
1259
|
/**
|
|
1194
|
-
* @see {@link MatterSpecification.v13.Cluster} § 3.2.
|
|
1260
|
+
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7
|
|
1195
1261
|
*/
|
|
1196
1262
|
colorPointBIntensity: OptionalWritableAttribute(
|
|
1197
1263
|
60,
|
|
@@ -1199,15 +1265,11 @@ var ColorControl;
|
|
|
1199
1265
|
{ writeAcl: AccessLevel.Manage }
|
|
1200
1266
|
),
|
|
1201
1267
|
/**
|
|
1202
|
-
*
|
|
1203
|
-
* device, as detailed in Values of the EnhancedColorMode Attribute.
|
|
1204
|
-
*
|
|
1205
|
-
* ### Table 11. Values of the EnhancedColorMode Attribute
|
|
1268
|
+
* Indicates which attributes are currently determining the color of the device.
|
|
1206
1269
|
*
|
|
1207
|
-
* To provide compatibility with
|
|
1208
|
-
* and CurrentSaturation
|
|
1209
|
-
* is changed,
|
|
1210
|
-
* value shall be copied to the EnhancedColorMode attribute.
|
|
1270
|
+
* To provide compatibility with clients not supporting EHUE, the original ColorMode attribute shall
|
|
1271
|
+
* indicate CurrentHue and CurrentSaturation when the light uses the EnhancedCurrentHue attribute. If the
|
|
1272
|
+
* ColorMode attribute is changed, its new value shall be copied to the EnhancedColorMode attribute.
|
|
1211
1273
|
*
|
|
1212
1274
|
* @see {@link MatterSpecification.v13.Cluster} § 3.2.7.13
|
|
1213
1275
|
*/
|
|
@@ -1217,6 +1279,8 @@ var ColorControl;
|
|
|
1217
1279
|
{ scene: true, persistent: true, default: 1 /* CurrentXAndCurrentY */ }
|
|
1218
1280
|
),
|
|
1219
1281
|
/**
|
|
1282
|
+
* Indicates the color control capabilities of the device.
|
|
1283
|
+
*
|
|
1220
1284
|
* Bits 0-4 of the ColorCapabilities attribute shall have the same values as the corresponding bits of the
|
|
1221
1285
|
* FeatureMap attribute. All other bits in ColorCapabilities shall be 0.
|
|
1222
1286
|
*
|
|
@@ -1236,7 +1300,9 @@ var ColorControl;
|
|
|
1236
1300
|
{ flags: { colorLoop: true }, component: ColorControl2.ColorLoopComponent },
|
|
1237
1301
|
{ flags: { hueSaturation: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent },
|
|
1238
1302
|
{ flags: { xy: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent },
|
|
1239
|
-
{ flags: { colorTemperature: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent }
|
|
1303
|
+
{ flags: { colorTemperature: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent },
|
|
1304
|
+
{ flags: { enhancedHue: true, hueSaturation: false }, component: false },
|
|
1305
|
+
{ flags: { colorLoop: true, enhancedHue: false }, component: false }
|
|
1240
1306
|
)
|
|
1241
1307
|
});
|
|
1242
1308
|
ColorControl2.ClusterInstance = MutableCluster(ColorControl2.Base);
|