@matter/types 0.13.0-alpha.0-20250329-cd36948da → 0.13.0-alpha.0-20250330-df5a17eba
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 +51 -51
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- 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 +99 -99
- package/dist/cjs/clusters/application-launcher.js +13 -13
- 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 +559 -559
- package/dist/cjs/clusters/channel.js +73 -73
- 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 +17 -17
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +356 -356
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +475 -475
- package/dist/cjs/clusters/content-launcher.js +39 -39
- 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 +33 -33
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- 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 +1350 -1350
- package/dist/cjs/clusters/door-lock.js +229 -229
- 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-cluster.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore-cluster.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 +16 -16
- package/dist/cjs/clusters/keypad-input.js +3 -3
- 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 +43 -43
- package/dist/cjs/clusters/laundry-washer-mode.js +8 -8
- package/dist/cjs/clusters/level-control.d.ts +307 -307
- package/dist/cjs/clusters/level-control.js +33 -33
- 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 +385 -385
- package/dist/cjs/clusters/media-playback.js +57 -57
- 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 +61 -61
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- 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 +9 -9
- package/dist/cjs/clusters/oven-cavity-operational-state.js +8 -8
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- 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 +43 -43
- package/dist/cjs/clusters/rvc-clean-mode.js +8 -8
- package/dist/cjs/clusters/rvc-operational-state.d.ts +44 -44
- package/dist/cjs/clusters/rvc-operational-state.js +15 -15
- package/dist/cjs/clusters/rvc-run-mode.d.ts +50 -50
- package/dist/cjs/clusters/rvc-run-mode.js +8 -8
- 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 +135 -135
- 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 +30 -30
- package/dist/cjs/clusters/target-navigator.js +10 -10
- 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 +245 -245
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- 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 +80 -80
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- 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/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 +51 -51
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- 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 +99 -99
- package/dist/esm/clusters/application-launcher.js +13 -13
- 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 +559 -559
- package/dist/esm/clusters/channel.js +73 -73
- 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 +17 -17
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +356 -356
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +475 -475
- package/dist/esm/clusters/content-launcher.js +39 -39
- 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 +33 -33
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- 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 +1350 -1350
- package/dist/esm/clusters/door-lock.js +229 -229
- 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-cluster.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore-cluster.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 +16 -16
- package/dist/esm/clusters/keypad-input.js +3 -3
- 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 +43 -43
- package/dist/esm/clusters/laundry-washer-mode.js +8 -8
- package/dist/esm/clusters/level-control.d.ts +307 -307
- package/dist/esm/clusters/level-control.js +33 -33
- 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 +385 -385
- package/dist/esm/clusters/media-playback.js +57 -57
- 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 +61 -61
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- 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 +9 -9
- package/dist/esm/clusters/oven-cavity-operational-state.js +8 -8
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- 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 +43 -43
- package/dist/esm/clusters/rvc-clean-mode.js +8 -8
- package/dist/esm/clusters/rvc-operational-state.d.ts +44 -44
- package/dist/esm/clusters/rvc-operational-state.js +15 -15
- package/dist/esm/clusters/rvc-run-mode.d.ts +50 -50
- package/dist/esm/clusters/rvc-run-mode.js +8 -8
- 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 +135 -135
- 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 +30 -30
- package/dist/esm/clusters/target-navigator.js +10 -10
- 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 +245 -245
- package/dist/esm/clusters/time-synchronization.js +47 -47
- 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 +80 -80
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- 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/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 +20 -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 +28 -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 +111 -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 +12 -12
- package/src/clusters/content-control.ts +96 -96
- package/src/clusters/content-launcher.ts +69 -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 +26 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- 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-cluster.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +11 -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 +28 -28
- package/src/clusters/level-control.ts +50 -50
- 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 +91 -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 +39 -39
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +9 -9
- package/src/clusters/oven-mode.ts +34 -34
- 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 +28 -28
- package/src/clusters/rvc-operational-state.ts +26 -26
- package/src/clusters/rvc-run-mode.ts +35 -35
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +20 -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 +81 -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 +35 -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/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.v14.Cluster} § 9.2.4
|
|
27
27
|
*/
|
|
28
28
|
export enum Feature {
|
|
29
29
|
/**
|
|
@@ -44,7 +44,7 @@ export namespace DeviceEnergyManagement {
|
|
|
44
44
|
* discharging (and re-charging) of the vehicle if the EVSE and vehicle support the V2X feature of the EVSE
|
|
45
45
|
* cluster of the associated EVSE device.
|
|
46
46
|
*
|
|
47
|
-
* @see {@link MatterSpecification.
|
|
47
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.1
|
|
48
48
|
*/
|
|
49
49
|
PowerAdjustment = "PowerAdjustment",
|
|
50
50
|
|
|
@@ -88,7 +88,7 @@ export namespace DeviceEnergyManagement {
|
|
|
88
88
|
*
|
|
89
89
|
* The ESA indicates its power adjustment range and its nominal power consumption as part of its Forecast.
|
|
90
90
|
*
|
|
91
|
-
* @see {@link MatterSpecification.
|
|
91
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.2
|
|
92
92
|
*/
|
|
93
93
|
PowerForecastReporting = "PowerForecastReporting",
|
|
94
94
|
|
|
@@ -108,7 +108,7 @@ export namespace DeviceEnergyManagement {
|
|
|
108
108
|
* Once the EMS has built a model of the state vs observed power consumption, it may request a forecast
|
|
109
109
|
* adjustment for particular times of the day, encouraging the ESA to use power at alternative times.
|
|
110
110
|
*
|
|
111
|
-
* @see {@link MatterSpecification.
|
|
111
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.3
|
|
112
112
|
*/
|
|
113
113
|
StateForecastReporting = "StateForecastReporting",
|
|
114
114
|
|
|
@@ -133,7 +133,7 @@ export namespace DeviceEnergyManagement {
|
|
|
133
133
|
* It does this by sending a StartTimeAdjustRequest to the washing machine to request delaying the start of the
|
|
134
134
|
* washing cycle.
|
|
135
135
|
*
|
|
136
|
-
* @see {@link MatterSpecification.
|
|
136
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.4
|
|
137
137
|
*/
|
|
138
138
|
StartTimeAdjustment = "StartTimeAdjustment",
|
|
139
139
|
|
|
@@ -159,7 +159,7 @@ export namespace DeviceEnergyManagement {
|
|
|
159
159
|
* It does this by sending a PauseRequest to the washing machine to request pausing the current step of the
|
|
160
160
|
* forecast power usage for a period to allow other home loads to finish before resuming the washing cycle.
|
|
161
161
|
*
|
|
162
|
-
* @see {@link MatterSpecification.
|
|
162
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.5
|
|
163
163
|
*/
|
|
164
164
|
Pausable = "Pausable",
|
|
165
165
|
|
|
@@ -189,7 +189,7 @@ export namespace DeviceEnergyManagement {
|
|
|
189
189
|
* lower power consumption (within the solar excess power) which requires the heat pump to run for a longer
|
|
190
190
|
* duration to achieve its required energy demand.
|
|
191
191
|
*
|
|
192
|
-
* @see {@link MatterSpecification.
|
|
192
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.6
|
|
193
193
|
*/
|
|
194
194
|
ForecastAdjustment = "ForecastAdjustment",
|
|
195
195
|
|
|
@@ -218,13 +218,13 @@ export namespace DeviceEnergyManagement {
|
|
|
218
218
|
* NominalPower consumption during the constraint period, which may require it to decrease its charge rate
|
|
219
219
|
* outside the constraint period to achieve its required energy demand.
|
|
220
220
|
*
|
|
221
|
-
* @see {@link MatterSpecification.
|
|
221
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.7
|
|
222
222
|
*/
|
|
223
223
|
ConstraintBasedAdjustment = "ConstraintBasedAdjustment"
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
|
-
* @see {@link MatterSpecification.
|
|
227
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.10
|
|
228
228
|
*/
|
|
229
229
|
export const TlvPowerAdjust = TlvObject({
|
|
230
230
|
/**
|
|
@@ -233,7 +233,7 @@ export namespace DeviceEnergyManagement {
|
|
|
233
233
|
* Note that this is a signed value. Negative values indicate power flows out of the node (e.g. discharging a
|
|
234
234
|
* battery).
|
|
235
235
|
*
|
|
236
|
-
* @see {@link MatterSpecification.
|
|
236
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.10.1
|
|
237
237
|
*/
|
|
238
238
|
minPower: TlvField(0, TlvInt64),
|
|
239
239
|
|
|
@@ -253,7 +253,7 @@ export namespace DeviceEnergyManagement {
|
|
|
253
253
|
* In another example, if a battery storage inverter can charge its internal battery, between 0W and 2000W. Here
|
|
254
254
|
* power is flowing into the node when charging. As such the MinPower becomes 0W and MaxPower becomes 2000W.
|
|
255
255
|
*
|
|
256
|
-
* @see {@link MatterSpecification.
|
|
256
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.10.2
|
|
257
257
|
*/
|
|
258
258
|
maxPower: TlvField(1, TlvInt64),
|
|
259
259
|
|
|
@@ -262,7 +262,7 @@ export namespace DeviceEnergyManagement {
|
|
|
262
262
|
* adjustment. Manufacturers may use this to as an anti-cycling capability to avoid controllers from rapidly
|
|
263
263
|
* making power adjustments.
|
|
264
264
|
*
|
|
265
|
-
* @see {@link MatterSpecification.
|
|
265
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.10.3
|
|
266
266
|
*/
|
|
267
267
|
minDuration: TlvField(2, TlvUInt32),
|
|
268
268
|
|
|
@@ -271,18 +271,18 @@ export namespace DeviceEnergyManagement {
|
|
|
271
271
|
* adjustment. Manufacturers may use this to protect the user experience, to avoid over heating of the ESA,
|
|
272
272
|
* ensuring that there is sufficient headroom to use or store energy in the ESA or for any other reason.
|
|
273
273
|
*
|
|
274
|
-
* @see {@link MatterSpecification.
|
|
274
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.10.4
|
|
275
275
|
*/
|
|
276
276
|
maxDuration: TlvField(3, TlvUInt32)
|
|
277
277
|
});
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
|
-
* @see {@link MatterSpecification.
|
|
280
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.10
|
|
281
281
|
*/
|
|
282
282
|
export interface PowerAdjust extends TypeFromSchema<typeof TlvPowerAdjust> {}
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
|
-
* @see {@link MatterSpecification.
|
|
285
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.8
|
|
286
286
|
*/
|
|
287
287
|
export enum PowerAdjustReason {
|
|
288
288
|
/**
|
|
@@ -302,7 +302,7 @@ export namespace DeviceEnergyManagement {
|
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
|
-
* @see {@link MatterSpecification.
|
|
305
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.11
|
|
306
306
|
*/
|
|
307
307
|
export const TlvPowerAdjustCapability = TlvObject({
|
|
308
308
|
/**
|
|
@@ -321,7 +321,7 @@ export namespace DeviceEnergyManagement {
|
|
|
321
321
|
*
|
|
322
322
|
* In this example the list of PowerAdjustStructs allows multiple scenarios to be offered as follows:
|
|
323
323
|
*
|
|
324
|
-
* @see {@link MatterSpecification.
|
|
324
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.12
|
|
325
325
|
*/
|
|
326
326
|
powerAdjustCapability: TlvField(0, TlvNullable(TlvArray(TlvPowerAdjust, { maxLength: 8 }))),
|
|
327
327
|
|
|
@@ -329,12 +329,12 @@ export namespace DeviceEnergyManagement {
|
|
|
329
329
|
});
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
* @see {@link MatterSpecification.
|
|
332
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.11
|
|
333
333
|
*/
|
|
334
334
|
export interface PowerAdjustCapability extends TypeFromSchema<typeof TlvPowerAdjustCapability> {}
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
|
-
* @see {@link MatterSpecification.
|
|
337
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.6
|
|
338
338
|
*/
|
|
339
339
|
export enum AdjustmentCause {
|
|
340
340
|
/**
|
|
@@ -351,7 +351,7 @@ export namespace DeviceEnergyManagement {
|
|
|
351
351
|
/**
|
|
352
352
|
* Input to the DeviceEnergyManagement powerAdjustRequest command
|
|
353
353
|
*
|
|
354
|
-
* @see {@link MatterSpecification.
|
|
354
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.1
|
|
355
355
|
*/
|
|
356
356
|
export const TlvPowerAdjustRequest = TlvObject({
|
|
357
357
|
/**
|
|
@@ -360,7 +360,7 @@ export namespace DeviceEnergyManagement {
|
|
|
360
360
|
* This value shall be between the MinPower and MaxPower fields of the PowerAdjustStruct in the
|
|
361
361
|
* PowerAdjustmentCapability attribute.
|
|
362
362
|
*
|
|
363
|
-
* @see {@link MatterSpecification.
|
|
363
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.1.1
|
|
364
364
|
*/
|
|
365
365
|
power: TlvField(0, TlvInt64),
|
|
366
366
|
|
|
@@ -370,14 +370,14 @@ export namespace DeviceEnergyManagement {
|
|
|
370
370
|
* This value shall be between the MinDuration and MaxDuration fields of the PowerAdjustStruct in the
|
|
371
371
|
* PowerAdjustmentCapability attribute.
|
|
372
372
|
*
|
|
373
|
-
* @see {@link MatterSpecification.
|
|
373
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.1.2
|
|
374
374
|
*/
|
|
375
375
|
duration: TlvField(1, TlvUInt32),
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* This field shall indicate the cause of the request from the EMS.
|
|
379
379
|
*
|
|
380
|
-
* @see {@link MatterSpecification.
|
|
380
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.1.3
|
|
381
381
|
*/
|
|
382
382
|
cause: TlvField(2, TlvEnum<AdjustmentCause>())
|
|
383
383
|
});
|
|
@@ -385,12 +385,12 @@ export namespace DeviceEnergyManagement {
|
|
|
385
385
|
/**
|
|
386
386
|
* Input to the DeviceEnergyManagement powerAdjustRequest command
|
|
387
387
|
*
|
|
388
|
-
* @see {@link MatterSpecification.
|
|
388
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.1
|
|
389
389
|
*/
|
|
390
390
|
export interface PowerAdjustRequest extends TypeFromSchema<typeof TlvPowerAdjustRequest> {}
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
|
-
* @see {@link MatterSpecification.
|
|
393
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.5
|
|
394
394
|
*/
|
|
395
395
|
export enum Cause {
|
|
396
396
|
/**
|
|
@@ -422,20 +422,20 @@ export namespace DeviceEnergyManagement {
|
|
|
422
422
|
/**
|
|
423
423
|
* Body of the DeviceEnergyManagement powerAdjustEnd event
|
|
424
424
|
*
|
|
425
|
-
* @see {@link MatterSpecification.
|
|
425
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.2
|
|
426
426
|
*/
|
|
427
427
|
export const TlvPowerAdjustEndEvent = TlvObject({
|
|
428
428
|
/**
|
|
429
429
|
* This field shall indicate the reason why the power adjustment session ended.
|
|
430
430
|
*
|
|
431
|
-
* @see {@link MatterSpecification.
|
|
431
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.2.1
|
|
432
432
|
*/
|
|
433
433
|
cause: TlvField(0, TlvEnum<Cause>()),
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* This field shall indicate the number of seconds that the power adjustment session lasted before ending.
|
|
437
437
|
*
|
|
438
|
-
* @see {@link MatterSpecification.
|
|
438
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.2.2
|
|
439
439
|
*/
|
|
440
440
|
duration: TlvField(1, TlvUInt32),
|
|
441
441
|
|
|
@@ -446,7 +446,7 @@ export namespace DeviceEnergyManagement {
|
|
|
446
446
|
* battery inverter that was requested to discharge it would have a negative EnergyUse value. If this was a
|
|
447
447
|
* normal load that was turned on, then it will have positive value.
|
|
448
448
|
*
|
|
449
|
-
* @see {@link MatterSpecification.
|
|
449
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.2.3
|
|
450
450
|
*/
|
|
451
451
|
energyUse: TlvField(2, TlvInt64)
|
|
452
452
|
});
|
|
@@ -454,12 +454,12 @@ export namespace DeviceEnergyManagement {
|
|
|
454
454
|
/**
|
|
455
455
|
* Body of the DeviceEnergyManagement powerAdjustEnd event
|
|
456
456
|
*
|
|
457
|
-
* @see {@link MatterSpecification.
|
|
457
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.2
|
|
458
458
|
*/
|
|
459
459
|
export interface PowerAdjustEndEvent extends TypeFromSchema<typeof TlvPowerAdjustEndEvent> {}
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
|
-
* @see {@link MatterSpecification.
|
|
462
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.1
|
|
463
463
|
*/
|
|
464
464
|
export enum CostType {
|
|
465
465
|
/**
|
|
@@ -467,7 +467,7 @@ export namespace DeviceEnergyManagement {
|
|
|
467
467
|
*
|
|
468
468
|
* This value shall indicate that the cost is related to the financial cost to provide the energy.
|
|
469
469
|
*
|
|
470
|
-
* @see {@link MatterSpecification.
|
|
470
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.1.1
|
|
471
471
|
*/
|
|
472
472
|
Financial = 0,
|
|
473
473
|
|
|
@@ -476,7 +476,7 @@ export namespace DeviceEnergyManagement {
|
|
|
476
476
|
*
|
|
477
477
|
* This value shall indicate that the cost is related to greenhouse gas emissions (in grams of CO2e).
|
|
478
478
|
*
|
|
479
|
-
* @see {@link MatterSpecification.
|
|
479
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.1.2
|
|
480
480
|
*/
|
|
481
481
|
GhgEmissions = 1,
|
|
482
482
|
|
|
@@ -489,7 +489,7 @@ export namespace DeviceEnergyManagement {
|
|
|
489
489
|
* hospital. Or the consumer may feel inconvenienced by the fact that they need to wait for the washing machine
|
|
490
490
|
* to finish its load so that they can use it again.
|
|
491
491
|
*
|
|
492
|
-
* @see {@link MatterSpecification.
|
|
492
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.1.3
|
|
493
493
|
*/
|
|
494
494
|
Comfort = 2,
|
|
495
495
|
|
|
@@ -501,7 +501,7 @@ export namespace DeviceEnergyManagement {
|
|
|
501
501
|
*
|
|
502
502
|
* This is expressed in degrees Celsius.
|
|
503
503
|
*
|
|
504
|
-
* @see {@link MatterSpecification.
|
|
504
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.1.4
|
|
505
505
|
*/
|
|
506
506
|
Temperature = 3
|
|
507
507
|
}
|
|
@@ -510,13 +510,13 @@ export namespace DeviceEnergyManagement {
|
|
|
510
510
|
* This indicates a generic mechanism for expressing cost to run an appliance, in terms of financial, GHG emissions,
|
|
511
511
|
* comfort value etc.
|
|
512
512
|
*
|
|
513
|
-
* @see {@link MatterSpecification.
|
|
513
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.9
|
|
514
514
|
*/
|
|
515
515
|
export const TlvCost = TlvObject({
|
|
516
516
|
/**
|
|
517
517
|
* This field shall indicate the type of cost being represented (see CostTypeEnum).
|
|
518
518
|
*
|
|
519
|
-
* @see {@link MatterSpecification.
|
|
519
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.9.1
|
|
520
520
|
*/
|
|
521
521
|
costType: TlvField(0, TlvEnum<CostType>()),
|
|
522
522
|
|
|
@@ -526,7 +526,7 @@ export namespace DeviceEnergyManagement {
|
|
|
526
526
|
*
|
|
527
527
|
* For example, if the Value was -302 and DecimalPoints was 2, then this would represent a benefit of 3.02.
|
|
528
528
|
*
|
|
529
|
-
* @see {@link MatterSpecification.
|
|
529
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.9.2
|
|
530
530
|
*/
|
|
531
531
|
value: TlvField(1, TlvInt32),
|
|
532
532
|
|
|
@@ -534,7 +534,7 @@ export namespace DeviceEnergyManagement {
|
|
|
534
534
|
* This field shall indicate the number of digits to the right of the decimal point in the Value field. For
|
|
535
535
|
* example, if the Value was 102 and DecimalPoints was 2, then this would represent a cost of 1.02.
|
|
536
536
|
*
|
|
537
|
-
* @see {@link MatterSpecification.
|
|
537
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.9.3
|
|
538
538
|
*/
|
|
539
539
|
decimalPoints: TlvField(2, TlvUInt8),
|
|
540
540
|
|
|
@@ -544,7 +544,7 @@ export namespace DeviceEnergyManagement {
|
|
|
544
544
|
*
|
|
545
545
|
* This is an optional field. It shall be included if CostType is Financial.
|
|
546
546
|
*
|
|
547
|
-
* @see {@link MatterSpecification.
|
|
547
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.9.4
|
|
548
548
|
*/
|
|
549
549
|
currency: TlvOptionalField(3, TlvUInt16.bound({ max: 999 }))
|
|
550
550
|
});
|
|
@@ -553,34 +553,34 @@ export namespace DeviceEnergyManagement {
|
|
|
553
553
|
* This indicates a generic mechanism for expressing cost to run an appliance, in terms of financial, GHG emissions,
|
|
554
554
|
* comfort value etc.
|
|
555
555
|
*
|
|
556
|
-
* @see {@link MatterSpecification.
|
|
556
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.9
|
|
557
557
|
*/
|
|
558
558
|
export interface Cost extends TypeFromSchema<typeof TlvCost> {}
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
561
|
* This indicates a specific stage of an ESA’s operation.
|
|
562
562
|
*
|
|
563
|
-
* @see {@link MatterSpecification.
|
|
563
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14
|
|
564
564
|
*/
|
|
565
565
|
export const TlvSlot = TlvObject({
|
|
566
566
|
/**
|
|
567
567
|
* This field shall indicate the minimum time (in seconds) that the appliance expects to be in this slot for.
|
|
568
568
|
*
|
|
569
|
-
* @see {@link MatterSpecification.
|
|
569
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.1
|
|
570
570
|
*/
|
|
571
571
|
minDuration: TlvField(0, TlvUInt32),
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* This field shall indicate the maximum time (in seconds) that the appliance expects to be in this slot for.
|
|
575
575
|
*
|
|
576
|
-
* @see {@link MatterSpecification.
|
|
576
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.2
|
|
577
577
|
*/
|
|
578
578
|
maxDuration: TlvField(1, TlvUInt32),
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
* This field shall indicate the expected time (in seconds) that the appliance expects to be in this slot for.
|
|
582
582
|
*
|
|
583
|
-
* @see {@link MatterSpecification.
|
|
583
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.3
|
|
584
584
|
*/
|
|
585
585
|
defaultDuration: TlvField(2, TlvUInt32),
|
|
586
586
|
|
|
@@ -594,7 +594,7 @@ export namespace DeviceEnergyManagement {
|
|
|
594
594
|
*
|
|
595
595
|
* When the Forecast attribute is read, then this value shall be the most recent value.
|
|
596
596
|
*
|
|
597
|
-
* @see {@link MatterSpecification.
|
|
597
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.4
|
|
598
598
|
*/
|
|
599
599
|
elapsedSlotTime: TlvField(3, TlvUInt32),
|
|
600
600
|
|
|
@@ -611,14 +611,14 @@ export namespace DeviceEnergyManagement {
|
|
|
611
611
|
*
|
|
612
612
|
* When the Forecast attribute is read, then this value shall be the most recent value.
|
|
613
613
|
*
|
|
614
|
-
* @see {@link MatterSpecification.
|
|
614
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.5
|
|
615
615
|
*/
|
|
616
616
|
remainingSlotTime: TlvField(4, TlvUInt32),
|
|
617
617
|
|
|
618
618
|
/**
|
|
619
619
|
* This field shall indicate whether this slot can be paused.
|
|
620
620
|
*
|
|
621
|
-
* @see {@link MatterSpecification.
|
|
621
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.6
|
|
622
622
|
*/
|
|
623
623
|
slotIsPausable: TlvOptionalField(5, TlvBoolean),
|
|
624
624
|
|
|
@@ -627,14 +627,14 @@ export namespace DeviceEnergyManagement {
|
|
|
627
627
|
* controllers trying to pause ESAs for short periods and then resuming operation in a cyclic fashion which may
|
|
628
628
|
* damage or cause excess energy to be consumed with restarting of an operation.
|
|
629
629
|
*
|
|
630
|
-
* @see {@link MatterSpecification.
|
|
630
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.7
|
|
631
631
|
*/
|
|
632
632
|
minPauseDuration: TlvOptionalField(6, TlvUInt32),
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* This field shall indicate the longest period that the slot can be paused for.
|
|
636
636
|
*
|
|
637
|
-
* @see {@link MatterSpecification.
|
|
637
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.8
|
|
638
638
|
*/
|
|
639
639
|
maxPauseDuration: TlvOptionalField(7, TlvUInt32),
|
|
640
640
|
|
|
@@ -658,7 +658,7 @@ export namespace DeviceEnergyManagement {
|
|
|
658
658
|
* along with observed power drawn to predict the power draw from the appliance and potentially ask it to modify
|
|
659
659
|
* its timing via one of the adjustment request commands, or adjust other ESAs power to compensate.
|
|
660
660
|
*
|
|
661
|
-
* @see {@link MatterSpecification.
|
|
661
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.9
|
|
662
662
|
*/
|
|
663
663
|
manufacturerEsaState: TlvOptionalField(8, TlvUInt16),
|
|
664
664
|
|
|
@@ -667,7 +667,7 @@ export namespace DeviceEnergyManagement {
|
|
|
667
667
|
* considered the average value over the slot, and some variation from this would be expected (for example, as
|
|
668
668
|
* it is ramping up).
|
|
669
669
|
*
|
|
670
|
-
* @see {@link MatterSpecification.
|
|
670
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.10
|
|
671
671
|
*/
|
|
672
672
|
nominalPower: TlvOptionalField(9, TlvInt64),
|
|
673
673
|
|
|
@@ -677,7 +677,7 @@ export namespace DeviceEnergyManagement {
|
|
|
677
677
|
*
|
|
678
678
|
* Some appliances (e.g. battery inverters which can charge and discharge) may have a negative power.
|
|
679
679
|
*
|
|
680
|
-
* @see {@link MatterSpecification.
|
|
680
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.11
|
|
681
681
|
*/
|
|
682
682
|
minPower: TlvOptionalField(10, TlvInt64),
|
|
683
683
|
|
|
@@ -687,7 +687,7 @@ export namespace DeviceEnergyManagement {
|
|
|
687
687
|
*
|
|
688
688
|
* Some appliances (e.g. battery inverters which can charge and discharge) may have a negative power.
|
|
689
689
|
*
|
|
690
|
-
* @see {@link MatterSpecification.
|
|
690
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.12
|
|
691
691
|
*/
|
|
692
692
|
maxPower: TlvOptionalField(11, TlvInt64),
|
|
693
693
|
|
|
@@ -696,7 +696,7 @@ export namespace DeviceEnergyManagement {
|
|
|
696
696
|
*
|
|
697
697
|
* Some appliances (e.g. battery inverters which can charge and discharge) may have a negative energy.
|
|
698
698
|
*
|
|
699
|
-
* @see {@link MatterSpecification.
|
|
699
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.13
|
|
700
700
|
*/
|
|
701
701
|
nominalEnergy: TlvOptionalField(12, TlvInt64),
|
|
702
702
|
|
|
@@ -720,7 +720,7 @@ export namespace DeviceEnergyManagement {
|
|
|
720
720
|
* If the ESA cannot calculate its cost for any reason (such as losing its connection to a Price server) it may
|
|
721
721
|
* omit this field. This is treated as extra meta data that an EMS may use to optimize a system.
|
|
722
722
|
*
|
|
723
|
-
* @see {@link MatterSpecification.
|
|
723
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.14
|
|
724
724
|
*/
|
|
725
725
|
costs: TlvOptionalField(13, TlvArray(TlvCost, { maxLength: 5 })),
|
|
726
726
|
|
|
@@ -731,7 +731,7 @@ export namespace DeviceEnergyManagement {
|
|
|
731
731
|
* the slot indicates a NominalPower of 0W (indicating it is expecting to be off), this allows an ESA to
|
|
732
732
|
* indicate it could be switched on to charge, but this would be the minimum power limit it can be set to.
|
|
733
733
|
*
|
|
734
|
-
* @see {@link MatterSpecification.
|
|
734
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.15
|
|
735
735
|
*/
|
|
736
736
|
minPowerAdjustment: TlvOptionalField(14, TlvInt64),
|
|
737
737
|
|
|
@@ -742,7 +742,7 @@ export namespace DeviceEnergyManagement {
|
|
|
742
742
|
* the slot indicates a NominalPower of 0W (indicating it is expecting to be off), this allows an ESA to
|
|
743
743
|
* indicate it could be switched on to charge, but this would be the maximum power limit it can be set to.
|
|
744
744
|
*
|
|
745
|
-
* @see {@link MatterSpecification.
|
|
745
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.16
|
|
746
746
|
*/
|
|
747
747
|
maxPowerAdjustment: TlvOptionalField(15, TlvInt64),
|
|
748
748
|
|
|
@@ -755,7 +755,7 @@ export namespace DeviceEnergyManagement {
|
|
|
755
755
|
*
|
|
756
756
|
* For example, a heat pump compressor may have a minimum cycle time of order a few minutes.
|
|
757
757
|
*
|
|
758
|
-
* @see {@link MatterSpecification.
|
|
758
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.17
|
|
759
759
|
*/
|
|
760
760
|
minDurationAdjustment: TlvOptionalField(16, TlvUInt32),
|
|
761
761
|
|
|
@@ -768,7 +768,7 @@ export namespace DeviceEnergyManagement {
|
|
|
768
768
|
* which can be discharged, it may equally indicate the maximum time the battery could be discharged for (at the
|
|
769
769
|
* MaxPowerAdjustment power level).
|
|
770
770
|
*
|
|
771
|
-
* @see {@link MatterSpecification.
|
|
771
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14.18
|
|
772
772
|
*/
|
|
773
773
|
maxDurationAdjustment: TlvOptionalField(17, TlvUInt32)
|
|
774
774
|
});
|
|
@@ -776,12 +776,12 @@ export namespace DeviceEnergyManagement {
|
|
|
776
776
|
/**
|
|
777
777
|
* This indicates a specific stage of an ESA’s operation.
|
|
778
778
|
*
|
|
779
|
-
* @see {@link MatterSpecification.
|
|
779
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.14
|
|
780
780
|
*/
|
|
781
781
|
export interface Slot extends TypeFromSchema<typeof TlvSlot> {}
|
|
782
782
|
|
|
783
783
|
/**
|
|
784
|
-
* @see {@link MatterSpecification.
|
|
784
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.7
|
|
785
785
|
*/
|
|
786
786
|
export enum ForecastUpdateReason {
|
|
787
787
|
/**
|
|
@@ -809,7 +809,7 @@ export namespace DeviceEnergyManagement {
|
|
|
809
809
|
*
|
|
810
810
|
* feature and instead report its internal state.
|
|
811
811
|
*
|
|
812
|
-
* @see {@link MatterSpecification.
|
|
812
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13
|
|
813
813
|
*/
|
|
814
814
|
export const TlvForecast = TlvObject({
|
|
815
815
|
/**
|
|
@@ -822,7 +822,7 @@ export namespace DeviceEnergyManagement {
|
|
|
822
822
|
*
|
|
823
823
|
* The value of ForecastID is allowed to wrap.
|
|
824
824
|
*
|
|
825
|
-
* @see {@link MatterSpecification.
|
|
825
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.1
|
|
826
826
|
*/
|
|
827
827
|
forecastId: TlvField(0, TlvUInt32),
|
|
828
828
|
|
|
@@ -830,21 +830,21 @@ export namespace DeviceEnergyManagement {
|
|
|
830
830
|
* This field shall indicate which element of the Slots list is currently active in the Forecast sequence. A
|
|
831
831
|
* null value indicates that the sequence has not yet started.
|
|
832
832
|
*
|
|
833
|
-
* @see {@link MatterSpecification.
|
|
833
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.2
|
|
834
834
|
*/
|
|
835
835
|
activeSlotNumber: TlvField(1, TlvNullable(TlvUInt16)),
|
|
836
836
|
|
|
837
837
|
/**
|
|
838
838
|
* This field shall indicate the planned start time, in UTC, for the entire Forecast.
|
|
839
839
|
*
|
|
840
|
-
* @see {@link MatterSpecification.
|
|
840
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.3
|
|
841
841
|
*/
|
|
842
842
|
startTime: TlvField(2, TlvEpochS),
|
|
843
843
|
|
|
844
844
|
/**
|
|
845
845
|
* This field shall indicate the planned end time, in UTC, for the entire Forecast.
|
|
846
846
|
*
|
|
847
|
-
* @see {@link MatterSpecification.
|
|
847
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.4
|
|
848
848
|
*/
|
|
849
849
|
endTime: TlvField(3, TlvEpochS),
|
|
850
850
|
|
|
@@ -852,7 +852,7 @@ export namespace DeviceEnergyManagement {
|
|
|
852
852
|
* This field shall indicate the earliest start time, in UTC, that the entire Forecast can be shifted to. A null
|
|
853
853
|
* value indicates that it can be started immediately.
|
|
854
854
|
*
|
|
855
|
-
* @see {@link MatterSpecification.
|
|
855
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.5
|
|
856
856
|
*/
|
|
857
857
|
earliestStartTime: TlvOptionalField(4, TlvNullable(TlvEpochS)),
|
|
858
858
|
|
|
@@ -862,7 +862,7 @@ export namespace DeviceEnergyManagement {
|
|
|
862
862
|
* e.g. for an EVSE charging session, this may indicate the departure time for the vehicle, by which time the
|
|
863
863
|
* charging session must end.
|
|
864
864
|
*
|
|
865
|
-
* @see {@link MatterSpecification.
|
|
865
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.6
|
|
866
866
|
*/
|
|
867
867
|
latestEndTime: TlvOptionalField(5, TlvEpochS),
|
|
868
868
|
|
|
@@ -871,7 +871,7 @@ export namespace DeviceEnergyManagement {
|
|
|
871
871
|
* this flag and if it is false, then none of the slots contain SlotIsPausable set to true. This can save a
|
|
872
872
|
* client from having to check each slot in the list.
|
|
873
873
|
*
|
|
874
|
-
* @see {@link MatterSpecification.
|
|
874
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.7
|
|
875
875
|
*/
|
|
876
876
|
isPausable: TlvField(6, TlvBoolean),
|
|
877
877
|
|
|
@@ -880,14 +880,14 @@ export namespace DeviceEnergyManagement {
|
|
|
880
880
|
*
|
|
881
881
|
* It shall contain at least 1 entry, and a maximum of 10.
|
|
882
882
|
*
|
|
883
|
-
* @see {@link MatterSpecification.
|
|
883
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.8
|
|
884
884
|
*/
|
|
885
885
|
slots: TlvField(7, TlvArray(TlvSlot, { maxLength: 10 })),
|
|
886
886
|
|
|
887
887
|
/**
|
|
888
888
|
* This field shall contain the reason the current Forecast was generated.
|
|
889
889
|
*
|
|
890
|
-
* @see {@link MatterSpecification.
|
|
890
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13.9
|
|
891
891
|
*/
|
|
892
892
|
forecastUpdateReason: TlvField(8, TlvEnum<ForecastUpdateReason>())
|
|
893
893
|
});
|
|
@@ -901,12 +901,12 @@ export namespace DeviceEnergyManagement {
|
|
|
901
901
|
*
|
|
902
902
|
* feature and instead report its internal state.
|
|
903
903
|
*
|
|
904
|
-
* @see {@link MatterSpecification.
|
|
904
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.13
|
|
905
905
|
*/
|
|
906
906
|
export interface Forecast extends TypeFromSchema<typeof TlvForecast> {}
|
|
907
907
|
|
|
908
908
|
/**
|
|
909
|
-
* @see {@link MatterSpecification.
|
|
909
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.4
|
|
910
910
|
*/
|
|
911
911
|
export enum OptOutState {
|
|
912
912
|
/**
|
|
@@ -933,7 +933,7 @@ export namespace DeviceEnergyManagement {
|
|
|
933
933
|
/**
|
|
934
934
|
* Input to the DeviceEnergyManagement pauseRequest command
|
|
935
935
|
*
|
|
936
|
-
* @see {@link MatterSpecification.
|
|
936
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.4
|
|
937
937
|
*/
|
|
938
938
|
export const TlvPauseRequest = TlvObject({
|
|
939
939
|
/**
|
|
@@ -941,14 +941,14 @@ export namespace DeviceEnergyManagement {
|
|
|
941
941
|
* MinPauseDuration and MaxPauseDuration indicated in the ActiveSlotNumber index in the Slots list in the
|
|
942
942
|
* Forecast.
|
|
943
943
|
*
|
|
944
|
-
* @see {@link MatterSpecification.
|
|
944
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.4.1
|
|
945
945
|
*/
|
|
946
946
|
duration: TlvField(0, TlvUInt32),
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
949
|
* This field shall indicate the cause of the request from the EMS.
|
|
950
950
|
*
|
|
951
|
-
* @see {@link MatterSpecification.
|
|
951
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.4.2
|
|
952
952
|
*/
|
|
953
953
|
cause: TlvField(1, TlvEnum<AdjustmentCause>())
|
|
954
954
|
});
|
|
@@ -956,20 +956,20 @@ export namespace DeviceEnergyManagement {
|
|
|
956
956
|
/**
|
|
957
957
|
* Input to the DeviceEnergyManagement pauseRequest command
|
|
958
958
|
*
|
|
959
|
-
* @see {@link MatterSpecification.
|
|
959
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.4
|
|
960
960
|
*/
|
|
961
961
|
export interface PauseRequest extends TypeFromSchema<typeof TlvPauseRequest> {}
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
964
|
* Body of the DeviceEnergyManagement resumed event
|
|
965
965
|
*
|
|
966
|
-
* @see {@link MatterSpecification.
|
|
966
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.4
|
|
967
967
|
*/
|
|
968
968
|
export const TlvResumedEvent = TlvObject({
|
|
969
969
|
/**
|
|
970
970
|
* This field shall indicate the reason why the pause ended.
|
|
971
971
|
*
|
|
972
|
-
* @see {@link MatterSpecification.
|
|
972
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.4.1
|
|
973
973
|
*/
|
|
974
974
|
cause: TlvField(0, TlvEnum<Cause>())
|
|
975
975
|
});
|
|
@@ -977,14 +977,14 @@ export namespace DeviceEnergyManagement {
|
|
|
977
977
|
/**
|
|
978
978
|
* Body of the DeviceEnergyManagement resumed event
|
|
979
979
|
*
|
|
980
|
-
* @see {@link MatterSpecification.
|
|
980
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.4
|
|
981
981
|
*/
|
|
982
982
|
export interface ResumedEvent extends TypeFromSchema<typeof TlvResumedEvent> {}
|
|
983
983
|
|
|
984
984
|
/**
|
|
985
985
|
* Input to the DeviceEnergyManagement startTimeAdjustRequest command
|
|
986
986
|
*
|
|
987
|
-
* @see {@link MatterSpecification.
|
|
987
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.3
|
|
988
988
|
*/
|
|
989
989
|
export const TlvStartTimeAdjustRequest = TlvObject({
|
|
990
990
|
/**
|
|
@@ -997,14 +997,14 @@ export namespace DeviceEnergyManagement {
|
|
|
997
997
|
* This value shall be after the EarliestStartTime in the Forecast attribute. The new EndTime, that can be
|
|
998
998
|
* computed from the RequestedStartTime and the Forecast sequence duration, shall be before the LatestEndTime.
|
|
999
999
|
*
|
|
1000
|
-
* @see {@link MatterSpecification.
|
|
1000
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.3.1
|
|
1001
1001
|
*/
|
|
1002
1002
|
requestedStartTime: TlvField(0, TlvEpochS),
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* This field shall indicate the cause of the request from the EMS.
|
|
1006
1006
|
*
|
|
1007
|
-
* @see {@link MatterSpecification.
|
|
1007
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.3.2
|
|
1008
1008
|
*/
|
|
1009
1009
|
cause: TlvField(1, TlvEnum<AdjustmentCause>())
|
|
1010
1010
|
});
|
|
@@ -1012,12 +1012,12 @@ export namespace DeviceEnergyManagement {
|
|
|
1012
1012
|
/**
|
|
1013
1013
|
* Input to the DeviceEnergyManagement startTimeAdjustRequest command
|
|
1014
1014
|
*
|
|
1015
|
-
* @see {@link MatterSpecification.
|
|
1015
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.3
|
|
1016
1016
|
*/
|
|
1017
1017
|
export interface StartTimeAdjustRequest extends TypeFromSchema<typeof TlvStartTimeAdjustRequest> {}
|
|
1018
1018
|
|
|
1019
1019
|
/**
|
|
1020
|
-
* @see {@link MatterSpecification.
|
|
1020
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.15
|
|
1021
1021
|
*/
|
|
1022
1022
|
export const TlvSlotAdjustment = TlvObject({
|
|
1023
1023
|
/**
|
|
@@ -1025,7 +1025,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1025
1025
|
* be less than the actual length of the Slots list (implicitly it must be in the range 0 to 9 based on the
|
|
1026
1026
|
* maximum length of the Slots list constraint).
|
|
1027
1027
|
*
|
|
1028
|
-
* @see {@link MatterSpecification.
|
|
1028
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.15.1
|
|
1029
1029
|
*/
|
|
1030
1030
|
slotIndex: TlvField(0, TlvUInt8),
|
|
1031
1031
|
|
|
@@ -1036,7 +1036,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1036
1036
|
* This is a signed value and can be used to indicate charging or discharging. If the ESA does NOT support PFR
|
|
1037
1037
|
* this value shall be ignored by the ESA.
|
|
1038
1038
|
*
|
|
1039
|
-
* @see {@link MatterSpecification.
|
|
1039
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.15.2
|
|
1040
1040
|
*/
|
|
1041
1041
|
nominalPower: TlvOptionalField(1, TlvInt64),
|
|
1042
1042
|
|
|
@@ -1045,26 +1045,26 @@ export namespace DeviceEnergyManagement {
|
|
|
1045
1045
|
* slot duration to. It MUST be between the MinDurationAdjustment and MaxDurationAdjustment for the slot as
|
|
1046
1046
|
* advertised by the ESA.
|
|
1047
1047
|
*
|
|
1048
|
-
* @see {@link MatterSpecification.
|
|
1048
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.15.3
|
|
1049
1049
|
*/
|
|
1050
1050
|
duration: TlvField(2, TlvUInt32)
|
|
1051
1051
|
});
|
|
1052
1052
|
|
|
1053
1053
|
/**
|
|
1054
|
-
* @see {@link MatterSpecification.
|
|
1054
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.15
|
|
1055
1055
|
*/
|
|
1056
1056
|
export interface SlotAdjustment extends TypeFromSchema<typeof TlvSlotAdjustment> {}
|
|
1057
1057
|
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Input to the DeviceEnergyManagement modifyForecastRequest command
|
|
1060
1060
|
*
|
|
1061
|
-
* @see {@link MatterSpecification.
|
|
1061
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.6
|
|
1062
1062
|
*/
|
|
1063
1063
|
export const TlvModifyForecastRequest = TlvObject({
|
|
1064
1064
|
/**
|
|
1065
1065
|
* This field shall indicate the ForecastID that is to be modified.
|
|
1066
1066
|
*
|
|
1067
|
-
* @see {@link MatterSpecification.
|
|
1067
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.6.1
|
|
1068
1068
|
*/
|
|
1069
1069
|
forecastId: TlvField(0, TlvUInt32),
|
|
1070
1070
|
|
|
@@ -1072,14 +1072,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1072
1072
|
* This field shall contain a list of SlotAdjustment parameters that should be modified in the corresponding
|
|
1073
1073
|
* Forecast with matching ForecastID.
|
|
1074
1074
|
*
|
|
1075
|
-
* @see {@link MatterSpecification.
|
|
1075
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.6.2
|
|
1076
1076
|
*/
|
|
1077
1077
|
slotAdjustments: TlvField(1, TlvArray(TlvSlotAdjustment, { maxLength: 10 })),
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* This field shall indicate the cause of the request from the EMS.
|
|
1081
1081
|
*
|
|
1082
|
-
* @see {@link MatterSpecification.
|
|
1082
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.6.3
|
|
1083
1083
|
*/
|
|
1084
1084
|
cause: TlvField(2, TlvEnum<AdjustmentCause>())
|
|
1085
1085
|
});
|
|
@@ -1087,7 +1087,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1087
1087
|
/**
|
|
1088
1088
|
* Input to the DeviceEnergyManagement modifyForecastRequest command
|
|
1089
1089
|
*
|
|
1090
|
-
* @see {@link MatterSpecification.
|
|
1090
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.6
|
|
1091
1091
|
*/
|
|
1092
1092
|
export interface ModifyForecastRequest extends TypeFromSchema<typeof TlvModifyForecastRequest> {}
|
|
1093
1093
|
|
|
@@ -1096,7 +1096,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1096
1096
|
* perhaps excess solar PV). The format allows the client to suggest that the ESA can either turn up its energy
|
|
1097
1097
|
* consumption, or turn down its energy consumption during this period.
|
|
1098
1098
|
*
|
|
1099
|
-
* @see {@link MatterSpecification.
|
|
1099
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16
|
|
1100
1100
|
*/
|
|
1101
1101
|
export const TlvConstraints = TlvObject({
|
|
1102
1102
|
/**
|
|
@@ -1105,14 +1105,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1105
1105
|
*
|
|
1106
1106
|
* This value is in UTC and MUST be in the future.
|
|
1107
1107
|
*
|
|
1108
|
-
* @see {@link MatterSpecification.
|
|
1108
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16.1
|
|
1109
1109
|
*/
|
|
1110
1110
|
startTime: TlvField(0, TlvEpochS),
|
|
1111
1111
|
|
|
1112
1112
|
/**
|
|
1113
1113
|
* This field shall indicate the duration of the constraint in seconds.
|
|
1114
1114
|
*
|
|
1115
|
-
* @see {@link MatterSpecification.
|
|
1115
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16.2
|
|
1116
1116
|
*/
|
|
1117
1117
|
duration: TlvField(1, TlvUInt32.bound({ max: 86400 })),
|
|
1118
1118
|
|
|
@@ -1123,7 +1123,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1123
1123
|
*
|
|
1124
1124
|
* This is a signed value and can be used to indicate charging or discharging.
|
|
1125
1125
|
*
|
|
1126
|
-
* @see {@link MatterSpecification.
|
|
1126
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16.3
|
|
1127
1127
|
*/
|
|
1128
1128
|
nominalPower: TlvOptionalField(2, TlvInt64),
|
|
1129
1129
|
|
|
@@ -1133,7 +1133,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1133
1133
|
*
|
|
1134
1134
|
* This is a signed value and can be used to indicate charging or discharging.
|
|
1135
1135
|
*
|
|
1136
|
-
* @see {@link MatterSpecification.
|
|
1136
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16.4
|
|
1137
1137
|
*/
|
|
1138
1138
|
maximumEnergy: TlvOptionalField(3, TlvInt64),
|
|
1139
1139
|
|
|
@@ -1147,7 +1147,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1147
1147
|
*
|
|
1148
1148
|
* Note that the mapping between values and operation is manufacturer specific.
|
|
1149
1149
|
*
|
|
1150
|
-
* @see {@link MatterSpecification.
|
|
1150
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16.5
|
|
1151
1151
|
*/
|
|
1152
1152
|
loadControl: TlvOptionalField(4, TlvInt8)
|
|
1153
1153
|
});
|
|
@@ -1157,14 +1157,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1157
1157
|
* perhaps excess solar PV). The format allows the client to suggest that the ESA can either turn up its energy
|
|
1158
1158
|
* consumption, or turn down its energy consumption during this period.
|
|
1159
1159
|
*
|
|
1160
|
-
* @see {@link MatterSpecification.
|
|
1160
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.16
|
|
1161
1161
|
*/
|
|
1162
1162
|
export interface Constraints extends TypeFromSchema<typeof TlvConstraints> {}
|
|
1163
1163
|
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Input to the DeviceEnergyManagement requestConstraintBasedForecast command
|
|
1166
1166
|
*
|
|
1167
|
-
* @see {@link MatterSpecification.
|
|
1167
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.7
|
|
1168
1168
|
*/
|
|
1169
1169
|
export const TlvRequestConstraintBasedForecastRequest = TlvObject({
|
|
1170
1170
|
/**
|
|
@@ -1183,14 +1183,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1183
1183
|
*
|
|
1184
1184
|
* trol field as follows:
|
|
1185
1185
|
*
|
|
1186
|
-
* @see {@link MatterSpecification.
|
|
1186
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.7.1
|
|
1187
1187
|
*/
|
|
1188
1188
|
constraints: TlvField(0, TlvArray(TlvConstraints, { maxLength: 10 })),
|
|
1189
1189
|
|
|
1190
1190
|
/**
|
|
1191
1191
|
* This field shall indicate the cause of the request from the EMS.
|
|
1192
1192
|
*
|
|
1193
|
-
* @see {@link MatterSpecification.
|
|
1193
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.7.2
|
|
1194
1194
|
*/
|
|
1195
1195
|
cause: TlvField(1, TlvEnum<AdjustmentCause>())
|
|
1196
1196
|
});
|
|
@@ -1198,12 +1198,12 @@ export namespace DeviceEnergyManagement {
|
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Input to the DeviceEnergyManagement requestConstraintBasedForecast command
|
|
1200
1200
|
*
|
|
1201
|
-
* @see {@link MatterSpecification.
|
|
1201
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.7
|
|
1202
1202
|
*/
|
|
1203
1203
|
export interface RequestConstraintBasedForecastRequest extends TypeFromSchema<typeof TlvRequestConstraintBasedForecastRequest> {}
|
|
1204
1204
|
|
|
1205
1205
|
/**
|
|
1206
|
-
* @see {@link MatterSpecification.
|
|
1206
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.2
|
|
1207
1207
|
*/
|
|
1208
1208
|
export enum EsaType {
|
|
1209
1209
|
/**
|
|
@@ -1283,7 +1283,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
1285
|
/**
|
|
1286
|
-
* @see {@link MatterSpecification.
|
|
1286
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.7.3
|
|
1287
1287
|
*/
|
|
1288
1288
|
export enum EsaState {
|
|
1289
1289
|
/**
|
|
@@ -1332,7 +1332,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1332
1332
|
*
|
|
1333
1333
|
* • When it changes from null to any other value and vice versa.
|
|
1334
1334
|
*
|
|
1335
|
-
* @see {@link MatterSpecification.
|
|
1335
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.6
|
|
1336
1336
|
*/
|
|
1337
1337
|
powerAdjustmentCapability: Attribute(0x5, TlvNullable(TlvPowerAdjustCapability), { default: null })
|
|
1338
1338
|
},
|
|
@@ -1341,14 +1341,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Allows a client to request an adjustment in the power consumption of an ESA for a specified duration.
|
|
1343
1343
|
*
|
|
1344
|
-
* @see {@link MatterSpecification.
|
|
1344
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.1
|
|
1345
1345
|
*/
|
|
1346
1346
|
powerAdjustRequest: Command(0x0, TlvPowerAdjustRequest, 0x0, TlvNoResponse),
|
|
1347
1347
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Allows a client to cancel an ongoing PowerAdjustmentRequest operation.
|
|
1350
1350
|
*
|
|
1351
|
-
* @see {@link MatterSpecification.
|
|
1351
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.2
|
|
1352
1352
|
*/
|
|
1353
1353
|
cancelPowerAdjustRequest: Command(0x1, TlvNoArguments, 0x1, TlvNoResponse)
|
|
1354
1354
|
},
|
|
@@ -1357,14 +1357,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1357
1357
|
/**
|
|
1358
1358
|
* This event shall be generated when the Power Adjustment session is started.
|
|
1359
1359
|
*
|
|
1360
|
-
* @see {@link MatterSpecification.
|
|
1360
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.1
|
|
1361
1361
|
*/
|
|
1362
1362
|
powerAdjustStart: Event(0x0, EventPriority.Info, TlvNoArguments),
|
|
1363
1363
|
|
|
1364
1364
|
/**
|
|
1365
1365
|
* This event shall be generated when the Power Adjustment session ends.
|
|
1366
1366
|
*
|
|
1367
|
-
* @see {@link MatterSpecification.
|
|
1367
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.2
|
|
1368
1368
|
*/
|
|
1369
1369
|
powerAdjustEnd: Event(0x1, EventPriority.Info, TlvPowerAdjustEndEvent)
|
|
1370
1370
|
}
|
|
@@ -1397,7 +1397,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1397
1397
|
* • As a result of a change in the opt-out status which in turn may cause the ESA to recalculate its
|
|
1398
1398
|
* forecast.
|
|
1399
1399
|
*
|
|
1400
|
-
* @see {@link MatterSpecification.
|
|
1400
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.7
|
|
1401
1401
|
*/
|
|
1402
1402
|
forecast: Attribute(0x6, TlvNullable(TlvForecast), { default: null })
|
|
1403
1403
|
}
|
|
@@ -1441,7 +1441,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1441
1441
|
* If the ESA is in the LocalOptOut, GridOptOut, or NoOptOut states, the device is still permitted to
|
|
1442
1442
|
* optimize its own energy usage, for example, using tariff information it may obtain.
|
|
1443
1443
|
*
|
|
1444
|
-
* @see {@link MatterSpecification.
|
|
1444
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.8
|
|
1445
1445
|
*/
|
|
1446
1446
|
optOutState: Attribute(0x7, TlvEnum<OptOutState>(), { default: OptOutState.NoOptOut })
|
|
1447
1447
|
}
|
|
@@ -1455,14 +1455,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Allows a client to temporarily pause an operation and reduce the ESAs energy demand.
|
|
1457
1457
|
*
|
|
1458
|
-
* @see {@link MatterSpecification.
|
|
1458
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.4
|
|
1459
1459
|
*/
|
|
1460
1460
|
pauseRequest: Command(0x3, TlvPauseRequest, 0x3, TlvNoResponse),
|
|
1461
1461
|
|
|
1462
1462
|
/**
|
|
1463
1463
|
* Allows a client to cancel the PauseRequest command and enable earlier resumption of operation.
|
|
1464
1464
|
*
|
|
1465
|
-
* @see {@link MatterSpecification.
|
|
1465
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.5
|
|
1466
1466
|
*/
|
|
1467
1467
|
resumeRequest: Command(0x4, TlvNoArguments, 0x4, TlvNoResponse)
|
|
1468
1468
|
},
|
|
@@ -1471,14 +1471,14 @@ export namespace DeviceEnergyManagement {
|
|
|
1471
1471
|
/**
|
|
1472
1472
|
* This event shall be generated when the ESA enters the Paused state. There is no data for this event.
|
|
1473
1473
|
*
|
|
1474
|
-
* @see {@link MatterSpecification.
|
|
1474
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.3
|
|
1475
1475
|
*/
|
|
1476
1476
|
paused: Event(0x2, EventPriority.Info, TlvNoArguments),
|
|
1477
1477
|
|
|
1478
1478
|
/**
|
|
1479
1479
|
* This event shall be generated when the ESA leaves the Paused state and resumes operation.
|
|
1480
1480
|
*
|
|
1481
|
-
* @see {@link MatterSpecification.
|
|
1481
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.10.4
|
|
1482
1482
|
*/
|
|
1483
1483
|
resumed: Event(0x3, EventPriority.Info, TlvResumedEvent)
|
|
1484
1484
|
}
|
|
@@ -1493,7 +1493,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1493
1493
|
* Allows a client to adjust the start time of a Forecast sequence that has not yet started operation (i.e.
|
|
1494
1494
|
* where the current Forecast StartTime is in the future).
|
|
1495
1495
|
*
|
|
1496
|
-
* @see {@link MatterSpecification.
|
|
1496
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.3
|
|
1497
1497
|
*/
|
|
1498
1498
|
startTimeAdjustRequest: Command(0x2, TlvStartTimeAdjustRequest, 0x2, TlvNoResponse)
|
|
1499
1499
|
}
|
|
@@ -1507,7 +1507,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1507
1507
|
/**
|
|
1508
1508
|
* Allows a client to modify a Forecast within the limits allowed by the ESA.
|
|
1509
1509
|
*
|
|
1510
|
-
* @see {@link MatterSpecification.
|
|
1510
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.6
|
|
1511
1511
|
*/
|
|
1512
1512
|
modifyForecastRequest: Command(0x5, TlvModifyForecastRequest, 0x5, TlvNoResponse)
|
|
1513
1513
|
}
|
|
@@ -1521,7 +1521,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1521
1521
|
/**
|
|
1522
1522
|
* Allows a client to ask the ESA to recompute its Forecast based on power and time constraints.
|
|
1523
1523
|
*
|
|
1524
|
-
* @see {@link MatterSpecification.
|
|
1524
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.7
|
|
1525
1525
|
*/
|
|
1526
1526
|
requestConstraintBasedForecast: Command(0x6, TlvRequestConstraintBasedForecastRequest, 0x6, TlvNoResponse)
|
|
1527
1527
|
}
|
|
@@ -1537,7 +1537,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1537
1537
|
* Allows a client to request cancellation of a previous adjustment request in a StartTimeAdjustRequest,
|
|
1538
1538
|
* ModifyForecastRequest or RequestConstraintBasedForecast command.
|
|
1539
1539
|
*
|
|
1540
|
-
* @see {@link MatterSpecification.
|
|
1540
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.9.8
|
|
1541
1541
|
*/
|
|
1542
1542
|
cancelRequest: Command(0x7, TlvNoArguments, 0x7, TlvNoResponse)
|
|
1543
1543
|
}
|
|
@@ -1570,7 +1570,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1570
1570
|
* control the discharging (and re-charging) of the vehicle if the EVSE and vehicle support the V2X feature
|
|
1571
1571
|
* of the EVSE cluster of the associated EVSE device.
|
|
1572
1572
|
*
|
|
1573
|
-
* @see {@link MatterSpecification.
|
|
1573
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.1
|
|
1574
1574
|
*/
|
|
1575
1575
|
powerAdjustment: BitFlag(0),
|
|
1576
1576
|
|
|
@@ -1615,7 +1615,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1615
1615
|
*
|
|
1616
1616
|
* The ESA indicates its power adjustment range and its nominal power consumption as part of its Forecast.
|
|
1617
1617
|
*
|
|
1618
|
-
* @see {@link MatterSpecification.
|
|
1618
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.2
|
|
1619
1619
|
*/
|
|
1620
1620
|
powerForecastReporting: BitFlag(1),
|
|
1621
1621
|
|
|
@@ -1635,7 +1635,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1635
1635
|
* Once the EMS has built a model of the state vs observed power consumption, it may request a forecast
|
|
1636
1636
|
* adjustment for particular times of the day, encouraging the ESA to use power at alternative times.
|
|
1637
1637
|
*
|
|
1638
|
-
* @see {@link MatterSpecification.
|
|
1638
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.3
|
|
1639
1639
|
*/
|
|
1640
1640
|
stateForecastReporting: BitFlag(2),
|
|
1641
1641
|
|
|
@@ -1661,7 +1661,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1661
1661
|
* It does this by sending a StartTimeAdjustRequest to the washing machine to request delaying the start of
|
|
1662
1662
|
* the washing cycle.
|
|
1663
1663
|
*
|
|
1664
|
-
* @see {@link MatterSpecification.
|
|
1664
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.4
|
|
1665
1665
|
*/
|
|
1666
1666
|
startTimeAdjustment: BitFlag(3),
|
|
1667
1667
|
|
|
@@ -1687,7 +1687,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1687
1687
|
* It does this by sending a PauseRequest to the washing machine to request pausing the current step of the
|
|
1688
1688
|
* forecast power usage for a period to allow other home loads to finish before resuming the washing cycle.
|
|
1689
1689
|
*
|
|
1690
|
-
* @see {@link MatterSpecification.
|
|
1690
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.5
|
|
1691
1691
|
*/
|
|
1692
1692
|
pausable: BitFlag(4),
|
|
1693
1693
|
|
|
@@ -1719,7 +1719,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1719
1719
|
* at a lower power consumption (within the solar excess power) which requires the heat pump to run for a
|
|
1720
1720
|
* longer duration to achieve its required energy demand.
|
|
1721
1721
|
*
|
|
1722
|
-
* @see {@link MatterSpecification.
|
|
1722
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.6
|
|
1723
1723
|
*/
|
|
1724
1724
|
forecastAdjustment: BitFlag(5),
|
|
1725
1725
|
|
|
@@ -1748,7 +1748,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1748
1748
|
* NominalPower consumption during the constraint period, which may require it to decrease its charge rate
|
|
1749
1749
|
* outside the constraint period to achieve its required energy demand.
|
|
1750
1750
|
*
|
|
1751
|
-
* @see {@link MatterSpecification.
|
|
1751
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.4.7
|
|
1752
1752
|
*/
|
|
1753
1753
|
constraintBasedAdjustment: BitFlag(6)
|
|
1754
1754
|
},
|
|
@@ -1768,7 +1768,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1768
1768
|
* typical best use of energy. For example, an EVSE may not always have an EV plugged in, so knowing the
|
|
1769
1769
|
* type of ESA that is being controlled can allow advanced energy management strategies.
|
|
1770
1770
|
*
|
|
1771
|
-
* @see {@link MatterSpecification.
|
|
1771
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.1
|
|
1772
1772
|
*/
|
|
1773
1773
|
esaType: FixedAttribute(0x0, TlvEnum<EsaType>(), { default: EsaType.Other }),
|
|
1774
1774
|
|
|
@@ -1791,7 +1791,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1791
1791
|
*
|
|
1792
1792
|
* Example:
|
|
1793
1793
|
*
|
|
1794
|
-
* @see {@link MatterSpecification.
|
|
1794
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.2
|
|
1795
1795
|
*/
|
|
1796
1796
|
esaCanGenerate: FixedAttribute(0x1, TlvBoolean, { default: false }),
|
|
1797
1797
|
|
|
@@ -1806,7 +1806,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1806
1806
|
* for example to avoid the EMS accidentally starting or stopping the appliance when it is being serviced or
|
|
1807
1807
|
* tested.
|
|
1808
1808
|
*
|
|
1809
|
-
* @see {@link MatterSpecification.
|
|
1809
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.3
|
|
1810
1810
|
*/
|
|
1811
1811
|
esaState: Attribute(0x2, TlvEnum<EsaState>(), { default: EsaState.Offline }),
|
|
1812
1812
|
|
|
@@ -1820,7 +1820,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1820
1820
|
* in the home, the AbsMinPower will be a negative number representing the maximum power that the ESA can
|
|
1821
1821
|
* discharge its internal battery.
|
|
1822
1822
|
*
|
|
1823
|
-
* @see {@link MatterSpecification.
|
|
1823
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.4
|
|
1824
1824
|
*/
|
|
1825
1825
|
absMinPower: Attribute(0x3, TlvInt64, { default: 0 }),
|
|
1826
1826
|
|
|
@@ -1834,7 +1834,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1834
1834
|
* For example, a battery storage inverter that can charge its battery at a maximum power of 2000W and can
|
|
1835
1835
|
* discharge the battery at a maximum power of 3000W, would have a AbsMinPower: -3000, AbsMaxPower: 2000W.
|
|
1836
1836
|
*
|
|
1837
|
-
* @see {@link MatterSpecification.
|
|
1837
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2.8.5
|
|
1838
1838
|
*/
|
|
1839
1839
|
absMaxPower: Attribute(0x4, TlvInt64, { default: 0 })
|
|
1840
1840
|
},
|
|
@@ -1951,7 +1951,7 @@ export namespace DeviceEnergyManagement {
|
|
|
1951
1951
|
* Per the Matter specification you cannot use {@link DeviceEnergyManagementCluster} without enabling certain
|
|
1952
1952
|
* feature combinations. You must use the {@link with} factory method to obtain a working cluster.
|
|
1953
1953
|
*
|
|
1954
|
-
* @see {@link MatterSpecification.
|
|
1954
|
+
* @see {@link MatterSpecification.v14.Cluster} § 9.2
|
|
1955
1955
|
*/
|
|
1956
1956
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
1957
1957
|
|