@matter/types 0.14.0-alpha.0-20250531-7ed2d6da8 → 0.14.0-alpha.0-20250602-37f27bb02
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 +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +77 -51
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.js +32 -12
- package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +141 -99
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/application-launcher.js +45 -13
- package/dist/cjs/clusters/application-launcher.js.map +2 -2
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/ballast-configuration.d.ts +23 -23
- package/dist/cjs/clusters/ballast-configuration.js +17 -17
- package/dist/cjs/clusters/basic-information.d.ts +54 -54
- package/dist/cjs/clusters/basic-information.js +34 -34
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +102 -102
- package/dist/cjs/clusters/bridged-device-basic-information.js +28 -28
- package/dist/cjs/clusters/channel.d.ts +577 -559
- package/dist/cjs/clusters/channel.d.ts.map +1 -1
- package/dist/cjs/clusters/channel.js +87 -73
- package/dist/cjs/clusters/channel.js.map +2 -2
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +27 -17
- package/dist/cjs/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/cjs/clusters/content-app-observer.js +14 -6
- package/dist/cjs/clusters/content-app-observer.js.map +2 -2
- package/dist/cjs/clusters/content-control.d.ts +438 -356
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +120 -58
- package/dist/cjs/clusters/content-control.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +509 -475
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +65 -39
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/descriptor.d.ts +28 -28
- package/dist/cjs/clusters/descriptor.js +8 -8
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +67 -33
- package/dist/cjs/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/cjs/clusters/diagnostic-logs.js +34 -8
- package/dist/cjs/clusters/diagnostic-logs.js.map +2 -2
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1367 -1350
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +242 -228
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/ecosystem-information.d.ts +27 -27
- package/dist/cjs/clusters/ecosystem-information.js +12 -12
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +199 -199
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +67 -67
- package/dist/cjs/clusters/fan-control.js +17 -17
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore.js +62 -62
- package/dist/cjs/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/cjs/clusters/joint-fabric-pki.js +5 -5
- package/dist/cjs/clusters/keypad-input.d.ts +34 -16
- package/dist/cjs/clusters/keypad-input.d.ts.map +1 -1
- package/dist/cjs/clusters/keypad-input.js +17 -3
- package/dist/cjs/clusters/keypad-input.js.map +2 -2
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +427 -385
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +89 -57
- package/dist/cjs/clusters/media-playback.js.map +2 -2
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +94 -94
- package/dist/cjs/clusters/operational-credentials.js +34 -34
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +95 -61
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-provider.js +51 -25
- package/dist/cjs/clusters/ota-software-update-provider.js.map +2 -2
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +40 -40
- package/dist/cjs/clusters/oven-mode.js +5 -5
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/proxy-configuration.d.ts +8 -8
- package/dist/cjs/clusters/proxy-configuration.js +3 -3
- package/dist/cjs/clusters/proxy-discovery.d.ts +10 -10
- package/dist/cjs/clusters/proxy-discovery.js +4 -4
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +48 -48
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +246 -246
- package/dist/cjs/clusters/scenes-management.js +70 -70
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +137 -137
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +48 -30
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -1
- package/dist/cjs/clusters/target-navigator.js +24 -10
- package/dist/cjs/clusters/target-navigator.js.map +2 -2
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +515 -515
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +255 -245
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +55 -47
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/unit-localization.d.ts +6 -6
- package/dist/cjs/clusters/unit-localization.js +1 -1
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valid-proxies.d.ts +7 -7
- package/dist/cjs/clusters/valid-proxies.js +2 -2
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.js +30 -22
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +6 -6
- package/dist/cjs/clusters/wi-fi-network-management.js +3 -3
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/common/StatusCode.d.ts +2 -11
- package/dist/cjs/common/StatusCode.d.ts.map +1 -1
- package/dist/cjs/common/StatusCode.js +1 -17
- package/dist/cjs/common/StatusCode.js.map +1 -1
- package/dist/cjs/common/StatusResponseError.d.ts +21 -0
- package/dist/cjs/common/StatusResponseError.d.ts.map +1 -0
- package/dist/cjs/common/StatusResponseError.js +54 -0
- package/dist/cjs/common/StatusResponseError.js.map +6 -0
- package/dist/cjs/common/ValidationError.d.ts +1 -1
- package/dist/cjs/common/ValidationError.d.ts.map +1 -1
- package/dist/cjs/common/ValidationError.js +2 -1
- package/dist/cjs/common/ValidationError.js.map +1 -1
- package/dist/cjs/common/index.d.ts +1 -0
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +1 -0
- package/dist/cjs/common/index.js.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- 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 +33 -33
- package/dist/cjs/globals/Tod.d.ts +2 -2
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +77 -51
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.js +32 -12
- package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +141 -99
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/application-launcher.js +45 -13
- package/dist/esm/clusters/application-launcher.js.map +1 -1
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/ballast-configuration.d.ts +23 -23
- package/dist/esm/clusters/ballast-configuration.js +17 -17
- package/dist/esm/clusters/basic-information.d.ts +54 -54
- package/dist/esm/clusters/basic-information.js +34 -34
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +102 -102
- package/dist/esm/clusters/bridged-device-basic-information.js +28 -28
- package/dist/esm/clusters/channel.d.ts +577 -559
- package/dist/esm/clusters/channel.d.ts.map +1 -1
- package/dist/esm/clusters/channel.js +87 -73
- package/dist/esm/clusters/channel.js.map +1 -1
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +27 -17
- package/dist/esm/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/esm/clusters/content-app-observer.js +14 -6
- package/dist/esm/clusters/content-app-observer.js.map +1 -1
- package/dist/esm/clusters/content-control.d.ts +438 -356
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +120 -58
- package/dist/esm/clusters/content-control.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +509 -475
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +65 -39
- package/dist/esm/clusters/content-launcher.js.map +1 -1
- package/dist/esm/clusters/descriptor.d.ts +28 -28
- package/dist/esm/clusters/descriptor.js +8 -8
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +67 -33
- package/dist/esm/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/esm/clusters/diagnostic-logs.js +34 -8
- package/dist/esm/clusters/diagnostic-logs.js.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1367 -1350
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +242 -228
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/ecosystem-information.d.ts +27 -27
- package/dist/esm/clusters/ecosystem-information.js +12 -12
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +199 -199
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +67 -67
- package/dist/esm/clusters/fan-control.js +17 -17
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore.js +62 -62
- package/dist/esm/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/esm/clusters/joint-fabric-pki.js +5 -5
- package/dist/esm/clusters/keypad-input.d.ts +34 -16
- package/dist/esm/clusters/keypad-input.d.ts.map +1 -1
- package/dist/esm/clusters/keypad-input.js +17 -3
- package/dist/esm/clusters/keypad-input.js.map +1 -1
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +427 -385
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +89 -57
- package/dist/esm/clusters/media-playback.js.map +1 -1
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +94 -94
- package/dist/esm/clusters/operational-credentials.js +34 -34
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +95 -61
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-provider.js +51 -25
- package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +40 -40
- package/dist/esm/clusters/oven-mode.js +5 -5
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/proxy-configuration.d.ts +8 -8
- package/dist/esm/clusters/proxy-configuration.js +3 -3
- package/dist/esm/clusters/proxy-discovery.d.ts +10 -10
- package/dist/esm/clusters/proxy-discovery.js +4 -4
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +48 -48
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +246 -246
- package/dist/esm/clusters/scenes-management.js +70 -70
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +137 -137
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +48 -30
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -1
- package/dist/esm/clusters/target-navigator.js +24 -10
- package/dist/esm/clusters/target-navigator.js.map +1 -1
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +515 -515
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +255 -245
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +55 -47
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/unit-localization.d.ts +6 -6
- package/dist/esm/clusters/unit-localization.js +1 -1
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valid-proxies.d.ts +7 -7
- package/dist/esm/clusters/valid-proxies.js +2 -2
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.js +30 -22
- package/dist/esm/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +6 -6
- package/dist/esm/clusters/wi-fi-network-management.js +3 -3
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/common/StatusCode.d.ts +2 -11
- package/dist/esm/common/StatusCode.d.ts.map +1 -1
- package/dist/esm/common/StatusCode.js +1 -17
- package/dist/esm/common/StatusCode.js.map +1 -1
- package/dist/esm/common/StatusResponseError.d.ts +21 -0
- package/dist/esm/common/StatusResponseError.d.ts.map +1 -0
- package/dist/esm/common/StatusResponseError.js +34 -0
- package/dist/esm/common/StatusResponseError.js.map +6 -0
- package/dist/esm/common/ValidationError.d.ts +1 -1
- package/dist/esm/common/ValidationError.d.ts.map +1 -1
- package/dist/esm/common/ValidationError.js +2 -1
- package/dist/esm/common/ValidationError.js.map +1 -1
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/index.js.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- 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 +33 -33
- package/dist/esm/globals/Tod.d.ts +2 -2
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +67 -20
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +105 -28
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/ballast-configuration.ts +20 -20
- package/src/clusters/basic-information.ts +47 -47
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +38 -38
- package/src/clusters/channel.ts +143 -111
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +29 -12
- package/src/clusters/content-control.ts +248 -96
- package/src/clusters/content-launcher.ts +131 -69
- package/src/clusters/descriptor.ts +13 -13
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +88 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +408 -377
- package/src/clusters/ecosystem-information.ts +17 -17
- package/src/clusters/electrical-energy-measurement.ts +39 -39
- package/src/clusters/electrical-power-measurement.ts +53 -53
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-datastore.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +43 -11
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +168 -91
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +65 -65
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +101 -39
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +31 -31
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/proxy-configuration.ts +6 -6
- package/src/clusters/proxy-discovery.ts +7 -7
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +31 -31
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +68 -68
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +52 -20
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +98 -81
- package/src/clusters/unit-localization.ts +4 -4
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valid-proxies.ts +7 -7
- package/src/clusters/valve-configuration-and-control.ts +52 -35
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +6 -6
- package/src/clusters/window-covering.ts +68 -68
- package/src/common/StatusCode.ts +3 -21
- package/src/common/StatusResponseError.ts +41 -0
- package/src/common/ValidationError.ts +2 -1
- package/src/common/index.ts +1 -0
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- 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 +33 -33
- package/src/globals/Tod.ts +2 -2
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -23,7 +23,7 @@ export namespace DeviceEnergyManagement {
|
|
|
23
23
|
/**
|
|
24
24
|
* These are optional features supported by DeviceEnergyManagementCluster.
|
|
25
25
|
*
|
|
26
|
-
* @see {@link MatterSpecification.
|
|
26
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4
|
|
27
27
|
*/
|
|
28
28
|
export enum Feature {
|
|
29
29
|
/**
|
|
@@ -38,7 +38,7 @@ export namespace DeviceEnergyManagement {
|
|
|
38
38
|
* the excess power flowing into the grid. This excess power naturally fluctuates when clouds pass overhead and
|
|
39
39
|
* other loads in the home are switched on and off.
|
|
40
40
|
*
|
|
41
|
-
* @see {@link MatterSpecification.
|
|
41
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.1
|
|
42
42
|
*/
|
|
43
43
|
PowerAdjustment = "PowerAdjustment",
|
|
44
44
|
|
|
@@ -76,7 +76,7 @@ export namespace DeviceEnergyManagement {
|
|
|
76
76
|
*
|
|
77
77
|
* The ESA indicates its power adjustment range and its nominal power consumption as part of its Forecast.
|
|
78
78
|
*
|
|
79
|
-
* @see {@link MatterSpecification.
|
|
79
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.2
|
|
80
80
|
*/
|
|
81
81
|
PowerForecastReporting = "PowerForecastReporting",
|
|
82
82
|
|
|
@@ -96,7 +96,7 @@ export namespace DeviceEnergyManagement {
|
|
|
96
96
|
* Once the EMS has built a model of the state vs observed power consumption, it may request a forecast
|
|
97
97
|
* adjustment for particular times of the day, encouraging the ESA to use power at alternative times.
|
|
98
98
|
*
|
|
99
|
-
* @see {@link MatterSpecification.
|
|
99
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.3
|
|
100
100
|
*/
|
|
101
101
|
StateForecastReporting = "StateForecastReporting",
|
|
102
102
|
|
|
@@ -118,7 +118,7 @@ export namespace DeviceEnergyManagement {
|
|
|
118
118
|
* It does this by sending a StartTimeAdjustRequest to the washing machine to request delaying the start of the
|
|
119
119
|
* washing cycle.
|
|
120
120
|
*
|
|
121
|
-
* @see {@link MatterSpecification.
|
|
121
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.4
|
|
122
122
|
*/
|
|
123
123
|
StartTimeAdjustment = "StartTimeAdjustment",
|
|
124
124
|
|
|
@@ -141,7 +141,7 @@ export namespace DeviceEnergyManagement {
|
|
|
141
141
|
* It does this by sending a PauseRequest to the washing machine to request pausing the current step of the
|
|
142
142
|
* forecast power usage for a period to allow other home loads to finish before resuming the washing cycle.
|
|
143
143
|
*
|
|
144
|
-
* @see {@link MatterSpecification.
|
|
144
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.5
|
|
145
145
|
*/
|
|
146
146
|
Pausable = "Pausable",
|
|
147
147
|
|
|
@@ -167,7 +167,7 @@ export namespace DeviceEnergyManagement {
|
|
|
167
167
|
* lower power consumption (within the solar excess power) which requires the heat pump to run for a longer
|
|
168
168
|
* duration to achieve its required energy demand.
|
|
169
169
|
*
|
|
170
|
-
* @see {@link MatterSpecification.
|
|
170
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.6
|
|
171
171
|
*/
|
|
172
172
|
ForecastAdjustment = "ForecastAdjustment",
|
|
173
173
|
|
|
@@ -192,13 +192,13 @@ export namespace DeviceEnergyManagement {
|
|
|
192
192
|
* NominalPower consumption during the constraint period, which may require it to decrease its charge rate
|
|
193
193
|
* outside the constraint period to achieve its required energy demand.
|
|
194
194
|
*
|
|
195
|
-
* @see {@link MatterSpecification.
|
|
195
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.7
|
|
196
196
|
*/
|
|
197
197
|
ConstraintBasedAdjustment = "ConstraintBasedAdjustment"
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
* @see {@link MatterSpecification.
|
|
201
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.10
|
|
202
202
|
*/
|
|
203
203
|
export const TlvPowerAdjust = TlvObject({
|
|
204
204
|
/**
|
|
@@ -208,7 +208,7 @@ export namespace DeviceEnergyManagement {
|
|
|
208
208
|
*
|
|
209
209
|
* discharging a battery).
|
|
210
210
|
*
|
|
211
|
-
* @see {@link MatterSpecification.
|
|
211
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.10.1
|
|
212
212
|
*/
|
|
213
213
|
minPower: TlvField(0, TlvInt64),
|
|
214
214
|
|
|
@@ -228,7 +228,7 @@ export namespace DeviceEnergyManagement {
|
|
|
228
228
|
* In another example, if a battery storage inverter can charge its internal battery, between 0W and 2000W. Here
|
|
229
229
|
* power is flowing into the node when charging. As such the MinPower becomes 0W and MaxPower becomes 2000W.
|
|
230
230
|
*
|
|
231
|
-
* @see {@link MatterSpecification.
|
|
231
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.10.2
|
|
232
232
|
*/
|
|
233
233
|
maxPower: TlvField(1, TlvInt64),
|
|
234
234
|
|
|
@@ -237,7 +237,7 @@ export namespace DeviceEnergyManagement {
|
|
|
237
237
|
* adjustment. Manufacturers may use this to as an anti-cycling capability to avoid controllers from rapidly
|
|
238
238
|
* making power adjustments.
|
|
239
239
|
*
|
|
240
|
-
* @see {@link MatterSpecification.
|
|
240
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.10.3
|
|
241
241
|
*/
|
|
242
242
|
minDuration: TlvField(2, TlvUInt32),
|
|
243
243
|
|
|
@@ -246,18 +246,18 @@ export namespace DeviceEnergyManagement {
|
|
|
246
246
|
* adjustment. Manufacturers may use this to protect the user experience, to avoid over heating of the ESA,
|
|
247
247
|
* ensuring that there is sufficient headroom to use or store energy in the ESA or for any other reason.
|
|
248
248
|
*
|
|
249
|
-
* @see {@link MatterSpecification.
|
|
249
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.10.4
|
|
250
250
|
*/
|
|
251
251
|
maxDuration: TlvField(3, TlvUInt32)
|
|
252
252
|
});
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
|
-
* @see {@link MatterSpecification.
|
|
255
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.10
|
|
256
256
|
*/
|
|
257
257
|
export interface PowerAdjust extends TypeFromSchema<typeof TlvPowerAdjust> {}
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
|
-
* @see {@link MatterSpecification.
|
|
260
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.8
|
|
261
261
|
*/
|
|
262
262
|
export enum PowerAdjustReason {
|
|
263
263
|
/**
|
|
@@ -277,7 +277,7 @@ export namespace DeviceEnergyManagement {
|
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
|
-
* @see {@link MatterSpecification.
|
|
280
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.11
|
|
281
281
|
*/
|
|
282
282
|
export const TlvPowerAdjustCapability = TlvObject({
|
|
283
283
|
/**
|
|
@@ -296,7 +296,7 @@ export namespace DeviceEnergyManagement {
|
|
|
296
296
|
*
|
|
297
297
|
* In this example the list of PowerAdjustStructs allows multiple scenarios to be offered as follows:
|
|
298
298
|
*
|
|
299
|
-
* @see {@link MatterSpecification.
|
|
299
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.12
|
|
300
300
|
*/
|
|
301
301
|
powerAdjustCapability: TlvField(0, TlvNullable(TlvArray(TlvPowerAdjust, { maxLength: 8 }))),
|
|
302
302
|
|
|
@@ -304,12 +304,12 @@ export namespace DeviceEnergyManagement {
|
|
|
304
304
|
});
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
|
-
* @see {@link MatterSpecification.
|
|
307
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.11
|
|
308
308
|
*/
|
|
309
309
|
export interface PowerAdjustCapability extends TypeFromSchema<typeof TlvPowerAdjustCapability> {}
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
* @see {@link MatterSpecification.
|
|
312
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.6
|
|
313
313
|
*/
|
|
314
314
|
export enum AdjustmentCause {
|
|
315
315
|
/**
|
|
@@ -326,7 +326,7 @@ export namespace DeviceEnergyManagement {
|
|
|
326
326
|
/**
|
|
327
327
|
* Input to the DeviceEnergyManagement powerAdjustRequest command
|
|
328
328
|
*
|
|
329
|
-
* @see {@link MatterSpecification.
|
|
329
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.1
|
|
330
330
|
*/
|
|
331
331
|
export const TlvPowerAdjustRequest = TlvObject({
|
|
332
332
|
/**
|
|
@@ -335,7 +335,7 @@ export namespace DeviceEnergyManagement {
|
|
|
335
335
|
* This value shall be between the MinPower and MaxPower fields of the PowerAdjustStruct in the
|
|
336
336
|
* PowerAdjustmentCapability attribute.
|
|
337
337
|
*
|
|
338
|
-
* @see {@link MatterSpecification.
|
|
338
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.1.1
|
|
339
339
|
*/
|
|
340
340
|
power: TlvField(0, TlvInt64),
|
|
341
341
|
|
|
@@ -345,14 +345,14 @@ export namespace DeviceEnergyManagement {
|
|
|
345
345
|
* This value shall be between the MinDuration and MaxDuration fields of the PowerAdjustStruct in the
|
|
346
346
|
* PowerAdjustmentCapability attribute.
|
|
347
347
|
*
|
|
348
|
-
* @see {@link MatterSpecification.
|
|
348
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.1.2
|
|
349
349
|
*/
|
|
350
350
|
duration: TlvField(1, TlvUInt32),
|
|
351
351
|
|
|
352
352
|
/**
|
|
353
353
|
* This field shall indicate the cause of the request from the EMS.
|
|
354
354
|
*
|
|
355
|
-
* @see {@link MatterSpecification.
|
|
355
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.1.3
|
|
356
356
|
*/
|
|
357
357
|
cause: TlvField(2, TlvEnum<AdjustmentCause>())
|
|
358
358
|
});
|
|
@@ -360,12 +360,12 @@ export namespace DeviceEnergyManagement {
|
|
|
360
360
|
/**
|
|
361
361
|
* Input to the DeviceEnergyManagement powerAdjustRequest command
|
|
362
362
|
*
|
|
363
|
-
* @see {@link MatterSpecification.
|
|
363
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.1
|
|
364
364
|
*/
|
|
365
365
|
export interface PowerAdjustRequest extends TypeFromSchema<typeof TlvPowerAdjustRequest> {}
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
|
-
* @see {@link MatterSpecification.
|
|
368
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.5
|
|
369
369
|
*/
|
|
370
370
|
export enum Cause {
|
|
371
371
|
/**
|
|
@@ -397,20 +397,20 @@ export namespace DeviceEnergyManagement {
|
|
|
397
397
|
/**
|
|
398
398
|
* Body of the DeviceEnergyManagement powerAdjustEnd event
|
|
399
399
|
*
|
|
400
|
-
* @see {@link MatterSpecification.
|
|
400
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.2
|
|
401
401
|
*/
|
|
402
402
|
export const TlvPowerAdjustEndEvent = TlvObject({
|
|
403
403
|
/**
|
|
404
404
|
* This field shall indicate the reason why the power adjustment session ended.
|
|
405
405
|
*
|
|
406
|
-
* @see {@link MatterSpecification.
|
|
406
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.2.1
|
|
407
407
|
*/
|
|
408
408
|
cause: TlvField(0, TlvEnum<Cause>()),
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* This field shall indicate the number of seconds that the power adjustment session lasted before ending.
|
|
412
412
|
*
|
|
413
|
-
* @see {@link MatterSpecification.
|
|
413
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.2.2
|
|
414
414
|
*/
|
|
415
415
|
duration: TlvField(1, TlvUInt32),
|
|
416
416
|
|
|
@@ -421,7 +421,7 @@ export namespace DeviceEnergyManagement {
|
|
|
421
421
|
* battery inverter that was requested to discharge it would have a negative EnergyUse value. If this was a
|
|
422
422
|
* normal load that was turned on, then it will have positive value.
|
|
423
423
|
*
|
|
424
|
-
* @see {@link MatterSpecification.
|
|
424
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.2.3
|
|
425
425
|
*/
|
|
426
426
|
energyUse: TlvField(2, TlvInt64)
|
|
427
427
|
});
|
|
@@ -429,12 +429,12 @@ export namespace DeviceEnergyManagement {
|
|
|
429
429
|
/**
|
|
430
430
|
* Body of the DeviceEnergyManagement powerAdjustEnd event
|
|
431
431
|
*
|
|
432
|
-
* @see {@link MatterSpecification.
|
|
432
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.2
|
|
433
433
|
*/
|
|
434
434
|
export interface PowerAdjustEndEvent extends TypeFromSchema<typeof TlvPowerAdjustEndEvent> {}
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
* @see {@link MatterSpecification.
|
|
437
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.1
|
|
438
438
|
*/
|
|
439
439
|
export enum CostType {
|
|
440
440
|
/**
|
|
@@ -442,7 +442,7 @@ export namespace DeviceEnergyManagement {
|
|
|
442
442
|
*
|
|
443
443
|
* This value shall indicate that the cost is related to the financial cost to provide the energy.
|
|
444
444
|
*
|
|
445
|
-
* @see {@link MatterSpecification.
|
|
445
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.1.1
|
|
446
446
|
*/
|
|
447
447
|
Financial = 0,
|
|
448
448
|
|
|
@@ -451,7 +451,7 @@ export namespace DeviceEnergyManagement {
|
|
|
451
451
|
*
|
|
452
452
|
* This value shall indicate that the cost is related to greenhouse gas emissions (in grams of CO2e).
|
|
453
453
|
*
|
|
454
|
-
* @see {@link MatterSpecification.
|
|
454
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.1.2
|
|
455
455
|
*/
|
|
456
456
|
GhgEmissions = 1,
|
|
457
457
|
|
|
@@ -464,7 +464,7 @@ export namespace DeviceEnergyManagement {
|
|
|
464
464
|
* hospital. Or the consumer may feel inconvenienced by the fact that they need to wait for the washing machine
|
|
465
465
|
* to finish its load so that they can use it again.
|
|
466
466
|
*
|
|
467
|
-
* @see {@link MatterSpecification.
|
|
467
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.1.3
|
|
468
468
|
*/
|
|
469
469
|
Comfort = 2,
|
|
470
470
|
|
|
@@ -476,7 +476,7 @@ export namespace DeviceEnergyManagement {
|
|
|
476
476
|
*
|
|
477
477
|
* This is expressed in degrees Celsius.
|
|
478
478
|
*
|
|
479
|
-
* @see {@link MatterSpecification.
|
|
479
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.1.4
|
|
480
480
|
*/
|
|
481
481
|
Temperature = 3
|
|
482
482
|
}
|
|
@@ -485,13 +485,13 @@ export namespace DeviceEnergyManagement {
|
|
|
485
485
|
* This indicates a generic mechanism for expressing cost to run an appliance, in terms of financial, GHG emissions,
|
|
486
486
|
* comfort value etc.
|
|
487
487
|
*
|
|
488
|
-
* @see {@link MatterSpecification.
|
|
488
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.9
|
|
489
489
|
*/
|
|
490
490
|
export const TlvCost = TlvObject({
|
|
491
491
|
/**
|
|
492
492
|
* This field shall indicate the type of cost being represented (see CostTypeEnum).
|
|
493
493
|
*
|
|
494
|
-
* @see {@link MatterSpecification.
|
|
494
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.9.1
|
|
495
495
|
*/
|
|
496
496
|
costType: TlvField(0, TlvEnum<CostType>()),
|
|
497
497
|
|
|
@@ -501,7 +501,7 @@ export namespace DeviceEnergyManagement {
|
|
|
501
501
|
*
|
|
502
502
|
* For example, if the Value was -302 and DecimalPoints was 2, then this would represent a benefit of 3.02.
|
|
503
503
|
*
|
|
504
|
-
* @see {@link MatterSpecification.
|
|
504
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.9.2
|
|
505
505
|
*/
|
|
506
506
|
value: TlvField(1, TlvInt32),
|
|
507
507
|
|
|
@@ -509,7 +509,7 @@ export namespace DeviceEnergyManagement {
|
|
|
509
509
|
* This field shall indicate the number of digits to the right of the decimal point in the Value field. For
|
|
510
510
|
* example, if the Value was 102 and DecimalPoints was 2, then this would represent a cost of 1.02.
|
|
511
511
|
*
|
|
512
|
-
* @see {@link MatterSpecification.
|
|
512
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.9.3
|
|
513
513
|
*/
|
|
514
514
|
decimalPoints: TlvField(2, TlvUInt8),
|
|
515
515
|
|
|
@@ -519,7 +519,7 @@ export namespace DeviceEnergyManagement {
|
|
|
519
519
|
*
|
|
520
520
|
* This is an optional field. It shall be included if CostType is Financial.
|
|
521
521
|
*
|
|
522
|
-
* @see {@link MatterSpecification.
|
|
522
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.9.4
|
|
523
523
|
*/
|
|
524
524
|
currency: TlvOptionalField(3, TlvUInt16.bound({ max: 999 }))
|
|
525
525
|
});
|
|
@@ -528,34 +528,34 @@ export namespace DeviceEnergyManagement {
|
|
|
528
528
|
* This indicates a generic mechanism for expressing cost to run an appliance, in terms of financial, GHG emissions,
|
|
529
529
|
* comfort value etc.
|
|
530
530
|
*
|
|
531
|
-
* @see {@link MatterSpecification.
|
|
531
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.9
|
|
532
532
|
*/
|
|
533
533
|
export interface Cost extends TypeFromSchema<typeof TlvCost> {}
|
|
534
534
|
|
|
535
535
|
/**
|
|
536
536
|
* This indicates a specific stage of an ESA’s operation.
|
|
537
537
|
*
|
|
538
|
-
* @see {@link MatterSpecification.
|
|
538
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14
|
|
539
539
|
*/
|
|
540
540
|
export const TlvSlot = TlvObject({
|
|
541
541
|
/**
|
|
542
542
|
* This field shall indicate the minimum time (in seconds) that the appliance expects to be in this slot for.
|
|
543
543
|
*
|
|
544
|
-
* @see {@link MatterSpecification.
|
|
544
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.1
|
|
545
545
|
*/
|
|
546
546
|
minDuration: TlvField(0, TlvUInt32),
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
549
|
* This field shall indicate the maximum time (in seconds) that the appliance expects to be in this slot for.
|
|
550
550
|
*
|
|
551
|
-
* @see {@link MatterSpecification.
|
|
551
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.2
|
|
552
552
|
*/
|
|
553
553
|
maxDuration: TlvField(1, TlvUInt32),
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* This field shall indicate the expected time (in seconds) that the appliance expects to be in this slot for.
|
|
557
557
|
*
|
|
558
|
-
* @see {@link MatterSpecification.
|
|
558
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.3
|
|
559
559
|
*/
|
|
560
560
|
defaultDuration: TlvField(2, TlvUInt32),
|
|
561
561
|
|
|
@@ -569,7 +569,7 @@ export namespace DeviceEnergyManagement {
|
|
|
569
569
|
*
|
|
570
570
|
* When the Forecast attribute is read, then this value shall be the most recent value.
|
|
571
571
|
*
|
|
572
|
-
* @see {@link MatterSpecification.
|
|
572
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.4
|
|
573
573
|
*/
|
|
574
574
|
elapsedSlotTime: TlvField(3, TlvUInt32),
|
|
575
575
|
|
|
@@ -586,14 +586,14 @@ export namespace DeviceEnergyManagement {
|
|
|
586
586
|
*
|
|
587
587
|
* When the Forecast attribute is read, then this value shall be the most recent value.
|
|
588
588
|
*
|
|
589
|
-
* @see {@link MatterSpecification.
|
|
589
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.5
|
|
590
590
|
*/
|
|
591
591
|
remainingSlotTime: TlvField(4, TlvUInt32),
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
594
|
* This field shall indicate whether this slot can be paused.
|
|
595
595
|
*
|
|
596
|
-
* @see {@link MatterSpecification.
|
|
596
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.6
|
|
597
597
|
*/
|
|
598
598
|
slotIsPausable: TlvOptionalField(5, TlvBoolean),
|
|
599
599
|
|
|
@@ -602,14 +602,14 @@ export namespace DeviceEnergyManagement {
|
|
|
602
602
|
* controllers trying to pause ESAs for short periods and then resuming operation in a cyclic fashion which may
|
|
603
603
|
* damage or cause excess energy to be consumed with restarting of an operation.
|
|
604
604
|
*
|
|
605
|
-
* @see {@link MatterSpecification.
|
|
605
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.7
|
|
606
606
|
*/
|
|
607
607
|
minPauseDuration: TlvOptionalField(6, TlvUInt32),
|
|
608
608
|
|
|
609
609
|
/**
|
|
610
610
|
* This field shall indicate the longest period that the slot can be paused for.
|
|
611
611
|
*
|
|
612
|
-
* @see {@link MatterSpecification.
|
|
612
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.8
|
|
613
613
|
*/
|
|
614
614
|
maxPauseDuration: TlvOptionalField(7, TlvUInt32),
|
|
615
615
|
|
|
@@ -631,7 +631,7 @@ export namespace DeviceEnergyManagement {
|
|
|
631
631
|
* along with observed power drawn to predict the power draw from the appliance and potentially ask it to modify
|
|
632
632
|
* its timing via one of the adjustment request commands, or adjust other ESAs power to compensate.
|
|
633
633
|
*
|
|
634
|
-
* @see {@link MatterSpecification.
|
|
634
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.9
|
|
635
635
|
*/
|
|
636
636
|
manufacturerEsaState: TlvOptionalField(8, TlvUInt16),
|
|
637
637
|
|
|
@@ -640,7 +640,7 @@ export namespace DeviceEnergyManagement {
|
|
|
640
640
|
* considered the average value over the slot, and some variation from this would be expected (for example, as
|
|
641
641
|
* it is ramping up).
|
|
642
642
|
*
|
|
643
|
-
* @see {@link MatterSpecification.
|
|
643
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.10
|
|
644
644
|
*/
|
|
645
645
|
nominalPower: TlvOptionalField(9, TlvInt64),
|
|
646
646
|
|
|
@@ -650,7 +650,7 @@ export namespace DeviceEnergyManagement {
|
|
|
650
650
|
*
|
|
651
651
|
* Some appliances (e.g. battery inverters which can charge and discharge) may have a negative power.
|
|
652
652
|
*
|
|
653
|
-
* @see {@link MatterSpecification.
|
|
653
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.11
|
|
654
654
|
*/
|
|
655
655
|
minPower: TlvOptionalField(10, TlvInt64),
|
|
656
656
|
|
|
@@ -660,7 +660,7 @@ export namespace DeviceEnergyManagement {
|
|
|
660
660
|
*
|
|
661
661
|
* Some appliances (e.g. battery inverters which can charge and discharge) may have a negative power.
|
|
662
662
|
*
|
|
663
|
-
* @see {@link MatterSpecification.
|
|
663
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.12
|
|
664
664
|
*/
|
|
665
665
|
maxPower: TlvOptionalField(11, TlvInt64),
|
|
666
666
|
|
|
@@ -669,7 +669,7 @@ export namespace DeviceEnergyManagement {
|
|
|
669
669
|
*
|
|
670
670
|
* Some appliances (e.g. battery inverters which can charge and discharge) may have a negative energy.
|
|
671
671
|
*
|
|
672
|
-
* @see {@link MatterSpecification.
|
|
672
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.13
|
|
673
673
|
*/
|
|
674
674
|
nominalEnergy: TlvOptionalField(12, TlvInt64),
|
|
675
675
|
|
|
@@ -693,7 +693,7 @@ export namespace DeviceEnergyManagement {
|
|
|
693
693
|
* If the ESA cannot calculate its cost for any reason (such as losing its connection to a Price server) it may
|
|
694
694
|
* omit this field. This is treated as extra meta data that an EMS may use to optimize a system.
|
|
695
695
|
*
|
|
696
|
-
* @see {@link MatterSpecification.
|
|
696
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.14
|
|
697
697
|
*/
|
|
698
698
|
costs: TlvOptionalField(13, TlvArray(TlvCost, { maxLength: 5 })),
|
|
699
699
|
|
|
@@ -704,7 +704,7 @@ export namespace DeviceEnergyManagement {
|
|
|
704
704
|
* the slot indicates a NominalPower of 0W (indicating it is expecting to be off), this allows an ESA to
|
|
705
705
|
* indicate it could be switched on to charge, but this would be the minimum power limit it can be set to.
|
|
706
706
|
*
|
|
707
|
-
* @see {@link MatterSpecification.
|
|
707
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.15
|
|
708
708
|
*/
|
|
709
709
|
minPowerAdjustment: TlvOptionalField(14, TlvInt64),
|
|
710
710
|
|
|
@@ -715,7 +715,7 @@ export namespace DeviceEnergyManagement {
|
|
|
715
715
|
* the slot indicates a NominalPower of 0W (indicating it is expecting to be off), this allows an ESA to
|
|
716
716
|
* indicate it could be switched on to charge, but this would be the maximum power limit it can be set to.
|
|
717
717
|
*
|
|
718
|
-
* @see {@link MatterSpecification.
|
|
718
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.16
|
|
719
719
|
*/
|
|
720
720
|
maxPowerAdjustment: TlvOptionalField(15, TlvInt64),
|
|
721
721
|
|
|
@@ -728,7 +728,7 @@ export namespace DeviceEnergyManagement {
|
|
|
728
728
|
*
|
|
729
729
|
* For example, a heat pump compressor may have a minimum cycle time of order a few minutes.
|
|
730
730
|
*
|
|
731
|
-
* @see {@link MatterSpecification.
|
|
731
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.17
|
|
732
732
|
*/
|
|
733
733
|
minDurationAdjustment: TlvOptionalField(16, TlvUInt32),
|
|
734
734
|
|
|
@@ -741,7 +741,7 @@ export namespace DeviceEnergyManagement {
|
|
|
741
741
|
* which can be discharged, it may equally indicate the maximum time the battery could be discharged for (at the
|
|
742
742
|
* MaxPowerAdjustment power level).
|
|
743
743
|
*
|
|
744
|
-
* @see {@link MatterSpecification.
|
|
744
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14.18
|
|
745
745
|
*/
|
|
746
746
|
maxDurationAdjustment: TlvOptionalField(17, TlvUInt32)
|
|
747
747
|
});
|
|
@@ -749,12 +749,12 @@ export namespace DeviceEnergyManagement {
|
|
|
749
749
|
/**
|
|
750
750
|
* This indicates a specific stage of an ESA’s operation.
|
|
751
751
|
*
|
|
752
|
-
* @see {@link MatterSpecification.
|
|
752
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.14
|
|
753
753
|
*/
|
|
754
754
|
export interface Slot extends TypeFromSchema<typeof TlvSlot> {}
|
|
755
755
|
|
|
756
756
|
/**
|
|
757
|
-
* @see {@link MatterSpecification.
|
|
757
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.7
|
|
758
758
|
*/
|
|
759
759
|
export enum ForecastUpdateReason {
|
|
760
760
|
/**
|
|
@@ -781,7 +781,7 @@ export namespace DeviceEnergyManagement {
|
|
|
781
781
|
* Where an ESA does not know the actual power and energy use of the system, it may support the SFR feature and
|
|
782
782
|
* instead report its internal state.
|
|
783
783
|
*
|
|
784
|
-
* @see {@link MatterSpecification.
|
|
784
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13
|
|
785
785
|
*/
|
|
786
786
|
export const TlvForecast = TlvObject({
|
|
787
787
|
/**
|
|
@@ -794,7 +794,7 @@ export namespace DeviceEnergyManagement {
|
|
|
794
794
|
*
|
|
795
795
|
* The value of ForecastID is allowed to wrap.
|
|
796
796
|
*
|
|
797
|
-
* @see {@link MatterSpecification.
|
|
797
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.1
|
|
798
798
|
*/
|
|
799
799
|
forecastId: TlvField(0, TlvUInt32),
|
|
800
800
|
|
|
@@ -802,21 +802,21 @@ export namespace DeviceEnergyManagement {
|
|
|
802
802
|
* This field shall indicate which element of the Slots list is currently active in the Forecast sequence. A
|
|
803
803
|
* null value indicates that the sequence has not yet started.
|
|
804
804
|
*
|
|
805
|
-
* @see {@link MatterSpecification.
|
|
805
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.2
|
|
806
806
|
*/
|
|
807
807
|
activeSlotNumber: TlvField(1, TlvNullable(TlvUInt16)),
|
|
808
808
|
|
|
809
809
|
/**
|
|
810
810
|
* This field shall indicate the planned start time, in UTC, for the entire Forecast.
|
|
811
811
|
*
|
|
812
|
-
* @see {@link MatterSpecification.
|
|
812
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.3
|
|
813
813
|
*/
|
|
814
814
|
startTime: TlvField(2, TlvEpochS),
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
817
|
* This field shall indicate the planned end time, in UTC, for the entire Forecast.
|
|
818
818
|
*
|
|
819
|
-
* @see {@link MatterSpecification.
|
|
819
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.4
|
|
820
820
|
*/
|
|
821
821
|
endTime: TlvField(3, TlvEpochS),
|
|
822
822
|
|
|
@@ -824,7 +824,7 @@ export namespace DeviceEnergyManagement {
|
|
|
824
824
|
* This field shall indicate the earliest start time, in UTC, that the entire Forecast can be shifted to. A null
|
|
825
825
|
* value indicates that it can be started immediately.
|
|
826
826
|
*
|
|
827
|
-
* @see {@link MatterSpecification.
|
|
827
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.5
|
|
828
828
|
*/
|
|
829
829
|
earliestStartTime: TlvOptionalField(4, TlvNullable(TlvEpochS)),
|
|
830
830
|
|
|
@@ -834,7 +834,7 @@ export namespace DeviceEnergyManagement {
|
|
|
834
834
|
* e.g. for an EVSE charging session, this may indicate the departure time for the vehicle, by which time the
|
|
835
835
|
* charging session must end.
|
|
836
836
|
*
|
|
837
|
-
* @see {@link MatterSpecification.
|
|
837
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.6
|
|
838
838
|
*/
|
|
839
839
|
latestEndTime: TlvOptionalField(5, TlvEpochS),
|
|
840
840
|
|
|
@@ -843,7 +843,7 @@ export namespace DeviceEnergyManagement {
|
|
|
843
843
|
* this flag and if it is false, then none of the slots contain SlotIsPausable set to true. This can save a
|
|
844
844
|
* client from having to check each slot in the list.
|
|
845
845
|
*
|
|
846
|
-
* @see {@link MatterSpecification.
|
|
846
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.7
|
|
847
847
|
*/
|
|
848
848
|
isPausable: TlvField(6, TlvBoolean),
|
|
849
849
|
|
|
@@ -852,14 +852,14 @@ export namespace DeviceEnergyManagement {
|
|
|
852
852
|
*
|
|
853
853
|
* It shall contain at least 1 entry, and a maximum of 10.
|
|
854
854
|
*
|
|
855
|
-
* @see {@link MatterSpecification.
|
|
855
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.8
|
|
856
856
|
*/
|
|
857
857
|
slots: TlvField(7, TlvArray(TlvSlot, { maxLength: 10 })),
|
|
858
858
|
|
|
859
859
|
/**
|
|
860
860
|
* This field shall contain the reason the current Forecast was generated.
|
|
861
861
|
*
|
|
862
|
-
* @see {@link MatterSpecification.
|
|
862
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13.9
|
|
863
863
|
*/
|
|
864
864
|
forecastUpdateReason: TlvField(8, TlvEnum<ForecastUpdateReason>())
|
|
865
865
|
});
|
|
@@ -872,12 +872,12 @@ export namespace DeviceEnergyManagement {
|
|
|
872
872
|
* Where an ESA does not know the actual power and energy use of the system, it may support the SFR feature and
|
|
873
873
|
* instead report its internal state.
|
|
874
874
|
*
|
|
875
|
-
* @see {@link MatterSpecification.
|
|
875
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.13
|
|
876
876
|
*/
|
|
877
877
|
export interface Forecast extends TypeFromSchema<typeof TlvForecast> {}
|
|
878
878
|
|
|
879
879
|
/**
|
|
880
|
-
* @see {@link MatterSpecification.
|
|
880
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.4
|
|
881
881
|
*/
|
|
882
882
|
export enum OptOutState {
|
|
883
883
|
/**
|
|
@@ -904,7 +904,7 @@ export namespace DeviceEnergyManagement {
|
|
|
904
904
|
/**
|
|
905
905
|
* Input to the DeviceEnergyManagement pauseRequest command
|
|
906
906
|
*
|
|
907
|
-
* @see {@link MatterSpecification.
|
|
907
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.4
|
|
908
908
|
*/
|
|
909
909
|
export const TlvPauseRequest = TlvObject({
|
|
910
910
|
/**
|
|
@@ -912,14 +912,14 @@ export namespace DeviceEnergyManagement {
|
|
|
912
912
|
* MinPauseDuration and MaxPauseDuration indicated in the ActiveSlotNumber index in the Slots list in the
|
|
913
913
|
* Forecast.
|
|
914
914
|
*
|
|
915
|
-
* @see {@link MatterSpecification.
|
|
915
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.4.1
|
|
916
916
|
*/
|
|
917
917
|
duration: TlvField(0, TlvUInt32),
|
|
918
918
|
|
|
919
919
|
/**
|
|
920
920
|
* This field shall indicate the cause of the request from the EMS.
|
|
921
921
|
*
|
|
922
|
-
* @see {@link MatterSpecification.
|
|
922
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.4.2
|
|
923
923
|
*/
|
|
924
924
|
cause: TlvField(1, TlvEnum<AdjustmentCause>())
|
|
925
925
|
});
|
|
@@ -927,20 +927,20 @@ export namespace DeviceEnergyManagement {
|
|
|
927
927
|
/**
|
|
928
928
|
* Input to the DeviceEnergyManagement pauseRequest command
|
|
929
929
|
*
|
|
930
|
-
* @see {@link MatterSpecification.
|
|
930
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.4
|
|
931
931
|
*/
|
|
932
932
|
export interface PauseRequest extends TypeFromSchema<typeof TlvPauseRequest> {}
|
|
933
933
|
|
|
934
934
|
/**
|
|
935
935
|
* Body of the DeviceEnergyManagement resumed event
|
|
936
936
|
*
|
|
937
|
-
* @see {@link MatterSpecification.
|
|
937
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.4
|
|
938
938
|
*/
|
|
939
939
|
export const TlvResumedEvent = TlvObject({
|
|
940
940
|
/**
|
|
941
941
|
* This field shall indicate the reason why the pause ended.
|
|
942
942
|
*
|
|
943
|
-
* @see {@link MatterSpecification.
|
|
943
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.4.1
|
|
944
944
|
*/
|
|
945
945
|
cause: TlvField(0, TlvEnum<Cause>())
|
|
946
946
|
});
|
|
@@ -948,14 +948,14 @@ export namespace DeviceEnergyManagement {
|
|
|
948
948
|
/**
|
|
949
949
|
* Body of the DeviceEnergyManagement resumed event
|
|
950
950
|
*
|
|
951
|
-
* @see {@link MatterSpecification.
|
|
951
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.4
|
|
952
952
|
*/
|
|
953
953
|
export interface ResumedEvent extends TypeFromSchema<typeof TlvResumedEvent> {}
|
|
954
954
|
|
|
955
955
|
/**
|
|
956
956
|
* Input to the DeviceEnergyManagement startTimeAdjustRequest command
|
|
957
957
|
*
|
|
958
|
-
* @see {@link MatterSpecification.
|
|
958
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.3
|
|
959
959
|
*/
|
|
960
960
|
export const TlvStartTimeAdjustRequest = TlvObject({
|
|
961
961
|
/**
|
|
@@ -968,14 +968,14 @@ export namespace DeviceEnergyManagement {
|
|
|
968
968
|
* This value shall be after the EarliestStartTime in the Forecast attribute. The new EndTime, that can be
|
|
969
969
|
* computed from the RequestedStartTime and the Forecast sequence duration, shall be before the LatestEndTime.
|
|
970
970
|
*
|
|
971
|
-
* @see {@link MatterSpecification.
|
|
971
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.3.1
|
|
972
972
|
*/
|
|
973
973
|
requestedStartTime: TlvField(0, TlvEpochS),
|
|
974
974
|
|
|
975
975
|
/**
|
|
976
976
|
* This field shall indicate the cause of the request from the EMS.
|
|
977
977
|
*
|
|
978
|
-
* @see {@link MatterSpecification.
|
|
978
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.3.2
|
|
979
979
|
*/
|
|
980
980
|
cause: TlvField(1, TlvEnum<AdjustmentCause>())
|
|
981
981
|
});
|
|
@@ -983,12 +983,12 @@ export namespace DeviceEnergyManagement {
|
|
|
983
983
|
/**
|
|
984
984
|
* Input to the DeviceEnergyManagement startTimeAdjustRequest command
|
|
985
985
|
*
|
|
986
|
-
* @see {@link MatterSpecification.
|
|
986
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.3
|
|
987
987
|
*/
|
|
988
988
|
export interface StartTimeAdjustRequest extends TypeFromSchema<typeof TlvStartTimeAdjustRequest> {}
|
|
989
989
|
|
|
990
990
|
/**
|
|
991
|
-
* @see {@link MatterSpecification.
|
|
991
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.15
|
|
992
992
|
*/
|
|
993
993
|
export const TlvSlotAdjustment = TlvObject({
|
|
994
994
|
/**
|
|
@@ -996,7 +996,7 @@ export namespace DeviceEnergyManagement {
|
|
|
996
996
|
* be less than the actual length of the Slots list (implicitly it must be in the range 0 to 9 based on the
|
|
997
997
|
* maximum length of the Slots list constraint).
|
|
998
998
|
*
|
|
999
|
-
* @see {@link MatterSpecification.
|
|
999
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.15.1
|
|
1000
1000
|
*/
|
|
1001
1001
|
slotIndex: TlvField(0, TlvUInt8),
|
|
1002
1002
|
|
|
@@ -1007,7 +1007,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1007
1007
|
* This is a signed value and can be used to indicate charging or discharging. If the ESA does NOT support PFR
|
|
1008
1008
|
* this value shall be ignored by the ESA.
|
|
1009
1009
|
*
|
|
1010
|
-
* @see {@link MatterSpecification.
|
|
1010
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.15.2
|
|
1011
1011
|
*/
|
|
1012
1012
|
nominalPower: TlvOptionalField(1, TlvInt64),
|
|
1013
1013
|
|
|
@@ -1016,26 +1016,26 @@ export namespace DeviceEnergyManagement {
|
|
|
1016
1016
|
* slot duration to. It MUST be between the MinDurationAdjustment and MaxDurationAdjustment for the slot as
|
|
1017
1017
|
* advertised by the ESA.
|
|
1018
1018
|
*
|
|
1019
|
-
* @see {@link MatterSpecification.
|
|
1019
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.15.3
|
|
1020
1020
|
*/
|
|
1021
1021
|
duration: TlvField(2, TlvUInt32)
|
|
1022
1022
|
});
|
|
1023
1023
|
|
|
1024
1024
|
/**
|
|
1025
|
-
* @see {@link MatterSpecification.
|
|
1025
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.15
|
|
1026
1026
|
*/
|
|
1027
1027
|
export interface SlotAdjustment extends TypeFromSchema<typeof TlvSlotAdjustment> {}
|
|
1028
1028
|
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Input to the DeviceEnergyManagement modifyForecastRequest command
|
|
1031
1031
|
*
|
|
1032
|
-
* @see {@link MatterSpecification.
|
|
1032
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.6
|
|
1033
1033
|
*/
|
|
1034
1034
|
export const TlvModifyForecastRequest = TlvObject({
|
|
1035
1035
|
/**
|
|
1036
1036
|
* This field shall indicate the ForecastID that is to be modified.
|
|
1037
1037
|
*
|
|
1038
|
-
* @see {@link MatterSpecification.
|
|
1038
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.6.1
|
|
1039
1039
|
*/
|
|
1040
1040
|
forecastId: TlvField(0, TlvUInt32),
|
|
1041
1041
|
|
|
@@ -1043,14 +1043,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1043
1043
|
* This field shall contain a list of SlotAdjustment parameters that should be modified in the corresponding
|
|
1044
1044
|
* Forecast with matching ForecastID.
|
|
1045
1045
|
*
|
|
1046
|
-
* @see {@link MatterSpecification.
|
|
1046
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.6.2
|
|
1047
1047
|
*/
|
|
1048
1048
|
slotAdjustments: TlvField(1, TlvArray(TlvSlotAdjustment, { maxLength: 10 })),
|
|
1049
1049
|
|
|
1050
1050
|
/**
|
|
1051
1051
|
* This field shall indicate the cause of the request from the EMS.
|
|
1052
1052
|
*
|
|
1053
|
-
* @see {@link MatterSpecification.
|
|
1053
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.6.3
|
|
1054
1054
|
*/
|
|
1055
1055
|
cause: TlvField(2, TlvEnum<AdjustmentCause>())
|
|
1056
1056
|
});
|
|
@@ -1058,7 +1058,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Input to the DeviceEnergyManagement modifyForecastRequest command
|
|
1060
1060
|
*
|
|
1061
|
-
* @see {@link MatterSpecification.
|
|
1061
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.6
|
|
1062
1062
|
*/
|
|
1063
1063
|
export interface ModifyForecastRequest extends TypeFromSchema<typeof TlvModifyForecastRequest> {}
|
|
1064
1064
|
|
|
@@ -1067,7 +1067,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1067
1067
|
* perhaps excess solar PV). The format allows the client to suggest that the ESA can either turn up its energy
|
|
1068
1068
|
* consumption, or turn down its energy consumption during this period.
|
|
1069
1069
|
*
|
|
1070
|
-
* @see {@link MatterSpecification.
|
|
1070
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16
|
|
1071
1071
|
*/
|
|
1072
1072
|
export const TlvConstraints = TlvObject({
|
|
1073
1073
|
/**
|
|
@@ -1076,14 +1076,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1076
1076
|
*
|
|
1077
1077
|
* This value is in UTC and MUST be in the future.
|
|
1078
1078
|
*
|
|
1079
|
-
* @see {@link MatterSpecification.
|
|
1079
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16.1
|
|
1080
1080
|
*/
|
|
1081
1081
|
startTime: TlvField(0, TlvEpochS),
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* This field shall indicate the duration of the constraint in seconds.
|
|
1085
1085
|
*
|
|
1086
|
-
* @see {@link MatterSpecification.
|
|
1086
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16.2
|
|
1087
1087
|
*/
|
|
1088
1088
|
duration: TlvField(1, TlvUInt32.bound({ max: 86400 })),
|
|
1089
1089
|
|
|
@@ -1094,7 +1094,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1094
1094
|
*
|
|
1095
1095
|
* This is a signed value and can be used to indicate charging or discharging.
|
|
1096
1096
|
*
|
|
1097
|
-
* @see {@link MatterSpecification.
|
|
1097
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16.3
|
|
1098
1098
|
*/
|
|
1099
1099
|
nominalPower: TlvOptionalField(2, TlvInt64),
|
|
1100
1100
|
|
|
@@ -1104,7 +1104,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1104
1104
|
*
|
|
1105
1105
|
* This is a signed value and can be used to indicate charging or discharging.
|
|
1106
1106
|
*
|
|
1107
|
-
* @see {@link MatterSpecification.
|
|
1107
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16.4
|
|
1108
1108
|
*/
|
|
1109
1109
|
maximumEnergy: TlvOptionalField(3, TlvInt64),
|
|
1110
1110
|
|
|
@@ -1118,7 +1118,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1118
1118
|
*
|
|
1119
1119
|
* Note that the mapping between values and operation is manufacturer specific.
|
|
1120
1120
|
*
|
|
1121
|
-
* @see {@link MatterSpecification.
|
|
1121
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16.5
|
|
1122
1122
|
*/
|
|
1123
1123
|
loadControl: TlvOptionalField(4, TlvInt8)
|
|
1124
1124
|
});
|
|
@@ -1128,14 +1128,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1128
1128
|
* perhaps excess solar PV). The format allows the client to suggest that the ESA can either turn up its energy
|
|
1129
1129
|
* consumption, or turn down its energy consumption during this period.
|
|
1130
1130
|
*
|
|
1131
|
-
* @see {@link MatterSpecification.
|
|
1131
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.16
|
|
1132
1132
|
*/
|
|
1133
1133
|
export interface Constraints extends TypeFromSchema<typeof TlvConstraints> {}
|
|
1134
1134
|
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Input to the DeviceEnergyManagement requestConstraintBasedForecast command
|
|
1137
1137
|
*
|
|
1138
|
-
* @see {@link MatterSpecification.
|
|
1138
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.7
|
|
1139
1139
|
*/
|
|
1140
1140
|
export const TlvRequestConstraintBasedForecastRequest = TlvObject({
|
|
1141
1141
|
/**
|
|
@@ -1153,14 +1153,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1153
1153
|
* that use more energy, it could be requested to use more or less energy using the LoadControl field as
|
|
1154
1154
|
* follows:
|
|
1155
1155
|
*
|
|
1156
|
-
* @see {@link MatterSpecification.
|
|
1156
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.7.1
|
|
1157
1157
|
*/
|
|
1158
1158
|
constraints: TlvField(0, TlvArray(TlvConstraints, { maxLength: 10 })),
|
|
1159
1159
|
|
|
1160
1160
|
/**
|
|
1161
1161
|
* This field shall indicate the cause of the request from the EMS.
|
|
1162
1162
|
*
|
|
1163
|
-
* @see {@link MatterSpecification.
|
|
1163
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.7.2
|
|
1164
1164
|
*/
|
|
1165
1165
|
cause: TlvField(1, TlvEnum<AdjustmentCause>())
|
|
1166
1166
|
});
|
|
@@ -1168,12 +1168,12 @@ export namespace DeviceEnergyManagement {
|
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Input to the DeviceEnergyManagement requestConstraintBasedForecast command
|
|
1170
1170
|
*
|
|
1171
|
-
* @see {@link MatterSpecification.
|
|
1171
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.7
|
|
1172
1172
|
*/
|
|
1173
1173
|
export interface RequestConstraintBasedForecastRequest extends TypeFromSchema<typeof TlvRequestConstraintBasedForecastRequest> {}
|
|
1174
1174
|
|
|
1175
1175
|
/**
|
|
1176
|
-
* @see {@link MatterSpecification.
|
|
1176
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.2
|
|
1177
1177
|
*/
|
|
1178
1178
|
export enum EsaType {
|
|
1179
1179
|
/**
|
|
@@ -1253,7 +1253,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
1255
|
/**
|
|
1256
|
-
* @see {@link MatterSpecification.
|
|
1256
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.7.3
|
|
1257
1257
|
*/
|
|
1258
1258
|
export enum EsaState {
|
|
1259
1259
|
/**
|
|
@@ -1302,7 +1302,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1302
1302
|
*
|
|
1303
1303
|
* • When it changes from null to any other value and vice versa.
|
|
1304
1304
|
*
|
|
1305
|
-
* @see {@link MatterSpecification.
|
|
1305
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.6
|
|
1306
1306
|
*/
|
|
1307
1307
|
powerAdjustmentCapability: Attribute(0x5, TlvNullable(TlvPowerAdjustCapability), { default: null })
|
|
1308
1308
|
},
|
|
@@ -1311,14 +1311,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Allows a client to request an adjustment in the power consumption of an ESA for a specified duration.
|
|
1313
1313
|
*
|
|
1314
|
-
* @see {@link MatterSpecification.
|
|
1314
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.1
|
|
1315
1315
|
*/
|
|
1316
1316
|
powerAdjustRequest: Command(0x0, TlvPowerAdjustRequest, 0x0, TlvNoResponse),
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Allows a client to cancel an ongoing PowerAdjustmentRequest operation.
|
|
1320
1320
|
*
|
|
1321
|
-
* @see {@link MatterSpecification.
|
|
1321
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.2
|
|
1322
1322
|
*/
|
|
1323
1323
|
cancelPowerAdjustRequest: Command(0x1, TlvNoArguments, 0x1, TlvNoResponse)
|
|
1324
1324
|
},
|
|
@@ -1327,14 +1327,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* This event shall be generated when the Power Adjustment session is started.
|
|
1329
1329
|
*
|
|
1330
|
-
* @see {@link MatterSpecification.
|
|
1330
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.1
|
|
1331
1331
|
*/
|
|
1332
1332
|
powerAdjustStart: Event(0x0, EventPriority.Info, TlvNoArguments),
|
|
1333
1333
|
|
|
1334
1334
|
/**
|
|
1335
1335
|
* This event shall be generated when the Power Adjustment session ends.
|
|
1336
1336
|
*
|
|
1337
|
-
* @see {@link MatterSpecification.
|
|
1337
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.2
|
|
1338
1338
|
*/
|
|
1339
1339
|
powerAdjustEnd: Event(0x1, EventPriority.Info, TlvPowerAdjustEndEvent)
|
|
1340
1340
|
}
|
|
@@ -1367,7 +1367,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1367
1367
|
* • As a result of a change in the opt-out status which in turn may cause the ESA to recalculate its
|
|
1368
1368
|
* forecast.
|
|
1369
1369
|
*
|
|
1370
|
-
* @see {@link MatterSpecification.
|
|
1370
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.7
|
|
1371
1371
|
*/
|
|
1372
1372
|
forecast: Attribute(0x6, TlvNullable(TlvForecast), { default: null })
|
|
1373
1373
|
}
|
|
@@ -1410,7 +1410,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1410
1410
|
* If the ESA is in the LocalOptOut, GridOptOut, or NoOptOut states, the device is still permitted to
|
|
1411
1411
|
* optimize its own energy usage, for example, using tariff information it may obtain.
|
|
1412
1412
|
*
|
|
1413
|
-
* @see {@link MatterSpecification.
|
|
1413
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.8
|
|
1414
1414
|
*/
|
|
1415
1415
|
optOutState: Attribute(0x7, TlvEnum<OptOutState>(), { default: OptOutState.NoOptOut })
|
|
1416
1416
|
}
|
|
@@ -1424,14 +1424,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1424
1424
|
/**
|
|
1425
1425
|
* Allows a client to temporarily pause an operation and reduce the ESAs energy demand.
|
|
1426
1426
|
*
|
|
1427
|
-
* @see {@link MatterSpecification.
|
|
1427
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.4
|
|
1428
1428
|
*/
|
|
1429
1429
|
pauseRequest: Command(0x3, TlvPauseRequest, 0x3, TlvNoResponse),
|
|
1430
1430
|
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Allows a client to cancel the PauseRequest command and enable earlier resumption of operation.
|
|
1433
1433
|
*
|
|
1434
|
-
* @see {@link MatterSpecification.
|
|
1434
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.5
|
|
1435
1435
|
*/
|
|
1436
1436
|
resumeRequest: Command(0x4, TlvNoArguments, 0x4, TlvNoResponse)
|
|
1437
1437
|
},
|
|
@@ -1440,14 +1440,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* This event shall be generated when the ESA enters the Paused state. There is no data for this event.
|
|
1442
1442
|
*
|
|
1443
|
-
* @see {@link MatterSpecification.
|
|
1443
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.3
|
|
1444
1444
|
*/
|
|
1445
1445
|
paused: Event(0x2, EventPriority.Info, TlvNoArguments),
|
|
1446
1446
|
|
|
1447
1447
|
/**
|
|
1448
1448
|
* This event shall be generated when the ESA leaves the Paused state and resumes operation.
|
|
1449
1449
|
*
|
|
1450
|
-
* @see {@link MatterSpecification.
|
|
1450
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.10.4
|
|
1451
1451
|
*/
|
|
1452
1452
|
resumed: Event(0x3, EventPriority.Info, TlvResumedEvent)
|
|
1453
1453
|
}
|
|
@@ -1462,7 +1462,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1462
1462
|
* Allows a client to adjust the start time of a Forecast sequence that has not yet started operation (i.e.
|
|
1463
1463
|
* where the current Forecast StartTime is in the future).
|
|
1464
1464
|
*
|
|
1465
|
-
* @see {@link MatterSpecification.
|
|
1465
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.3
|
|
1466
1466
|
*/
|
|
1467
1467
|
startTimeAdjustRequest: Command(0x2, TlvStartTimeAdjustRequest, 0x2, TlvNoResponse)
|
|
1468
1468
|
}
|
|
@@ -1476,7 +1476,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Allows a client to modify a Forecast within the limits allowed by the ESA.
|
|
1478
1478
|
*
|
|
1479
|
-
* @see {@link MatterSpecification.
|
|
1479
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.6
|
|
1480
1480
|
*/
|
|
1481
1481
|
modifyForecastRequest: Command(0x5, TlvModifyForecastRequest, 0x5, TlvNoResponse)
|
|
1482
1482
|
}
|
|
@@ -1490,7 +1490,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Allows a client to ask the ESA to recompute its Forecast based on power and time constraints.
|
|
1492
1492
|
*
|
|
1493
|
-
* @see {@link MatterSpecification.
|
|
1493
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.7
|
|
1494
1494
|
*/
|
|
1495
1495
|
requestConstraintBasedForecast: Command(0x6, TlvRequestConstraintBasedForecastRequest, 0x6, TlvNoResponse)
|
|
1496
1496
|
}
|
|
@@ -1506,7 +1506,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1506
1506
|
* Allows a client to request cancellation of a previous adjustment request in a StartTimeAdjustRequest,
|
|
1507
1507
|
* ModifyForecastRequest or RequestConstraintBasedForecast command.
|
|
1508
1508
|
*
|
|
1509
|
-
* @see {@link MatterSpecification.
|
|
1509
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.9.8
|
|
1510
1510
|
*/
|
|
1511
1511
|
cancelRequest: Command(0x7, TlvNoArguments, 0x7, TlvNoResponse)
|
|
1512
1512
|
}
|
|
@@ -1531,7 +1531,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1531
1531
|
* in the excess power flowing into the grid. This excess power naturally fluctuates when clouds pass
|
|
1532
1532
|
* overhead and other loads in the home are switched on and off.
|
|
1533
1533
|
*
|
|
1534
|
-
* @see {@link MatterSpecification.
|
|
1534
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.1
|
|
1535
1535
|
*/
|
|
1536
1536
|
powerAdjustment: BitFlag(0),
|
|
1537
1537
|
|
|
@@ -1568,7 +1568,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1568
1568
|
*
|
|
1569
1569
|
* The ESA indicates its power adjustment range and its nominal power consumption as part of its Forecast.
|
|
1570
1570
|
*
|
|
1571
|
-
* @see {@link MatterSpecification.
|
|
1571
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.2
|
|
1572
1572
|
*/
|
|
1573
1573
|
powerForecastReporting: BitFlag(1),
|
|
1574
1574
|
|
|
@@ -1586,7 +1586,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1586
1586
|
* Once the EMS has built a model of the state vs observed power consumption, it may request a forecast
|
|
1587
1587
|
* adjustment for particular times of the day, encouraging the ESA to use power at alternative times.
|
|
1588
1588
|
*
|
|
1589
|
-
* @see {@link MatterSpecification.
|
|
1589
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.3
|
|
1590
1590
|
*/
|
|
1591
1591
|
stateForecastReporting: BitFlag(2),
|
|
1592
1592
|
|
|
@@ -1607,7 +1607,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1607
1607
|
* It does this by sending a StartTimeAdjustRequest to the washing machine to request delaying the start of
|
|
1608
1608
|
* the washing cycle.
|
|
1609
1609
|
*
|
|
1610
|
-
* @see {@link MatterSpecification.
|
|
1610
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.4
|
|
1611
1611
|
*/
|
|
1612
1612
|
startTimeAdjustment: BitFlag(3),
|
|
1613
1613
|
|
|
@@ -1628,7 +1628,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1628
1628
|
* It does this by sending a PauseRequest to the washing machine to request pausing the current step of the
|
|
1629
1629
|
* forecast power usage for a period to allow other home loads to finish before resuming the washing cycle.
|
|
1630
1630
|
*
|
|
1631
|
-
* @see {@link MatterSpecification.
|
|
1631
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.5
|
|
1632
1632
|
*/
|
|
1633
1633
|
pausable: BitFlag(4),
|
|
1634
1634
|
|
|
@@ -1653,7 +1653,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1653
1653
|
* at a lower power consumption (within the solar excess power) which requires the heat pump to run for a
|
|
1654
1654
|
* longer duration to achieve its required energy demand.
|
|
1655
1655
|
*
|
|
1656
|
-
* @see {@link MatterSpecification.
|
|
1656
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.6
|
|
1657
1657
|
*/
|
|
1658
1658
|
forecastAdjustment: BitFlag(5),
|
|
1659
1659
|
|
|
@@ -1676,7 +1676,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1676
1676
|
* NominalPower consumption during the constraint period, which may require it to decrease its charge rate
|
|
1677
1677
|
* outside the constraint period to achieve its required energy demand.
|
|
1678
1678
|
*
|
|
1679
|
-
* @see {@link MatterSpecification.
|
|
1679
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.4.7
|
|
1680
1680
|
*/
|
|
1681
1681
|
constraintBasedAdjustment: BitFlag(6)
|
|
1682
1682
|
},
|
|
@@ -1696,7 +1696,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1696
1696
|
* typical best use of energy. For example, an EVSE may not always have an EV plugged in, so knowing the
|
|
1697
1697
|
* type of ESA that is being controlled can allow advanced energy management strategies.
|
|
1698
1698
|
*
|
|
1699
|
-
* @see {@link MatterSpecification.
|
|
1699
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.1
|
|
1700
1700
|
*/
|
|
1701
1701
|
esaType: FixedAttribute(0x0, TlvEnum<EsaType>(), { default: EsaType.Other }),
|
|
1702
1702
|
|
|
@@ -1719,7 +1719,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1719
1719
|
*
|
|
1720
1720
|
* Example:
|
|
1721
1721
|
*
|
|
1722
|
-
* @see {@link MatterSpecification.
|
|
1722
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.2
|
|
1723
1723
|
*/
|
|
1724
1724
|
esaCanGenerate: FixedAttribute(0x1, TlvBoolean, { default: false }),
|
|
1725
1725
|
|
|
@@ -1734,7 +1734,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1734
1734
|
* for example to avoid the EMS accidentally starting or stopping the appliance when it is being serviced or
|
|
1735
1735
|
* tested.
|
|
1736
1736
|
*
|
|
1737
|
-
* @see {@link MatterSpecification.
|
|
1737
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.3
|
|
1738
1738
|
*/
|
|
1739
1739
|
esaState: Attribute(0x2, TlvEnum<EsaState>(), { default: EsaState.Offline }),
|
|
1740
1740
|
|
|
@@ -1748,7 +1748,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1748
1748
|
* in the home, the AbsMinPower will be a negative number representing the maximum power that the ESA can
|
|
1749
1749
|
* discharge its internal battery.
|
|
1750
1750
|
*
|
|
1751
|
-
* @see {@link MatterSpecification.
|
|
1751
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.4
|
|
1752
1752
|
*/
|
|
1753
1753
|
absMinPower: Attribute(0x3, TlvInt64, { default: 0 }),
|
|
1754
1754
|
|
|
@@ -1762,7 +1762,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1762
1762
|
* For example, a battery storage inverter that can charge its battery at a maximum power of 2000W and can
|
|
1763
1763
|
* discharge the battery at a maximum power of 3000W, would have a AbsMinPower: -3000, AbsMaxPower: 2000W.
|
|
1764
1764
|
*
|
|
1765
|
-
* @see {@link MatterSpecification.
|
|
1765
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2.8.5
|
|
1766
1766
|
*/
|
|
1767
1767
|
absMaxPower: Attribute(0x4, TlvInt64, { default: 0 })
|
|
1768
1768
|
},
|
|
@@ -1874,7 +1874,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1874
1874
|
* Per the Matter specification you cannot use {@link DeviceEnergyManagementCluster} without enabling certain
|
|
1875
1875
|
* feature combinations. You must use the {@link with} factory method to obtain a working cluster.
|
|
1876
1876
|
*
|
|
1877
|
-
* @see {@link MatterSpecification.
|
|
1877
|
+
* @see {@link MatterSpecification.v141.Cluster} § 9.2
|
|
1878
1878
|
*/
|
|
1879
1879
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
1880
1880
|
|