@matter/types 0.11.0-alpha.0-20241005-e3e4e4a7a
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/LICENSE +201 -0
- package/README.md +13 -0
- package/dist/cjs/cluster/Cluster.d.ts +250 -0
- package/dist/cjs/cluster/Cluster.d.ts.map +1 -0
- package/dist/cjs/cluster/Cluster.js +607 -0
- package/dist/cjs/cluster/Cluster.js.map +6 -0
- package/dist/cjs/cluster/ClusterHelper.d.ts +30 -0
- package/dist/cjs/cluster/ClusterHelper.d.ts.map +1 -0
- package/dist/cjs/cluster/ClusterHelper.js +178 -0
- package/dist/cjs/cluster/ClusterHelper.js.map +6 -0
- package/dist/cjs/cluster/ClusterRegistry.d.ts +23 -0
- package/dist/cjs/cluster/ClusterRegistry.d.ts.map +1 -0
- package/dist/cjs/cluster/ClusterRegistry.js +47 -0
- package/dist/cjs/cluster/ClusterRegistry.js.map +6 -0
- package/dist/cjs/cluster/ClusterType.d.ts +227 -0
- package/dist/cjs/cluster/ClusterType.d.ts.map +1 -0
- package/dist/cjs/cluster/ClusterType.js +64 -0
- package/dist/cjs/cluster/ClusterType.js.map +6 -0
- package/dist/cjs/cluster/index.d.ts +12 -0
- package/dist/cjs/cluster/index.d.ts.map +1 -0
- package/dist/cjs/cluster/index.js +29 -0
- package/dist/cjs/cluster/index.js.map +6 -0
- package/dist/cjs/cluster/mutation/ClusterComposer.d.ts +115 -0
- package/dist/cjs/cluster/mutation/ClusterComposer.d.ts.map +1 -0
- package/dist/cjs/cluster/mutation/ClusterComposer.js +151 -0
- package/dist/cjs/cluster/mutation/ClusterComposer.js.map +6 -0
- package/dist/cjs/cluster/mutation/ElementModifier.d.ts +124 -0
- package/dist/cjs/cluster/mutation/ElementModifier.d.ts.map +1 -0
- package/dist/cjs/cluster/mutation/ElementModifier.js +100 -0
- package/dist/cjs/cluster/mutation/ElementModifier.js.map +6 -0
- package/dist/cjs/cluster/mutation/MutableCluster.d.ts +75 -0
- package/dist/cjs/cluster/mutation/MutableCluster.d.ts.map +1 -0
- package/dist/cjs/cluster/mutation/MutableCluster.js +83 -0
- package/dist/cjs/cluster/mutation/MutableCluster.js.map +6 -0
- package/dist/cjs/cluster/mutation/index.d.ts +9 -0
- package/dist/cjs/cluster/mutation/index.d.ts.map +1 -0
- package/dist/cjs/cluster/mutation/index.js +26 -0
- package/dist/cjs/cluster/mutation/index.js.map +6 -0
- package/dist/cjs/clusters/access-control.d.ts +850 -0
- package/dist/cjs/clusters/access-control.d.ts.map +1 -0
- package/dist/cjs/clusters/access-control.js +372 -0
- package/dist/cjs/clusters/access-control.js.map +6 -0
- package/dist/cjs/clusters/account-login.d.ts +359 -0
- package/dist/cjs/clusters/account-login.d.ts.map +1 -0
- package/dist/cjs/clusters/account-login.js +245 -0
- package/dist/cjs/clusters/account-login.js.map +6 -0
- package/dist/cjs/clusters/actions.d.ts +1170 -0
- package/dist/cjs/clusters/actions.d.ts.map +1 -0
- package/dist/cjs/clusters/actions.js +556 -0
- package/dist/cjs/clusters/actions.js.map +6 -0
- package/dist/cjs/clusters/activated-carbon-filter-monitoring.d.ts +162 -0
- package/dist/cjs/clusters/activated-carbon-filter-monitoring.d.ts.map +1 -0
- package/dist/cjs/clusters/activated-carbon-filter-monitoring.js +47 -0
- package/dist/cjs/clusters/activated-carbon-filter-monitoring.js.map +6 -0
- package/dist/cjs/clusters/administrator-commissioning.d.ts +885 -0
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -0
- package/dist/cjs/clusters/administrator-commissioning.js +315 -0
- package/dist/cjs/clusters/administrator-commissioning.js.map +6 -0
- package/dist/cjs/clusters/air-quality.d.ts +189 -0
- package/dist/cjs/clusters/air-quality.d.ts.map +1 -0
- package/dist/cjs/clusters/air-quality.js +104 -0
- package/dist/cjs/clusters/air-quality.js.map +6 -0
- package/dist/cjs/clusters/alarm-base.d.ts +451 -0
- package/dist/cjs/clusters/alarm-base.d.ts.map +1 -0
- package/dist/cjs/clusters/alarm-base.js +200 -0
- package/dist/cjs/clusters/alarm-base.js.map +6 -0
- package/dist/cjs/clusters/application-basic.d.ts +169 -0
- package/dist/cjs/clusters/application-basic.d.ts.map +1 -0
- package/dist/cjs/clusters/application-basic.js +140 -0
- package/dist/cjs/clusters/application-basic.js.map +6 -0
- package/dist/cjs/clusters/application-launcher.d.ts +1084 -0
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -0
- package/dist/cjs/clusters/application-launcher.js +250 -0
- package/dist/cjs/clusters/application-launcher.js.map +6 -0
- package/dist/cjs/clusters/audio-output.d.ts +439 -0
- package/dist/cjs/clusters/audio-output.d.ts.map +1 -0
- package/dist/cjs/clusters/audio-output.js +163 -0
- package/dist/cjs/clusters/audio-output.js.map +6 -0
- package/dist/cjs/clusters/ballast-configuration.d.ts +248 -0
- package/dist/cjs/clusters/ballast-configuration.d.ts.map +1 -0
- package/dist/cjs/clusters/ballast-configuration.js +256 -0
- package/dist/cjs/clusters/ballast-configuration.js.map +6 -0
- package/dist/cjs/clusters/basic-information.d.ts +628 -0
- package/dist/cjs/clusters/basic-information.d.ts.map +1 -0
- package/dist/cjs/clusters/basic-information.js +458 -0
- package/dist/cjs/clusters/basic-information.js.map +6 -0
- package/dist/cjs/clusters/binding.d.ts +136 -0
- package/dist/cjs/clusters/binding.d.ts.map +1 -0
- package/dist/cjs/clusters/binding.js +96 -0
- package/dist/cjs/clusters/binding.js.map +6 -0
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +1737 -0
- package/dist/cjs/clusters/boolean-state-configuration.d.ts.map +1 -0
- package/dist/cjs/clusters/boolean-state-configuration.js +361 -0
- package/dist/cjs/clusters/boolean-state-configuration.js.map +6 -0
- package/dist/cjs/clusters/boolean-state.d.ts +79 -0
- package/dist/cjs/clusters/boolean-state.d.ts.map +1 -0
- package/dist/cjs/clusters/boolean-state.js +75 -0
- package/dist/cjs/clusters/boolean-state.js.map +6 -0
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +159 -0
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -0
- package/dist/cjs/clusters/bridged-device-basic-information.js +155 -0
- package/dist/cjs/clusters/bridged-device-basic-information.js.map +6 -0
- package/dist/cjs/clusters/carbon-dioxide-concentration-measurement.d.ts +310 -0
- package/dist/cjs/clusters/carbon-dioxide-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/carbon-dioxide-concentration-measurement.js +51 -0
- package/dist/cjs/clusters/carbon-dioxide-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/carbon-monoxide-concentration-measurement.d.ts +310 -0
- package/dist/cjs/clusters/carbon-monoxide-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/carbon-monoxide-concentration-measurement.js +51 -0
- package/dist/cjs/clusters/carbon-monoxide-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/channel.d.ts +4764 -0
- package/dist/cjs/clusters/channel.d.ts.map +1 -0
- package/dist/cjs/clusters/channel.js +737 -0
- package/dist/cjs/clusters/channel.js.map +6 -0
- package/dist/cjs/clusters/color-control.d.ts +5084 -0
- package/dist/cjs/clusters/color-control.d.ts.map +1 -0
- package/dist/cjs/clusters/color-control.js +1392 -0
- package/dist/cjs/clusters/color-control.js.map +6 -0
- package/dist/cjs/clusters/concentration-measurement.d.ts +566 -0
- package/dist/cjs/clusters/concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/concentration-measurement.js +275 -0
- package/dist/cjs/clusters/concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/content-app-observer.d.ts +183 -0
- package/dist/cjs/clusters/content-app-observer.d.ts.map +1 -0
- package/dist/cjs/clusters/content-app-observer.js +99 -0
- package/dist/cjs/clusters/content-app-observer.js.map +6 -0
- package/dist/cjs/clusters/content-control.d.ts +3879 -0
- package/dist/cjs/clusters/content-control.d.ts.map +1 -0
- package/dist/cjs/clusters/content-control.js +975 -0
- package/dist/cjs/clusters/content-control.js.map +6 -0
- package/dist/cjs/clusters/content-launcher.d.ts +4265 -0
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -0
- package/dist/cjs/clusters/content-launcher.js +513 -0
- package/dist/cjs/clusters/content-launcher.js.map +6 -0
- package/dist/cjs/clusters/descriptor.d.ts +413 -0
- package/dist/cjs/clusters/descriptor.d.ts.map +1 -0
- package/dist/cjs/clusters/descriptor.js +161 -0
- package/dist/cjs/clusters/descriptor.js.map +6 -0
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +374 -0
- package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/device-energy-management-mode.js +157 -0
- package/dist/cjs/clusters/device-energy-management-mode.js.map +6 -0
- package/dist/cjs/clusters/device-energy-management.d.ts +6333 -0
- package/dist/cjs/clusters/device-energy-management.d.ts.map +1 -0
- package/dist/cjs/clusters/device-energy-management.js +1277 -0
- package/dist/cjs/clusters/device-energy-management.js.map +6 -0
- package/dist/cjs/clusters/diagnostic-logs.d.ts +341 -0
- package/dist/cjs/clusters/diagnostic-logs.d.ts.map +1 -0
- package/dist/cjs/clusters/diagnostic-logs.js +161 -0
- package/dist/cjs/clusters/diagnostic-logs.js.map +6 -0
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +380 -0
- package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -0
- package/dist/cjs/clusters/dishwasher-alarm.js +172 -0
- package/dist/cjs/clusters/dishwasher-alarm.js.map +6 -0
- package/dist/cjs/clusters/dishwasher-mode.d.ts +194 -0
- package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/dishwasher-mode.js +112 -0
- package/dist/cjs/clusters/dishwasher-mode.js.map +6 -0
- package/dist/cjs/clusters/door-lock.d.ts +15808 -0
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -0
- package/dist/cjs/clusters/door-lock.js +3216 -0
- package/dist/cjs/clusters/door-lock.js.map +6 -0
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +4074 -0
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/electrical-energy-measurement.js +469 -0
- package/dist/cjs/clusters/electrical-energy-measurement.js.map +6 -0
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +2565 -0
- package/dist/cjs/clusters/electrical-power-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/electrical-power-measurement.js +659 -0
- package/dist/cjs/clusters/electrical-power-measurement.js.map +6 -0
- package/dist/cjs/clusters/energy-evse-mode.d.ts +367 -0
- package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/energy-evse-mode.js +156 -0
- package/dist/cjs/clusters/energy-evse-mode.js.map +6 -0
- package/dist/cjs/clusters/energy-evse.d.ts +4153 -0
- package/dist/cjs/clusters/energy-evse.d.ts.map +1 -0
- package/dist/cjs/clusters/energy-evse.js +993 -0
- package/dist/cjs/clusters/energy-evse.js.map +6 -0
- package/dist/cjs/clusters/energy-preference.d.ts +665 -0
- package/dist/cjs/clusters/energy-preference.d.ts.map +1 -0
- package/dist/cjs/clusters/energy-preference.js +226 -0
- package/dist/cjs/clusters/energy-preference.js.map +6 -0
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +623 -0
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts.map +1 -0
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +235 -0
- package/dist/cjs/clusters/ethernet-network-diagnostics.js.map +6 -0
- package/dist/cjs/clusters/fan-control.d.ts +1289 -0
- package/dist/cjs/clusters/fan-control.d.ts.map +1 -0
- package/dist/cjs/clusters/fan-control.js +385 -0
- package/dist/cjs/clusters/fan-control.js.map +6 -0
- package/dist/cjs/clusters/fixed-label.d.ts +53 -0
- package/dist/cjs/clusters/fixed-label.d.ts.map +1 -0
- package/dist/cjs/clusters/fixed-label.js +53 -0
- package/dist/cjs/clusters/fixed-label.js.map +6 -0
- package/dist/cjs/clusters/flow-measurement.d.ts +69 -0
- package/dist/cjs/clusters/flow-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/flow-measurement.js +84 -0
- package/dist/cjs/clusters/flow-measurement.js.map +6 -0
- package/dist/cjs/clusters/formaldehyde-concentration-measurement.d.ts +310 -0
- package/dist/cjs/clusters/formaldehyde-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/formaldehyde-concentration-measurement.js +51 -0
- package/dist/cjs/clusters/formaldehyde-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/general-commissioning.d.ts +575 -0
- package/dist/cjs/clusters/general-commissioning.d.ts.map +1 -0
- package/dist/cjs/clusters/general-commissioning.js +447 -0
- package/dist/cjs/clusters/general-commissioning.js.map +6 -0
- package/dist/cjs/clusters/general-diagnostics.d.ts +1891 -0
- package/dist/cjs/clusters/general-diagnostics.d.ts.map +1 -0
- package/dist/cjs/clusters/general-diagnostics.js +563 -0
- package/dist/cjs/clusters/general-diagnostics.js.map +6 -0
- package/dist/cjs/clusters/group-key-management.d.ts +1254 -0
- package/dist/cjs/clusters/group-key-management.d.ts.map +1 -0
- package/dist/cjs/clusters/group-key-management.js +401 -0
- package/dist/cjs/clusters/group-key-management.js.map +6 -0
- package/dist/cjs/clusters/groups.d.ts +710 -0
- package/dist/cjs/clusters/groups.d.ts.map +1 -0
- package/dist/cjs/clusters/groups.js +270 -0
- package/dist/cjs/clusters/groups.js.map +6 -0
- package/dist/cjs/clusters/hepa-filter-monitoring.d.ts +162 -0
- package/dist/cjs/clusters/hepa-filter-monitoring.d.ts.map +1 -0
- package/dist/cjs/clusters/hepa-filter-monitoring.js +47 -0
- package/dist/cjs/clusters/hepa-filter-monitoring.js.map +6 -0
- package/dist/cjs/clusters/icd-management.d.ts +1744 -0
- package/dist/cjs/clusters/icd-management.d.ts.map +1 -0
- package/dist/cjs/clusters/icd-management.js +516 -0
- package/dist/cjs/clusters/icd-management.js.map +6 -0
- package/dist/cjs/clusters/identify.d.ts +219 -0
- package/dist/cjs/clusters/identify.d.ts.map +1 -0
- package/dist/cjs/clusters/identify.js +142 -0
- package/dist/cjs/clusters/identify.js.map +6 -0
- package/dist/cjs/clusters/illuminance-measurement.d.ts +94 -0
- package/dist/cjs/clusters/illuminance-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/illuminance-measurement.js +101 -0
- package/dist/cjs/clusters/illuminance-measurement.js.map +6 -0
- package/dist/cjs/clusters/index.d.ts +121 -0
- package/dist/cjs/clusters/index.d.ts.map +1 -0
- package/dist/cjs/clusters/index.js +365 -0
- package/dist/cjs/clusters/index.js.map +6 -0
- package/dist/cjs/clusters/keypad-input.d.ts +341 -0
- package/dist/cjs/clusters/keypad-input.d.ts.map +1 -0
- package/dist/cjs/clusters/keypad-input.js +207 -0
- package/dist/cjs/clusters/keypad-input.js.map +6 -0
- package/dist/cjs/clusters/label.d.ts +96 -0
- package/dist/cjs/clusters/label.d.ts.map +1 -0
- package/dist/cjs/clusters/label.js +66 -0
- package/dist/cjs/clusters/label.js.map +6 -0
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +82 -0
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts.map +1 -0
- package/dist/cjs/clusters/laundry-dryer-controls.js +83 -0
- package/dist/cjs/clusters/laundry-dryer-controls.js.map +6 -0
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +379 -0
- package/dist/cjs/clusters/laundry-washer-controls.d.ts.map +1 -0
- package/dist/cjs/clusters/laundry-washer-controls.js +162 -0
- package/dist/cjs/clusters/laundry-washer-controls.js.map +6 -0
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +200 -0
- package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/laundry-washer-mode.js +113 -0
- package/dist/cjs/clusters/laundry-washer-mode.js.map +6 -0
- package/dist/cjs/clusters/level-control.d.ts +2945 -0
- package/dist/cjs/clusters/level-control.d.ts.map +1 -0
- package/dist/cjs/clusters/level-control.js +419 -0
- package/dist/cjs/clusters/level-control.js.map +6 -0
- package/dist/cjs/clusters/localization-configuration.d.ts +60 -0
- package/dist/cjs/clusters/localization-configuration.d.ts.map +1 -0
- package/dist/cjs/clusters/localization-configuration.js +75 -0
- package/dist/cjs/clusters/localization-configuration.js.map +6 -0
- package/dist/cjs/clusters/low-power.d.ts +52 -0
- package/dist/cjs/clusters/low-power.d.ts.map +1 -0
- package/dist/cjs/clusters/low-power.js +54 -0
- package/dist/cjs/clusters/low-power.js.map +6 -0
- package/dist/cjs/clusters/media-input.d.ts +493 -0
- package/dist/cjs/clusters/media-input.d.ts.map +1 -0
- package/dist/cjs/clusters/media-input.js +181 -0
- package/dist/cjs/clusters/media-input.js.map +6 -0
- package/dist/cjs/clusters/media-playback.d.ts +3558 -0
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -0
- package/dist/cjs/clusters/media-playback.js +734 -0
- package/dist/cjs/clusters/media-playback.js.map +6 -0
- package/dist/cjs/clusters/messages.d.ts +1369 -0
- package/dist/cjs/clusters/messages.d.ts.map +1 -0
- package/dist/cjs/clusters/messages.js +421 -0
- package/dist/cjs/clusters/messages.js.map +6 -0
- package/dist/cjs/clusters/microwave-oven-control.d.ts +859 -0
- package/dist/cjs/clusters/microwave-oven-control.d.ts.map +1 -0
- package/dist/cjs/clusters/microwave-oven-control.js +295 -0
- package/dist/cjs/clusters/microwave-oven-control.js.map +6 -0
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +140 -0
- package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/microwave-oven-mode.js +89 -0
- package/dist/cjs/clusters/microwave-oven-mode.js.map +6 -0
- package/dist/cjs/clusters/mode-base.d.ts +716 -0
- package/dist/cjs/clusters/mode-base.d.ts.map +1 -0
- package/dist/cjs/clusters/mode-base.js +275 -0
- package/dist/cjs/clusters/mode-base.js.map +6 -0
- package/dist/cjs/clusters/mode-select.d.ts +638 -0
- package/dist/cjs/clusters/mode-select.d.ts.map +1 -0
- package/dist/cjs/clusters/mode-select.js +224 -0
- package/dist/cjs/clusters/mode-select.js.map +6 -0
- package/dist/cjs/clusters/network-commissioning.d.ts +5310 -0
- package/dist/cjs/clusters/network-commissioning.d.ts.map +1 -0
- package/dist/cjs/clusters/network-commissioning.js +1026 -0
- package/dist/cjs/clusters/network-commissioning.js.map +6 -0
- package/dist/cjs/clusters/nitrogen-dioxide-concentration-measurement.d.ts +310 -0
- package/dist/cjs/clusters/nitrogen-dioxide-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/nitrogen-dioxide-concentration-measurement.js +51 -0
- package/dist/cjs/clusters/nitrogen-dioxide-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/occupancy-sensing.d.ts +196 -0
- package/dist/cjs/clusters/occupancy-sensing.d.ts.map +1 -0
- package/dist/cjs/clusters/occupancy-sensing.js +204 -0
- package/dist/cjs/clusters/occupancy-sensing.js.map +6 -0
- package/dist/cjs/clusters/on-off.d.ts +1399 -0
- package/dist/cjs/clusters/on-off.d.ts.map +1 -0
- package/dist/cjs/clusters/on-off.js +347 -0
- package/dist/cjs/clusters/on-off.js.map +6 -0
- package/dist/cjs/clusters/operational-credentials.d.ts +1307 -0
- package/dist/cjs/clusters/operational-credentials.d.ts.map +1 -0
- package/dist/cjs/clusters/operational-credentials.js +717 -0
- package/dist/cjs/clusters/operational-credentials.js.map +6 -0
- package/dist/cjs/clusters/operational-state.d.ts +711 -0
- package/dist/cjs/clusters/operational-state.d.ts.map +1 -0
- package/dist/cjs/clusters/operational-state.js +365 -0
- package/dist/cjs/clusters/operational-state.js.map +6 -0
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +928 -0
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -0
- package/dist/cjs/clusters/ota-software-update-provider.js +471 -0
- package/dist/cjs/clusters/ota-software-update-provider.js.map +6 -0
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +688 -0
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts.map +1 -0
- package/dist/cjs/clusters/ota-software-update-requestor.js +351 -0
- package/dist/cjs/clusters/ota-software-update-requestor.js.map +6 -0
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +273 -0
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts.map +1 -0
- package/dist/cjs/clusters/oven-cavity-operational-state.js +280 -0
- package/dist/cjs/clusters/oven-cavity-operational-state.js.map +6 -0
- package/dist/cjs/clusters/oven-mode.d.ts +399 -0
- package/dist/cjs/clusters/oven-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/oven-mode.js +162 -0
- package/dist/cjs/clusters/oven-mode.js.map +6 -0
- package/dist/cjs/clusters/ozone-concentration-measurement.d.ts +309 -0
- package/dist/cjs/clusters/ozone-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/ozone-concentration-measurement.js +47 -0
- package/dist/cjs/clusters/ozone-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/pm1-concentration-measurement.d.ts +309 -0
- package/dist/cjs/clusters/pm1-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/pm1-concentration-measurement.js +47 -0
- package/dist/cjs/clusters/pm1-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/pm10-concentration-measurement.d.ts +309 -0
- package/dist/cjs/clusters/pm10-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/pm10-concentration-measurement.js +47 -0
- package/dist/cjs/clusters/pm10-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/pm25-concentration-measurement.d.ts +309 -0
- package/dist/cjs/clusters/pm25-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/pm25-concentration-measurement.js +47 -0
- package/dist/cjs/clusters/pm25-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/power-source-configuration.d.ts +48 -0
- package/dist/cjs/clusters/power-source-configuration.d.ts.map +1 -0
- package/dist/cjs/clusters/power-source-configuration.js +63 -0
- package/dist/cjs/clusters/power-source-configuration.js.map +6 -0
- package/dist/cjs/clusters/power-source.d.ts +2377 -0
- package/dist/cjs/clusters/power-source.d.ts.map +1 -0
- package/dist/cjs/clusters/power-source.js +786 -0
- package/dist/cjs/clusters/power-source.js.map +6 -0
- package/dist/cjs/clusters/power-topology.d.ts +346 -0
- package/dist/cjs/clusters/power-topology.d.ts.map +1 -0
- package/dist/cjs/clusters/power-topology.js +139 -0
- package/dist/cjs/clusters/power-topology.js.map +6 -0
- package/dist/cjs/clusters/pressure-measurement.d.ts +377 -0
- package/dist/cjs/clusters/pressure-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/pressure-measurement.js +168 -0
- package/dist/cjs/clusters/pressure-measurement.js.map +6 -0
- package/dist/cjs/clusters/proxy-configuration.d.ts +79 -0
- package/dist/cjs/clusters/proxy-configuration.d.ts.map +1 -0
- package/dist/cjs/clusters/proxy-configuration.js +73 -0
- package/dist/cjs/clusters/proxy-configuration.js.map +6 -0
- package/dist/cjs/clusters/proxy-discovery.d.ts +98 -0
- package/dist/cjs/clusters/proxy-discovery.d.ts.map +1 -0
- package/dist/cjs/clusters/proxy-discovery.js +79 -0
- package/dist/cjs/clusters/proxy-discovery.js.map +6 -0
- package/dist/cjs/clusters/pulse-width-modulation.d.ts +2031 -0
- package/dist/cjs/clusters/pulse-width-modulation.d.ts.map +1 -0
- package/dist/cjs/clusters/pulse-width-modulation.js +51 -0
- package/dist/cjs/clusters/pulse-width-modulation.js.map +6 -0
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +2203 -0
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -0
- package/dist/cjs/clusters/pump-configuration-and-control.js +750 -0
- package/dist/cjs/clusters/pump-configuration-and-control.js.map +6 -0
- package/dist/cjs/clusters/radon-concentration-measurement.d.ts +309 -0
- package/dist/cjs/clusters/radon-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/radon-concentration-measurement.js +47 -0
- package/dist/cjs/clusters/radon-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +332 -0
- package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -0
- package/dist/cjs/clusters/refrigerator-alarm.js +142 -0
- package/dist/cjs/clusters/refrigerator-alarm.js.map +6 -0
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +180 -0
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +107 -0
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +6 -0
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +73 -0
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/relative-humidity-measurement.js +87 -0
- package/dist/cjs/clusters/relative-humidity-measurement.js.map +6 -0
- package/dist/cjs/clusters/resource-monitoring.d.ts +353 -0
- package/dist/cjs/clusters/resource-monitoring.d.ts.map +1 -0
- package/dist/cjs/clusters/resource-monitoring.js +194 -0
- package/dist/cjs/clusters/resource-monitoring.js.map +6 -0
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +174 -0
- package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/rvc-clean-mode.js +104 -0
- package/dist/cjs/clusters/rvc-clean-mode.js.map +6 -0
- package/dist/cjs/clusters/rvc-operational-state.d.ts +242 -0
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -0
- package/dist/cjs/clusters/rvc-operational-state.js +194 -0
- package/dist/cjs/clusters/rvc-operational-state.js.map +6 -0
- package/dist/cjs/clusters/rvc-run-mode.d.ts +217 -0
- package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -0
- package/dist/cjs/clusters/rvc-run-mode.js +111 -0
- package/dist/cjs/clusters/rvc-run-mode.js.map +6 -0
- package/dist/cjs/clusters/scenes-management.d.ts +2351 -0
- package/dist/cjs/clusters/scenes-management.d.ts.map +1 -0
- package/dist/cjs/clusters/scenes-management.js +684 -0
- package/dist/cjs/clusters/scenes-management.js.map +6 -0
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +1304 -0
- package/dist/cjs/clusters/smoke-co-alarm.d.ts.map +1 -0
- package/dist/cjs/clusters/smoke-co-alarm.js +409 -0
- package/dist/cjs/clusters/smoke-co-alarm.js.map +6 -0
- package/dist/cjs/clusters/software-diagnostics.d.ts +590 -0
- package/dist/cjs/clusters/software-diagnostics.d.ts.map +1 -0
- package/dist/cjs/clusters/software-diagnostics.js +218 -0
- package/dist/cjs/clusters/software-diagnostics.js.map +6 -0
- package/dist/cjs/clusters/switch.d.ts +1222 -0
- package/dist/cjs/clusters/switch.d.ts.map +1 -0
- package/dist/cjs/clusters/switch.js +356 -0
- package/dist/cjs/clusters/switch.js.map +6 -0
- package/dist/cjs/clusters/target-navigator.d.ts +261 -0
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -0
- package/dist/cjs/clusters/target-navigator.js +140 -0
- package/dist/cjs/clusters/target-navigator.js.map +6 -0
- package/dist/cjs/clusters/temperature-control.d.ts +626 -0
- package/dist/cjs/clusters/temperature-control.d.ts.map +1 -0
- package/dist/cjs/clusters/temperature-control.js +224 -0
- package/dist/cjs/clusters/temperature-control.js.map +6 -0
- package/dist/cjs/clusters/temperature-measurement.d.ts +64 -0
- package/dist/cjs/clusters/temperature-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/temperature-measurement.js +79 -0
- package/dist/cjs/clusters/temperature-measurement.js.map +6 -0
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +115 -0
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts.map +1 -0
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +104 -0
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js.map +6 -0
- package/dist/cjs/clusters/thermostat.d.ts +4485 -0
- package/dist/cjs/clusters/thermostat.d.ts.map +1 -0
- package/dist/cjs/clusters/thermostat.js +1371 -0
- package/dist/cjs/clusters/thermostat.js.map +6 -0
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +3308 -0
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts.map +1 -0
- package/dist/cjs/clusters/thread-network-diagnostics.js +1127 -0
- package/dist/cjs/clusters/thread-network-diagnostics.js.map +6 -0
- package/dist/cjs/clusters/time-format-localization.d.ts +331 -0
- package/dist/cjs/clusters/time-format-localization.d.ts.map +1 -0
- package/dist/cjs/clusters/time-format-localization.js +154 -0
- package/dist/cjs/clusters/time-format-localization.js.map +6 -0
- package/dist/cjs/clusters/time-synchronization.d.ts +2597 -0
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -0
- package/dist/cjs/clusters/time-synchronization.js +713 -0
- package/dist/cjs/clusters/time-synchronization.js.map +6 -0
- package/dist/cjs/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts +311 -0
- package/dist/cjs/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts.map +1 -0
- package/dist/cjs/clusters/total-volatile-organic-compounds-concentration-measurement.js +51 -0
- package/dist/cjs/clusters/total-volatile-organic-compounds-concentration-measurement.js.map +6 -0
- package/dist/cjs/clusters/unit-localization.d.ts +187 -0
- package/dist/cjs/clusters/unit-localization.d.ts.map +1 -0
- package/dist/cjs/clusters/unit-localization.js +101 -0
- package/dist/cjs/clusters/unit-localization.js.map +6 -0
- package/dist/cjs/clusters/user-label.d.ts +43 -0
- package/dist/cjs/clusters/user-label.d.ts.map +1 -0
- package/dist/cjs/clusters/user-label.js +61 -0
- package/dist/cjs/clusters/user-label.js.map +6 -0
- package/dist/cjs/clusters/valid-proxies.d.ts +84 -0
- package/dist/cjs/clusters/valid-proxies.d.ts.map +1 -0
- package/dist/cjs/clusters/valid-proxies.js +68 -0
- package/dist/cjs/clusters/valid-proxies.js.map +6 -0
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +1146 -0
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -0
- package/dist/cjs/clusters/valve-configuration-and-control.js +375 -0
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +6 -0
- package/dist/cjs/clusters/wake-on-lan.d.ts +78 -0
- package/dist/cjs/clusters/wake-on-lan.d.ts.map +1 -0
- package/dist/cjs/clusters/wake-on-lan.js +71 -0
- package/dist/cjs/clusters/wake-on-lan.js.map +6 -0
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +928 -0
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts.map +1 -0
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +344 -0
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js.map +6 -0
- package/dist/cjs/clusters/window-covering.d.ts +2864 -0
- package/dist/cjs/clusters/window-covering.d.ts.map +1 -0
- package/dist/cjs/clusters/window-covering.js +907 -0
- package/dist/cjs/clusters/window-covering.js.map +6 -0
- package/dist/cjs/commissioning/CommissioningConstants.d.ts +11 -0
- package/dist/cjs/commissioning/CommissioningConstants.d.ts.map +1 -0
- package/dist/cjs/commissioning/CommissioningConstants.js +39 -0
- package/dist/cjs/commissioning/CommissioningConstants.js.map +6 -0
- package/dist/cjs/commissioning/CommissioningOptions.d.ts +38 -0
- package/dist/cjs/commissioning/CommissioningOptions.d.ts.map +1 -0
- package/dist/cjs/commissioning/CommissioningOptions.js +46 -0
- package/dist/cjs/commissioning/CommissioningOptions.js.map +6 -0
- package/dist/cjs/commissioning/index.d.ts +8 -0
- package/dist/cjs/commissioning/index.d.ts.map +1 -0
- package/dist/cjs/commissioning/index.js +25 -0
- package/dist/cjs/commissioning/index.js.map +6 -0
- package/dist/cjs/common/DeviceClassification.d.ts +44 -0
- package/dist/cjs/common/DeviceClassification.d.ts.map +1 -0
- package/dist/cjs/common/DeviceClassification.js +38 -0
- package/dist/cjs/common/DeviceClassification.js.map +6 -0
- package/dist/cjs/common/ProductDescription.d.ts +25 -0
- package/dist/cjs/common/ProductDescription.d.ts.map +1 -0
- package/dist/cjs/common/ProductDescription.js +22 -0
- package/dist/cjs/common/ProductDescription.js.map +6 -0
- package/dist/cjs/common/StatusCode.d.ts +17 -0
- package/dist/cjs/common/StatusCode.d.ts.map +1 -0
- package/dist/cjs/common/StatusCode.js +44 -0
- package/dist/cjs/common/StatusCode.js.map +6 -0
- package/dist/cjs/common/ValidationError.d.ts +38 -0
- package/dist/cjs/common/ValidationError.d.ts.map +1 -0
- package/dist/cjs/common/ValidationError.js +64 -0
- package/dist/cjs/common/ValidationError.js.map +6 -0
- package/dist/cjs/common/index.d.ts +9 -0
- package/dist/cjs/common/index.d.ts.map +1 -0
- package/dist/cjs/common/index.js +26 -0
- package/dist/cjs/common/index.js.map +6 -0
- package/dist/cjs/datatype/AttributeId.d.ts +21 -0
- package/dist/cjs/datatype/AttributeId.d.ts.map +1 -0
- package/dist/cjs/datatype/AttributeId.js +59 -0
- package/dist/cjs/datatype/AttributeId.js.map +6 -0
- package/dist/cjs/datatype/CaseAuthenticatedTag.d.ts +28 -0
- package/dist/cjs/datatype/CaseAuthenticatedTag.d.ts.map +1 -0
- package/dist/cjs/datatype/CaseAuthenticatedTag.js +75 -0
- package/dist/cjs/datatype/CaseAuthenticatedTag.js.map +6 -0
- package/dist/cjs/datatype/ClusterId.d.ts +24 -0
- package/dist/cjs/datatype/ClusterId.d.ts.map +1 -0
- package/dist/cjs/datatype/ClusterId.js +66 -0
- package/dist/cjs/datatype/ClusterId.js.map +6 -0
- package/dist/cjs/datatype/CommandId.d.ts +20 -0
- package/dist/cjs/datatype/CommandId.d.ts.map +1 -0
- package/dist/cjs/datatype/CommandId.js +53 -0
- package/dist/cjs/datatype/CommandId.js.map +6 -0
- package/dist/cjs/datatype/DataVersion.d.ts +18 -0
- package/dist/cjs/datatype/DataVersion.d.ts.map +1 -0
- package/dist/cjs/datatype/DataVersion.js +40 -0
- package/dist/cjs/datatype/DataVersion.js.map +6 -0
- package/dist/cjs/datatype/DeviceTypeId.d.ts +20 -0
- package/dist/cjs/datatype/DeviceTypeId.d.ts.map +1 -0
- package/dist/cjs/datatype/DeviceTypeId.js +53 -0
- package/dist/cjs/datatype/DeviceTypeId.js.map +6 -0
- package/dist/cjs/datatype/EndpointNumber.d.ts +20 -0
- package/dist/cjs/datatype/EndpointNumber.d.ts.map +1 -0
- package/dist/cjs/datatype/EndpointNumber.js +48 -0
- package/dist/cjs/datatype/EndpointNumber.js.map +6 -0
- package/dist/cjs/datatype/EntryIndex.d.ts +18 -0
- package/dist/cjs/datatype/EntryIndex.d.ts.map +1 -0
- package/dist/cjs/datatype/EntryIndex.js +40 -0
- package/dist/cjs/datatype/EntryIndex.js.map +6 -0
- package/dist/cjs/datatype/EventId.d.ts +20 -0
- package/dist/cjs/datatype/EventId.d.ts.map +1 -0
- package/dist/cjs/datatype/EventId.js +53 -0
- package/dist/cjs/datatype/EventId.js.map +6 -0
- package/dist/cjs/datatype/EventNumber.d.ts +18 -0
- package/dist/cjs/datatype/EventNumber.d.ts.map +1 -0
- package/dist/cjs/datatype/EventNumber.js +40 -0
- package/dist/cjs/datatype/EventNumber.js.map +6 -0
- package/dist/cjs/datatype/FabricId.d.ts +18 -0
- package/dist/cjs/datatype/FabricId.d.ts.map +1 -0
- package/dist/cjs/datatype/FabricId.js +41 -0
- package/dist/cjs/datatype/FabricId.js.map +6 -0
- package/dist/cjs/datatype/FabricIndex.d.ts +31 -0
- package/dist/cjs/datatype/FabricIndex.d.ts.map +1 -0
- package/dist/cjs/datatype/FabricIndex.js +64 -0
- package/dist/cjs/datatype/FabricIndex.js.map +6 -0
- package/dist/cjs/datatype/FieldId.d.ts +22 -0
- package/dist/cjs/datatype/FieldId.d.ts.map +1 -0
- package/dist/cjs/datatype/FieldId.js +59 -0
- package/dist/cjs/datatype/FieldId.js.map +6 -0
- package/dist/cjs/datatype/GroupId.d.ts +28 -0
- package/dist/cjs/datatype/GroupId.d.ts.map +1 -0
- package/dist/cjs/datatype/GroupId.js +49 -0
- package/dist/cjs/datatype/GroupId.js.map +6 -0
- package/dist/cjs/datatype/ManufacturerExtensibleIdentifier.d.ts +23 -0
- package/dist/cjs/datatype/ManufacturerExtensibleIdentifier.d.ts.map +1 -0
- package/dist/cjs/datatype/ManufacturerExtensibleIdentifier.js +63 -0
- package/dist/cjs/datatype/ManufacturerExtensibleIdentifier.js.map +6 -0
- package/dist/cjs/datatype/NodeId.d.ts +58 -0
- package/dist/cjs/datatype/NodeId.d.ts.map +1 -0
- package/dist/cjs/datatype/NodeId.js +97 -0
- package/dist/cjs/datatype/NodeId.js.map +6 -0
- package/dist/cjs/datatype/SubjectId.d.ts +16 -0
- package/dist/cjs/datatype/SubjectId.d.ts.map +1 -0
- package/dist/cjs/datatype/SubjectId.js +31 -0
- package/dist/cjs/datatype/SubjectId.js.map +6 -0
- package/dist/cjs/datatype/VendorId.d.ts +22 -0
- package/dist/cjs/datatype/VendorId.d.ts.map +1 -0
- package/dist/cjs/datatype/VendorId.js +55 -0
- package/dist/cjs/datatype/VendorId.js.map +6 -0
- package/dist/cjs/datatype/index.d.ts +24 -0
- package/dist/cjs/datatype/index.d.ts.map +1 -0
- package/dist/cjs/datatype/index.js +41 -0
- package/dist/cjs/datatype/index.js.map +6 -0
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +64 -0
- package/dist/cjs/globals/MeasurementAccuracy.d.ts.map +1 -0
- package/dist/cjs/globals/MeasurementAccuracy.js +67 -0
- package/dist/cjs/globals/MeasurementAccuracy.js.map +6 -0
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +135 -0
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts.map +1 -0
- package/dist/cjs/globals/MeasurementAccuracyRange.js +97 -0
- package/dist/cjs/globals/MeasurementAccuracyRange.js.map +6 -0
- package/dist/cjs/globals/MeasurementType.d.ts +69 -0
- package/dist/cjs/globals/MeasurementType.d.ts.map +1 -0
- package/dist/cjs/globals/MeasurementType.js +47 -0
- package/dist/cjs/globals/MeasurementType.js.map +6 -0
- package/dist/cjs/globals/Priority.d.ts +32 -0
- package/dist/cjs/globals/Priority.d.ts.map +1 -0
- package/dist/cjs/globals/Priority.js +35 -0
- package/dist/cjs/globals/Priority.js.map +6 -0
- package/dist/cjs/globals/Semtag.d.ts +68 -0
- package/dist/cjs/globals/Semtag.d.ts.map +1 -0
- package/dist/cjs/globals/Semtag.js +79 -0
- package/dist/cjs/globals/Semtag.js.map +6 -0
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +32 -0
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts.map +1 -0
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.js +36 -0
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.js.map +6 -0
- package/dist/cjs/globals/Status.d.ts +206 -0
- package/dist/cjs/globals/Status.d.ts.map +1 -0
- package/dist/cjs/globals/Status.js +61 -0
- package/dist/cjs/globals/Status.js.map +6 -0
- package/dist/cjs/globals/Tod.d.ts +41 -0
- package/dist/cjs/globals/Tod.d.ts.map +1 -0
- package/dist/cjs/globals/Tod.js +49 -0
- package/dist/cjs/globals/Tod.js.map +6 -0
- package/dist/cjs/globals/WildcardPathFlags.d.ts +52 -0
- package/dist/cjs/globals/WildcardPathFlags.d.ts.map +1 -0
- package/dist/cjs/globals/WildcardPathFlags.js +68 -0
- package/dist/cjs/globals/WildcardPathFlags.js.map +6 -0
- package/dist/cjs/globals/index.d.ts +16 -0
- package/dist/cjs/globals/index.d.ts.map +1 -0
- package/dist/cjs/globals/index.js +32 -0
- package/dist/cjs/globals/index.js.map +6 -0
- package/dist/cjs/index.d.ts +14 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +31 -0
- package/dist/cjs/index.js.map +6 -0
- package/dist/cjs/package.json +8 -0
- package/dist/cjs/protocol/definitions/index.d.ts +8 -0
- package/dist/cjs/protocol/definitions/index.d.ts.map +1 -0
- package/dist/cjs/protocol/definitions/index.js +25 -0
- package/dist/cjs/protocol/definitions/index.js.map +6 -0
- package/dist/cjs/protocol/definitions/interaction.d.ts +12 -0
- package/dist/cjs/protocol/definitions/interaction.d.ts.map +1 -0
- package/dist/cjs/protocol/definitions/interaction.js +32 -0
- package/dist/cjs/protocol/definitions/interaction.js.map +6 -0
- package/dist/cjs/protocol/definitions/secure-channel.d.ts +99 -0
- package/dist/cjs/protocol/definitions/secure-channel.d.ts.map +1 -0
- package/dist/cjs/protocol/definitions/secure-channel.js +79 -0
- package/dist/cjs/protocol/definitions/secure-channel.js.map +6 -0
- package/dist/cjs/protocol/index.d.ts +9 -0
- package/dist/cjs/protocol/index.d.ts.map +1 -0
- package/dist/cjs/protocol/index.js +26 -0
- package/dist/cjs/protocol/index.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvDataReport.d.ts +98 -0
- package/dist/cjs/protocol/messages/TlvDataReport.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvDataReport.js +47 -0
- package/dist/cjs/protocol/messages/TlvDataReport.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvDataReportForSend.d.ts +19 -0
- package/dist/cjs/protocol/messages/TlvDataReportForSend.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvDataReportForSend.js +46 -0
- package/dist/cjs/protocol/messages/TlvDataReportForSend.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvInvokeRequest.d.ts +24 -0
- package/dist/cjs/protocol/messages/TlvInvokeRequest.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvInvokeRequest.js +43 -0
- package/dist/cjs/protocol/messages/TlvInvokeRequest.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponse.d.ts +37 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponse.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponse.js +42 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponse.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponseForSend.d.ts +12 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponseForSend.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponseForSend.js +40 -0
- package/dist/cjs/protocol/messages/TlvInvokeResponseForSend.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvReadRequest.d.ts +54 -0
- package/dist/cjs/protocol/messages/TlvReadRequest.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvReadRequest.js +50 -0
- package/dist/cjs/protocol/messages/TlvReadRequest.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvStatusResponse.d.ts +12 -0
- package/dist/cjs/protocol/messages/TlvStatusResponse.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvStatusResponse.js +36 -0
- package/dist/cjs/protocol/messages/TlvStatusResponse.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvSubscribeRequest.d.ts +60 -0
- package/dist/cjs/protocol/messages/TlvSubscribeRequest.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvSubscribeRequest.js +56 -0
- package/dist/cjs/protocol/messages/TlvSubscribeRequest.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvSubscribeResponse.d.ts +14 -0
- package/dist/cjs/protocol/messages/TlvSubscribeResponse.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvSubscribeResponse.js +38 -0
- package/dist/cjs/protocol/messages/TlvSubscribeResponse.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvTimedRequest.d.ts +12 -0
- package/dist/cjs/protocol/messages/TlvTimedRequest.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvTimedRequest.js +36 -0
- package/dist/cjs/protocol/messages/TlvTimedRequest.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvWriteRequest.d.ts +39 -0
- package/dist/cjs/protocol/messages/TlvWriteRequest.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvWriteRequest.js +44 -0
- package/dist/cjs/protocol/messages/TlvWriteRequest.js.map +6 -0
- package/dist/cjs/protocol/messages/TlvWriteResponse.d.ts +36 -0
- package/dist/cjs/protocol/messages/TlvWriteResponse.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/TlvWriteResponse.js +38 -0
- package/dist/cjs/protocol/messages/TlvWriteResponse.js.map +6 -0
- package/dist/cjs/protocol/messages/index.d.ts +18 -0
- package/dist/cjs/protocol/messages/index.d.ts.map +1 -0
- package/dist/cjs/protocol/messages/index.js +35 -0
- package/dist/cjs/protocol/messages/index.js.map +6 -0
- package/dist/cjs/protocol/types/TlvAttributeData.d.ts +30 -0
- package/dist/cjs/protocol/types/TlvAttributeData.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvAttributeData.js +39 -0
- package/dist/cjs/protocol/types/TlvAttributeData.js.map +6 -0
- package/dist/cjs/protocol/types/TlvAttributePath.d.ts +26 -0
- package/dist/cjs/protocol/types/TlvAttributePath.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvAttributePath.js +48 -0
- package/dist/cjs/protocol/types/TlvAttributePath.js.map +6 -0
- package/dist/cjs/protocol/types/TlvAttributeReport.d.ts +57 -0
- package/dist/cjs/protocol/types/TlvAttributeReport.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvAttributeReport.js +37 -0
- package/dist/cjs/protocol/types/TlvAttributeReport.js.map +6 -0
- package/dist/cjs/protocol/types/TlvAttributeReportData.d.ts +29 -0
- package/dist/cjs/protocol/types/TlvAttributeReportData.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvAttributeReportData.js +39 -0
- package/dist/cjs/protocol/types/TlvAttributeReportData.js.map +6 -0
- package/dist/cjs/protocol/types/TlvAttributeStatus.d.ts +32 -0
- package/dist/cjs/protocol/types/TlvAttributeStatus.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvAttributeStatus.js +37 -0
- package/dist/cjs/protocol/types/TlvAttributeStatus.js.map +6 -0
- package/dist/cjs/protocol/types/TlvClusterPath.d.ts +12 -0
- package/dist/cjs/protocol/types/TlvClusterPath.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvClusterPath.js +39 -0
- package/dist/cjs/protocol/types/TlvClusterPath.js.map +6 -0
- package/dist/cjs/protocol/types/TlvCommandData.d.ts +16 -0
- package/dist/cjs/protocol/types/TlvCommandData.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvCommandData.js +39 -0
- package/dist/cjs/protocol/types/TlvCommandData.js.map +6 -0
- package/dist/cjs/protocol/types/TlvCommandPath.d.ts +12 -0
- package/dist/cjs/protocol/types/TlvCommandPath.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvCommandPath.js +39 -0
- package/dist/cjs/protocol/types/TlvCommandPath.js.map +6 -0
- package/dist/cjs/protocol/types/TlvCommandStatus.d.ts +19 -0
- package/dist/cjs/protocol/types/TlvCommandStatus.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvCommandStatus.js +39 -0
- package/dist/cjs/protocol/types/TlvCommandStatus.js.map +6 -0
- package/dist/cjs/protocol/types/TlvDataVersionFilter.d.ts +15 -0
- package/dist/cjs/protocol/types/TlvDataVersionFilter.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvDataVersionFilter.js +37 -0
- package/dist/cjs/protocol/types/TlvDataVersionFilter.js.map +6 -0
- package/dist/cjs/protocol/types/TlvEventData.d.ts +24 -0
- package/dist/cjs/protocol/types/TlvEventData.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvEventData.js +45 -0
- package/dist/cjs/protocol/types/TlvEventData.js.map +6 -0
- package/dist/cjs/protocol/types/TlvEventFilter.d.ts +11 -0
- package/dist/cjs/protocol/types/TlvEventFilter.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvEventFilter.js +37 -0
- package/dist/cjs/protocol/types/TlvEventFilter.js.map +6 -0
- package/dist/cjs/protocol/types/TlvEventPath.d.ts +14 -0
- package/dist/cjs/protocol/types/TlvEventPath.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvEventPath.js +43 -0
- package/dist/cjs/protocol/types/TlvEventPath.js.map +6 -0
- package/dist/cjs/protocol/types/TlvEventReport.d.ts +38 -0
- package/dist/cjs/protocol/types/TlvEventReport.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvEventReport.js +37 -0
- package/dist/cjs/protocol/types/TlvEventReport.js.map +6 -0
- package/dist/cjs/protocol/types/TlvEventStatus.d.ts +20 -0
- package/dist/cjs/protocol/types/TlvEventStatus.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvEventStatus.js +37 -0
- package/dist/cjs/protocol/types/TlvEventStatus.js.map +6 -0
- package/dist/cjs/protocol/types/TlvInvokeResponseData.d.ts +30 -0
- package/dist/cjs/protocol/types/TlvInvokeResponseData.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvInvokeResponseData.js +37 -0
- package/dist/cjs/protocol/types/TlvInvokeResponseData.js.map +6 -0
- package/dist/cjs/protocol/types/TlvStatus.d.ts +11 -0
- package/dist/cjs/protocol/types/TlvStatus.d.ts.map +1 -0
- package/dist/cjs/protocol/types/TlvStatus.js +37 -0
- package/dist/cjs/protocol/types/TlvStatus.js.map +6 -0
- package/dist/cjs/protocol/types/WildcardPathFlagsBitmap.d.ts +28 -0
- package/dist/cjs/protocol/types/WildcardPathFlagsBitmap.d.ts.map +1 -0
- package/dist/cjs/protocol/types/WildcardPathFlagsBitmap.js +50 -0
- package/dist/cjs/protocol/types/WildcardPathFlagsBitmap.js.map +6 -0
- package/dist/cjs/protocol/types/index.d.ts +23 -0
- package/dist/cjs/protocol/types/index.d.ts.map +1 -0
- package/dist/cjs/protocol/types/index.js +40 -0
- package/dist/cjs/protocol/types/index.js.map +6 -0
- package/dist/cjs/schema/Base38Schema.d.ts +16 -0
- package/dist/cjs/schema/Base38Schema.d.ts.map +1 -0
- package/dist/cjs/schema/Base38Schema.js +110 -0
- package/dist/cjs/schema/Base38Schema.js.map +6 -0
- package/dist/cjs/schema/BitmapSchema.d.ts +76 -0
- package/dist/cjs/schema/BitmapSchema.d.ts.map +1 -0
- package/dist/cjs/schema/BitmapSchema.js +192 -0
- package/dist/cjs/schema/BitmapSchema.js.map +6 -0
- package/dist/cjs/schema/PairingCodeSchema.d.ts +105 -0
- package/dist/cjs/schema/PairingCodeSchema.d.ts.map +1 -0
- package/dist/cjs/schema/PairingCodeSchema.js +191 -0
- package/dist/cjs/schema/PairingCodeSchema.js.map +6 -0
- package/dist/cjs/schema/QrCodeSchema.d.ts +14 -0
- package/dist/cjs/schema/QrCodeSchema.d.ts.map +1 -0
- package/dist/cjs/schema/QrCodeSchema.js +204 -0
- package/dist/cjs/schema/QrCodeSchema.js.map +6 -0
- package/dist/cjs/schema/Schema.d.ts +17 -0
- package/dist/cjs/schema/Schema.d.ts.map +1 -0
- package/dist/cjs/schema/Schema.js +47 -0
- package/dist/cjs/schema/Schema.js.map +6 -0
- package/dist/cjs/schema/SpecificationVersionSchema.d.ts +21 -0
- package/dist/cjs/schema/SpecificationVersionSchema.d.ts.map +1 -0
- package/dist/cjs/schema/SpecificationVersionSchema.js +42 -0
- package/dist/cjs/schema/SpecificationVersionSchema.js.map +6 -0
- package/dist/cjs/schema/index.d.ts +11 -0
- package/dist/cjs/schema/index.d.ts.map +1 -0
- package/dist/cjs/schema/index.js +28 -0
- package/dist/cjs/schema/index.js.map +6 -0
- package/dist/cjs/tlv/TlvAny.d.ts +22 -0
- package/dist/cjs/tlv/TlvAny.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvAny.js +204 -0
- package/dist/cjs/tlv/TlvAny.js.map +6 -0
- package/dist/cjs/tlv/TlvArray.d.ts +39 -0
- package/dist/cjs/tlv/TlvArray.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvArray.js +126 -0
- package/dist/cjs/tlv/TlvArray.js.map +6 -0
- package/dist/cjs/tlv/TlvBoolean.d.ts +20 -0
- package/dist/cjs/tlv/TlvBoolean.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvBoolean.js +48 -0
- package/dist/cjs/tlv/TlvBoolean.js.map +6 -0
- package/dist/cjs/tlv/TlvCodec.d.ts +100 -0
- package/dist/cjs/tlv/TlvCodec.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvCodec.js +404 -0
- package/dist/cjs/tlv/TlvCodec.js.map +6 -0
- package/dist/cjs/tlv/TlvNoArguments.d.ts +17 -0
- package/dist/cjs/tlv/TlvNoArguments.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvNoArguments.js +41 -0
- package/dist/cjs/tlv/TlvNoArguments.js.map +6 -0
- package/dist/cjs/tlv/TlvNullable.d.ts +24 -0
- package/dist/cjs/tlv/TlvNullable.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvNullable.js +71 -0
- package/dist/cjs/tlv/TlvNullable.js.map +6 -0
- package/dist/cjs/tlv/TlvNumber.d.ts +57 -0
- package/dist/cjs/tlv/TlvNumber.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvNumber.js +186 -0
- package/dist/cjs/tlv/TlvNumber.js.map +6 -0
- package/dist/cjs/tlv/TlvObject.d.ts +103 -0
- package/dist/cjs/tlv/TlvObject.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvObject.js +275 -0
- package/dist/cjs/tlv/TlvObject.js.map +6 -0
- package/dist/cjs/tlv/TlvSchema.d.ts +81 -0
- package/dist/cjs/tlv/TlvSchema.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvSchema.js +113 -0
- package/dist/cjs/tlv/TlvSchema.js.map +6 -0
- package/dist/cjs/tlv/TlvString.d.ts +40 -0
- package/dist/cjs/tlv/TlvString.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvString.js +84 -0
- package/dist/cjs/tlv/TlvString.js.map +6 -0
- package/dist/cjs/tlv/TlvVoid.d.ts +19 -0
- package/dist/cjs/tlv/TlvVoid.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvVoid.js +46 -0
- package/dist/cjs/tlv/TlvVoid.js.map +6 -0
- package/dist/cjs/tlv/TlvWrapper.d.ts +17 -0
- package/dist/cjs/tlv/TlvWrapper.d.ts.map +1 -0
- package/dist/cjs/tlv/TlvWrapper.js +47 -0
- package/dist/cjs/tlv/TlvWrapper.js.map +6 -0
- package/dist/cjs/tlv/index.d.ts +18 -0
- package/dist/cjs/tlv/index.d.ts.map +1 -0
- package/dist/cjs/tlv/index.js +35 -0
- package/dist/cjs/tlv/index.js.map +6 -0
- package/dist/cjs/tsconfig.tsbuildinfo +1 -0
- package/dist/esm/cluster/Cluster.d.ts +250 -0
- package/dist/esm/cluster/Cluster.d.ts.map +1 -0
- package/dist/esm/cluster/Cluster.js +587 -0
- package/dist/esm/cluster/Cluster.js.map +6 -0
- package/dist/esm/cluster/ClusterHelper.d.ts +30 -0
- package/dist/esm/cluster/ClusterHelper.d.ts.map +1 -0
- package/dist/esm/cluster/ClusterHelper.js +158 -0
- package/dist/esm/cluster/ClusterHelper.js.map +6 -0
- package/dist/esm/cluster/ClusterRegistry.d.ts +23 -0
- package/dist/esm/cluster/ClusterRegistry.d.ts.map +1 -0
- package/dist/esm/cluster/ClusterRegistry.js +27 -0
- package/dist/esm/cluster/ClusterRegistry.js.map +6 -0
- package/dist/esm/cluster/ClusterType.d.ts +227 -0
- package/dist/esm/cluster/ClusterType.d.ts.map +1 -0
- package/dist/esm/cluster/ClusterType.js +46 -0
- package/dist/esm/cluster/ClusterType.js.map +6 -0
- package/dist/esm/cluster/index.d.ts +12 -0
- package/dist/esm/cluster/index.d.ts.map +1 -0
- package/dist/esm/cluster/index.js +12 -0
- package/dist/esm/cluster/index.js.map +6 -0
- package/dist/esm/cluster/mutation/ClusterComposer.d.ts +115 -0
- package/dist/esm/cluster/mutation/ClusterComposer.d.ts.map +1 -0
- package/dist/esm/cluster/mutation/ClusterComposer.js +131 -0
- package/dist/esm/cluster/mutation/ClusterComposer.js.map +6 -0
- package/dist/esm/cluster/mutation/ElementModifier.d.ts +124 -0
- package/dist/esm/cluster/mutation/ElementModifier.d.ts.map +1 -0
- package/dist/esm/cluster/mutation/ElementModifier.js +80 -0
- package/dist/esm/cluster/mutation/ElementModifier.js.map +6 -0
- package/dist/esm/cluster/mutation/MutableCluster.d.ts +75 -0
- package/dist/esm/cluster/mutation/MutableCluster.d.ts.map +1 -0
- package/dist/esm/cluster/mutation/MutableCluster.js +63 -0
- package/dist/esm/cluster/mutation/MutableCluster.js.map +6 -0
- package/dist/esm/cluster/mutation/index.d.ts +9 -0
- package/dist/esm/cluster/mutation/index.d.ts.map +1 -0
- package/dist/esm/cluster/mutation/index.js +9 -0
- package/dist/esm/cluster/mutation/index.js.map +6 -0
- package/dist/esm/clusters/access-control.d.ts +850 -0
- package/dist/esm/clusters/access-control.d.ts.map +1 -0
- package/dist/esm/clusters/access-control.js +358 -0
- package/dist/esm/clusters/access-control.js.map +6 -0
- package/dist/esm/clusters/account-login.d.ts +359 -0
- package/dist/esm/clusters/account-login.d.ts.map +1 -0
- package/dist/esm/clusters/account-login.js +225 -0
- package/dist/esm/clusters/account-login.js.map +6 -0
- package/dist/esm/clusters/actions.d.ts +1170 -0
- package/dist/esm/clusters/actions.d.ts.map +1 -0
- package/dist/esm/clusters/actions.js +543 -0
- package/dist/esm/clusters/actions.js.map +6 -0
- package/dist/esm/clusters/activated-carbon-filter-monitoring.d.ts +162 -0
- package/dist/esm/clusters/activated-carbon-filter-monitoring.d.ts.map +1 -0
- package/dist/esm/clusters/activated-carbon-filter-monitoring.js +27 -0
- package/dist/esm/clusters/activated-carbon-filter-monitoring.js.map +6 -0
- package/dist/esm/clusters/administrator-commissioning.d.ts +885 -0
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -0
- package/dist/esm/clusters/administrator-commissioning.js +295 -0
- package/dist/esm/clusters/administrator-commissioning.js.map +6 -0
- package/dist/esm/clusters/air-quality.d.ts +189 -0
- package/dist/esm/clusters/air-quality.d.ts.map +1 -0
- package/dist/esm/clusters/air-quality.js +84 -0
- package/dist/esm/clusters/air-quality.js.map +6 -0
- package/dist/esm/clusters/alarm-base.d.ts +451 -0
- package/dist/esm/clusters/alarm-base.d.ts.map +1 -0
- package/dist/esm/clusters/alarm-base.js +188 -0
- package/dist/esm/clusters/alarm-base.js.map +6 -0
- package/dist/esm/clusters/application-basic.d.ts +169 -0
- package/dist/esm/clusters/application-basic.d.ts.map +1 -0
- package/dist/esm/clusters/application-basic.js +120 -0
- package/dist/esm/clusters/application-basic.js.map +6 -0
- package/dist/esm/clusters/application-launcher.d.ts +1084 -0
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -0
- package/dist/esm/clusters/application-launcher.js +230 -0
- package/dist/esm/clusters/application-launcher.js.map +6 -0
- package/dist/esm/clusters/audio-output.d.ts +439 -0
- package/dist/esm/clusters/audio-output.d.ts.map +1 -0
- package/dist/esm/clusters/audio-output.js +143 -0
- package/dist/esm/clusters/audio-output.js.map +6 -0
- package/dist/esm/clusters/ballast-configuration.d.ts +248 -0
- package/dist/esm/clusters/ballast-configuration.d.ts.map +1 -0
- package/dist/esm/clusters/ballast-configuration.js +236 -0
- package/dist/esm/clusters/ballast-configuration.js.map +6 -0
- package/dist/esm/clusters/basic-information.d.ts +628 -0
- package/dist/esm/clusters/basic-information.d.ts.map +1 -0
- package/dist/esm/clusters/basic-information.js +447 -0
- package/dist/esm/clusters/basic-information.js.map +6 -0
- package/dist/esm/clusters/binding.d.ts +136 -0
- package/dist/esm/clusters/binding.d.ts.map +1 -0
- package/dist/esm/clusters/binding.js +76 -0
- package/dist/esm/clusters/binding.js.map +6 -0
- package/dist/esm/clusters/boolean-state-configuration.d.ts +1737 -0
- package/dist/esm/clusters/boolean-state-configuration.d.ts.map +1 -0
- package/dist/esm/clusters/boolean-state-configuration.js +352 -0
- package/dist/esm/clusters/boolean-state-configuration.js.map +6 -0
- package/dist/esm/clusters/boolean-state.d.ts +79 -0
- package/dist/esm/clusters/boolean-state.d.ts.map +1 -0
- package/dist/esm/clusters/boolean-state.js +55 -0
- package/dist/esm/clusters/boolean-state.js.map +6 -0
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +159 -0
- package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -0
- package/dist/esm/clusters/bridged-device-basic-information.js +142 -0
- package/dist/esm/clusters/bridged-device-basic-information.js.map +6 -0
- package/dist/esm/clusters/carbon-dioxide-concentration-measurement.d.ts +310 -0
- package/dist/esm/clusters/carbon-dioxide-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/carbon-dioxide-concentration-measurement.js +31 -0
- package/dist/esm/clusters/carbon-dioxide-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/carbon-monoxide-concentration-measurement.d.ts +310 -0
- package/dist/esm/clusters/carbon-monoxide-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/carbon-monoxide-concentration-measurement.js +31 -0
- package/dist/esm/clusters/carbon-monoxide-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/channel.d.ts +4764 -0
- package/dist/esm/clusters/channel.d.ts.map +1 -0
- package/dist/esm/clusters/channel.js +717 -0
- package/dist/esm/clusters/channel.js.map +6 -0
- package/dist/esm/clusters/color-control.d.ts +5084 -0
- package/dist/esm/clusters/color-control.d.ts.map +1 -0
- package/dist/esm/clusters/color-control.js +1381 -0
- package/dist/esm/clusters/color-control.js.map +6 -0
- package/dist/esm/clusters/concentration-measurement.d.ts +566 -0
- package/dist/esm/clusters/concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/concentration-measurement.js +255 -0
- package/dist/esm/clusters/concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/content-app-observer.d.ts +183 -0
- package/dist/esm/clusters/content-app-observer.d.ts.map +1 -0
- package/dist/esm/clusters/content-app-observer.js +79 -0
- package/dist/esm/clusters/content-app-observer.js.map +6 -0
- package/dist/esm/clusters/content-control.d.ts +3879 -0
- package/dist/esm/clusters/content-control.d.ts.map +1 -0
- package/dist/esm/clusters/content-control.js +955 -0
- package/dist/esm/clusters/content-control.js.map +6 -0
- package/dist/esm/clusters/content-launcher.d.ts +4265 -0
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -0
- package/dist/esm/clusters/content-launcher.js +493 -0
- package/dist/esm/clusters/content-launcher.js.map +6 -0
- package/dist/esm/clusters/descriptor.d.ts +413 -0
- package/dist/esm/clusters/descriptor.d.ts.map +1 -0
- package/dist/esm/clusters/descriptor.js +141 -0
- package/dist/esm/clusters/descriptor.js.map +6 -0
- package/dist/esm/clusters/device-energy-management-mode.d.ts +374 -0
- package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -0
- package/dist/esm/clusters/device-energy-management-mode.js +144 -0
- package/dist/esm/clusters/device-energy-management-mode.js.map +6 -0
- package/dist/esm/clusters/device-energy-management.d.ts +6333 -0
- package/dist/esm/clusters/device-energy-management.d.ts.map +1 -0
- package/dist/esm/clusters/device-energy-management.js +1257 -0
- package/dist/esm/clusters/device-energy-management.js.map +6 -0
- package/dist/esm/clusters/diagnostic-logs.d.ts +341 -0
- package/dist/esm/clusters/diagnostic-logs.d.ts.map +1 -0
- package/dist/esm/clusters/diagnostic-logs.js +141 -0
- package/dist/esm/clusters/diagnostic-logs.js.map +6 -0
- package/dist/esm/clusters/dishwasher-alarm.d.ts +380 -0
- package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -0
- package/dist/esm/clusters/dishwasher-alarm.js +160 -0
- package/dist/esm/clusters/dishwasher-alarm.js.map +6 -0
- package/dist/esm/clusters/dishwasher-mode.d.ts +194 -0
- package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -0
- package/dist/esm/clusters/dishwasher-mode.js +92 -0
- package/dist/esm/clusters/dishwasher-mode.js.map +6 -0
- package/dist/esm/clusters/door-lock.d.ts +15808 -0
- package/dist/esm/clusters/door-lock.d.ts.map +1 -0
- package/dist/esm/clusters/door-lock.js +3207 -0
- package/dist/esm/clusters/door-lock.js.map +6 -0
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +4074 -0
- package/dist/esm/clusters/electrical-energy-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/electrical-energy-measurement.js +449 -0
- package/dist/esm/clusters/electrical-energy-measurement.js.map +6 -0
- package/dist/esm/clusters/electrical-power-measurement.d.ts +2565 -0
- package/dist/esm/clusters/electrical-power-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/electrical-power-measurement.js +639 -0
- package/dist/esm/clusters/electrical-power-measurement.js.map +6 -0
- package/dist/esm/clusters/energy-evse-mode.d.ts +367 -0
- package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -0
- package/dist/esm/clusters/energy-evse-mode.js +143 -0
- package/dist/esm/clusters/energy-evse-mode.js.map +6 -0
- package/dist/esm/clusters/energy-evse.d.ts +4153 -0
- package/dist/esm/clusters/energy-evse.d.ts.map +1 -0
- package/dist/esm/clusters/energy-evse.js +991 -0
- package/dist/esm/clusters/energy-evse.js.map +6 -0
- package/dist/esm/clusters/energy-preference.d.ts +665 -0
- package/dist/esm/clusters/energy-preference.d.ts.map +1 -0
- package/dist/esm/clusters/energy-preference.js +206 -0
- package/dist/esm/clusters/energy-preference.js.map +6 -0
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +623 -0
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts.map +1 -0
- package/dist/esm/clusters/ethernet-network-diagnostics.js +215 -0
- package/dist/esm/clusters/ethernet-network-diagnostics.js.map +6 -0
- package/dist/esm/clusters/fan-control.d.ts +1289 -0
- package/dist/esm/clusters/fan-control.d.ts.map +1 -0
- package/dist/esm/clusters/fan-control.js +365 -0
- package/dist/esm/clusters/fan-control.js.map +6 -0
- package/dist/esm/clusters/fixed-label.d.ts +53 -0
- package/dist/esm/clusters/fixed-label.d.ts.map +1 -0
- package/dist/esm/clusters/fixed-label.js +33 -0
- package/dist/esm/clusters/fixed-label.js.map +6 -0
- package/dist/esm/clusters/flow-measurement.d.ts +69 -0
- package/dist/esm/clusters/flow-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/flow-measurement.js +64 -0
- package/dist/esm/clusters/flow-measurement.js.map +6 -0
- package/dist/esm/clusters/formaldehyde-concentration-measurement.d.ts +310 -0
- package/dist/esm/clusters/formaldehyde-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/formaldehyde-concentration-measurement.js +31 -0
- package/dist/esm/clusters/formaldehyde-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/general-commissioning.d.ts +575 -0
- package/dist/esm/clusters/general-commissioning.d.ts.map +1 -0
- package/dist/esm/clusters/general-commissioning.js +427 -0
- package/dist/esm/clusters/general-commissioning.js.map +6 -0
- package/dist/esm/clusters/general-diagnostics.d.ts +1891 -0
- package/dist/esm/clusters/general-diagnostics.d.ts.map +1 -0
- package/dist/esm/clusters/general-diagnostics.js +551 -0
- package/dist/esm/clusters/general-diagnostics.js.map +6 -0
- package/dist/esm/clusters/group-key-management.d.ts +1254 -0
- package/dist/esm/clusters/group-key-management.d.ts.map +1 -0
- package/dist/esm/clusters/group-key-management.js +387 -0
- package/dist/esm/clusters/group-key-management.js.map +6 -0
- package/dist/esm/clusters/groups.d.ts +710 -0
- package/dist/esm/clusters/groups.d.ts.map +1 -0
- package/dist/esm/clusters/groups.js +250 -0
- package/dist/esm/clusters/groups.js.map +6 -0
- package/dist/esm/clusters/hepa-filter-monitoring.d.ts +162 -0
- package/dist/esm/clusters/hepa-filter-monitoring.d.ts.map +1 -0
- package/dist/esm/clusters/hepa-filter-monitoring.js +27 -0
- package/dist/esm/clusters/hepa-filter-monitoring.js.map +6 -0
- package/dist/esm/clusters/icd-management.d.ts +1744 -0
- package/dist/esm/clusters/icd-management.d.ts.map +1 -0
- package/dist/esm/clusters/icd-management.js +504 -0
- package/dist/esm/clusters/icd-management.js.map +6 -0
- package/dist/esm/clusters/identify.d.ts +219 -0
- package/dist/esm/clusters/identify.d.ts.map +1 -0
- package/dist/esm/clusters/identify.js +122 -0
- package/dist/esm/clusters/identify.js.map +6 -0
- package/dist/esm/clusters/illuminance-measurement.d.ts +94 -0
- package/dist/esm/clusters/illuminance-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/illuminance-measurement.js +81 -0
- package/dist/esm/clusters/illuminance-measurement.js.map +6 -0
- package/dist/esm/clusters/index.d.ts +121 -0
- package/dist/esm/clusters/index.d.ts.map +1 -0
- package/dist/esm/clusters/index.js +381 -0
- package/dist/esm/clusters/index.js.map +6 -0
- package/dist/esm/clusters/keypad-input.d.ts +341 -0
- package/dist/esm/clusters/keypad-input.d.ts.map +1 -0
- package/dist/esm/clusters/keypad-input.js +187 -0
- package/dist/esm/clusters/keypad-input.js.map +6 -0
- package/dist/esm/clusters/label.d.ts +96 -0
- package/dist/esm/clusters/label.d.ts.map +1 -0
- package/dist/esm/clusters/label.js +46 -0
- package/dist/esm/clusters/label.js.map +6 -0
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +82 -0
- package/dist/esm/clusters/laundry-dryer-controls.d.ts.map +1 -0
- package/dist/esm/clusters/laundry-dryer-controls.js +63 -0
- package/dist/esm/clusters/laundry-dryer-controls.js.map +6 -0
- package/dist/esm/clusters/laundry-washer-controls.d.ts +379 -0
- package/dist/esm/clusters/laundry-washer-controls.d.ts.map +1 -0
- package/dist/esm/clusters/laundry-washer-controls.js +142 -0
- package/dist/esm/clusters/laundry-washer-controls.js.map +6 -0
- package/dist/esm/clusters/laundry-washer-mode.d.ts +200 -0
- package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -0
- package/dist/esm/clusters/laundry-washer-mode.js +93 -0
- package/dist/esm/clusters/laundry-washer-mode.js.map +6 -0
- package/dist/esm/clusters/level-control.d.ts +2945 -0
- package/dist/esm/clusters/level-control.d.ts.map +1 -0
- package/dist/esm/clusters/level-control.js +406 -0
- package/dist/esm/clusters/level-control.js.map +6 -0
- package/dist/esm/clusters/localization-configuration.d.ts +60 -0
- package/dist/esm/clusters/localization-configuration.d.ts.map +1 -0
- package/dist/esm/clusters/localization-configuration.js +55 -0
- package/dist/esm/clusters/localization-configuration.js.map +6 -0
- package/dist/esm/clusters/low-power.d.ts +52 -0
- package/dist/esm/clusters/low-power.d.ts.map +1 -0
- package/dist/esm/clusters/low-power.js +34 -0
- package/dist/esm/clusters/low-power.js.map +6 -0
- package/dist/esm/clusters/media-input.d.ts +493 -0
- package/dist/esm/clusters/media-input.d.ts.map +1 -0
- package/dist/esm/clusters/media-input.js +161 -0
- package/dist/esm/clusters/media-input.js.map +6 -0
- package/dist/esm/clusters/media-playback.d.ts +3558 -0
- package/dist/esm/clusters/media-playback.d.ts.map +1 -0
- package/dist/esm/clusters/media-playback.js +721 -0
- package/dist/esm/clusters/media-playback.js.map +6 -0
- package/dist/esm/clusters/messages.d.ts +1369 -0
- package/dist/esm/clusters/messages.d.ts.map +1 -0
- package/dist/esm/clusters/messages.js +401 -0
- package/dist/esm/clusters/messages.js.map +6 -0
- package/dist/esm/clusters/microwave-oven-control.d.ts +859 -0
- package/dist/esm/clusters/microwave-oven-control.d.ts.map +1 -0
- package/dist/esm/clusters/microwave-oven-control.js +282 -0
- package/dist/esm/clusters/microwave-oven-control.js.map +6 -0
- package/dist/esm/clusters/microwave-oven-mode.d.ts +140 -0
- package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -0
- package/dist/esm/clusters/microwave-oven-mode.js +69 -0
- package/dist/esm/clusters/microwave-oven-mode.js.map +6 -0
- package/dist/esm/clusters/mode-base.d.ts +716 -0
- package/dist/esm/clusters/mode-base.d.ts.map +1 -0
- package/dist/esm/clusters/mode-base.js +261 -0
- package/dist/esm/clusters/mode-base.js.map +6 -0
- package/dist/esm/clusters/mode-select.d.ts +638 -0
- package/dist/esm/clusters/mode-select.d.ts.map +1 -0
- package/dist/esm/clusters/mode-select.js +211 -0
- package/dist/esm/clusters/mode-select.js.map +6 -0
- package/dist/esm/clusters/network-commissioning.d.ts +5310 -0
- package/dist/esm/clusters/network-commissioning.d.ts.map +1 -0
- package/dist/esm/clusters/network-commissioning.js +1006 -0
- package/dist/esm/clusters/network-commissioning.js.map +6 -0
- package/dist/esm/clusters/nitrogen-dioxide-concentration-measurement.d.ts +310 -0
- package/dist/esm/clusters/nitrogen-dioxide-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/nitrogen-dioxide-concentration-measurement.js +31 -0
- package/dist/esm/clusters/nitrogen-dioxide-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/occupancy-sensing.d.ts +196 -0
- package/dist/esm/clusters/occupancy-sensing.d.ts.map +1 -0
- package/dist/esm/clusters/occupancy-sensing.js +184 -0
- package/dist/esm/clusters/occupancy-sensing.js.map +6 -0
- package/dist/esm/clusters/on-off.d.ts +1399 -0
- package/dist/esm/clusters/on-off.d.ts.map +1 -0
- package/dist/esm/clusters/on-off.js +327 -0
- package/dist/esm/clusters/on-off.js.map +6 -0
- package/dist/esm/clusters/operational-credentials.d.ts +1307 -0
- package/dist/esm/clusters/operational-credentials.d.ts.map +1 -0
- package/dist/esm/clusters/operational-credentials.js +697 -0
- package/dist/esm/clusters/operational-credentials.js.map +6 -0
- package/dist/esm/clusters/operational-state.d.ts +711 -0
- package/dist/esm/clusters/operational-state.d.ts.map +1 -0
- package/dist/esm/clusters/operational-state.js +352 -0
- package/dist/esm/clusters/operational-state.js.map +6 -0
- package/dist/esm/clusters/ota-software-update-provider.d.ts +928 -0
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -0
- package/dist/esm/clusters/ota-software-update-provider.js +451 -0
- package/dist/esm/clusters/ota-software-update-provider.js.map +6 -0
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +688 -0
- package/dist/esm/clusters/ota-software-update-requestor.d.ts.map +1 -0
- package/dist/esm/clusters/ota-software-update-requestor.js +338 -0
- package/dist/esm/clusters/ota-software-update-requestor.js.map +6 -0
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +273 -0
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts.map +1 -0
- package/dist/esm/clusters/oven-cavity-operational-state.js +268 -0
- package/dist/esm/clusters/oven-cavity-operational-state.js.map +6 -0
- package/dist/esm/clusters/oven-mode.d.ts +399 -0
- package/dist/esm/clusters/oven-mode.d.ts.map +1 -0
- package/dist/esm/clusters/oven-mode.js +149 -0
- package/dist/esm/clusters/oven-mode.js.map +6 -0
- package/dist/esm/clusters/ozone-concentration-measurement.d.ts +309 -0
- package/dist/esm/clusters/ozone-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/ozone-concentration-measurement.js +27 -0
- package/dist/esm/clusters/ozone-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/pm1-concentration-measurement.d.ts +309 -0
- package/dist/esm/clusters/pm1-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/pm1-concentration-measurement.js +27 -0
- package/dist/esm/clusters/pm1-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/pm10-concentration-measurement.d.ts +309 -0
- package/dist/esm/clusters/pm10-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/pm10-concentration-measurement.js +27 -0
- package/dist/esm/clusters/pm10-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/pm25-concentration-measurement.d.ts +309 -0
- package/dist/esm/clusters/pm25-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/pm25-concentration-measurement.js +27 -0
- package/dist/esm/clusters/pm25-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/power-source-configuration.d.ts +48 -0
- package/dist/esm/clusters/power-source-configuration.d.ts.map +1 -0
- package/dist/esm/clusters/power-source-configuration.js +43 -0
- package/dist/esm/clusters/power-source-configuration.js.map +6 -0
- package/dist/esm/clusters/power-source.d.ts +2377 -0
- package/dist/esm/clusters/power-source.d.ts.map +1 -0
- package/dist/esm/clusters/power-source.js +773 -0
- package/dist/esm/clusters/power-source.js.map +6 -0
- package/dist/esm/clusters/power-topology.d.ts +346 -0
- package/dist/esm/clusters/power-topology.d.ts.map +1 -0
- package/dist/esm/clusters/power-topology.js +119 -0
- package/dist/esm/clusters/power-topology.js.map +6 -0
- package/dist/esm/clusters/pressure-measurement.d.ts +377 -0
- package/dist/esm/clusters/pressure-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/pressure-measurement.js +148 -0
- package/dist/esm/clusters/pressure-measurement.js.map +6 -0
- package/dist/esm/clusters/proxy-configuration.d.ts +79 -0
- package/dist/esm/clusters/proxy-configuration.d.ts.map +1 -0
- package/dist/esm/clusters/proxy-configuration.js +53 -0
- package/dist/esm/clusters/proxy-configuration.js.map +6 -0
- package/dist/esm/clusters/proxy-discovery.d.ts +98 -0
- package/dist/esm/clusters/proxy-discovery.d.ts.map +1 -0
- package/dist/esm/clusters/proxy-discovery.js +59 -0
- package/dist/esm/clusters/proxy-discovery.js.map +6 -0
- package/dist/esm/clusters/pulse-width-modulation.d.ts +2031 -0
- package/dist/esm/clusters/pulse-width-modulation.d.ts.map +1 -0
- package/dist/esm/clusters/pulse-width-modulation.js +31 -0
- package/dist/esm/clusters/pulse-width-modulation.js.map +6 -0
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +2203 -0
- package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -0
- package/dist/esm/clusters/pump-configuration-and-control.js +739 -0
- package/dist/esm/clusters/pump-configuration-and-control.js.map +6 -0
- package/dist/esm/clusters/radon-concentration-measurement.d.ts +309 -0
- package/dist/esm/clusters/radon-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/radon-concentration-measurement.js +27 -0
- package/dist/esm/clusters/radon-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/refrigerator-alarm.d.ts +332 -0
- package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -0
- package/dist/esm/clusters/refrigerator-alarm.js +122 -0
- package/dist/esm/clusters/refrigerator-alarm.js.map +6 -0
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +180 -0
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -0
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +87 -0
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +6 -0
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +73 -0
- package/dist/esm/clusters/relative-humidity-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/relative-humidity-measurement.js +67 -0
- package/dist/esm/clusters/relative-humidity-measurement.js.map +6 -0
- package/dist/esm/clusters/resource-monitoring.d.ts +353 -0
- package/dist/esm/clusters/resource-monitoring.d.ts.map +1 -0
- package/dist/esm/clusters/resource-monitoring.js +181 -0
- package/dist/esm/clusters/resource-monitoring.js.map +6 -0
- package/dist/esm/clusters/rvc-clean-mode.d.ts +174 -0
- package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -0
- package/dist/esm/clusters/rvc-clean-mode.js +84 -0
- package/dist/esm/clusters/rvc-clean-mode.js.map +6 -0
- package/dist/esm/clusters/rvc-operational-state.d.ts +242 -0
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -0
- package/dist/esm/clusters/rvc-operational-state.js +181 -0
- package/dist/esm/clusters/rvc-operational-state.js.map +6 -0
- package/dist/esm/clusters/rvc-run-mode.d.ts +217 -0
- package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -0
- package/dist/esm/clusters/rvc-run-mode.js +91 -0
- package/dist/esm/clusters/rvc-run-mode.js.map +6 -0
- package/dist/esm/clusters/scenes-management.d.ts +2351 -0
- package/dist/esm/clusters/scenes-management.d.ts.map +1 -0
- package/dist/esm/clusters/scenes-management.js +682 -0
- package/dist/esm/clusters/scenes-management.js.map +6 -0
- package/dist/esm/clusters/smoke-co-alarm.d.ts +1304 -0
- package/dist/esm/clusters/smoke-co-alarm.d.ts.map +1 -0
- package/dist/esm/clusters/smoke-co-alarm.js +399 -0
- package/dist/esm/clusters/smoke-co-alarm.js.map +6 -0
- package/dist/esm/clusters/software-diagnostics.d.ts +590 -0
- package/dist/esm/clusters/software-diagnostics.d.ts.map +1 -0
- package/dist/esm/clusters/software-diagnostics.js +205 -0
- package/dist/esm/clusters/software-diagnostics.js.map +6 -0
- package/dist/esm/clusters/switch.d.ts +1222 -0
- package/dist/esm/clusters/switch.d.ts.map +1 -0
- package/dist/esm/clusters/switch.js +336 -0
- package/dist/esm/clusters/switch.js.map +6 -0
- package/dist/esm/clusters/target-navigator.d.ts +261 -0
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -0
- package/dist/esm/clusters/target-navigator.js +120 -0
- package/dist/esm/clusters/target-navigator.js.map +6 -0
- package/dist/esm/clusters/temperature-control.d.ts +626 -0
- package/dist/esm/clusters/temperature-control.d.ts.map +1 -0
- package/dist/esm/clusters/temperature-control.js +204 -0
- package/dist/esm/clusters/temperature-control.js.map +6 -0
- package/dist/esm/clusters/temperature-measurement.d.ts +64 -0
- package/dist/esm/clusters/temperature-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/temperature-measurement.js +59 -0
- package/dist/esm/clusters/temperature-measurement.js.map +6 -0
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +115 -0
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts.map +1 -0
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +84 -0
- package/dist/esm/clusters/thermostat-user-interface-configuration.js.map +6 -0
- package/dist/esm/clusters/thermostat.d.ts +4485 -0
- package/dist/esm/clusters/thermostat.d.ts.map +1 -0
- package/dist/esm/clusters/thermostat.js +1360 -0
- package/dist/esm/clusters/thermostat.js.map +6 -0
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +3308 -0
- package/dist/esm/clusters/thread-network-diagnostics.d.ts.map +1 -0
- package/dist/esm/clusters/thread-network-diagnostics.js +1114 -0
- package/dist/esm/clusters/thread-network-diagnostics.js.map +6 -0
- package/dist/esm/clusters/time-format-localization.d.ts +331 -0
- package/dist/esm/clusters/time-format-localization.d.ts.map +1 -0
- package/dist/esm/clusters/time-format-localization.js +134 -0
- package/dist/esm/clusters/time-format-localization.js.map +6 -0
- package/dist/esm/clusters/time-synchronization.d.ts +2597 -0
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -0
- package/dist/esm/clusters/time-synchronization.js +701 -0
- package/dist/esm/clusters/time-synchronization.js.map +6 -0
- package/dist/esm/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts +311 -0
- package/dist/esm/clusters/total-volatile-organic-compounds-concentration-measurement.d.ts.map +1 -0
- package/dist/esm/clusters/total-volatile-organic-compounds-concentration-measurement.js +31 -0
- package/dist/esm/clusters/total-volatile-organic-compounds-concentration-measurement.js.map +6 -0
- package/dist/esm/clusters/unit-localization.d.ts +187 -0
- package/dist/esm/clusters/unit-localization.d.ts.map +1 -0
- package/dist/esm/clusters/unit-localization.js +81 -0
- package/dist/esm/clusters/unit-localization.js.map +6 -0
- package/dist/esm/clusters/user-label.d.ts +43 -0
- package/dist/esm/clusters/user-label.d.ts.map +1 -0
- package/dist/esm/clusters/user-label.js +41 -0
- package/dist/esm/clusters/user-label.js.map +6 -0
- package/dist/esm/clusters/valid-proxies.d.ts +84 -0
- package/dist/esm/clusters/valid-proxies.d.ts.map +1 -0
- package/dist/esm/clusters/valid-proxies.js +48 -0
- package/dist/esm/clusters/valid-proxies.js.map +6 -0
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +1146 -0
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -0
- package/dist/esm/clusters/valve-configuration-and-control.js +365 -0
- package/dist/esm/clusters/valve-configuration-and-control.js.map +6 -0
- package/dist/esm/clusters/wake-on-lan.d.ts +78 -0
- package/dist/esm/clusters/wake-on-lan.d.ts.map +1 -0
- package/dist/esm/clusters/wake-on-lan.js +51 -0
- package/dist/esm/clusters/wake-on-lan.js.map +6 -0
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +928 -0
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts.map +1 -0
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +331 -0
- package/dist/esm/clusters/wi-fi-network-diagnostics.js.map +6 -0
- package/dist/esm/clusters/window-covering.d.ts +2864 -0
- package/dist/esm/clusters/window-covering.d.ts.map +1 -0
- package/dist/esm/clusters/window-covering.js +896 -0
- package/dist/esm/clusters/window-covering.js.map +6 -0
- package/dist/esm/commissioning/CommissioningConstants.d.ts +11 -0
- package/dist/esm/commissioning/CommissioningConstants.d.ts.map +1 -0
- package/dist/esm/commissioning/CommissioningConstants.js +19 -0
- package/dist/esm/commissioning/CommissioningConstants.js.map +6 -0
- package/dist/esm/commissioning/CommissioningOptions.d.ts +38 -0
- package/dist/esm/commissioning/CommissioningOptions.d.ts.map +1 -0
- package/dist/esm/commissioning/CommissioningOptions.js +26 -0
- package/dist/esm/commissioning/CommissioningOptions.js.map +6 -0
- package/dist/esm/commissioning/index.d.ts +8 -0
- package/dist/esm/commissioning/index.d.ts.map +1 -0
- package/dist/esm/commissioning/index.js +8 -0
- package/dist/esm/commissioning/index.js.map +6 -0
- package/dist/esm/common/DeviceClassification.d.ts +44 -0
- package/dist/esm/common/DeviceClassification.d.ts.map +1 -0
- package/dist/esm/common/DeviceClassification.js +18 -0
- package/dist/esm/common/DeviceClassification.js.map +6 -0
- package/dist/esm/common/ProductDescription.d.ts +25 -0
- package/dist/esm/common/ProductDescription.d.ts.map +1 -0
- package/dist/esm/common/ProductDescription.js +6 -0
- package/dist/esm/common/ProductDescription.js.map +6 -0
- package/dist/esm/common/StatusCode.d.ts +17 -0
- package/dist/esm/common/StatusCode.d.ts.map +1 -0
- package/dist/esm/common/StatusCode.js +24 -0
- package/dist/esm/common/StatusCode.js.map +6 -0
- package/dist/esm/common/ValidationError.d.ts +38 -0
- package/dist/esm/common/ValidationError.d.ts.map +1 -0
- package/dist/esm/common/ValidationError.js +44 -0
- package/dist/esm/common/ValidationError.js.map +6 -0
- package/dist/esm/common/index.d.ts +9 -0
- package/dist/esm/common/index.d.ts.map +1 -0
- package/dist/esm/common/index.js +9 -0
- package/dist/esm/common/index.js.map +6 -0
- package/dist/esm/datatype/AttributeId.d.ts +21 -0
- package/dist/esm/datatype/AttributeId.d.ts.map +1 -0
- package/dist/esm/datatype/AttributeId.js +39 -0
- package/dist/esm/datatype/AttributeId.js.map +6 -0
- package/dist/esm/datatype/CaseAuthenticatedTag.d.ts +28 -0
- package/dist/esm/datatype/CaseAuthenticatedTag.d.ts.map +1 -0
- package/dist/esm/datatype/CaseAuthenticatedTag.js +55 -0
- package/dist/esm/datatype/CaseAuthenticatedTag.js.map +6 -0
- package/dist/esm/datatype/ClusterId.d.ts +24 -0
- package/dist/esm/datatype/ClusterId.d.ts.map +1 -0
- package/dist/esm/datatype/ClusterId.js +46 -0
- package/dist/esm/datatype/ClusterId.js.map +6 -0
- package/dist/esm/datatype/CommandId.d.ts +20 -0
- package/dist/esm/datatype/CommandId.d.ts.map +1 -0
- package/dist/esm/datatype/CommandId.js +33 -0
- package/dist/esm/datatype/CommandId.js.map +6 -0
- package/dist/esm/datatype/DataVersion.d.ts +18 -0
- package/dist/esm/datatype/DataVersion.d.ts.map +1 -0
- package/dist/esm/datatype/DataVersion.js +20 -0
- package/dist/esm/datatype/DataVersion.js.map +6 -0
- package/dist/esm/datatype/DeviceTypeId.d.ts +20 -0
- package/dist/esm/datatype/DeviceTypeId.d.ts.map +1 -0
- package/dist/esm/datatype/DeviceTypeId.js +33 -0
- package/dist/esm/datatype/DeviceTypeId.js.map +6 -0
- package/dist/esm/datatype/EndpointNumber.d.ts +20 -0
- package/dist/esm/datatype/EndpointNumber.d.ts.map +1 -0
- package/dist/esm/datatype/EndpointNumber.js +28 -0
- package/dist/esm/datatype/EndpointNumber.js.map +6 -0
- package/dist/esm/datatype/EntryIndex.d.ts +18 -0
- package/dist/esm/datatype/EntryIndex.d.ts.map +1 -0
- package/dist/esm/datatype/EntryIndex.js +20 -0
- package/dist/esm/datatype/EntryIndex.js.map +6 -0
- package/dist/esm/datatype/EventId.d.ts +20 -0
- package/dist/esm/datatype/EventId.d.ts.map +1 -0
- package/dist/esm/datatype/EventId.js +33 -0
- package/dist/esm/datatype/EventId.js.map +6 -0
- package/dist/esm/datatype/EventNumber.d.ts +18 -0
- package/dist/esm/datatype/EventNumber.d.ts.map +1 -0
- package/dist/esm/datatype/EventNumber.js +20 -0
- package/dist/esm/datatype/EventNumber.js.map +6 -0
- package/dist/esm/datatype/FabricId.d.ts +18 -0
- package/dist/esm/datatype/FabricId.d.ts.map +1 -0
- package/dist/esm/datatype/FabricId.js +21 -0
- package/dist/esm/datatype/FabricId.js.map +6 -0
- package/dist/esm/datatype/FabricIndex.d.ts +31 -0
- package/dist/esm/datatype/FabricIndex.d.ts.map +1 -0
- package/dist/esm/datatype/FabricIndex.js +44 -0
- package/dist/esm/datatype/FabricIndex.js.map +6 -0
- package/dist/esm/datatype/FieldId.d.ts +22 -0
- package/dist/esm/datatype/FieldId.d.ts.map +1 -0
- package/dist/esm/datatype/FieldId.js +39 -0
- package/dist/esm/datatype/FieldId.js.map +6 -0
- package/dist/esm/datatype/GroupId.d.ts +28 -0
- package/dist/esm/datatype/GroupId.d.ts.map +1 -0
- package/dist/esm/datatype/GroupId.js +29 -0
- package/dist/esm/datatype/GroupId.js.map +6 -0
- package/dist/esm/datatype/ManufacturerExtensibleIdentifier.d.ts +23 -0
- package/dist/esm/datatype/ManufacturerExtensibleIdentifier.d.ts.map +1 -0
- package/dist/esm/datatype/ManufacturerExtensibleIdentifier.js +43 -0
- package/dist/esm/datatype/ManufacturerExtensibleIdentifier.js.map +6 -0
- package/dist/esm/datatype/NodeId.d.ts +58 -0
- package/dist/esm/datatype/NodeId.d.ts.map +1 -0
- package/dist/esm/datatype/NodeId.js +77 -0
- package/dist/esm/datatype/NodeId.js.map +6 -0
- package/dist/esm/datatype/SubjectId.d.ts +16 -0
- package/dist/esm/datatype/SubjectId.d.ts.map +1 -0
- package/dist/esm/datatype/SubjectId.js +11 -0
- package/dist/esm/datatype/SubjectId.js.map +6 -0
- package/dist/esm/datatype/VendorId.d.ts +22 -0
- package/dist/esm/datatype/VendorId.d.ts.map +1 -0
- package/dist/esm/datatype/VendorId.js +35 -0
- package/dist/esm/datatype/VendorId.js.map +6 -0
- package/dist/esm/datatype/index.d.ts +24 -0
- package/dist/esm/datatype/index.d.ts.map +1 -0
- package/dist/esm/datatype/index.js +24 -0
- package/dist/esm/datatype/index.js.map +6 -0
- package/dist/esm/globals/MeasurementAccuracy.d.ts +64 -0
- package/dist/esm/globals/MeasurementAccuracy.d.ts.map +1 -0
- package/dist/esm/globals/MeasurementAccuracy.js +47 -0
- package/dist/esm/globals/MeasurementAccuracy.js.map +6 -0
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +135 -0
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts.map +1 -0
- package/dist/esm/globals/MeasurementAccuracyRange.js +77 -0
- package/dist/esm/globals/MeasurementAccuracyRange.js.map +6 -0
- package/dist/esm/globals/MeasurementType.d.ts +69 -0
- package/dist/esm/globals/MeasurementType.d.ts.map +1 -0
- package/dist/esm/globals/MeasurementType.js +27 -0
- package/dist/esm/globals/MeasurementType.js.map +6 -0
- package/dist/esm/globals/Priority.d.ts +32 -0
- package/dist/esm/globals/Priority.d.ts.map +1 -0
- package/dist/esm/globals/Priority.js +15 -0
- package/dist/esm/globals/Priority.js.map +6 -0
- package/dist/esm/globals/Semtag.d.ts +68 -0
- package/dist/esm/globals/Semtag.d.ts.map +1 -0
- package/dist/esm/globals/Semtag.js +59 -0
- package/dist/esm/globals/Semtag.js.map +6 -0
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +32 -0
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts.map +1 -0
- package/dist/esm/globals/SoftwareVersionCertificationStatus.js +16 -0
- package/dist/esm/globals/SoftwareVersionCertificationStatus.js.map +6 -0
- package/dist/esm/globals/Status.d.ts +206 -0
- package/dist/esm/globals/Status.d.ts.map +1 -0
- package/dist/esm/globals/Status.js +41 -0
- package/dist/esm/globals/Status.js.map +6 -0
- package/dist/esm/globals/Tod.d.ts +41 -0
- package/dist/esm/globals/Tod.d.ts.map +1 -0
- package/dist/esm/globals/Tod.js +29 -0
- package/dist/esm/globals/Tod.js.map +6 -0
- package/dist/esm/globals/WildcardPathFlags.d.ts +52 -0
- package/dist/esm/globals/WildcardPathFlags.d.ts.map +1 -0
- package/dist/esm/globals/WildcardPathFlags.js +48 -0
- package/dist/esm/globals/WildcardPathFlags.js.map +6 -0
- package/dist/esm/globals/index.d.ts +16 -0
- package/dist/esm/globals/index.d.ts.map +1 -0
- package/dist/esm/globals/index.js +15 -0
- package/dist/esm/globals/index.js.map +6 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +6 -0
- package/dist/esm/package.json +8 -0
- package/dist/esm/protocol/definitions/index.d.ts +8 -0
- package/dist/esm/protocol/definitions/index.d.ts.map +1 -0
- package/dist/esm/protocol/definitions/index.js +8 -0
- package/dist/esm/protocol/definitions/index.js.map +6 -0
- package/dist/esm/protocol/definitions/interaction.d.ts +12 -0
- package/dist/esm/protocol/definitions/interaction.d.ts.map +1 -0
- package/dist/esm/protocol/definitions/interaction.js +12 -0
- package/dist/esm/protocol/definitions/interaction.js.map +6 -0
- package/dist/esm/protocol/definitions/secure-channel.d.ts +99 -0
- package/dist/esm/protocol/definitions/secure-channel.d.ts.map +1 -0
- package/dist/esm/protocol/definitions/secure-channel.js +59 -0
- package/dist/esm/protocol/definitions/secure-channel.js.map +6 -0
- package/dist/esm/protocol/index.d.ts +9 -0
- package/dist/esm/protocol/index.d.ts.map +1 -0
- package/dist/esm/protocol/index.js +9 -0
- package/dist/esm/protocol/index.js.map +6 -0
- package/dist/esm/protocol/messages/TlvDataReport.d.ts +98 -0
- package/dist/esm/protocol/messages/TlvDataReport.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvDataReport.js +27 -0
- package/dist/esm/protocol/messages/TlvDataReport.js.map +6 -0
- package/dist/esm/protocol/messages/TlvDataReportForSend.d.ts +19 -0
- package/dist/esm/protocol/messages/TlvDataReportForSend.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvDataReportForSend.js +26 -0
- package/dist/esm/protocol/messages/TlvDataReportForSend.js.map +6 -0
- package/dist/esm/protocol/messages/TlvInvokeRequest.d.ts +24 -0
- package/dist/esm/protocol/messages/TlvInvokeRequest.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvInvokeRequest.js +23 -0
- package/dist/esm/protocol/messages/TlvInvokeRequest.js.map +6 -0
- package/dist/esm/protocol/messages/TlvInvokeResponse.d.ts +37 -0
- package/dist/esm/protocol/messages/TlvInvokeResponse.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvInvokeResponse.js +22 -0
- package/dist/esm/protocol/messages/TlvInvokeResponse.js.map +6 -0
- package/dist/esm/protocol/messages/TlvInvokeResponseForSend.d.ts +12 -0
- package/dist/esm/protocol/messages/TlvInvokeResponseForSend.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvInvokeResponseForSend.js +20 -0
- package/dist/esm/protocol/messages/TlvInvokeResponseForSend.js.map +6 -0
- package/dist/esm/protocol/messages/TlvReadRequest.d.ts +54 -0
- package/dist/esm/protocol/messages/TlvReadRequest.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvReadRequest.js +30 -0
- package/dist/esm/protocol/messages/TlvReadRequest.js.map +6 -0
- package/dist/esm/protocol/messages/TlvStatusResponse.d.ts +12 -0
- package/dist/esm/protocol/messages/TlvStatusResponse.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvStatusResponse.js +16 -0
- package/dist/esm/protocol/messages/TlvStatusResponse.js.map +6 -0
- package/dist/esm/protocol/messages/TlvSubscribeRequest.d.ts +60 -0
- package/dist/esm/protocol/messages/TlvSubscribeRequest.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvSubscribeRequest.js +36 -0
- package/dist/esm/protocol/messages/TlvSubscribeRequest.js.map +6 -0
- package/dist/esm/protocol/messages/TlvSubscribeResponse.d.ts +14 -0
- package/dist/esm/protocol/messages/TlvSubscribeResponse.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvSubscribeResponse.js +18 -0
- package/dist/esm/protocol/messages/TlvSubscribeResponse.js.map +6 -0
- package/dist/esm/protocol/messages/TlvTimedRequest.d.ts +12 -0
- package/dist/esm/protocol/messages/TlvTimedRequest.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvTimedRequest.js +16 -0
- package/dist/esm/protocol/messages/TlvTimedRequest.js.map +6 -0
- package/dist/esm/protocol/messages/TlvWriteRequest.d.ts +39 -0
- package/dist/esm/protocol/messages/TlvWriteRequest.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvWriteRequest.js +24 -0
- package/dist/esm/protocol/messages/TlvWriteRequest.js.map +6 -0
- package/dist/esm/protocol/messages/TlvWriteResponse.d.ts +36 -0
- package/dist/esm/protocol/messages/TlvWriteResponse.d.ts.map +1 -0
- package/dist/esm/protocol/messages/TlvWriteResponse.js +18 -0
- package/dist/esm/protocol/messages/TlvWriteResponse.js.map +6 -0
- package/dist/esm/protocol/messages/index.d.ts +18 -0
- package/dist/esm/protocol/messages/index.d.ts.map +1 -0
- package/dist/esm/protocol/messages/index.js +18 -0
- package/dist/esm/protocol/messages/index.js.map +6 -0
- package/dist/esm/protocol/types/TlvAttributeData.d.ts +30 -0
- package/dist/esm/protocol/types/TlvAttributeData.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvAttributeData.js +19 -0
- package/dist/esm/protocol/types/TlvAttributeData.js.map +6 -0
- package/dist/esm/protocol/types/TlvAttributePath.d.ts +26 -0
- package/dist/esm/protocol/types/TlvAttributePath.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvAttributePath.js +28 -0
- package/dist/esm/protocol/types/TlvAttributePath.js.map +6 -0
- package/dist/esm/protocol/types/TlvAttributeReport.d.ts +57 -0
- package/dist/esm/protocol/types/TlvAttributeReport.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvAttributeReport.js +17 -0
- package/dist/esm/protocol/types/TlvAttributeReport.js.map +6 -0
- package/dist/esm/protocol/types/TlvAttributeReportData.d.ts +29 -0
- package/dist/esm/protocol/types/TlvAttributeReportData.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvAttributeReportData.js +19 -0
- package/dist/esm/protocol/types/TlvAttributeReportData.js.map +6 -0
- package/dist/esm/protocol/types/TlvAttributeStatus.d.ts +32 -0
- package/dist/esm/protocol/types/TlvAttributeStatus.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvAttributeStatus.js +17 -0
- package/dist/esm/protocol/types/TlvAttributeStatus.js.map +6 -0
- package/dist/esm/protocol/types/TlvClusterPath.d.ts +12 -0
- package/dist/esm/protocol/types/TlvClusterPath.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvClusterPath.js +19 -0
- package/dist/esm/protocol/types/TlvClusterPath.js.map +6 -0
- package/dist/esm/protocol/types/TlvCommandData.d.ts +16 -0
- package/dist/esm/protocol/types/TlvCommandData.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvCommandData.js +19 -0
- package/dist/esm/protocol/types/TlvCommandData.js.map +6 -0
- package/dist/esm/protocol/types/TlvCommandPath.d.ts +12 -0
- package/dist/esm/protocol/types/TlvCommandPath.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvCommandPath.js +19 -0
- package/dist/esm/protocol/types/TlvCommandPath.js.map +6 -0
- package/dist/esm/protocol/types/TlvCommandStatus.d.ts +19 -0
- package/dist/esm/protocol/types/TlvCommandStatus.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvCommandStatus.js +19 -0
- package/dist/esm/protocol/types/TlvCommandStatus.js.map +6 -0
- package/dist/esm/protocol/types/TlvDataVersionFilter.d.ts +15 -0
- package/dist/esm/protocol/types/TlvDataVersionFilter.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvDataVersionFilter.js +17 -0
- package/dist/esm/protocol/types/TlvDataVersionFilter.js.map +6 -0
- package/dist/esm/protocol/types/TlvEventData.d.ts +24 -0
- package/dist/esm/protocol/types/TlvEventData.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvEventData.js +25 -0
- package/dist/esm/protocol/types/TlvEventData.js.map +6 -0
- package/dist/esm/protocol/types/TlvEventFilter.d.ts +11 -0
- package/dist/esm/protocol/types/TlvEventFilter.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvEventFilter.js +17 -0
- package/dist/esm/protocol/types/TlvEventFilter.js.map +6 -0
- package/dist/esm/protocol/types/TlvEventPath.d.ts +14 -0
- package/dist/esm/protocol/types/TlvEventPath.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvEventPath.js +23 -0
- package/dist/esm/protocol/types/TlvEventPath.js.map +6 -0
- package/dist/esm/protocol/types/TlvEventReport.d.ts +38 -0
- package/dist/esm/protocol/types/TlvEventReport.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvEventReport.js +17 -0
- package/dist/esm/protocol/types/TlvEventReport.js.map +6 -0
- package/dist/esm/protocol/types/TlvEventStatus.d.ts +20 -0
- package/dist/esm/protocol/types/TlvEventStatus.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvEventStatus.js +17 -0
- package/dist/esm/protocol/types/TlvEventStatus.js.map +6 -0
- package/dist/esm/protocol/types/TlvInvokeResponseData.d.ts +30 -0
- package/dist/esm/protocol/types/TlvInvokeResponseData.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvInvokeResponseData.js +17 -0
- package/dist/esm/protocol/types/TlvInvokeResponseData.js.map +6 -0
- package/dist/esm/protocol/types/TlvStatus.d.ts +11 -0
- package/dist/esm/protocol/types/TlvStatus.d.ts.map +1 -0
- package/dist/esm/protocol/types/TlvStatus.js +17 -0
- package/dist/esm/protocol/types/TlvStatus.js.map +6 -0
- package/dist/esm/protocol/types/WildcardPathFlagsBitmap.d.ts +28 -0
- package/dist/esm/protocol/types/WildcardPathFlagsBitmap.d.ts.map +1 -0
- package/dist/esm/protocol/types/WildcardPathFlagsBitmap.js +30 -0
- package/dist/esm/protocol/types/WildcardPathFlagsBitmap.js.map +6 -0
- package/dist/esm/protocol/types/index.d.ts +23 -0
- package/dist/esm/protocol/types/index.d.ts.map +1 -0
- package/dist/esm/protocol/types/index.js +23 -0
- package/dist/esm/protocol/types/index.js.map +6 -0
- package/dist/esm/schema/Base38Schema.d.ts +16 -0
- package/dist/esm/schema/Base38Schema.d.ts.map +1 -0
- package/dist/esm/schema/Base38Schema.js +90 -0
- package/dist/esm/schema/Base38Schema.js.map +6 -0
- package/dist/esm/schema/BitmapSchema.d.ts +76 -0
- package/dist/esm/schema/BitmapSchema.d.ts.map +1 -0
- package/dist/esm/schema/BitmapSchema.js +172 -0
- package/dist/esm/schema/BitmapSchema.js.map +6 -0
- package/dist/esm/schema/PairingCodeSchema.d.ts +105 -0
- package/dist/esm/schema/PairingCodeSchema.d.ts.map +1 -0
- package/dist/esm/schema/PairingCodeSchema.js +177 -0
- package/dist/esm/schema/PairingCodeSchema.js.map +6 -0
- package/dist/esm/schema/QrCodeSchema.d.ts +14 -0
- package/dist/esm/schema/QrCodeSchema.d.ts.map +1 -0
- package/dist/esm/schema/QrCodeSchema.js +184 -0
- package/dist/esm/schema/QrCodeSchema.js.map +6 -0
- package/dist/esm/schema/Schema.d.ts +17 -0
- package/dist/esm/schema/Schema.d.ts.map +1 -0
- package/dist/esm/schema/Schema.js +27 -0
- package/dist/esm/schema/Schema.js.map +6 -0
- package/dist/esm/schema/SpecificationVersionSchema.d.ts +21 -0
- package/dist/esm/schema/SpecificationVersionSchema.d.ts.map +1 -0
- package/dist/esm/schema/SpecificationVersionSchema.js +22 -0
- package/dist/esm/schema/SpecificationVersionSchema.js.map +6 -0
- package/dist/esm/schema/index.d.ts +11 -0
- package/dist/esm/schema/index.d.ts.map +1 -0
- package/dist/esm/schema/index.js +11 -0
- package/dist/esm/schema/index.js.map +6 -0
- package/dist/esm/tlv/TlvAny.d.ts +22 -0
- package/dist/esm/tlv/TlvAny.d.ts.map +1 -0
- package/dist/esm/tlv/TlvAny.js +184 -0
- package/dist/esm/tlv/TlvAny.js.map +6 -0
- package/dist/esm/tlv/TlvArray.d.ts +39 -0
- package/dist/esm/tlv/TlvArray.d.ts.map +1 -0
- package/dist/esm/tlv/TlvArray.js +110 -0
- package/dist/esm/tlv/TlvArray.js.map +6 -0
- package/dist/esm/tlv/TlvBoolean.d.ts +20 -0
- package/dist/esm/tlv/TlvBoolean.d.ts.map +1 -0
- package/dist/esm/tlv/TlvBoolean.js +28 -0
- package/dist/esm/tlv/TlvBoolean.js.map +6 -0
- package/dist/esm/tlv/TlvCodec.d.ts +100 -0
- package/dist/esm/tlv/TlvCodec.d.ts.map +1 -0
- package/dist/esm/tlv/TlvCodec.js +397 -0
- package/dist/esm/tlv/TlvCodec.js.map +6 -0
- package/dist/esm/tlv/TlvNoArguments.d.ts +17 -0
- package/dist/esm/tlv/TlvNoArguments.d.ts.map +1 -0
- package/dist/esm/tlv/TlvNoArguments.js +21 -0
- package/dist/esm/tlv/TlvNoArguments.js.map +6 -0
- package/dist/esm/tlv/TlvNullable.d.ts +24 -0
- package/dist/esm/tlv/TlvNullable.d.ts.map +1 -0
- package/dist/esm/tlv/TlvNullable.js +51 -0
- package/dist/esm/tlv/TlvNullable.js.map +6 -0
- package/dist/esm/tlv/TlvNumber.d.ts +57 -0
- package/dist/esm/tlv/TlvNumber.d.ts.map +1 -0
- package/dist/esm/tlv/TlvNumber.js +185 -0
- package/dist/esm/tlv/TlvNumber.js.map +6 -0
- package/dist/esm/tlv/TlvObject.d.ts +103 -0
- package/dist/esm/tlv/TlvObject.d.ts.map +1 -0
- package/dist/esm/tlv/TlvObject.js +260 -0
- package/dist/esm/tlv/TlvObject.js.map +6 -0
- package/dist/esm/tlv/TlvSchema.d.ts +81 -0
- package/dist/esm/tlv/TlvSchema.d.ts.map +1 -0
- package/dist/esm/tlv/TlvSchema.js +93 -0
- package/dist/esm/tlv/TlvSchema.js.map +6 -0
- package/dist/esm/tlv/TlvString.d.ts +40 -0
- package/dist/esm/tlv/TlvString.d.ts.map +1 -0
- package/dist/esm/tlv/TlvString.js +64 -0
- package/dist/esm/tlv/TlvString.js.map +6 -0
- package/dist/esm/tlv/TlvVoid.d.ts +19 -0
- package/dist/esm/tlv/TlvVoid.d.ts.map +1 -0
- package/dist/esm/tlv/TlvVoid.js +26 -0
- package/dist/esm/tlv/TlvVoid.js.map +6 -0
- package/dist/esm/tlv/TlvWrapper.d.ts +17 -0
- package/dist/esm/tlv/TlvWrapper.d.ts.map +1 -0
- package/dist/esm/tlv/TlvWrapper.js +27 -0
- package/dist/esm/tlv/TlvWrapper.js.map +6 -0
- package/dist/esm/tlv/index.d.ts +18 -0
- package/dist/esm/tlv/index.d.ts.map +1 -0
- package/dist/esm/tlv/index.js +18 -0
- package/dist/esm/tlv/index.js.map +6 -0
- package/dist/esm/tsconfig.tsbuildinfo +1 -0
- package/package.json +100 -0
- package/src/cluster/Cluster.ts +970 -0
- package/src/cluster/ClusterHelper.ts +206 -0
- package/src/cluster/ClusterRegistry.ts +39 -0
- package/src/cluster/ClusterType.ts +307 -0
- package/src/cluster/index.ts +14 -0
- package/src/cluster/mutation/ClusterComposer.ts +278 -0
- package/src/cluster/mutation/ElementModifier.ts +210 -0
- package/src/cluster/mutation/MutableCluster.ts +145 -0
- package/src/cluster/mutation/index.ts +9 -0
- package/src/clusters/access-control.ts +516 -0
- package/src/clusters/account-login.ts +334 -0
- package/src/clusters/actions.ts +991 -0
- package/src/clusters/activated-carbon-filter-monitoring.ts +50 -0
- package/src/clusters/administrator-commissioning.ts +416 -0
- package/src/clusters/air-quality.ts +171 -0
- package/src/clusters/alarm-base.ts +273 -0
- package/src/clusters/application-basic.ts +178 -0
- package/src/clusters/application-launcher.ts +389 -0
- package/src/clusters/audio-output.ts +253 -0
- package/src/clusters/ballast-configuration.ts +273 -0
- package/src/clusters/basic-information.ts +674 -0
- package/src/clusters/binding.ts +130 -0
- package/src/clusters/boolean-state-configuration.ts +523 -0
- package/src/clusters/boolean-state.ts +83 -0
- package/src/clusters/bridged-device-basic-information.ts +195 -0
- package/src/clusters/carbon-dioxide-concentration-measurement.ts +55 -0
- package/src/clusters/carbon-monoxide-concentration-measurement.ts +55 -0
- package/src/clusters/channel.ts +1122 -0
- package/src/clusters/color-control.ts +1893 -0
- package/src/clusters/concentration-measurement.ts +416 -0
- package/src/clusters/content-app-observer.ts +168 -0
- package/src/clusters/content-control.ts +1403 -0
- package/src/clusters/content-launcher.ts +898 -0
- package/src/clusters/descriptor.ts +225 -0
- package/src/clusters/device-energy-management-mode.ts +227 -0
- package/src/clusters/device-energy-management.ts +2001 -0
- package/src/clusters/diagnostic-logs.ts +284 -0
- package/src/clusters/dishwasher-alarm.ts +225 -0
- package/src/clusters/dishwasher-mode.ts +149 -0
- package/src/clusters/door-lock.ts +5075 -0
- package/src/clusters/electrical-energy-measurement.ts +638 -0
- package/src/clusters/electrical-power-measurement.ts +832 -0
- package/src/clusters/energy-evse-mode.ts +219 -0
- package/src/clusters/energy-evse.ts +1537 -0
- package/src/clusters/energy-preference.ts +315 -0
- package/src/clusters/ethernet-network-diagnostics.ts +333 -0
- package/src/clusters/fan-control.ts +596 -0
- package/src/clusters/fixed-label.ts +59 -0
- package/src/clusters/flow-measurement.ts +81 -0
- package/src/clusters/formaldehyde-concentration-measurement.ts +55 -0
- package/src/clusters/general-commissioning.ts +565 -0
- package/src/clusters/general-diagnostics.ts +917 -0
- package/src/clusters/group-key-management.ts +574 -0
- package/src/clusters/groups.ts +442 -0
- package/src/clusters/hepa-filter-monitoring.ts +50 -0
- package/src/clusters/icd-management.ts +718 -0
- package/src/clusters/identify.ts +231 -0
- package/src/clusters/illuminance-measurement.ts +109 -0
- package/src/clusters/index.ts +158 -0
- package/src/clusters/keypad-input.ts +290 -0
- package/src/clusters/label.ts +66 -0
- package/src/clusters/laundry-dryer-controls.ts +100 -0
- package/src/clusters/laundry-washer-controls.ts +232 -0
- package/src/clusters/laundry-washer-mode.ts +156 -0
- package/src/clusters/level-control.ts +609 -0
- package/src/clusters/localization-configuration.ts +75 -0
- package/src/clusters/low-power.ts +60 -0
- package/src/clusters/media-input.ts +272 -0
- package/src/clusters/media-playback.ts +1157 -0
- package/src/clusters/messages.ts +636 -0
- package/src/clusters/microwave-oven-control.ts +397 -0
- package/src/clusters/microwave-oven-mode.ts +117 -0
- package/src/clusters/mode-base.ts +444 -0
- package/src/clusters/mode-select.ts +327 -0
- package/src/clusters/network-commissioning.ts +1435 -0
- package/src/clusters/nitrogen-dioxide-concentration-measurement.ts +55 -0
- package/src/clusters/occupancy-sensing.ts +237 -0
- package/src/clusters/on-off.ts +528 -0
- package/src/clusters/operational-credentials.ts +1027 -0
- package/src/clusters/operational-state.ts +488 -0
- package/src/clusters/ota-software-update-provider.ts +598 -0
- package/src/clusters/ota-software-update-requestor.ts +595 -0
- package/src/clusters/oven-cavity-operational-state.ts +292 -0
- package/src/clusters/oven-mode.ts +259 -0
- package/src/clusters/ozone-concentration-measurement.ts +50 -0
- package/src/clusters/pm1-concentration-measurement.ts +50 -0
- package/src/clusters/pm10-concentration-measurement.ts +50 -0
- package/src/clusters/pm25-concentration-measurement.ts +50 -0
- package/src/clusters/power-source-configuration.ts +57 -0
- package/src/clusters/power-source.ts +1548 -0
- package/src/clusters/power-topology.ts +193 -0
- package/src/clusters/pressure-measurement.ts +206 -0
- package/src/clusters/proxy-configuration.ts +77 -0
- package/src/clusters/proxy-discovery.ts +90 -0
- package/src/clusters/pulse-width-modulation.ts +54 -0
- package/src/clusters/pump-configuration-and-control.ts +1000 -0
- package/src/clusters/radon-concentration-measurement.ts +50 -0
- package/src/clusters/refrigerator-alarm.ts +179 -0
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +138 -0
- package/src/clusters/relative-humidity-measurement.ts +85 -0
- package/src/clusters/resource-monitoring.ts +305 -0
- package/src/clusters/rvc-clean-mode.ts +140 -0
- package/src/clusters/rvc-operational-state.ts +270 -0
- package/src/clusters/rvc-run-mode.ts +190 -0
- package/src/clusters/scenes-management.ts +1011 -0
- package/src/clusters/smoke-co-alarm.ts +756 -0
- package/src/clusters/software-diagnostics.ts +292 -0
- package/src/clusters/switch.ts +554 -0
- package/src/clusters/target-navigator.ts +215 -0
- package/src/clusters/temperature-control.ts +313 -0
- package/src/clusters/temperature-measurement.ts +76 -0
- package/src/clusters/thermostat-user-interface-configuration.ts +148 -0
- package/src/clusters/thermostat.ts +1871 -0
- package/src/clusters/thread-network-diagnostics.ts +1418 -0
- package/src/clusters/time-format-localization.ts +258 -0
- package/src/clusters/time-synchronization.ts +1099 -0
- package/src/clusters/total-volatile-organic-compounds-concentration-measurement.ts +56 -0
- package/src/clusters/unit-localization.ts +151 -0
- package/src/clusters/user-label.ts +54 -0
- package/src/clusters/valid-proxies.ts +90 -0
- package/src/clusters/valve-configuration-and-control.ts +518 -0
- package/src/clusters/wake-on-lan.ts +87 -0
- package/src/clusters/wi-fi-network-diagnostics.ts +536 -0
- package/src/clusters/window-covering.ts +1304 -0
- package/src/commissioning/CommissioningConstants.ts +14 -0
- package/src/commissioning/CommissioningOptions.ts +46 -0
- package/src/commissioning/index.ts +8 -0
- package/src/common/DeviceClassification.ts +49 -0
- package/src/common/ProductDescription.ts +29 -0
- package/src/common/StatusCode.ts +28 -0
- package/src/common/ValidationError.ts +63 -0
- package/src/common/index.ts +9 -0
- package/src/datatype/AttributeId.ts +47 -0
- package/src/datatype/CaseAuthenticatedTag.ts +71 -0
- package/src/datatype/ClusterId.ts +59 -0
- package/src/datatype/CommandId.ts +40 -0
- package/src/datatype/DataVersion.ts +28 -0
- package/src/datatype/DeviceTypeId.ts +40 -0
- package/src/datatype/EndpointNumber.ts +35 -0
- package/src/datatype/EntryIndex.ts +28 -0
- package/src/datatype/EventId.ts +40 -0
- package/src/datatype/EventNumber.ts +28 -0
- package/src/datatype/FabricId.ts +28 -0
- package/src/datatype/FabricIndex.ts +60 -0
- package/src/datatype/FieldId.ts +55 -0
- package/src/datatype/GroupId.ts +44 -0
- package/src/datatype/ManufacturerExtensibleIdentifier.ts +53 -0
- package/src/datatype/NodeId.ts +122 -0
- package/src/datatype/SubjectId.ts +18 -0
- package/src/datatype/VendorId.ts +44 -0
- package/src/datatype/index.ts +24 -0
- package/src/globals/MeasurementAccuracy.ts +66 -0
- package/src/globals/MeasurementAccuracyRange.ts +147 -0
- package/src/globals/MeasurementType.ts +84 -0
- package/src/globals/Priority.ts +35 -0
- package/src/globals/Semtag.ts +79 -0
- package/src/globals/SoftwareVersionCertificationStatus.ts +36 -0
- package/src/globals/Status.ts +235 -0
- package/src/globals/Tod.ts +49 -0
- package/src/globals/WildcardPathFlags.ts +62 -0
- package/src/globals/index.ts +17 -0
- package/src/index.ts +16 -0
- package/src/protocol/definitions/index.ts +8 -0
- package/src/protocol/definitions/interaction.ts +13 -0
- package/src/protocol/definitions/secure-channel.ts +136 -0
- package/src/protocol/index.ts +9 -0
- package/src/protocol/messages/TlvDataReport.ts +30 -0
- package/src/protocol/messages/TlvDataReportForSend.ts +29 -0
- package/src/protocol/messages/TlvInvokeRequest.ts +25 -0
- package/src/protocol/messages/TlvInvokeResponse.ts +23 -0
- package/src/protocol/messages/TlvInvokeResponseForSend.ts +18 -0
- package/src/protocol/messages/TlvReadRequest.ts +34 -0
- package/src/protocol/messages/TlvStatusResponse.ts +17 -0
- package/src/protocol/messages/TlvSubscribeRequest.ts +43 -0
- package/src/protocol/messages/TlvSubscribeResponse.ts +19 -0
- package/src/protocol/messages/TlvTimedRequest.ts +16 -0
- package/src/protocol/messages/TlvWriteRequest.ts +26 -0
- package/src/protocol/messages/TlvWriteResponse.ts +18 -0
- package/src/protocol/messages/index.ts +18 -0
- package/src/protocol/types/TlvAttributeData.ts +19 -0
- package/src/protocol/types/TlvAttributePath.ts +28 -0
- package/src/protocol/types/TlvAttributeReport.ts +17 -0
- package/src/protocol/types/TlvAttributeReportData.ts +17 -0
- package/src/protocol/types/TlvAttributeStatus.ts +17 -0
- package/src/protocol/types/TlvClusterPath.ts +19 -0
- package/src/protocol/types/TlvCommandData.ts +19 -0
- package/src/protocol/types/TlvCommandPath.ts +19 -0
- package/src/protocol/types/TlvCommandStatus.ts +19 -0
- package/src/protocol/types/TlvDataVersionFilter.ts +17 -0
- package/src/protocol/types/TlvEventData.ts +26 -0
- package/src/protocol/types/TlvEventFilter.ts +17 -0
- package/src/protocol/types/TlvEventPath.ts +23 -0
- package/src/protocol/types/TlvEventReport.ts +17 -0
- package/src/protocol/types/TlvEventStatus.ts +17 -0
- package/src/protocol/types/TlvInvokeResponseData.ts +17 -0
- package/src/protocol/types/TlvStatus.ts +17 -0
- package/src/protocol/types/WildcardPathFlagsBitmap.ts +38 -0
- package/src/protocol/types/index.ts +23 -0
- package/src/schema/Base38Schema.ts +95 -0
- package/src/schema/BitmapSchema.ts +232 -0
- package/src/schema/PairingCodeSchema.ts +229 -0
- package/src/schema/QrCodeSchema.ts +215 -0
- package/src/schema/Schema.ts +31 -0
- package/src/schema/SpecificationVersionSchema.ts +27 -0
- package/src/schema/index.ts +12 -0
- package/src/tlv/TlvAny.ts +192 -0
- package/src/tlv/TlvArray.ts +145 -0
- package/src/tlv/TlvBoolean.ts +34 -0
- package/src/tlv/TlvCodec.ts +470 -0
- package/src/tlv/TlvNoArguments.ts +26 -0
- package/src/tlv/TlvNullable.ts +66 -0
- package/src/tlv/TlvNumber.ts +205 -0
- package/src/tlv/TlvObject.ts +380 -0
- package/src/tlv/TlvSchema.ts +148 -0
- package/src/tlv/TlvString.ts +84 -0
- package/src/tlv/TlvVoid.ts +34 -0
- package/src/tlv/TlvWrapper.ts +30 -0
- package/src/tlv/index.ts +18 -0
- package/src/tsconfig.json +17 -0
|
@@ -0,0 +1,4074 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
|
+
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
|
+
import { Attribute, OptionalAttribute, Event, FixedAttribute } from "../cluster/Cluster.js";
|
|
9
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
10
|
+
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
11
|
+
import { Identity } from "#general";
|
|
12
|
+
export declare namespace ElectricalEnergyMeasurement {
|
|
13
|
+
/**
|
|
14
|
+
* These are optional features supported by ElectricalEnergyMeasurementCluster.
|
|
15
|
+
*
|
|
16
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4
|
|
17
|
+
*/
|
|
18
|
+
enum Feature {
|
|
19
|
+
/**
|
|
20
|
+
* ImportedEnergy (IMPE)
|
|
21
|
+
*
|
|
22
|
+
* The feature indicates the server is capable of measuring how much energy is imported by the server.
|
|
23
|
+
*
|
|
24
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.1
|
|
25
|
+
*/
|
|
26
|
+
ImportedEnergy = "ImportedEnergy",
|
|
27
|
+
/**
|
|
28
|
+
* ExportedEnergy (EXPE)
|
|
29
|
+
*
|
|
30
|
+
* The feature indicates the server is capable of measuring how much energy is exported by the server.
|
|
31
|
+
*
|
|
32
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.2
|
|
33
|
+
*/
|
|
34
|
+
ExportedEnergy = "ExportedEnergy",
|
|
35
|
+
/**
|
|
36
|
+
* CumulativeEnergy (CUME)
|
|
37
|
+
*
|
|
38
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported by
|
|
39
|
+
* the server over the device’s lifetime. This measurement may start from when a device’s firmware is updated
|
|
40
|
+
* to include this feature, when a device’s firmware is updated to correct measurement errors, or when a device
|
|
41
|
+
* is factory reset.
|
|
42
|
+
*
|
|
43
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.3
|
|
44
|
+
*/
|
|
45
|
+
CumulativeEnergy = "CumulativeEnergy",
|
|
46
|
+
/**
|
|
47
|
+
* PeriodicEnergy (PERE)
|
|
48
|
+
*
|
|
49
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported by
|
|
50
|
+
* the server during a certain period of time. The start and end times for measurement periods shall be
|
|
51
|
+
* determined by the server, and may represent overlapping periods.
|
|
52
|
+
*
|
|
53
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.4
|
|
54
|
+
*/
|
|
55
|
+
PeriodicEnergy = "PeriodicEnergy"
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* This struct shall indicate the amount of energy measured during a given measurement period.
|
|
59
|
+
*
|
|
60
|
+
* A server which does not have the ability to determine the time in UTC, or has not yet done so, shall use the
|
|
61
|
+
* system time fields to specify the measurement period and observation times.
|
|
62
|
+
*
|
|
63
|
+
* A server which has determined the time in UTC shall use the timestamp fields to specify the measurement period.
|
|
64
|
+
* Such a server may also include the systime fields to indicate how many seconds had passed since boot for a given
|
|
65
|
+
* timestamp; this allows for client-side resolution of UTC time for previous reports that only included systime.
|
|
66
|
+
*
|
|
67
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1
|
|
68
|
+
*/
|
|
69
|
+
const TlvEnergyMeasurement: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
70
|
+
/**
|
|
71
|
+
* This field shall be the reported energy.
|
|
72
|
+
*
|
|
73
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
74
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
75
|
+
*
|
|
76
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
77
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
78
|
+
* the StartSystime and EndSystime fields, or both.
|
|
79
|
+
*
|
|
80
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
81
|
+
*/
|
|
82
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
83
|
+
/**
|
|
84
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
85
|
+
* Energy field was measured.
|
|
86
|
+
*
|
|
87
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
88
|
+
*
|
|
89
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
90
|
+
* period, this field shall be indicated.
|
|
91
|
+
*
|
|
92
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
93
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
94
|
+
* omitted.
|
|
95
|
+
*
|
|
96
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
97
|
+
*/
|
|
98
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
99
|
+
/**
|
|
100
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
101
|
+
* field was measured.
|
|
102
|
+
*
|
|
103
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
104
|
+
* indicated.
|
|
105
|
+
*
|
|
106
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
107
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
108
|
+
*
|
|
109
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
110
|
+
*/
|
|
111
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
112
|
+
/**
|
|
113
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
114
|
+
* the Energy field was measured.
|
|
115
|
+
*
|
|
116
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
117
|
+
*
|
|
118
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
119
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
120
|
+
*
|
|
121
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
122
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
123
|
+
* time indicated in StartTimestamp.
|
|
124
|
+
*
|
|
125
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
126
|
+
*/
|
|
127
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
128
|
+
/**
|
|
129
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
130
|
+
* Energy field was measured.
|
|
131
|
+
*
|
|
132
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
133
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
134
|
+
*
|
|
135
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
136
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
137
|
+
* EndTimestamp.
|
|
138
|
+
*
|
|
139
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
140
|
+
*/
|
|
141
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
142
|
+
}>;
|
|
143
|
+
/**
|
|
144
|
+
* This struct shall indicate the amount of energy measured during a given measurement period.
|
|
145
|
+
*
|
|
146
|
+
* A server which does not have the ability to determine the time in UTC, or has not yet done so, shall use the
|
|
147
|
+
* system time fields to specify the measurement period and observation times.
|
|
148
|
+
*
|
|
149
|
+
* A server which has determined the time in UTC shall use the timestamp fields to specify the measurement period.
|
|
150
|
+
* Such a server may also include the systime fields to indicate how many seconds had passed since boot for a given
|
|
151
|
+
* timestamp; this allows for client-side resolution of UTC time for previous reports that only included systime.
|
|
152
|
+
*
|
|
153
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1
|
|
154
|
+
*/
|
|
155
|
+
interface EnergyMeasurement extends TypeFromSchema<typeof TlvEnergyMeasurement> {
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* This struct shall represent the times at which cumulative measurements were last zero, either due to
|
|
159
|
+
* initialization of the device, or an internal reset of the cumulative value.
|
|
160
|
+
*
|
|
161
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2
|
|
162
|
+
*/
|
|
163
|
+
const TlvCumulativeEnergyReset: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
164
|
+
/**
|
|
165
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
166
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
167
|
+
*
|
|
168
|
+
* If the server had determined the time in UTC when the value of the Energy field on the
|
|
169
|
+
* CumulativeEnergyImported attribute was most recently zero, this field shall be indicated.
|
|
170
|
+
*
|
|
171
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
172
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
173
|
+
* the time in UTC, this field shall be omitted.
|
|
174
|
+
*
|
|
175
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was
|
|
176
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
177
|
+
*
|
|
178
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.1
|
|
179
|
+
*/
|
|
180
|
+
importedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
181
|
+
/**
|
|
182
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
183
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
184
|
+
*
|
|
185
|
+
* If the server had determined the time in UTC when the value of the Energy field on the Cumula
|
|
186
|
+
*
|
|
187
|
+
* tiveEnergyExported attribute was most recently zero, this field shall be indicated.
|
|
188
|
+
*
|
|
189
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
190
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
191
|
+
* the time in UTC, this field shall be omitted.
|
|
192
|
+
*
|
|
193
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was
|
|
194
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
195
|
+
*
|
|
196
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.2
|
|
197
|
+
*/
|
|
198
|
+
exportedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
199
|
+
/**
|
|
200
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
201
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
202
|
+
*
|
|
203
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
204
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
205
|
+
* the time in UTC, this field shall be indicated.
|
|
206
|
+
*
|
|
207
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
208
|
+
* CumulativeEnergyImported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
209
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
210
|
+
*
|
|
211
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.3
|
|
212
|
+
*/
|
|
213
|
+
importedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
214
|
+
/**
|
|
215
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
216
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
217
|
+
*
|
|
218
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
219
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
220
|
+
* the time in UTC, this field shall be indicated.
|
|
221
|
+
*
|
|
222
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
223
|
+
* CumulativeEnergyExported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
224
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
225
|
+
*
|
|
226
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.4
|
|
227
|
+
*/
|
|
228
|
+
exportedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* This struct shall represent the times at which cumulative measurements were last zero, either due to
|
|
232
|
+
* initialization of the device, or an internal reset of the cumulative value.
|
|
233
|
+
*
|
|
234
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2
|
|
235
|
+
*/
|
|
236
|
+
interface CumulativeEnergyReset extends TypeFromSchema<typeof TlvCumulativeEnergyReset> {
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Body of the ElectricalEnergyMeasurement cumulativeEnergyMeasured event
|
|
240
|
+
*
|
|
241
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1
|
|
242
|
+
*/
|
|
243
|
+
const TlvCumulativeEnergyMeasuredEvent: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
244
|
+
/**
|
|
245
|
+
* This field shall be the value of CumulativeEnergyImported attribute at the timestamp indicated in its
|
|
246
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
247
|
+
*
|
|
248
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.1
|
|
249
|
+
*/
|
|
250
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
251
|
+
/**
|
|
252
|
+
* This field shall be the reported energy.
|
|
253
|
+
*
|
|
254
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
255
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
256
|
+
*
|
|
257
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
258
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
259
|
+
* the StartSystime and EndSystime fields, or both.
|
|
260
|
+
*
|
|
261
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
262
|
+
*/
|
|
263
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
264
|
+
/**
|
|
265
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
266
|
+
* Energy field was measured.
|
|
267
|
+
*
|
|
268
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
269
|
+
*
|
|
270
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
271
|
+
* period, this field shall be indicated.
|
|
272
|
+
*
|
|
273
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
274
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
275
|
+
* omitted.
|
|
276
|
+
*
|
|
277
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
278
|
+
*/
|
|
279
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
280
|
+
/**
|
|
281
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
282
|
+
* field was measured.
|
|
283
|
+
*
|
|
284
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
285
|
+
* indicated.
|
|
286
|
+
*
|
|
287
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
288
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
289
|
+
*
|
|
290
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
291
|
+
*/
|
|
292
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
293
|
+
/**
|
|
294
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
295
|
+
* the Energy field was measured.
|
|
296
|
+
*
|
|
297
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
298
|
+
*
|
|
299
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
300
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
301
|
+
*
|
|
302
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
303
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
304
|
+
* time indicated in StartTimestamp.
|
|
305
|
+
*
|
|
306
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
307
|
+
*/
|
|
308
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
309
|
+
/**
|
|
310
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
311
|
+
* Energy field was measured.
|
|
312
|
+
*
|
|
313
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
314
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
315
|
+
*
|
|
316
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
317
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
318
|
+
* EndTimestamp.
|
|
319
|
+
*
|
|
320
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
321
|
+
*/
|
|
322
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
323
|
+
}>>;
|
|
324
|
+
/**
|
|
325
|
+
* This field shall be the value of CumulativeEnergyExported attribute at the timestamp indicated in its
|
|
326
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
327
|
+
*
|
|
328
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.2
|
|
329
|
+
*/
|
|
330
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
331
|
+
/**
|
|
332
|
+
* This field shall be the reported energy.
|
|
333
|
+
*
|
|
334
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
335
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
336
|
+
*
|
|
337
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
338
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
339
|
+
* the StartSystime and EndSystime fields, or both.
|
|
340
|
+
*
|
|
341
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
342
|
+
*/
|
|
343
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
344
|
+
/**
|
|
345
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
346
|
+
* Energy field was measured.
|
|
347
|
+
*
|
|
348
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
349
|
+
*
|
|
350
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
351
|
+
* period, this field shall be indicated.
|
|
352
|
+
*
|
|
353
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
354
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
355
|
+
* omitted.
|
|
356
|
+
*
|
|
357
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
358
|
+
*/
|
|
359
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
360
|
+
/**
|
|
361
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
362
|
+
* field was measured.
|
|
363
|
+
*
|
|
364
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
365
|
+
* indicated.
|
|
366
|
+
*
|
|
367
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
368
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
369
|
+
*
|
|
370
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
371
|
+
*/
|
|
372
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
373
|
+
/**
|
|
374
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
375
|
+
* the Energy field was measured.
|
|
376
|
+
*
|
|
377
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
378
|
+
*
|
|
379
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
380
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
381
|
+
*
|
|
382
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
383
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
384
|
+
* time indicated in StartTimestamp.
|
|
385
|
+
*
|
|
386
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
387
|
+
*/
|
|
388
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
389
|
+
/**
|
|
390
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
391
|
+
* Energy field was measured.
|
|
392
|
+
*
|
|
393
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
394
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
395
|
+
*
|
|
396
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
397
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
398
|
+
* EndTimestamp.
|
|
399
|
+
*
|
|
400
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
401
|
+
*/
|
|
402
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
403
|
+
}>>;
|
|
404
|
+
}>;
|
|
405
|
+
/**
|
|
406
|
+
* Body of the ElectricalEnergyMeasurement cumulativeEnergyMeasured event
|
|
407
|
+
*
|
|
408
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1
|
|
409
|
+
*/
|
|
410
|
+
interface CumulativeEnergyMeasuredEvent extends TypeFromSchema<typeof TlvCumulativeEnergyMeasuredEvent> {
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Body of the ElectricalEnergyMeasurement periodicEnergyMeasured event
|
|
414
|
+
*
|
|
415
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2
|
|
416
|
+
*/
|
|
417
|
+
const TlvPeriodicEnergyMeasuredEvent: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
418
|
+
/**
|
|
419
|
+
* This field shall be the value of PeriodicEnergyImported attribute at the timestamp indicated in its
|
|
420
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
421
|
+
*
|
|
422
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.1
|
|
423
|
+
*/
|
|
424
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
425
|
+
/**
|
|
426
|
+
* This field shall be the reported energy.
|
|
427
|
+
*
|
|
428
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
429
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
430
|
+
*
|
|
431
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
432
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
433
|
+
* the StartSystime and EndSystime fields, or both.
|
|
434
|
+
*
|
|
435
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
436
|
+
*/
|
|
437
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
438
|
+
/**
|
|
439
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
440
|
+
* Energy field was measured.
|
|
441
|
+
*
|
|
442
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
443
|
+
*
|
|
444
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
445
|
+
* period, this field shall be indicated.
|
|
446
|
+
*
|
|
447
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
448
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
449
|
+
* omitted.
|
|
450
|
+
*
|
|
451
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
452
|
+
*/
|
|
453
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
454
|
+
/**
|
|
455
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
456
|
+
* field was measured.
|
|
457
|
+
*
|
|
458
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
459
|
+
* indicated.
|
|
460
|
+
*
|
|
461
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
462
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
463
|
+
*
|
|
464
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
465
|
+
*/
|
|
466
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
467
|
+
/**
|
|
468
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
469
|
+
* the Energy field was measured.
|
|
470
|
+
*
|
|
471
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
472
|
+
*
|
|
473
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
474
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
475
|
+
*
|
|
476
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
477
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
478
|
+
* time indicated in StartTimestamp.
|
|
479
|
+
*
|
|
480
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
481
|
+
*/
|
|
482
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
483
|
+
/**
|
|
484
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
485
|
+
* Energy field was measured.
|
|
486
|
+
*
|
|
487
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
488
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
489
|
+
*
|
|
490
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
491
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
492
|
+
* EndTimestamp.
|
|
493
|
+
*
|
|
494
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
495
|
+
*/
|
|
496
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
497
|
+
}>>;
|
|
498
|
+
/**
|
|
499
|
+
* This field shall be the value of PeriodicEnergyExported attribute at the timestamp indicated in its
|
|
500
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
501
|
+
*
|
|
502
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.2
|
|
503
|
+
*/
|
|
504
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
505
|
+
/**
|
|
506
|
+
* This field shall be the reported energy.
|
|
507
|
+
*
|
|
508
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
509
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
510
|
+
*
|
|
511
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
512
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
513
|
+
* the StartSystime and EndSystime fields, or both.
|
|
514
|
+
*
|
|
515
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
516
|
+
*/
|
|
517
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
518
|
+
/**
|
|
519
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
520
|
+
* Energy field was measured.
|
|
521
|
+
*
|
|
522
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
523
|
+
*
|
|
524
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
525
|
+
* period, this field shall be indicated.
|
|
526
|
+
*
|
|
527
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
528
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
529
|
+
* omitted.
|
|
530
|
+
*
|
|
531
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
532
|
+
*/
|
|
533
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
534
|
+
/**
|
|
535
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
536
|
+
* field was measured.
|
|
537
|
+
*
|
|
538
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
539
|
+
* indicated.
|
|
540
|
+
*
|
|
541
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
542
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
543
|
+
*
|
|
544
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
545
|
+
*/
|
|
546
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
547
|
+
/**
|
|
548
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
549
|
+
* the Energy field was measured.
|
|
550
|
+
*
|
|
551
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
552
|
+
*
|
|
553
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
554
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
555
|
+
*
|
|
556
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
557
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
558
|
+
* time indicated in StartTimestamp.
|
|
559
|
+
*
|
|
560
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
561
|
+
*/
|
|
562
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
563
|
+
/**
|
|
564
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
565
|
+
* Energy field was measured.
|
|
566
|
+
*
|
|
567
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
568
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
569
|
+
*
|
|
570
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
571
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
572
|
+
* EndTimestamp.
|
|
573
|
+
*
|
|
574
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
575
|
+
*/
|
|
576
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
577
|
+
}>>;
|
|
578
|
+
}>;
|
|
579
|
+
/**
|
|
580
|
+
* Body of the ElectricalEnergyMeasurement periodicEnergyMeasured event
|
|
581
|
+
*
|
|
582
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2
|
|
583
|
+
*/
|
|
584
|
+
interface PeriodicEnergyMeasuredEvent extends TypeFromSchema<typeof TlvPeriodicEnergyMeasuredEvent> {
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* A ElectricalEnergyMeasurementCluster supports these elements if it supports features ImportedEnergy and
|
|
588
|
+
* CumulativeEnergy.
|
|
589
|
+
*/
|
|
590
|
+
const ImportedEnergyAndCumulativeEnergyComponent: {
|
|
591
|
+
readonly attributes: {
|
|
592
|
+
/**
|
|
593
|
+
* Indicates the most recent measurement of cumulative energy imported by the server over the lifetime of
|
|
594
|
+
* the device, and the timestamp of when the measurement was recorded.
|
|
595
|
+
*
|
|
596
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
597
|
+
* publication of deltas considered not meaningful.
|
|
598
|
+
*
|
|
599
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
600
|
+
* recently than 1 second ago.
|
|
601
|
+
*
|
|
602
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
603
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
604
|
+
*
|
|
605
|
+
* If the cumulative energy imported cannot currently be determined, a value of null shall be returned.
|
|
606
|
+
*
|
|
607
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.2
|
|
608
|
+
*/
|
|
609
|
+
readonly cumulativeEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
610
|
+
/**
|
|
611
|
+
* This field shall be the reported energy.
|
|
612
|
+
*
|
|
613
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
614
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
615
|
+
*
|
|
616
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
617
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
618
|
+
* the StartSystime and EndSystime fields, or both.
|
|
619
|
+
*
|
|
620
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
621
|
+
*/
|
|
622
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
623
|
+
/**
|
|
624
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
625
|
+
* Energy field was measured.
|
|
626
|
+
*
|
|
627
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
628
|
+
*
|
|
629
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
630
|
+
* period, this field shall be indicated.
|
|
631
|
+
*
|
|
632
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
633
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
634
|
+
* omitted.
|
|
635
|
+
*
|
|
636
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
637
|
+
*/
|
|
638
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
639
|
+
/**
|
|
640
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
641
|
+
* field was measured.
|
|
642
|
+
*
|
|
643
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
644
|
+
* indicated.
|
|
645
|
+
*
|
|
646
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
647
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
648
|
+
*
|
|
649
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
650
|
+
*/
|
|
651
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
652
|
+
/**
|
|
653
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
654
|
+
* the Energy field was measured.
|
|
655
|
+
*
|
|
656
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
657
|
+
*
|
|
658
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
659
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
660
|
+
*
|
|
661
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
662
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
663
|
+
* time indicated in StartTimestamp.
|
|
664
|
+
*
|
|
665
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
666
|
+
*/
|
|
667
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
668
|
+
/**
|
|
669
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
670
|
+
* Energy field was measured.
|
|
671
|
+
*
|
|
672
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
673
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
674
|
+
*
|
|
675
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
676
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
677
|
+
* EndTimestamp.
|
|
678
|
+
*
|
|
679
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
680
|
+
*/
|
|
681
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
682
|
+
}> | null, any>;
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* A ElectricalEnergyMeasurementCluster supports these elements if it supports features ExportedEnergy and
|
|
687
|
+
* CumulativeEnergy.
|
|
688
|
+
*/
|
|
689
|
+
const ExportedEnergyAndCumulativeEnergyComponent: {
|
|
690
|
+
readonly attributes: {
|
|
691
|
+
/**
|
|
692
|
+
* Indicates the most recent measurement of cumulative energy exported by the server over the lifetime of
|
|
693
|
+
* the device, and the timestamp of when the measurement was recorded.
|
|
694
|
+
*
|
|
695
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
696
|
+
* publication of deltas considered not meaningful.
|
|
697
|
+
*
|
|
698
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
699
|
+
* recently than 1 second ago.
|
|
700
|
+
*
|
|
701
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
702
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
703
|
+
*
|
|
704
|
+
* If the cumulative energy exported cannot currently be determined, a value of null shall be returned.
|
|
705
|
+
*
|
|
706
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.3
|
|
707
|
+
*/
|
|
708
|
+
readonly cumulativeEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
709
|
+
/**
|
|
710
|
+
* This field shall be the reported energy.
|
|
711
|
+
*
|
|
712
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
713
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
714
|
+
*
|
|
715
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
716
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
717
|
+
* the StartSystime and EndSystime fields, or both.
|
|
718
|
+
*
|
|
719
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
720
|
+
*/
|
|
721
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
722
|
+
/**
|
|
723
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
724
|
+
* Energy field was measured.
|
|
725
|
+
*
|
|
726
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
727
|
+
*
|
|
728
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
729
|
+
* period, this field shall be indicated.
|
|
730
|
+
*
|
|
731
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
732
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
733
|
+
* omitted.
|
|
734
|
+
*
|
|
735
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
736
|
+
*/
|
|
737
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
738
|
+
/**
|
|
739
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
740
|
+
* field was measured.
|
|
741
|
+
*
|
|
742
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
743
|
+
* indicated.
|
|
744
|
+
*
|
|
745
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
746
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
747
|
+
*
|
|
748
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
749
|
+
*/
|
|
750
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
751
|
+
/**
|
|
752
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
753
|
+
* the Energy field was measured.
|
|
754
|
+
*
|
|
755
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
756
|
+
*
|
|
757
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
758
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
759
|
+
*
|
|
760
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
761
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
762
|
+
* time indicated in StartTimestamp.
|
|
763
|
+
*
|
|
764
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
765
|
+
*/
|
|
766
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
767
|
+
/**
|
|
768
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
769
|
+
* Energy field was measured.
|
|
770
|
+
*
|
|
771
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
772
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
773
|
+
*
|
|
774
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
775
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
776
|
+
* EndTimestamp.
|
|
777
|
+
*
|
|
778
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
779
|
+
*/
|
|
780
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
781
|
+
}> | null, any>;
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* A ElectricalEnergyMeasurementCluster supports these elements if it supports features ImportedEnergy and
|
|
786
|
+
* PeriodicEnergy.
|
|
787
|
+
*/
|
|
788
|
+
const ImportedEnergyAndPeriodicEnergyComponent: {
|
|
789
|
+
readonly attributes: {
|
|
790
|
+
/**
|
|
791
|
+
* Indicates the most recent measurement of energy imported by the server and the period during which it
|
|
792
|
+
* was measured.
|
|
793
|
+
*
|
|
794
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
795
|
+
* publication of deltas considered not meaningful.
|
|
796
|
+
*
|
|
797
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
798
|
+
* recently than 1 second ago.
|
|
799
|
+
*
|
|
800
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
801
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
802
|
+
*
|
|
803
|
+
* If the periodic energy imported cannot currently be determined, a value of null shall be returned.
|
|
804
|
+
*
|
|
805
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.4
|
|
806
|
+
*/
|
|
807
|
+
readonly periodicEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
808
|
+
/**
|
|
809
|
+
* This field shall be the reported energy.
|
|
810
|
+
*
|
|
811
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
812
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
813
|
+
*
|
|
814
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
815
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
816
|
+
* the StartSystime and EndSystime fields, or both.
|
|
817
|
+
*
|
|
818
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
819
|
+
*/
|
|
820
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
821
|
+
/**
|
|
822
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
823
|
+
* Energy field was measured.
|
|
824
|
+
*
|
|
825
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
826
|
+
*
|
|
827
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
828
|
+
* period, this field shall be indicated.
|
|
829
|
+
*
|
|
830
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
831
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
832
|
+
* omitted.
|
|
833
|
+
*
|
|
834
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
835
|
+
*/
|
|
836
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
837
|
+
/**
|
|
838
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
839
|
+
* field was measured.
|
|
840
|
+
*
|
|
841
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
842
|
+
* indicated.
|
|
843
|
+
*
|
|
844
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
845
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
846
|
+
*
|
|
847
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
848
|
+
*/
|
|
849
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
850
|
+
/**
|
|
851
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
852
|
+
* the Energy field was measured.
|
|
853
|
+
*
|
|
854
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
855
|
+
*
|
|
856
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
857
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
858
|
+
*
|
|
859
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
860
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
861
|
+
* time indicated in StartTimestamp.
|
|
862
|
+
*
|
|
863
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
864
|
+
*/
|
|
865
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
866
|
+
/**
|
|
867
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
868
|
+
* Energy field was measured.
|
|
869
|
+
*
|
|
870
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
871
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
872
|
+
*
|
|
873
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
874
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
875
|
+
* EndTimestamp.
|
|
876
|
+
*
|
|
877
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
878
|
+
*/
|
|
879
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
880
|
+
}> | null, any>;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
/**
|
|
884
|
+
* A ElectricalEnergyMeasurementCluster supports these elements if it supports features ExportedEnergy and
|
|
885
|
+
* PeriodicEnergy.
|
|
886
|
+
*/
|
|
887
|
+
const ExportedEnergyAndPeriodicEnergyComponent: {
|
|
888
|
+
readonly attributes: {
|
|
889
|
+
/**
|
|
890
|
+
* Indicates the most recent measurement of energy exported by the server and the period during which it
|
|
891
|
+
* was measured.
|
|
892
|
+
*
|
|
893
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
894
|
+
* publication of deltas considered not meaningful.
|
|
895
|
+
*
|
|
896
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
897
|
+
* recently than 1 second ago.
|
|
898
|
+
*
|
|
899
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
900
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
901
|
+
*
|
|
902
|
+
* If the periodic energy exported cannot currently be determined, a value of null shall be returned.
|
|
903
|
+
*
|
|
904
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.5
|
|
905
|
+
*/
|
|
906
|
+
readonly periodicEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
907
|
+
/**
|
|
908
|
+
* This field shall be the reported energy.
|
|
909
|
+
*
|
|
910
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
911
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
912
|
+
*
|
|
913
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
914
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
915
|
+
* the StartSystime and EndSystime fields, or both.
|
|
916
|
+
*
|
|
917
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
918
|
+
*/
|
|
919
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
920
|
+
/**
|
|
921
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
922
|
+
* Energy field was measured.
|
|
923
|
+
*
|
|
924
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
925
|
+
*
|
|
926
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
927
|
+
* period, this field shall be indicated.
|
|
928
|
+
*
|
|
929
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
930
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
931
|
+
* omitted.
|
|
932
|
+
*
|
|
933
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
934
|
+
*/
|
|
935
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
936
|
+
/**
|
|
937
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
938
|
+
* field was measured.
|
|
939
|
+
*
|
|
940
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
941
|
+
* indicated.
|
|
942
|
+
*
|
|
943
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
944
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
945
|
+
*
|
|
946
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
947
|
+
*/
|
|
948
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
949
|
+
/**
|
|
950
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
951
|
+
* the Energy field was measured.
|
|
952
|
+
*
|
|
953
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
954
|
+
*
|
|
955
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
956
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
957
|
+
*
|
|
958
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
959
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
960
|
+
* time indicated in StartTimestamp.
|
|
961
|
+
*
|
|
962
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
963
|
+
*/
|
|
964
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
965
|
+
/**
|
|
966
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
967
|
+
* Energy field was measured.
|
|
968
|
+
*
|
|
969
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
970
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
971
|
+
*
|
|
972
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
973
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
974
|
+
* EndTimestamp.
|
|
975
|
+
*
|
|
976
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
977
|
+
*/
|
|
978
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
979
|
+
}> | null, any>;
|
|
980
|
+
};
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* A ElectricalEnergyMeasurementCluster supports these elements if it supports feature CumulativeEnergy.
|
|
984
|
+
*/
|
|
985
|
+
const CumulativeEnergyComponent: {
|
|
986
|
+
readonly attributes: {
|
|
987
|
+
/**
|
|
988
|
+
* Indicates when cumulative measurements were most recently zero.
|
|
989
|
+
*
|
|
990
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.6
|
|
991
|
+
*/
|
|
992
|
+
readonly cumulativeEnergyReset: OptionalAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
993
|
+
/**
|
|
994
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
995
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
996
|
+
*
|
|
997
|
+
* If the server had determined the time in UTC when the value of the Energy field on the
|
|
998
|
+
* CumulativeEnergyImported attribute was most recently zero, this field shall be indicated.
|
|
999
|
+
*
|
|
1000
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1001
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
1002
|
+
* the time in UTC, this field shall be omitted.
|
|
1003
|
+
*
|
|
1004
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was
|
|
1005
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
1006
|
+
*
|
|
1007
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.1
|
|
1008
|
+
*/
|
|
1009
|
+
importedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
1010
|
+
/**
|
|
1011
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
1012
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
1013
|
+
*
|
|
1014
|
+
* If the server had determined the time in UTC when the value of the Energy field on the Cumula
|
|
1015
|
+
*
|
|
1016
|
+
* tiveEnergyExported attribute was most recently zero, this field shall be indicated.
|
|
1017
|
+
*
|
|
1018
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1019
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
1020
|
+
* the time in UTC, this field shall be omitted.
|
|
1021
|
+
*
|
|
1022
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was
|
|
1023
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
1024
|
+
*
|
|
1025
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.2
|
|
1026
|
+
*/
|
|
1027
|
+
exportedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
1028
|
+
/**
|
|
1029
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
1030
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
1031
|
+
*
|
|
1032
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1033
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
1034
|
+
* the time in UTC, this field shall be indicated.
|
|
1035
|
+
*
|
|
1036
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
1037
|
+
* CumulativeEnergyImported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
1038
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
1039
|
+
*
|
|
1040
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.3
|
|
1041
|
+
*/
|
|
1042
|
+
importedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
1043
|
+
/**
|
|
1044
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
1045
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
1046
|
+
*
|
|
1047
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1048
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
1049
|
+
* the time in UTC, this field shall be indicated.
|
|
1050
|
+
*
|
|
1051
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
1052
|
+
* CumulativeEnergyExported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
1053
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
1054
|
+
*
|
|
1055
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.4
|
|
1056
|
+
*/
|
|
1057
|
+
exportedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
1058
|
+
}> | null, any>;
|
|
1059
|
+
};
|
|
1060
|
+
readonly events: {
|
|
1061
|
+
/**
|
|
1062
|
+
* This event shall be generated when the server takes a snapshot of the cumulative energy imported by the
|
|
1063
|
+
* server, exported from the server, or both, but not more frequently than the rate mentioned in the
|
|
1064
|
+
* description above of the related attribute.
|
|
1065
|
+
*
|
|
1066
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1
|
|
1067
|
+
*/
|
|
1068
|
+
readonly cumulativeEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1069
|
+
/**
|
|
1070
|
+
* This field shall be the value of CumulativeEnergyImported attribute at the timestamp indicated in its
|
|
1071
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
1072
|
+
*
|
|
1073
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.1
|
|
1074
|
+
*/
|
|
1075
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1076
|
+
/**
|
|
1077
|
+
* This field shall be the reported energy.
|
|
1078
|
+
*
|
|
1079
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1080
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1081
|
+
*
|
|
1082
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1083
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1084
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1085
|
+
*
|
|
1086
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1087
|
+
*/
|
|
1088
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1089
|
+
/**
|
|
1090
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1091
|
+
* Energy field was measured.
|
|
1092
|
+
*
|
|
1093
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1094
|
+
*
|
|
1095
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1096
|
+
* period, this field shall be indicated.
|
|
1097
|
+
*
|
|
1098
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1099
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1100
|
+
* omitted.
|
|
1101
|
+
*
|
|
1102
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1103
|
+
*/
|
|
1104
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1105
|
+
/**
|
|
1106
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1107
|
+
* field was measured.
|
|
1108
|
+
*
|
|
1109
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1110
|
+
* indicated.
|
|
1111
|
+
*
|
|
1112
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1113
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1114
|
+
*
|
|
1115
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1116
|
+
*/
|
|
1117
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1118
|
+
/**
|
|
1119
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1120
|
+
* the Energy field was measured.
|
|
1121
|
+
*
|
|
1122
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1123
|
+
*
|
|
1124
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1125
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1126
|
+
*
|
|
1127
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1128
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1129
|
+
* time indicated in StartTimestamp.
|
|
1130
|
+
*
|
|
1131
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1132
|
+
*/
|
|
1133
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1134
|
+
/**
|
|
1135
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1136
|
+
* Energy field was measured.
|
|
1137
|
+
*
|
|
1138
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1139
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1140
|
+
*
|
|
1141
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1142
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1143
|
+
* EndTimestamp.
|
|
1144
|
+
*
|
|
1145
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1146
|
+
*/
|
|
1147
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1148
|
+
}>>;
|
|
1149
|
+
/**
|
|
1150
|
+
* This field shall be the value of CumulativeEnergyExported attribute at the timestamp indicated in its
|
|
1151
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
1152
|
+
*
|
|
1153
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.2
|
|
1154
|
+
*/
|
|
1155
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1156
|
+
/**
|
|
1157
|
+
* This field shall be the reported energy.
|
|
1158
|
+
*
|
|
1159
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1160
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1161
|
+
*
|
|
1162
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1163
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1164
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1165
|
+
*
|
|
1166
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1167
|
+
*/
|
|
1168
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1169
|
+
/**
|
|
1170
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1171
|
+
* Energy field was measured.
|
|
1172
|
+
*
|
|
1173
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1174
|
+
*
|
|
1175
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1176
|
+
* period, this field shall be indicated.
|
|
1177
|
+
*
|
|
1178
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1179
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1180
|
+
* omitted.
|
|
1181
|
+
*
|
|
1182
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1183
|
+
*/
|
|
1184
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1185
|
+
/**
|
|
1186
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1187
|
+
* field was measured.
|
|
1188
|
+
*
|
|
1189
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1190
|
+
* indicated.
|
|
1191
|
+
*
|
|
1192
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1193
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1194
|
+
*
|
|
1195
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1196
|
+
*/
|
|
1197
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1198
|
+
/**
|
|
1199
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1200
|
+
* the Energy field was measured.
|
|
1201
|
+
*
|
|
1202
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1203
|
+
*
|
|
1204
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1205
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1206
|
+
*
|
|
1207
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1208
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1209
|
+
* time indicated in StartTimestamp.
|
|
1210
|
+
*
|
|
1211
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1212
|
+
*/
|
|
1213
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1214
|
+
/**
|
|
1215
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1216
|
+
* Energy field was measured.
|
|
1217
|
+
*
|
|
1218
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1219
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1220
|
+
*
|
|
1221
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1222
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1223
|
+
* EndTimestamp.
|
|
1224
|
+
*
|
|
1225
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1226
|
+
*/
|
|
1227
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1228
|
+
}>>;
|
|
1229
|
+
}>, any>;
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
/**
|
|
1233
|
+
* A ElectricalEnergyMeasurementCluster supports these elements if it supports feature PeriodicEnergy.
|
|
1234
|
+
*/
|
|
1235
|
+
const PeriodicEnergyComponent: {
|
|
1236
|
+
readonly events: {
|
|
1237
|
+
/**
|
|
1238
|
+
* This event shall be generated when the server reaches the end of a reporting period for imported energy,
|
|
1239
|
+
* exported energy, or both.
|
|
1240
|
+
*
|
|
1241
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2
|
|
1242
|
+
*/
|
|
1243
|
+
readonly periodicEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1244
|
+
/**
|
|
1245
|
+
* This field shall be the value of PeriodicEnergyImported attribute at the timestamp indicated in its
|
|
1246
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
1247
|
+
*
|
|
1248
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.1
|
|
1249
|
+
*/
|
|
1250
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1251
|
+
/**
|
|
1252
|
+
* This field shall be the reported energy.
|
|
1253
|
+
*
|
|
1254
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1255
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1256
|
+
*
|
|
1257
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1258
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1259
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1260
|
+
*
|
|
1261
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1262
|
+
*/
|
|
1263
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1264
|
+
/**
|
|
1265
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1266
|
+
* Energy field was measured.
|
|
1267
|
+
*
|
|
1268
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1269
|
+
*
|
|
1270
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1271
|
+
* period, this field shall be indicated.
|
|
1272
|
+
*
|
|
1273
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1274
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1275
|
+
* omitted.
|
|
1276
|
+
*
|
|
1277
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1278
|
+
*/
|
|
1279
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1280
|
+
/**
|
|
1281
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1282
|
+
* field was measured.
|
|
1283
|
+
*
|
|
1284
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1285
|
+
* indicated.
|
|
1286
|
+
*
|
|
1287
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1288
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1289
|
+
*
|
|
1290
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1291
|
+
*/
|
|
1292
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1293
|
+
/**
|
|
1294
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1295
|
+
* the Energy field was measured.
|
|
1296
|
+
*
|
|
1297
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1298
|
+
*
|
|
1299
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1300
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1301
|
+
*
|
|
1302
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1303
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1304
|
+
* time indicated in StartTimestamp.
|
|
1305
|
+
*
|
|
1306
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1307
|
+
*/
|
|
1308
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1309
|
+
/**
|
|
1310
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1311
|
+
* Energy field was measured.
|
|
1312
|
+
*
|
|
1313
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1314
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1315
|
+
*
|
|
1316
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1317
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1318
|
+
* EndTimestamp.
|
|
1319
|
+
*
|
|
1320
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1321
|
+
*/
|
|
1322
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1323
|
+
}>>;
|
|
1324
|
+
/**
|
|
1325
|
+
* This field shall be the value of PeriodicEnergyExported attribute at the timestamp indicated in its
|
|
1326
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
1327
|
+
*
|
|
1328
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.2
|
|
1329
|
+
*/
|
|
1330
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1331
|
+
/**
|
|
1332
|
+
* This field shall be the reported energy.
|
|
1333
|
+
*
|
|
1334
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1335
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1336
|
+
*
|
|
1337
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1338
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1339
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1340
|
+
*
|
|
1341
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1342
|
+
*/
|
|
1343
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1344
|
+
/**
|
|
1345
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1346
|
+
* Energy field was measured.
|
|
1347
|
+
*
|
|
1348
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1349
|
+
*
|
|
1350
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1351
|
+
* period, this field shall be indicated.
|
|
1352
|
+
*
|
|
1353
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1354
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1355
|
+
* omitted.
|
|
1356
|
+
*
|
|
1357
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1358
|
+
*/
|
|
1359
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1360
|
+
/**
|
|
1361
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1362
|
+
* field was measured.
|
|
1363
|
+
*
|
|
1364
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1365
|
+
* indicated.
|
|
1366
|
+
*
|
|
1367
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1368
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1369
|
+
*
|
|
1370
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1371
|
+
*/
|
|
1372
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1373
|
+
/**
|
|
1374
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1375
|
+
* the Energy field was measured.
|
|
1376
|
+
*
|
|
1377
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1378
|
+
*
|
|
1379
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1380
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1381
|
+
*
|
|
1382
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1383
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1384
|
+
* time indicated in StartTimestamp.
|
|
1385
|
+
*
|
|
1386
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1387
|
+
*/
|
|
1388
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1389
|
+
/**
|
|
1390
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1391
|
+
* Energy field was measured.
|
|
1392
|
+
*
|
|
1393
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1394
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1395
|
+
*
|
|
1396
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1397
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1398
|
+
* EndTimestamp.
|
|
1399
|
+
*
|
|
1400
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1401
|
+
*/
|
|
1402
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1403
|
+
}>>;
|
|
1404
|
+
}>, any>;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
/**
|
|
1408
|
+
* These elements and properties are present in all ElectricalEnergyMeasurement clusters.
|
|
1409
|
+
*/
|
|
1410
|
+
const Base: {
|
|
1411
|
+
readonly id: 145;
|
|
1412
|
+
readonly name: "ElectricalEnergyMeasurement";
|
|
1413
|
+
readonly revision: 1;
|
|
1414
|
+
readonly features: {
|
|
1415
|
+
/**
|
|
1416
|
+
* ImportedEnergy
|
|
1417
|
+
*
|
|
1418
|
+
* The feature indicates the server is capable of measuring how much energy is imported by the server.
|
|
1419
|
+
*
|
|
1420
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.1
|
|
1421
|
+
*/
|
|
1422
|
+
readonly importedEnergy: BitFlag;
|
|
1423
|
+
/**
|
|
1424
|
+
* ExportedEnergy
|
|
1425
|
+
*
|
|
1426
|
+
* The feature indicates the server is capable of measuring how much energy is exported by the server.
|
|
1427
|
+
*
|
|
1428
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.2
|
|
1429
|
+
*/
|
|
1430
|
+
readonly exportedEnergy: BitFlag;
|
|
1431
|
+
/**
|
|
1432
|
+
* CumulativeEnergy
|
|
1433
|
+
*
|
|
1434
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported
|
|
1435
|
+
* by the server over the device’s lifetime. This measurement may start from when a device’s firmware is
|
|
1436
|
+
* updated to include this feature, when a device’s firmware is updated to correct measurement errors, or
|
|
1437
|
+
* when a device is factory reset.
|
|
1438
|
+
*
|
|
1439
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.3
|
|
1440
|
+
*/
|
|
1441
|
+
readonly cumulativeEnergy: BitFlag;
|
|
1442
|
+
/**
|
|
1443
|
+
* PeriodicEnergy
|
|
1444
|
+
*
|
|
1445
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported
|
|
1446
|
+
* by the server during a certain period of time. The start and end times for measurement periods shall be
|
|
1447
|
+
* determined by the server, and may represent overlapping periods.
|
|
1448
|
+
*
|
|
1449
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.4
|
|
1450
|
+
*/
|
|
1451
|
+
readonly periodicEnergy: BitFlag;
|
|
1452
|
+
};
|
|
1453
|
+
readonly attributes: {
|
|
1454
|
+
/**
|
|
1455
|
+
* Indicates the accuracy of energy measurement by this server. The value of the MeasurementType field on
|
|
1456
|
+
* this MeasurementAccuracyStruct shall be ElectricalEnergy.
|
|
1457
|
+
*
|
|
1458
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.1
|
|
1459
|
+
*/
|
|
1460
|
+
readonly accuracy: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1461
|
+
measurementType: import("../tlv/TlvObject.js").FieldType<import("../index.js").MeasurementType>;
|
|
1462
|
+
measured: import("../tlv/TlvObject.js").FieldType<boolean>;
|
|
1463
|
+
minMeasuredValue: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1464
|
+
maxMeasuredValue: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1465
|
+
accuracyRanges: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1466
|
+
rangeMin: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1467
|
+
rangeMax: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1468
|
+
percentMax: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1469
|
+
percentMin: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1470
|
+
percentTypical: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1471
|
+
fixedMax: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1472
|
+
fixedMin: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1473
|
+
fixedTypical: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1474
|
+
}>[]>;
|
|
1475
|
+
}>, any>;
|
|
1476
|
+
};
|
|
1477
|
+
/**
|
|
1478
|
+
* This metadata controls which ElectricalEnergyMeasurementCluster elements matter.js activates for specific
|
|
1479
|
+
* feature combinations.
|
|
1480
|
+
*/
|
|
1481
|
+
readonly extensions: readonly [{
|
|
1482
|
+
readonly flags: {
|
|
1483
|
+
readonly importedEnergy: true;
|
|
1484
|
+
readonly cumulativeEnergy: true;
|
|
1485
|
+
};
|
|
1486
|
+
readonly component: {
|
|
1487
|
+
readonly attributes: {
|
|
1488
|
+
/**
|
|
1489
|
+
* Indicates the most recent measurement of cumulative energy imported by the server over the lifetime of
|
|
1490
|
+
* the device, and the timestamp of when the measurement was recorded.
|
|
1491
|
+
*
|
|
1492
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
1493
|
+
* publication of deltas considered not meaningful.
|
|
1494
|
+
*
|
|
1495
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
1496
|
+
* recently than 1 second ago.
|
|
1497
|
+
*
|
|
1498
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
1499
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
1500
|
+
*
|
|
1501
|
+
* If the cumulative energy imported cannot currently be determined, a value of null shall be returned.
|
|
1502
|
+
*
|
|
1503
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.2
|
|
1504
|
+
*/
|
|
1505
|
+
readonly cumulativeEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1506
|
+
/**
|
|
1507
|
+
* This field shall be the reported energy.
|
|
1508
|
+
*
|
|
1509
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1510
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1511
|
+
*
|
|
1512
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1513
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1514
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1515
|
+
*
|
|
1516
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1517
|
+
*/
|
|
1518
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1519
|
+
/**
|
|
1520
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1521
|
+
* Energy field was measured.
|
|
1522
|
+
*
|
|
1523
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1524
|
+
*
|
|
1525
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1526
|
+
* period, this field shall be indicated.
|
|
1527
|
+
*
|
|
1528
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1529
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1530
|
+
* omitted.
|
|
1531
|
+
*
|
|
1532
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1533
|
+
*/
|
|
1534
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1535
|
+
/**
|
|
1536
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1537
|
+
* field was measured.
|
|
1538
|
+
*
|
|
1539
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1540
|
+
* indicated.
|
|
1541
|
+
*
|
|
1542
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1543
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1544
|
+
*
|
|
1545
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1546
|
+
*/
|
|
1547
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1548
|
+
/**
|
|
1549
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1550
|
+
* the Energy field was measured.
|
|
1551
|
+
*
|
|
1552
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1553
|
+
*
|
|
1554
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1555
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1556
|
+
*
|
|
1557
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1558
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1559
|
+
* time indicated in StartTimestamp.
|
|
1560
|
+
*
|
|
1561
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1562
|
+
*/
|
|
1563
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1564
|
+
/**
|
|
1565
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1566
|
+
* Energy field was measured.
|
|
1567
|
+
*
|
|
1568
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1569
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1570
|
+
*
|
|
1571
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1572
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1573
|
+
* EndTimestamp.
|
|
1574
|
+
*
|
|
1575
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1576
|
+
*/
|
|
1577
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1578
|
+
}> | null, any>;
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly flags: {
|
|
1583
|
+
readonly exportedEnergy: true;
|
|
1584
|
+
readonly cumulativeEnergy: true;
|
|
1585
|
+
};
|
|
1586
|
+
readonly component: {
|
|
1587
|
+
readonly attributes: {
|
|
1588
|
+
/**
|
|
1589
|
+
* Indicates the most recent measurement of cumulative energy exported by the server over the lifetime of
|
|
1590
|
+
* the device, and the timestamp of when the measurement was recorded.
|
|
1591
|
+
*
|
|
1592
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
1593
|
+
* publication of deltas considered not meaningful.
|
|
1594
|
+
*
|
|
1595
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
1596
|
+
* recently than 1 second ago.
|
|
1597
|
+
*
|
|
1598
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
1599
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
1600
|
+
*
|
|
1601
|
+
* If the cumulative energy exported cannot currently be determined, a value of null shall be returned.
|
|
1602
|
+
*
|
|
1603
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.3
|
|
1604
|
+
*/
|
|
1605
|
+
readonly cumulativeEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1606
|
+
/**
|
|
1607
|
+
* This field shall be the reported energy.
|
|
1608
|
+
*
|
|
1609
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1610
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1611
|
+
*
|
|
1612
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1613
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1614
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1615
|
+
*
|
|
1616
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1617
|
+
*/
|
|
1618
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1619
|
+
/**
|
|
1620
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1621
|
+
* Energy field was measured.
|
|
1622
|
+
*
|
|
1623
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1624
|
+
*
|
|
1625
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1626
|
+
* period, this field shall be indicated.
|
|
1627
|
+
*
|
|
1628
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1629
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1630
|
+
* omitted.
|
|
1631
|
+
*
|
|
1632
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1633
|
+
*/
|
|
1634
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1635
|
+
/**
|
|
1636
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1637
|
+
* field was measured.
|
|
1638
|
+
*
|
|
1639
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1640
|
+
* indicated.
|
|
1641
|
+
*
|
|
1642
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1643
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1644
|
+
*
|
|
1645
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1646
|
+
*/
|
|
1647
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1648
|
+
/**
|
|
1649
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1650
|
+
* the Energy field was measured.
|
|
1651
|
+
*
|
|
1652
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1653
|
+
*
|
|
1654
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1655
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1656
|
+
*
|
|
1657
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1658
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1659
|
+
* time indicated in StartTimestamp.
|
|
1660
|
+
*
|
|
1661
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1662
|
+
*/
|
|
1663
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1664
|
+
/**
|
|
1665
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1666
|
+
* Energy field was measured.
|
|
1667
|
+
*
|
|
1668
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1669
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1670
|
+
*
|
|
1671
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1672
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1673
|
+
* EndTimestamp.
|
|
1674
|
+
*
|
|
1675
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1676
|
+
*/
|
|
1677
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1678
|
+
}> | null, any>;
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly flags: {
|
|
1683
|
+
readonly importedEnergy: true;
|
|
1684
|
+
readonly periodicEnergy: true;
|
|
1685
|
+
};
|
|
1686
|
+
readonly component: {
|
|
1687
|
+
readonly attributes: {
|
|
1688
|
+
/**
|
|
1689
|
+
* Indicates the most recent measurement of energy imported by the server and the period during which it
|
|
1690
|
+
* was measured.
|
|
1691
|
+
*
|
|
1692
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
1693
|
+
* publication of deltas considered not meaningful.
|
|
1694
|
+
*
|
|
1695
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
1696
|
+
* recently than 1 second ago.
|
|
1697
|
+
*
|
|
1698
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
1699
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
1700
|
+
*
|
|
1701
|
+
* If the periodic energy imported cannot currently be determined, a value of null shall be returned.
|
|
1702
|
+
*
|
|
1703
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.4
|
|
1704
|
+
*/
|
|
1705
|
+
readonly periodicEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1706
|
+
/**
|
|
1707
|
+
* This field shall be the reported energy.
|
|
1708
|
+
*
|
|
1709
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1710
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1711
|
+
*
|
|
1712
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1713
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1714
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1715
|
+
*
|
|
1716
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1717
|
+
*/
|
|
1718
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1719
|
+
/**
|
|
1720
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1721
|
+
* Energy field was measured.
|
|
1722
|
+
*
|
|
1723
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1724
|
+
*
|
|
1725
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1726
|
+
* period, this field shall be indicated.
|
|
1727
|
+
*
|
|
1728
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1729
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1730
|
+
* omitted.
|
|
1731
|
+
*
|
|
1732
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1733
|
+
*/
|
|
1734
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1735
|
+
/**
|
|
1736
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1737
|
+
* field was measured.
|
|
1738
|
+
*
|
|
1739
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1740
|
+
* indicated.
|
|
1741
|
+
*
|
|
1742
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1743
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1744
|
+
*
|
|
1745
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1746
|
+
*/
|
|
1747
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1748
|
+
/**
|
|
1749
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1750
|
+
* the Energy field was measured.
|
|
1751
|
+
*
|
|
1752
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1753
|
+
*
|
|
1754
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1755
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1756
|
+
*
|
|
1757
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1758
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1759
|
+
* time indicated in StartTimestamp.
|
|
1760
|
+
*
|
|
1761
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1762
|
+
*/
|
|
1763
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1764
|
+
/**
|
|
1765
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1766
|
+
* Energy field was measured.
|
|
1767
|
+
*
|
|
1768
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1769
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1770
|
+
*
|
|
1771
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1772
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1773
|
+
* EndTimestamp.
|
|
1774
|
+
*
|
|
1775
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1776
|
+
*/
|
|
1777
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1778
|
+
}> | null, any>;
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly flags: {
|
|
1783
|
+
readonly exportedEnergy: true;
|
|
1784
|
+
readonly periodicEnergy: true;
|
|
1785
|
+
};
|
|
1786
|
+
readonly component: {
|
|
1787
|
+
readonly attributes: {
|
|
1788
|
+
/**
|
|
1789
|
+
* Indicates the most recent measurement of energy exported by the server and the period during which it
|
|
1790
|
+
* was measured.
|
|
1791
|
+
*
|
|
1792
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
1793
|
+
* publication of deltas considered not meaningful.
|
|
1794
|
+
*
|
|
1795
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
1796
|
+
* recently than 1 second ago.
|
|
1797
|
+
*
|
|
1798
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
1799
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
1800
|
+
*
|
|
1801
|
+
* If the periodic energy exported cannot currently be determined, a value of null shall be returned.
|
|
1802
|
+
*
|
|
1803
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.5
|
|
1804
|
+
*/
|
|
1805
|
+
readonly periodicEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1806
|
+
/**
|
|
1807
|
+
* This field shall be the reported energy.
|
|
1808
|
+
*
|
|
1809
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1810
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1811
|
+
*
|
|
1812
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1813
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1814
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1815
|
+
*
|
|
1816
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1817
|
+
*/
|
|
1818
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1819
|
+
/**
|
|
1820
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1821
|
+
* Energy field was measured.
|
|
1822
|
+
*
|
|
1823
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1824
|
+
*
|
|
1825
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1826
|
+
* period, this field shall be indicated.
|
|
1827
|
+
*
|
|
1828
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1829
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
1830
|
+
* omitted.
|
|
1831
|
+
*
|
|
1832
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
1833
|
+
*/
|
|
1834
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1835
|
+
/**
|
|
1836
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
1837
|
+
* field was measured.
|
|
1838
|
+
*
|
|
1839
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
1840
|
+
* indicated.
|
|
1841
|
+
*
|
|
1842
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
1843
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
1844
|
+
*
|
|
1845
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
1846
|
+
*/
|
|
1847
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
1848
|
+
/**
|
|
1849
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
1850
|
+
* the Energy field was measured.
|
|
1851
|
+
*
|
|
1852
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1853
|
+
*
|
|
1854
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
1855
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
1856
|
+
*
|
|
1857
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1858
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
1859
|
+
* time indicated in StartTimestamp.
|
|
1860
|
+
*
|
|
1861
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
1862
|
+
*/
|
|
1863
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1864
|
+
/**
|
|
1865
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
1866
|
+
* Energy field was measured.
|
|
1867
|
+
*
|
|
1868
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
1869
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
1870
|
+
*
|
|
1871
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
1872
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
1873
|
+
* EndTimestamp.
|
|
1874
|
+
*
|
|
1875
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
1876
|
+
*/
|
|
1877
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
1878
|
+
}> | null, any>;
|
|
1879
|
+
};
|
|
1880
|
+
};
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly flags: {
|
|
1883
|
+
readonly cumulativeEnergy: true;
|
|
1884
|
+
};
|
|
1885
|
+
readonly component: {
|
|
1886
|
+
readonly attributes: {
|
|
1887
|
+
/**
|
|
1888
|
+
* Indicates when cumulative measurements were most recently zero.
|
|
1889
|
+
*
|
|
1890
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.6
|
|
1891
|
+
*/
|
|
1892
|
+
readonly cumulativeEnergyReset: OptionalAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1893
|
+
/**
|
|
1894
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
1895
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
1896
|
+
*
|
|
1897
|
+
* If the server had determined the time in UTC when the value of the Energy field on the
|
|
1898
|
+
* CumulativeEnergyImported attribute was most recently zero, this field shall be indicated.
|
|
1899
|
+
*
|
|
1900
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1901
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
1902
|
+
* the time in UTC, this field shall be omitted.
|
|
1903
|
+
*
|
|
1904
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was
|
|
1905
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
1906
|
+
*
|
|
1907
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.1
|
|
1908
|
+
*/
|
|
1909
|
+
importedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
1910
|
+
/**
|
|
1911
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
1912
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
1913
|
+
*
|
|
1914
|
+
* If the server had determined the time in UTC when the value of the Energy field on the Cumula
|
|
1915
|
+
*
|
|
1916
|
+
* tiveEnergyExported attribute was most recently zero, this field shall be indicated.
|
|
1917
|
+
*
|
|
1918
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1919
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
1920
|
+
* the time in UTC, this field shall be omitted.
|
|
1921
|
+
*
|
|
1922
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was
|
|
1923
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
1924
|
+
*
|
|
1925
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.2
|
|
1926
|
+
*/
|
|
1927
|
+
exportedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
1928
|
+
/**
|
|
1929
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
1930
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
1931
|
+
*
|
|
1932
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1933
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
1934
|
+
* the time in UTC, this field shall be indicated.
|
|
1935
|
+
*
|
|
1936
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
1937
|
+
* CumulativeEnergyImported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
1938
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
1939
|
+
*
|
|
1940
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.3
|
|
1941
|
+
*/
|
|
1942
|
+
importedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
1943
|
+
/**
|
|
1944
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
1945
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
1946
|
+
*
|
|
1947
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
1948
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
1949
|
+
* the time in UTC, this field shall be indicated.
|
|
1950
|
+
*
|
|
1951
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
1952
|
+
* CumulativeEnergyExported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
1953
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
1954
|
+
*
|
|
1955
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.4
|
|
1956
|
+
*/
|
|
1957
|
+
exportedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
1958
|
+
}> | null, any>;
|
|
1959
|
+
};
|
|
1960
|
+
readonly events: {
|
|
1961
|
+
/**
|
|
1962
|
+
* This event shall be generated when the server takes a snapshot of the cumulative energy imported by the
|
|
1963
|
+
* server, exported from the server, or both, but not more frequently than the rate mentioned in the
|
|
1964
|
+
* description above of the related attribute.
|
|
1965
|
+
*
|
|
1966
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1
|
|
1967
|
+
*/
|
|
1968
|
+
readonly cumulativeEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1969
|
+
/**
|
|
1970
|
+
* This field shall be the value of CumulativeEnergyImported attribute at the timestamp indicated in its
|
|
1971
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
1972
|
+
*
|
|
1973
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.1
|
|
1974
|
+
*/
|
|
1975
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1976
|
+
/**
|
|
1977
|
+
* This field shall be the reported energy.
|
|
1978
|
+
*
|
|
1979
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
1980
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
1981
|
+
*
|
|
1982
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
1983
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
1984
|
+
* the StartSystime and EndSystime fields, or both.
|
|
1985
|
+
*
|
|
1986
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
1987
|
+
*/
|
|
1988
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
1989
|
+
/**
|
|
1990
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
1991
|
+
* Energy field was measured.
|
|
1992
|
+
*
|
|
1993
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
1994
|
+
*
|
|
1995
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
1996
|
+
* period, this field shall be indicated.
|
|
1997
|
+
*
|
|
1998
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
1999
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2000
|
+
* omitted.
|
|
2001
|
+
*
|
|
2002
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2003
|
+
*/
|
|
2004
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2005
|
+
/**
|
|
2006
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2007
|
+
* field was measured.
|
|
2008
|
+
*
|
|
2009
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2010
|
+
* indicated.
|
|
2011
|
+
*
|
|
2012
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2013
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2014
|
+
*
|
|
2015
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2016
|
+
*/
|
|
2017
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2018
|
+
/**
|
|
2019
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2020
|
+
* the Energy field was measured.
|
|
2021
|
+
*
|
|
2022
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2023
|
+
*
|
|
2024
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2025
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2026
|
+
*
|
|
2027
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2028
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2029
|
+
* time indicated in StartTimestamp.
|
|
2030
|
+
*
|
|
2031
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2032
|
+
*/
|
|
2033
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2034
|
+
/**
|
|
2035
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2036
|
+
* Energy field was measured.
|
|
2037
|
+
*
|
|
2038
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2039
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2040
|
+
*
|
|
2041
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2042
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2043
|
+
* EndTimestamp.
|
|
2044
|
+
*
|
|
2045
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2046
|
+
*/
|
|
2047
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2048
|
+
}>>;
|
|
2049
|
+
/**
|
|
2050
|
+
* This field shall be the value of CumulativeEnergyExported attribute at the timestamp indicated in its
|
|
2051
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
2052
|
+
*
|
|
2053
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.2
|
|
2054
|
+
*/
|
|
2055
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2056
|
+
/**
|
|
2057
|
+
* This field shall be the reported energy.
|
|
2058
|
+
*
|
|
2059
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2060
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2061
|
+
*
|
|
2062
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2063
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2064
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2065
|
+
*
|
|
2066
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2067
|
+
*/
|
|
2068
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2069
|
+
/**
|
|
2070
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2071
|
+
* Energy field was measured.
|
|
2072
|
+
*
|
|
2073
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2074
|
+
*
|
|
2075
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2076
|
+
* period, this field shall be indicated.
|
|
2077
|
+
*
|
|
2078
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2079
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2080
|
+
* omitted.
|
|
2081
|
+
*
|
|
2082
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2083
|
+
*/
|
|
2084
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2085
|
+
/**
|
|
2086
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2087
|
+
* field was measured.
|
|
2088
|
+
*
|
|
2089
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2090
|
+
* indicated.
|
|
2091
|
+
*
|
|
2092
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2093
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2094
|
+
*
|
|
2095
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2096
|
+
*/
|
|
2097
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2098
|
+
/**
|
|
2099
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2100
|
+
* the Energy field was measured.
|
|
2101
|
+
*
|
|
2102
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2103
|
+
*
|
|
2104
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2105
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2106
|
+
*
|
|
2107
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2108
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2109
|
+
* time indicated in StartTimestamp.
|
|
2110
|
+
*
|
|
2111
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2112
|
+
*/
|
|
2113
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2114
|
+
/**
|
|
2115
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2116
|
+
* Energy field was measured.
|
|
2117
|
+
*
|
|
2118
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2119
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2120
|
+
*
|
|
2121
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2122
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2123
|
+
* EndTimestamp.
|
|
2124
|
+
*
|
|
2125
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2126
|
+
*/
|
|
2127
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2128
|
+
}>>;
|
|
2129
|
+
}>, any>;
|
|
2130
|
+
};
|
|
2131
|
+
};
|
|
2132
|
+
}, {
|
|
2133
|
+
readonly flags: {
|
|
2134
|
+
readonly periodicEnergy: true;
|
|
2135
|
+
};
|
|
2136
|
+
readonly component: {
|
|
2137
|
+
readonly events: {
|
|
2138
|
+
/**
|
|
2139
|
+
* This event shall be generated when the server reaches the end of a reporting period for imported energy,
|
|
2140
|
+
* exported energy, or both.
|
|
2141
|
+
*
|
|
2142
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2
|
|
2143
|
+
*/
|
|
2144
|
+
readonly periodicEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2145
|
+
/**
|
|
2146
|
+
* This field shall be the value of PeriodicEnergyImported attribute at the timestamp indicated in its
|
|
2147
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
2148
|
+
*
|
|
2149
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.1
|
|
2150
|
+
*/
|
|
2151
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2152
|
+
/**
|
|
2153
|
+
* This field shall be the reported energy.
|
|
2154
|
+
*
|
|
2155
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2156
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2157
|
+
*
|
|
2158
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2159
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2160
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2161
|
+
*
|
|
2162
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2163
|
+
*/
|
|
2164
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2165
|
+
/**
|
|
2166
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2167
|
+
* Energy field was measured.
|
|
2168
|
+
*
|
|
2169
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2170
|
+
*
|
|
2171
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2172
|
+
* period, this field shall be indicated.
|
|
2173
|
+
*
|
|
2174
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2175
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2176
|
+
* omitted.
|
|
2177
|
+
*
|
|
2178
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2179
|
+
*/
|
|
2180
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2181
|
+
/**
|
|
2182
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2183
|
+
* field was measured.
|
|
2184
|
+
*
|
|
2185
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2186
|
+
* indicated.
|
|
2187
|
+
*
|
|
2188
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2189
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2190
|
+
*
|
|
2191
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2192
|
+
*/
|
|
2193
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2194
|
+
/**
|
|
2195
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2196
|
+
* the Energy field was measured.
|
|
2197
|
+
*
|
|
2198
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2199
|
+
*
|
|
2200
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2201
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2202
|
+
*
|
|
2203
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2204
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2205
|
+
* time indicated in StartTimestamp.
|
|
2206
|
+
*
|
|
2207
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2208
|
+
*/
|
|
2209
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2210
|
+
/**
|
|
2211
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2212
|
+
* Energy field was measured.
|
|
2213
|
+
*
|
|
2214
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2215
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2216
|
+
*
|
|
2217
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2218
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2219
|
+
* EndTimestamp.
|
|
2220
|
+
*
|
|
2221
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2222
|
+
*/
|
|
2223
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2224
|
+
}>>;
|
|
2225
|
+
/**
|
|
2226
|
+
* This field shall be the value of PeriodicEnergyExported attribute at the timestamp indicated in its
|
|
2227
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
2228
|
+
*
|
|
2229
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.2
|
|
2230
|
+
*/
|
|
2231
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2232
|
+
/**
|
|
2233
|
+
* This field shall be the reported energy.
|
|
2234
|
+
*
|
|
2235
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2236
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2237
|
+
*
|
|
2238
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2239
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2240
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2241
|
+
*
|
|
2242
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2243
|
+
*/
|
|
2244
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2245
|
+
/**
|
|
2246
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2247
|
+
* Energy field was measured.
|
|
2248
|
+
*
|
|
2249
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2250
|
+
*
|
|
2251
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2252
|
+
* period, this field shall be indicated.
|
|
2253
|
+
*
|
|
2254
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2255
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2256
|
+
* omitted.
|
|
2257
|
+
*
|
|
2258
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2259
|
+
*/
|
|
2260
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2261
|
+
/**
|
|
2262
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2263
|
+
* field was measured.
|
|
2264
|
+
*
|
|
2265
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2266
|
+
* indicated.
|
|
2267
|
+
*
|
|
2268
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2269
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2270
|
+
*
|
|
2271
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2272
|
+
*/
|
|
2273
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2274
|
+
/**
|
|
2275
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2276
|
+
* the Energy field was measured.
|
|
2277
|
+
*
|
|
2278
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2279
|
+
*
|
|
2280
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2281
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2282
|
+
*
|
|
2283
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2284
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2285
|
+
* time indicated in StartTimestamp.
|
|
2286
|
+
*
|
|
2287
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2288
|
+
*/
|
|
2289
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2290
|
+
/**
|
|
2291
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2292
|
+
* Energy field was measured.
|
|
2293
|
+
*
|
|
2294
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2295
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2296
|
+
*
|
|
2297
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2298
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2299
|
+
* EndTimestamp.
|
|
2300
|
+
*
|
|
2301
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2302
|
+
*/
|
|
2303
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2304
|
+
}>>;
|
|
2305
|
+
}>, any>;
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
}, {
|
|
2309
|
+
readonly flags: {
|
|
2310
|
+
readonly importedEnergy: false;
|
|
2311
|
+
readonly exportedEnergy: false;
|
|
2312
|
+
};
|
|
2313
|
+
readonly component: false;
|
|
2314
|
+
}, {
|
|
2315
|
+
readonly flags: {
|
|
2316
|
+
readonly cumulativeEnergy: false;
|
|
2317
|
+
readonly periodicEnergy: false;
|
|
2318
|
+
};
|
|
2319
|
+
readonly component: false;
|
|
2320
|
+
}];
|
|
2321
|
+
};
|
|
2322
|
+
/**
|
|
2323
|
+
* @see {@link Cluster}
|
|
2324
|
+
*/
|
|
2325
|
+
const ClusterInstance: MutableCluster.ExtensibleOnly<{
|
|
2326
|
+
readonly id: 145;
|
|
2327
|
+
readonly name: "ElectricalEnergyMeasurement";
|
|
2328
|
+
readonly revision: 1;
|
|
2329
|
+
readonly features: {
|
|
2330
|
+
/**
|
|
2331
|
+
* ImportedEnergy
|
|
2332
|
+
*
|
|
2333
|
+
* The feature indicates the server is capable of measuring how much energy is imported by the server.
|
|
2334
|
+
*
|
|
2335
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.1
|
|
2336
|
+
*/
|
|
2337
|
+
readonly importedEnergy: BitFlag;
|
|
2338
|
+
/**
|
|
2339
|
+
* ExportedEnergy
|
|
2340
|
+
*
|
|
2341
|
+
* The feature indicates the server is capable of measuring how much energy is exported by the server.
|
|
2342
|
+
*
|
|
2343
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.2
|
|
2344
|
+
*/
|
|
2345
|
+
readonly exportedEnergy: BitFlag;
|
|
2346
|
+
/**
|
|
2347
|
+
* CumulativeEnergy
|
|
2348
|
+
*
|
|
2349
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported
|
|
2350
|
+
* by the server over the device’s lifetime. This measurement may start from when a device’s firmware is
|
|
2351
|
+
* updated to include this feature, when a device’s firmware is updated to correct measurement errors, or
|
|
2352
|
+
* when a device is factory reset.
|
|
2353
|
+
*
|
|
2354
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.3
|
|
2355
|
+
*/
|
|
2356
|
+
readonly cumulativeEnergy: BitFlag;
|
|
2357
|
+
/**
|
|
2358
|
+
* PeriodicEnergy
|
|
2359
|
+
*
|
|
2360
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported
|
|
2361
|
+
* by the server during a certain period of time. The start and end times for measurement periods shall be
|
|
2362
|
+
* determined by the server, and may represent overlapping periods.
|
|
2363
|
+
*
|
|
2364
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.4
|
|
2365
|
+
*/
|
|
2366
|
+
readonly periodicEnergy: BitFlag;
|
|
2367
|
+
};
|
|
2368
|
+
readonly attributes: {
|
|
2369
|
+
/**
|
|
2370
|
+
* Indicates the accuracy of energy measurement by this server. The value of the MeasurementType field on
|
|
2371
|
+
* this MeasurementAccuracyStruct shall be ElectricalEnergy.
|
|
2372
|
+
*
|
|
2373
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.1
|
|
2374
|
+
*/
|
|
2375
|
+
readonly accuracy: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2376
|
+
measurementType: import("../tlv/TlvObject.js").FieldType<import("../index.js").MeasurementType>;
|
|
2377
|
+
measured: import("../tlv/TlvObject.js").FieldType<boolean>;
|
|
2378
|
+
minMeasuredValue: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2379
|
+
maxMeasuredValue: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2380
|
+
accuracyRanges: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2381
|
+
rangeMin: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2382
|
+
rangeMax: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2383
|
+
percentMax: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2384
|
+
percentMin: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2385
|
+
percentTypical: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2386
|
+
fixedMax: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2387
|
+
fixedMin: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2388
|
+
fixedTypical: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2389
|
+
}>[]>;
|
|
2390
|
+
}>, any>;
|
|
2391
|
+
};
|
|
2392
|
+
/**
|
|
2393
|
+
* This metadata controls which ElectricalEnergyMeasurementCluster elements matter.js activates for specific
|
|
2394
|
+
* feature combinations.
|
|
2395
|
+
*/
|
|
2396
|
+
readonly extensions: readonly [{
|
|
2397
|
+
readonly flags: {
|
|
2398
|
+
readonly importedEnergy: true;
|
|
2399
|
+
readonly cumulativeEnergy: true;
|
|
2400
|
+
};
|
|
2401
|
+
readonly component: {
|
|
2402
|
+
readonly attributes: {
|
|
2403
|
+
/**
|
|
2404
|
+
* Indicates the most recent measurement of cumulative energy imported by the server over the lifetime of
|
|
2405
|
+
* the device, and the timestamp of when the measurement was recorded.
|
|
2406
|
+
*
|
|
2407
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
2408
|
+
* publication of deltas considered not meaningful.
|
|
2409
|
+
*
|
|
2410
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
2411
|
+
* recently than 1 second ago.
|
|
2412
|
+
*
|
|
2413
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
2414
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
2415
|
+
*
|
|
2416
|
+
* If the cumulative energy imported cannot currently be determined, a value of null shall be returned.
|
|
2417
|
+
*
|
|
2418
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.2
|
|
2419
|
+
*/
|
|
2420
|
+
readonly cumulativeEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2421
|
+
/**
|
|
2422
|
+
* This field shall be the reported energy.
|
|
2423
|
+
*
|
|
2424
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2425
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2426
|
+
*
|
|
2427
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2428
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2429
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2430
|
+
*
|
|
2431
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2432
|
+
*/
|
|
2433
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2434
|
+
/**
|
|
2435
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2436
|
+
* Energy field was measured.
|
|
2437
|
+
*
|
|
2438
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2439
|
+
*
|
|
2440
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2441
|
+
* period, this field shall be indicated.
|
|
2442
|
+
*
|
|
2443
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2444
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2445
|
+
* omitted.
|
|
2446
|
+
*
|
|
2447
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2448
|
+
*/
|
|
2449
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2450
|
+
/**
|
|
2451
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2452
|
+
* field was measured.
|
|
2453
|
+
*
|
|
2454
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2455
|
+
* indicated.
|
|
2456
|
+
*
|
|
2457
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2458
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2459
|
+
*
|
|
2460
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2461
|
+
*/
|
|
2462
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2463
|
+
/**
|
|
2464
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2465
|
+
* the Energy field was measured.
|
|
2466
|
+
*
|
|
2467
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2468
|
+
*
|
|
2469
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2470
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2471
|
+
*
|
|
2472
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2473
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2474
|
+
* time indicated in StartTimestamp.
|
|
2475
|
+
*
|
|
2476
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2477
|
+
*/
|
|
2478
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2479
|
+
/**
|
|
2480
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2481
|
+
* Energy field was measured.
|
|
2482
|
+
*
|
|
2483
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2484
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2485
|
+
*
|
|
2486
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2487
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2488
|
+
* EndTimestamp.
|
|
2489
|
+
*
|
|
2490
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2491
|
+
*/
|
|
2492
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2493
|
+
}> | null, any>;
|
|
2494
|
+
};
|
|
2495
|
+
};
|
|
2496
|
+
}, {
|
|
2497
|
+
readonly flags: {
|
|
2498
|
+
readonly exportedEnergy: true;
|
|
2499
|
+
readonly cumulativeEnergy: true;
|
|
2500
|
+
};
|
|
2501
|
+
readonly component: {
|
|
2502
|
+
readonly attributes: {
|
|
2503
|
+
/**
|
|
2504
|
+
* Indicates the most recent measurement of cumulative energy exported by the server over the lifetime of
|
|
2505
|
+
* the device, and the timestamp of when the measurement was recorded.
|
|
2506
|
+
*
|
|
2507
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
2508
|
+
* publication of deltas considered not meaningful.
|
|
2509
|
+
*
|
|
2510
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
2511
|
+
* recently than 1 second ago.
|
|
2512
|
+
*
|
|
2513
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
2514
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
2515
|
+
*
|
|
2516
|
+
* If the cumulative energy exported cannot currently be determined, a value of null shall be returned.
|
|
2517
|
+
*
|
|
2518
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.3
|
|
2519
|
+
*/
|
|
2520
|
+
readonly cumulativeEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2521
|
+
/**
|
|
2522
|
+
* This field shall be the reported energy.
|
|
2523
|
+
*
|
|
2524
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2525
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2526
|
+
*
|
|
2527
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2528
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2529
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2530
|
+
*
|
|
2531
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2532
|
+
*/
|
|
2533
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2534
|
+
/**
|
|
2535
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2536
|
+
* Energy field was measured.
|
|
2537
|
+
*
|
|
2538
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2539
|
+
*
|
|
2540
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2541
|
+
* period, this field shall be indicated.
|
|
2542
|
+
*
|
|
2543
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2544
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2545
|
+
* omitted.
|
|
2546
|
+
*
|
|
2547
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2548
|
+
*/
|
|
2549
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2550
|
+
/**
|
|
2551
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2552
|
+
* field was measured.
|
|
2553
|
+
*
|
|
2554
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2555
|
+
* indicated.
|
|
2556
|
+
*
|
|
2557
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2558
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2559
|
+
*
|
|
2560
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2561
|
+
*/
|
|
2562
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2563
|
+
/**
|
|
2564
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2565
|
+
* the Energy field was measured.
|
|
2566
|
+
*
|
|
2567
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2568
|
+
*
|
|
2569
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2570
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2571
|
+
*
|
|
2572
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2573
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2574
|
+
* time indicated in StartTimestamp.
|
|
2575
|
+
*
|
|
2576
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2577
|
+
*/
|
|
2578
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2579
|
+
/**
|
|
2580
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2581
|
+
* Energy field was measured.
|
|
2582
|
+
*
|
|
2583
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2584
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2585
|
+
*
|
|
2586
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2587
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2588
|
+
* EndTimestamp.
|
|
2589
|
+
*
|
|
2590
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2591
|
+
*/
|
|
2592
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2593
|
+
}> | null, any>;
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
}, {
|
|
2597
|
+
readonly flags: {
|
|
2598
|
+
readonly importedEnergy: true;
|
|
2599
|
+
readonly periodicEnergy: true;
|
|
2600
|
+
};
|
|
2601
|
+
readonly component: {
|
|
2602
|
+
readonly attributes: {
|
|
2603
|
+
/**
|
|
2604
|
+
* Indicates the most recent measurement of energy imported by the server and the period during which it
|
|
2605
|
+
* was measured.
|
|
2606
|
+
*
|
|
2607
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
2608
|
+
* publication of deltas considered not meaningful.
|
|
2609
|
+
*
|
|
2610
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
2611
|
+
* recently than 1 second ago.
|
|
2612
|
+
*
|
|
2613
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
2614
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
2615
|
+
*
|
|
2616
|
+
* If the periodic energy imported cannot currently be determined, a value of null shall be returned.
|
|
2617
|
+
*
|
|
2618
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.4
|
|
2619
|
+
*/
|
|
2620
|
+
readonly periodicEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2621
|
+
/**
|
|
2622
|
+
* This field shall be the reported energy.
|
|
2623
|
+
*
|
|
2624
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2625
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2626
|
+
*
|
|
2627
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2628
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2629
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2630
|
+
*
|
|
2631
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2632
|
+
*/
|
|
2633
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2634
|
+
/**
|
|
2635
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2636
|
+
* Energy field was measured.
|
|
2637
|
+
*
|
|
2638
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2639
|
+
*
|
|
2640
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2641
|
+
* period, this field shall be indicated.
|
|
2642
|
+
*
|
|
2643
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2644
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2645
|
+
* omitted.
|
|
2646
|
+
*
|
|
2647
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2648
|
+
*/
|
|
2649
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2650
|
+
/**
|
|
2651
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2652
|
+
* field was measured.
|
|
2653
|
+
*
|
|
2654
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2655
|
+
* indicated.
|
|
2656
|
+
*
|
|
2657
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2658
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2659
|
+
*
|
|
2660
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2661
|
+
*/
|
|
2662
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2663
|
+
/**
|
|
2664
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2665
|
+
* the Energy field was measured.
|
|
2666
|
+
*
|
|
2667
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2668
|
+
*
|
|
2669
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2670
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2671
|
+
*
|
|
2672
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2673
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2674
|
+
* time indicated in StartTimestamp.
|
|
2675
|
+
*
|
|
2676
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2677
|
+
*/
|
|
2678
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2679
|
+
/**
|
|
2680
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2681
|
+
* Energy field was measured.
|
|
2682
|
+
*
|
|
2683
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2684
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2685
|
+
*
|
|
2686
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2687
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2688
|
+
* EndTimestamp.
|
|
2689
|
+
*
|
|
2690
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2691
|
+
*/
|
|
2692
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2693
|
+
}> | null, any>;
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
}, {
|
|
2697
|
+
readonly flags: {
|
|
2698
|
+
readonly exportedEnergy: true;
|
|
2699
|
+
readonly periodicEnergy: true;
|
|
2700
|
+
};
|
|
2701
|
+
readonly component: {
|
|
2702
|
+
readonly attributes: {
|
|
2703
|
+
/**
|
|
2704
|
+
* Indicates the most recent measurement of energy exported by the server and the period during which it
|
|
2705
|
+
* was measured.
|
|
2706
|
+
*
|
|
2707
|
+
* The reporting interval of this attribute shall be manufacturer dependent. The server may choose to omit
|
|
2708
|
+
* publication of deltas considered not meaningful.
|
|
2709
|
+
*
|
|
2710
|
+
* The server shall NOT mark this attribute ready for report if the last time this was done was more
|
|
2711
|
+
* recently than 1 second ago.
|
|
2712
|
+
*
|
|
2713
|
+
* The server may delay marking this attribute ready for report for longer periods if needed, however the
|
|
2714
|
+
* server shall NOT delay marking this attribute as ready for report for longer than 60 seconds.
|
|
2715
|
+
*
|
|
2716
|
+
* If the periodic energy exported cannot currently be determined, a value of null shall be returned.
|
|
2717
|
+
*
|
|
2718
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.5
|
|
2719
|
+
*/
|
|
2720
|
+
readonly periodicEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2721
|
+
/**
|
|
2722
|
+
* This field shall be the reported energy.
|
|
2723
|
+
*
|
|
2724
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2725
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2726
|
+
*
|
|
2727
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2728
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2729
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2730
|
+
*
|
|
2731
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2732
|
+
*/
|
|
2733
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2734
|
+
/**
|
|
2735
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2736
|
+
* Energy field was measured.
|
|
2737
|
+
*
|
|
2738
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2739
|
+
*
|
|
2740
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2741
|
+
* period, this field shall be indicated.
|
|
2742
|
+
*
|
|
2743
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2744
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2745
|
+
* omitted.
|
|
2746
|
+
*
|
|
2747
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2748
|
+
*/
|
|
2749
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2750
|
+
/**
|
|
2751
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2752
|
+
* field was measured.
|
|
2753
|
+
*
|
|
2754
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2755
|
+
* indicated.
|
|
2756
|
+
*
|
|
2757
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2758
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2759
|
+
*
|
|
2760
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2761
|
+
*/
|
|
2762
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2763
|
+
/**
|
|
2764
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2765
|
+
* the Energy field was measured.
|
|
2766
|
+
*
|
|
2767
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2768
|
+
*
|
|
2769
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2770
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2771
|
+
*
|
|
2772
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2773
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2774
|
+
* time indicated in StartTimestamp.
|
|
2775
|
+
*
|
|
2776
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2777
|
+
*/
|
|
2778
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2779
|
+
/**
|
|
2780
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2781
|
+
* Energy field was measured.
|
|
2782
|
+
*
|
|
2783
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2784
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2785
|
+
*
|
|
2786
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2787
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2788
|
+
* EndTimestamp.
|
|
2789
|
+
*
|
|
2790
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2791
|
+
*/
|
|
2792
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2793
|
+
}> | null, any>;
|
|
2794
|
+
};
|
|
2795
|
+
};
|
|
2796
|
+
}, {
|
|
2797
|
+
readonly flags: {
|
|
2798
|
+
readonly cumulativeEnergy: true;
|
|
2799
|
+
};
|
|
2800
|
+
readonly component: {
|
|
2801
|
+
readonly attributes: {
|
|
2802
|
+
/**
|
|
2803
|
+
* Indicates when cumulative measurements were most recently zero.
|
|
2804
|
+
*
|
|
2805
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.6
|
|
2806
|
+
*/
|
|
2807
|
+
readonly cumulativeEnergyReset: OptionalAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2808
|
+
/**
|
|
2809
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
2810
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
2811
|
+
*
|
|
2812
|
+
* If the server had determined the time in UTC when the value of the Energy field on the
|
|
2813
|
+
* CumulativeEnergyImported attribute was most recently zero, this field shall be indicated.
|
|
2814
|
+
*
|
|
2815
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
2816
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
2817
|
+
* the time in UTC, this field shall be omitted.
|
|
2818
|
+
*
|
|
2819
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was
|
|
2820
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
2821
|
+
*
|
|
2822
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.1
|
|
2823
|
+
*/
|
|
2824
|
+
importedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
2825
|
+
/**
|
|
2826
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
2827
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
2828
|
+
*
|
|
2829
|
+
* If the server had determined the time in UTC when the value of the Energy field on the Cumula
|
|
2830
|
+
*
|
|
2831
|
+
* tiveEnergyExported attribute was most recently zero, this field shall be indicated.
|
|
2832
|
+
*
|
|
2833
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
2834
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
2835
|
+
* the time in UTC, this field shall be omitted.
|
|
2836
|
+
*
|
|
2837
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was
|
|
2838
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
2839
|
+
*
|
|
2840
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.2
|
|
2841
|
+
*/
|
|
2842
|
+
exportedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
2843
|
+
/**
|
|
2844
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
2845
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
2846
|
+
*
|
|
2847
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
2848
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
2849
|
+
* the time in UTC, this field shall be indicated.
|
|
2850
|
+
*
|
|
2851
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
2852
|
+
* CumulativeEnergyImported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
2853
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
2854
|
+
*
|
|
2855
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.3
|
|
2856
|
+
*/
|
|
2857
|
+
importedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
2858
|
+
/**
|
|
2859
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
2860
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
2861
|
+
*
|
|
2862
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
2863
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
2864
|
+
* the time in UTC, this field shall be indicated.
|
|
2865
|
+
*
|
|
2866
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
2867
|
+
* CumulativeEnergyExported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
2868
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
2869
|
+
*
|
|
2870
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.4
|
|
2871
|
+
*/
|
|
2872
|
+
exportedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
2873
|
+
}> | null, any>;
|
|
2874
|
+
};
|
|
2875
|
+
readonly events: {
|
|
2876
|
+
/**
|
|
2877
|
+
* This event shall be generated when the server takes a snapshot of the cumulative energy imported by the
|
|
2878
|
+
* server, exported from the server, or both, but not more frequently than the rate mentioned in the
|
|
2879
|
+
* description above of the related attribute.
|
|
2880
|
+
*
|
|
2881
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1
|
|
2882
|
+
*/
|
|
2883
|
+
readonly cumulativeEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2884
|
+
/**
|
|
2885
|
+
* This field shall be the value of CumulativeEnergyImported attribute at the timestamp indicated in its
|
|
2886
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
2887
|
+
*
|
|
2888
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.1
|
|
2889
|
+
*/
|
|
2890
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2891
|
+
/**
|
|
2892
|
+
* This field shall be the reported energy.
|
|
2893
|
+
*
|
|
2894
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2895
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2896
|
+
*
|
|
2897
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2898
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2899
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2900
|
+
*
|
|
2901
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2902
|
+
*/
|
|
2903
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2904
|
+
/**
|
|
2905
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2906
|
+
* Energy field was measured.
|
|
2907
|
+
*
|
|
2908
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2909
|
+
*
|
|
2910
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2911
|
+
* period, this field shall be indicated.
|
|
2912
|
+
*
|
|
2913
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2914
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2915
|
+
* omitted.
|
|
2916
|
+
*
|
|
2917
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2918
|
+
*/
|
|
2919
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2920
|
+
/**
|
|
2921
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
2922
|
+
* field was measured.
|
|
2923
|
+
*
|
|
2924
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
2925
|
+
* indicated.
|
|
2926
|
+
*
|
|
2927
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
2928
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
2929
|
+
*
|
|
2930
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
2931
|
+
*/
|
|
2932
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
2933
|
+
/**
|
|
2934
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
2935
|
+
* the Energy field was measured.
|
|
2936
|
+
*
|
|
2937
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2938
|
+
*
|
|
2939
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
2940
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
2941
|
+
*
|
|
2942
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2943
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
2944
|
+
* time indicated in StartTimestamp.
|
|
2945
|
+
*
|
|
2946
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
2947
|
+
*/
|
|
2948
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2949
|
+
/**
|
|
2950
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
2951
|
+
* Energy field was measured.
|
|
2952
|
+
*
|
|
2953
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
2954
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
2955
|
+
*
|
|
2956
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
2957
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
2958
|
+
* EndTimestamp.
|
|
2959
|
+
*
|
|
2960
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
2961
|
+
*/
|
|
2962
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
2963
|
+
}>>;
|
|
2964
|
+
/**
|
|
2965
|
+
* This field shall be the value of CumulativeEnergyExported attribute at the timestamp indicated in its
|
|
2966
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
2967
|
+
*
|
|
2968
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.2
|
|
2969
|
+
*/
|
|
2970
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
2971
|
+
/**
|
|
2972
|
+
* This field shall be the reported energy.
|
|
2973
|
+
*
|
|
2974
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
2975
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
2976
|
+
*
|
|
2977
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
2978
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
2979
|
+
* the StartSystime and EndSystime fields, or both.
|
|
2980
|
+
*
|
|
2981
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
2982
|
+
*/
|
|
2983
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
2984
|
+
/**
|
|
2985
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
2986
|
+
* Energy field was measured.
|
|
2987
|
+
*
|
|
2988
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
2989
|
+
*
|
|
2990
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
2991
|
+
* period, this field shall be indicated.
|
|
2992
|
+
*
|
|
2993
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
2994
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
2995
|
+
* omitted.
|
|
2996
|
+
*
|
|
2997
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
2998
|
+
*/
|
|
2999
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3000
|
+
/**
|
|
3001
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3002
|
+
* field was measured.
|
|
3003
|
+
*
|
|
3004
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3005
|
+
* indicated.
|
|
3006
|
+
*
|
|
3007
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3008
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3009
|
+
*
|
|
3010
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3011
|
+
*/
|
|
3012
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3013
|
+
/**
|
|
3014
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3015
|
+
* the Energy field was measured.
|
|
3016
|
+
*
|
|
3017
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3018
|
+
*
|
|
3019
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3020
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3021
|
+
*
|
|
3022
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3023
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3024
|
+
* time indicated in StartTimestamp.
|
|
3025
|
+
*
|
|
3026
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3027
|
+
*/
|
|
3028
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3029
|
+
/**
|
|
3030
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3031
|
+
* Energy field was measured.
|
|
3032
|
+
*
|
|
3033
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3034
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3035
|
+
*
|
|
3036
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3037
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3038
|
+
* EndTimestamp.
|
|
3039
|
+
*
|
|
3040
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3041
|
+
*/
|
|
3042
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3043
|
+
}>>;
|
|
3044
|
+
}>, any>;
|
|
3045
|
+
};
|
|
3046
|
+
};
|
|
3047
|
+
}, {
|
|
3048
|
+
readonly flags: {
|
|
3049
|
+
readonly periodicEnergy: true;
|
|
3050
|
+
};
|
|
3051
|
+
readonly component: {
|
|
3052
|
+
readonly events: {
|
|
3053
|
+
/**
|
|
3054
|
+
* This event shall be generated when the server reaches the end of a reporting period for imported energy,
|
|
3055
|
+
* exported energy, or both.
|
|
3056
|
+
*
|
|
3057
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2
|
|
3058
|
+
*/
|
|
3059
|
+
readonly periodicEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3060
|
+
/**
|
|
3061
|
+
* This field shall be the value of PeriodicEnergyImported attribute at the timestamp indicated in its
|
|
3062
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
3063
|
+
*
|
|
3064
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.1
|
|
3065
|
+
*/
|
|
3066
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3067
|
+
/**
|
|
3068
|
+
* This field shall be the reported energy.
|
|
3069
|
+
*
|
|
3070
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3071
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3072
|
+
*
|
|
3073
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3074
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3075
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3076
|
+
*
|
|
3077
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3078
|
+
*/
|
|
3079
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3080
|
+
/**
|
|
3081
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3082
|
+
* Energy field was measured.
|
|
3083
|
+
*
|
|
3084
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3085
|
+
*
|
|
3086
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3087
|
+
* period, this field shall be indicated.
|
|
3088
|
+
*
|
|
3089
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3090
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3091
|
+
* omitted.
|
|
3092
|
+
*
|
|
3093
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3094
|
+
*/
|
|
3095
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3096
|
+
/**
|
|
3097
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3098
|
+
* field was measured.
|
|
3099
|
+
*
|
|
3100
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3101
|
+
* indicated.
|
|
3102
|
+
*
|
|
3103
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3104
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3105
|
+
*
|
|
3106
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3107
|
+
*/
|
|
3108
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3109
|
+
/**
|
|
3110
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3111
|
+
* the Energy field was measured.
|
|
3112
|
+
*
|
|
3113
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3114
|
+
*
|
|
3115
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3116
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3117
|
+
*
|
|
3118
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3119
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3120
|
+
* time indicated in StartTimestamp.
|
|
3121
|
+
*
|
|
3122
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3123
|
+
*/
|
|
3124
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3125
|
+
/**
|
|
3126
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3127
|
+
* Energy field was measured.
|
|
3128
|
+
*
|
|
3129
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3130
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3131
|
+
*
|
|
3132
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3133
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3134
|
+
* EndTimestamp.
|
|
3135
|
+
*
|
|
3136
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3137
|
+
*/
|
|
3138
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3139
|
+
}>>;
|
|
3140
|
+
/**
|
|
3141
|
+
* This field shall be the value of PeriodicEnergyExported attribute at the timestamp indicated in its
|
|
3142
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
3143
|
+
*
|
|
3144
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.2
|
|
3145
|
+
*/
|
|
3146
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3147
|
+
/**
|
|
3148
|
+
* This field shall be the reported energy.
|
|
3149
|
+
*
|
|
3150
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3151
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3152
|
+
*
|
|
3153
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3154
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3155
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3156
|
+
*
|
|
3157
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3158
|
+
*/
|
|
3159
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3160
|
+
/**
|
|
3161
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3162
|
+
* Energy field was measured.
|
|
3163
|
+
*
|
|
3164
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3165
|
+
*
|
|
3166
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3167
|
+
* period, this field shall be indicated.
|
|
3168
|
+
*
|
|
3169
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3170
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3171
|
+
* omitted.
|
|
3172
|
+
*
|
|
3173
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3174
|
+
*/
|
|
3175
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3176
|
+
/**
|
|
3177
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3178
|
+
* field was measured.
|
|
3179
|
+
*
|
|
3180
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3181
|
+
* indicated.
|
|
3182
|
+
*
|
|
3183
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3184
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3185
|
+
*
|
|
3186
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3187
|
+
*/
|
|
3188
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3189
|
+
/**
|
|
3190
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3191
|
+
* the Energy field was measured.
|
|
3192
|
+
*
|
|
3193
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3194
|
+
*
|
|
3195
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3196
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3197
|
+
*
|
|
3198
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3199
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3200
|
+
* time indicated in StartTimestamp.
|
|
3201
|
+
*
|
|
3202
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3203
|
+
*/
|
|
3204
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3205
|
+
/**
|
|
3206
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3207
|
+
* Energy field was measured.
|
|
3208
|
+
*
|
|
3209
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3210
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3211
|
+
*
|
|
3212
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3213
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3214
|
+
* EndTimestamp.
|
|
3215
|
+
*
|
|
3216
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3217
|
+
*/
|
|
3218
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3219
|
+
}>>;
|
|
3220
|
+
}>, any>;
|
|
3221
|
+
};
|
|
3222
|
+
};
|
|
3223
|
+
}, {
|
|
3224
|
+
readonly flags: {
|
|
3225
|
+
readonly importedEnergy: false;
|
|
3226
|
+
readonly exportedEnergy: false;
|
|
3227
|
+
};
|
|
3228
|
+
readonly component: false;
|
|
3229
|
+
}, {
|
|
3230
|
+
readonly flags: {
|
|
3231
|
+
readonly cumulativeEnergy: false;
|
|
3232
|
+
readonly periodicEnergy: false;
|
|
3233
|
+
};
|
|
3234
|
+
readonly component: false;
|
|
3235
|
+
}];
|
|
3236
|
+
}>;
|
|
3237
|
+
/**
|
|
3238
|
+
* This cluster provides a mechanism for querying data about the electrical energy imported or provided by the
|
|
3239
|
+
* server.
|
|
3240
|
+
*
|
|
3241
|
+
* Per the Matter specification you cannot use {@link ElectricalEnergyMeasurementCluster} without enabling certain
|
|
3242
|
+
* feature combinations. You must use the {@link with} factory method to obtain a working cluster.
|
|
3243
|
+
*
|
|
3244
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12
|
|
3245
|
+
*/
|
|
3246
|
+
interface Cluster extends Identity<typeof ClusterInstance> {
|
|
3247
|
+
}
|
|
3248
|
+
const Cluster: Cluster;
|
|
3249
|
+
/**
|
|
3250
|
+
* @see {@link Complete}
|
|
3251
|
+
*/
|
|
3252
|
+
const CompleteInstance: MutableCluster<{
|
|
3253
|
+
readonly id: 145;
|
|
3254
|
+
readonly name: "ElectricalEnergyMeasurement";
|
|
3255
|
+
readonly revision: 1;
|
|
3256
|
+
readonly features: {
|
|
3257
|
+
/**
|
|
3258
|
+
* ImportedEnergy
|
|
3259
|
+
*
|
|
3260
|
+
* The feature indicates the server is capable of measuring how much energy is imported by the server.
|
|
3261
|
+
*
|
|
3262
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.1
|
|
3263
|
+
*/
|
|
3264
|
+
readonly importedEnergy: BitFlag;
|
|
3265
|
+
/**
|
|
3266
|
+
* ExportedEnergy
|
|
3267
|
+
*
|
|
3268
|
+
* The feature indicates the server is capable of measuring how much energy is exported by the server.
|
|
3269
|
+
*
|
|
3270
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.2
|
|
3271
|
+
*/
|
|
3272
|
+
readonly exportedEnergy: BitFlag;
|
|
3273
|
+
/**
|
|
3274
|
+
* CumulativeEnergy
|
|
3275
|
+
*
|
|
3276
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported
|
|
3277
|
+
* by the server over the device’s lifetime. This measurement may start from when a device’s firmware is
|
|
3278
|
+
* updated to include this feature, when a device’s firmware is updated to correct measurement errors, or
|
|
3279
|
+
* when a device is factory reset.
|
|
3280
|
+
*
|
|
3281
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.3
|
|
3282
|
+
*/
|
|
3283
|
+
readonly cumulativeEnergy: BitFlag;
|
|
3284
|
+
/**
|
|
3285
|
+
* PeriodicEnergy
|
|
3286
|
+
*
|
|
3287
|
+
* The feature indicates the server is capable of measuring how much energy has been imported or exported
|
|
3288
|
+
* by the server during a certain period of time. The start and end times for measurement periods shall be
|
|
3289
|
+
* determined by the server, and may represent overlapping periods.
|
|
3290
|
+
*
|
|
3291
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.4.4
|
|
3292
|
+
*/
|
|
3293
|
+
readonly periodicEnergy: BitFlag;
|
|
3294
|
+
};
|
|
3295
|
+
readonly attributes: {
|
|
3296
|
+
readonly cumulativeEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3297
|
+
/**
|
|
3298
|
+
* This field shall be the reported energy.
|
|
3299
|
+
*
|
|
3300
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3301
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3302
|
+
*
|
|
3303
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3304
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3305
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3306
|
+
*
|
|
3307
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3308
|
+
*/
|
|
3309
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3310
|
+
/**
|
|
3311
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3312
|
+
* Energy field was measured.
|
|
3313
|
+
*
|
|
3314
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3315
|
+
*
|
|
3316
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3317
|
+
* period, this field shall be indicated.
|
|
3318
|
+
*
|
|
3319
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3320
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3321
|
+
* omitted.
|
|
3322
|
+
*
|
|
3323
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3324
|
+
*/
|
|
3325
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3326
|
+
/**
|
|
3327
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3328
|
+
* field was measured.
|
|
3329
|
+
*
|
|
3330
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3331
|
+
* indicated.
|
|
3332
|
+
*
|
|
3333
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3334
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3335
|
+
*
|
|
3336
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3337
|
+
*/
|
|
3338
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3339
|
+
/**
|
|
3340
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3341
|
+
* the Energy field was measured.
|
|
3342
|
+
*
|
|
3343
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3344
|
+
*
|
|
3345
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3346
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3347
|
+
*
|
|
3348
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3349
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3350
|
+
* time indicated in StartTimestamp.
|
|
3351
|
+
*
|
|
3352
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3353
|
+
*/
|
|
3354
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3355
|
+
/**
|
|
3356
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3357
|
+
* Energy field was measured.
|
|
3358
|
+
*
|
|
3359
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3360
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3361
|
+
*
|
|
3362
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3363
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3364
|
+
* EndTimestamp.
|
|
3365
|
+
*
|
|
3366
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3367
|
+
*/
|
|
3368
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3369
|
+
}> | null, any> & {
|
|
3370
|
+
readonly optional: true;
|
|
3371
|
+
readonly isConditional: true;
|
|
3372
|
+
readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
3373
|
+
readonly mandatoryIf: [] | [{
|
|
3374
|
+
importedEnergy: boolean;
|
|
3375
|
+
cumulativeEnergy: boolean;
|
|
3376
|
+
}];
|
|
3377
|
+
};
|
|
3378
|
+
readonly cumulativeEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3379
|
+
/**
|
|
3380
|
+
* This field shall be the reported energy.
|
|
3381
|
+
*
|
|
3382
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3383
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3384
|
+
*
|
|
3385
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3386
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3387
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3388
|
+
*
|
|
3389
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3390
|
+
*/
|
|
3391
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3392
|
+
/**
|
|
3393
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3394
|
+
* Energy field was measured.
|
|
3395
|
+
*
|
|
3396
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3397
|
+
*
|
|
3398
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3399
|
+
* period, this field shall be indicated.
|
|
3400
|
+
*
|
|
3401
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3402
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3403
|
+
* omitted.
|
|
3404
|
+
*
|
|
3405
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3406
|
+
*/
|
|
3407
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3408
|
+
/**
|
|
3409
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3410
|
+
* field was measured.
|
|
3411
|
+
*
|
|
3412
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3413
|
+
* indicated.
|
|
3414
|
+
*
|
|
3415
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3416
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3417
|
+
*
|
|
3418
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3419
|
+
*/
|
|
3420
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3421
|
+
/**
|
|
3422
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3423
|
+
* the Energy field was measured.
|
|
3424
|
+
*
|
|
3425
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3426
|
+
*
|
|
3427
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3428
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3429
|
+
*
|
|
3430
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3431
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3432
|
+
* time indicated in StartTimestamp.
|
|
3433
|
+
*
|
|
3434
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3435
|
+
*/
|
|
3436
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3437
|
+
/**
|
|
3438
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3439
|
+
* Energy field was measured.
|
|
3440
|
+
*
|
|
3441
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3442
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3443
|
+
*
|
|
3444
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3445
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3446
|
+
* EndTimestamp.
|
|
3447
|
+
*
|
|
3448
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3449
|
+
*/
|
|
3450
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3451
|
+
}> | null, any> & {
|
|
3452
|
+
readonly optional: true;
|
|
3453
|
+
readonly isConditional: true;
|
|
3454
|
+
readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
3455
|
+
readonly mandatoryIf: [] | [{
|
|
3456
|
+
exportedEnergy: boolean;
|
|
3457
|
+
cumulativeEnergy: boolean;
|
|
3458
|
+
}];
|
|
3459
|
+
};
|
|
3460
|
+
readonly periodicEnergyImported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3461
|
+
/**
|
|
3462
|
+
* This field shall be the reported energy.
|
|
3463
|
+
*
|
|
3464
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3465
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3466
|
+
*
|
|
3467
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3468
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3469
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3470
|
+
*
|
|
3471
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3472
|
+
*/
|
|
3473
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3474
|
+
/**
|
|
3475
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3476
|
+
* Energy field was measured.
|
|
3477
|
+
*
|
|
3478
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3479
|
+
*
|
|
3480
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3481
|
+
* period, this field shall be indicated.
|
|
3482
|
+
*
|
|
3483
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3484
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3485
|
+
* omitted.
|
|
3486
|
+
*
|
|
3487
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3488
|
+
*/
|
|
3489
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3490
|
+
/**
|
|
3491
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3492
|
+
* field was measured.
|
|
3493
|
+
*
|
|
3494
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3495
|
+
* indicated.
|
|
3496
|
+
*
|
|
3497
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3498
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3499
|
+
*
|
|
3500
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3501
|
+
*/
|
|
3502
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3503
|
+
/**
|
|
3504
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3505
|
+
* the Energy field was measured.
|
|
3506
|
+
*
|
|
3507
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3508
|
+
*
|
|
3509
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3510
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3511
|
+
*
|
|
3512
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3513
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3514
|
+
* time indicated in StartTimestamp.
|
|
3515
|
+
*
|
|
3516
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3517
|
+
*/
|
|
3518
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3519
|
+
/**
|
|
3520
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3521
|
+
* Energy field was measured.
|
|
3522
|
+
*
|
|
3523
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3524
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3525
|
+
*
|
|
3526
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3527
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3528
|
+
* EndTimestamp.
|
|
3529
|
+
*
|
|
3530
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3531
|
+
*/
|
|
3532
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3533
|
+
}> | null, any> & {
|
|
3534
|
+
readonly optional: true;
|
|
3535
|
+
readonly isConditional: true;
|
|
3536
|
+
readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
3537
|
+
readonly mandatoryIf: [] | [{
|
|
3538
|
+
importedEnergy: boolean;
|
|
3539
|
+
periodicEnergy: boolean;
|
|
3540
|
+
}];
|
|
3541
|
+
};
|
|
3542
|
+
readonly periodicEnergyExported: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3543
|
+
/**
|
|
3544
|
+
* This field shall be the reported energy.
|
|
3545
|
+
*
|
|
3546
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3547
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3548
|
+
*
|
|
3549
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3550
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3551
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3552
|
+
*
|
|
3553
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3554
|
+
*/
|
|
3555
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3556
|
+
/**
|
|
3557
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3558
|
+
* Energy field was measured.
|
|
3559
|
+
*
|
|
3560
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3561
|
+
*
|
|
3562
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3563
|
+
* period, this field shall be indicated.
|
|
3564
|
+
*
|
|
3565
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3566
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3567
|
+
* omitted.
|
|
3568
|
+
*
|
|
3569
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3570
|
+
*/
|
|
3571
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3572
|
+
/**
|
|
3573
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3574
|
+
* field was measured.
|
|
3575
|
+
*
|
|
3576
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3577
|
+
* indicated.
|
|
3578
|
+
*
|
|
3579
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3580
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3581
|
+
*
|
|
3582
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3583
|
+
*/
|
|
3584
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3585
|
+
/**
|
|
3586
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3587
|
+
* the Energy field was measured.
|
|
3588
|
+
*
|
|
3589
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3590
|
+
*
|
|
3591
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3592
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3593
|
+
*
|
|
3594
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3595
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3596
|
+
* time indicated in StartTimestamp.
|
|
3597
|
+
*
|
|
3598
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3599
|
+
*/
|
|
3600
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3601
|
+
/**
|
|
3602
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3603
|
+
* Energy field was measured.
|
|
3604
|
+
*
|
|
3605
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3606
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3607
|
+
*
|
|
3608
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3609
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3610
|
+
* EndTimestamp.
|
|
3611
|
+
*
|
|
3612
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3613
|
+
*/
|
|
3614
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3615
|
+
}> | null, any> & {
|
|
3616
|
+
readonly optional: true;
|
|
3617
|
+
readonly isConditional: true;
|
|
3618
|
+
readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
3619
|
+
readonly mandatoryIf: [] | [{
|
|
3620
|
+
exportedEnergy: boolean;
|
|
3621
|
+
periodicEnergy: boolean;
|
|
3622
|
+
}];
|
|
3623
|
+
};
|
|
3624
|
+
readonly cumulativeEnergyReset: OptionalAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3625
|
+
/**
|
|
3626
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
3627
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
3628
|
+
*
|
|
3629
|
+
* If the server had determined the time in UTC when the value of the Energy field on the
|
|
3630
|
+
* CumulativeEnergyImported attribute was most recently zero, this field shall be indicated.
|
|
3631
|
+
*
|
|
3632
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
3633
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
3634
|
+
* the time in UTC, this field shall be omitted.
|
|
3635
|
+
*
|
|
3636
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyImported attribute was
|
|
3637
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
3638
|
+
*
|
|
3639
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.1
|
|
3640
|
+
*/
|
|
3641
|
+
importedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
3642
|
+
/**
|
|
3643
|
+
* This field shall indicate the timestamp in UTC when the value of the Energy field on the
|
|
3644
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
3645
|
+
*
|
|
3646
|
+
* If the server had determined the time in UTC when the value of the Energy field on the Cumula
|
|
3647
|
+
*
|
|
3648
|
+
* tiveEnergyExported attribute was most recently zero, this field shall be indicated.
|
|
3649
|
+
*
|
|
3650
|
+
* Otherwise, if the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
3651
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
3652
|
+
* the time in UTC, this field shall be omitted.
|
|
3653
|
+
*
|
|
3654
|
+
* If the timestamp in UTC when the value of the Energy field on the CumulativeEnergyExported attribute was
|
|
3655
|
+
* most recently zero cannot currently be determined, a value of null shall be returned.
|
|
3656
|
+
*
|
|
3657
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.2
|
|
3658
|
+
*/
|
|
3659
|
+
exportedResetTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
3660
|
+
/**
|
|
3661
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
3662
|
+
* CumulativeEnergyImported attribute was most recently zero.
|
|
3663
|
+
*
|
|
3664
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
3665
|
+
* CumulativeEnergyImported attribute was most recently zero, or does not have the capability of determining
|
|
3666
|
+
* the time in UTC, this field shall be indicated.
|
|
3667
|
+
*
|
|
3668
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
3669
|
+
* CumulativeEnergyImported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
3670
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
3671
|
+
*
|
|
3672
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.3
|
|
3673
|
+
*/
|
|
3674
|
+
importedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
3675
|
+
/**
|
|
3676
|
+
* This field shall indicate the seconds since boot when the value of the Energy field on the
|
|
3677
|
+
* CumulativeEnergyExported attribute was most recently zero.
|
|
3678
|
+
*
|
|
3679
|
+
* If the server had not yet determined the time in UTC when the value of the Energy field on the
|
|
3680
|
+
* CumulativeEnergyExported attribute was most recently zero, or does not have the capability of determining
|
|
3681
|
+
* the time in UTC, this field shall be indicated.
|
|
3682
|
+
*
|
|
3683
|
+
* Otherwise, if the server had determined the time in UTC when the value of the Energy field on the
|
|
3684
|
+
* CumulativeEnergyExported attribute was most recently zero, this field may be omitted; if it is indicated,
|
|
3685
|
+
* its value shall be the seconds since boot at the UTC time indicated in ImportedResetTimestamp.
|
|
3686
|
+
*
|
|
3687
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.2.4
|
|
3688
|
+
*/
|
|
3689
|
+
exportedResetSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint | null>;
|
|
3690
|
+
}> | null, any> & {
|
|
3691
|
+
readonly optional: true;
|
|
3692
|
+
readonly isConditional: true;
|
|
3693
|
+
readonly optionalIf: [] | [{
|
|
3694
|
+
cumulativeEnergy: boolean;
|
|
3695
|
+
}];
|
|
3696
|
+
readonly mandatoryIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
3697
|
+
};
|
|
3698
|
+
/**
|
|
3699
|
+
* Indicates the accuracy of energy measurement by this server. The value of the MeasurementType field on
|
|
3700
|
+
* this MeasurementAccuracyStruct shall be ElectricalEnergy.
|
|
3701
|
+
*
|
|
3702
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.6.1
|
|
3703
|
+
*/
|
|
3704
|
+
readonly accuracy: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3705
|
+
measurementType: import("../tlv/TlvObject.js").FieldType<import("../index.js").MeasurementType>;
|
|
3706
|
+
measured: import("../tlv/TlvObject.js").FieldType<boolean>;
|
|
3707
|
+
minMeasuredValue: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3708
|
+
maxMeasuredValue: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3709
|
+
accuracyRanges: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3710
|
+
rangeMin: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3711
|
+
rangeMax: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3712
|
+
percentMax: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3713
|
+
percentMin: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3714
|
+
percentTypical: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3715
|
+
fixedMax: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3716
|
+
fixedMin: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3717
|
+
fixedTypical: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3718
|
+
}>[]>;
|
|
3719
|
+
}>, any>;
|
|
3720
|
+
};
|
|
3721
|
+
readonly events: {
|
|
3722
|
+
readonly cumulativeEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3723
|
+
/**
|
|
3724
|
+
* This field shall be the value of CumulativeEnergyImported attribute at the timestamp indicated in its
|
|
3725
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
3726
|
+
*
|
|
3727
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.1
|
|
3728
|
+
*/
|
|
3729
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3730
|
+
/**
|
|
3731
|
+
* This field shall be the reported energy.
|
|
3732
|
+
*
|
|
3733
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3734
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3735
|
+
*
|
|
3736
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3737
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3738
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3739
|
+
*
|
|
3740
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3741
|
+
*/
|
|
3742
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3743
|
+
/**
|
|
3744
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3745
|
+
* Energy field was measured.
|
|
3746
|
+
*
|
|
3747
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3748
|
+
*
|
|
3749
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3750
|
+
* period, this field shall be indicated.
|
|
3751
|
+
*
|
|
3752
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3753
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3754
|
+
* omitted.
|
|
3755
|
+
*
|
|
3756
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3757
|
+
*/
|
|
3758
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3759
|
+
/**
|
|
3760
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3761
|
+
* field was measured.
|
|
3762
|
+
*
|
|
3763
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3764
|
+
* indicated.
|
|
3765
|
+
*
|
|
3766
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3767
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3768
|
+
*
|
|
3769
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3770
|
+
*/
|
|
3771
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3772
|
+
/**
|
|
3773
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3774
|
+
* the Energy field was measured.
|
|
3775
|
+
*
|
|
3776
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3777
|
+
*
|
|
3778
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3779
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3780
|
+
*
|
|
3781
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3782
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3783
|
+
* time indicated in StartTimestamp.
|
|
3784
|
+
*
|
|
3785
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3786
|
+
*/
|
|
3787
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3788
|
+
/**
|
|
3789
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3790
|
+
* Energy field was measured.
|
|
3791
|
+
*
|
|
3792
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3793
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3794
|
+
*
|
|
3795
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3796
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3797
|
+
* EndTimestamp.
|
|
3798
|
+
*
|
|
3799
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3800
|
+
*/
|
|
3801
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3802
|
+
}>>;
|
|
3803
|
+
/**
|
|
3804
|
+
* This field shall be the value of CumulativeEnergyExported attribute at the timestamp indicated in its
|
|
3805
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
3806
|
+
*
|
|
3807
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.1.2
|
|
3808
|
+
*/
|
|
3809
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3810
|
+
/**
|
|
3811
|
+
* This field shall be the reported energy.
|
|
3812
|
+
*
|
|
3813
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3814
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3815
|
+
*
|
|
3816
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3817
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3818
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3819
|
+
*
|
|
3820
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3821
|
+
*/
|
|
3822
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3823
|
+
/**
|
|
3824
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3825
|
+
* Energy field was measured.
|
|
3826
|
+
*
|
|
3827
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3828
|
+
*
|
|
3829
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3830
|
+
* period, this field shall be indicated.
|
|
3831
|
+
*
|
|
3832
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3833
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3834
|
+
* omitted.
|
|
3835
|
+
*
|
|
3836
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3837
|
+
*/
|
|
3838
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3839
|
+
/**
|
|
3840
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3841
|
+
* field was measured.
|
|
3842
|
+
*
|
|
3843
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3844
|
+
* indicated.
|
|
3845
|
+
*
|
|
3846
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3847
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3848
|
+
*
|
|
3849
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3850
|
+
*/
|
|
3851
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3852
|
+
/**
|
|
3853
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3854
|
+
* the Energy field was measured.
|
|
3855
|
+
*
|
|
3856
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3857
|
+
*
|
|
3858
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3859
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3860
|
+
*
|
|
3861
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3862
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3863
|
+
* time indicated in StartTimestamp.
|
|
3864
|
+
*
|
|
3865
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3866
|
+
*/
|
|
3867
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3868
|
+
/**
|
|
3869
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3870
|
+
* Energy field was measured.
|
|
3871
|
+
*
|
|
3872
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3873
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3874
|
+
*
|
|
3875
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3876
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3877
|
+
* EndTimestamp.
|
|
3878
|
+
*
|
|
3879
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3880
|
+
*/
|
|
3881
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3882
|
+
}>>;
|
|
3883
|
+
}>, any> & {
|
|
3884
|
+
readonly optional: true;
|
|
3885
|
+
readonly isConditional: true;
|
|
3886
|
+
readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
3887
|
+
readonly mandatoryIf: [] | [{
|
|
3888
|
+
cumulativeEnergy: boolean;
|
|
3889
|
+
}];
|
|
3890
|
+
};
|
|
3891
|
+
readonly periodicEnergyMeasured: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3892
|
+
/**
|
|
3893
|
+
* This field shall be the value of PeriodicEnergyImported attribute at the timestamp indicated in its
|
|
3894
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
3895
|
+
*
|
|
3896
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.1
|
|
3897
|
+
*/
|
|
3898
|
+
energyImported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3899
|
+
/**
|
|
3900
|
+
* This field shall be the reported energy.
|
|
3901
|
+
*
|
|
3902
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3903
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3904
|
+
*
|
|
3905
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3906
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3907
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3908
|
+
*
|
|
3909
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3910
|
+
*/
|
|
3911
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3912
|
+
/**
|
|
3913
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3914
|
+
* Energy field was measured.
|
|
3915
|
+
*
|
|
3916
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3917
|
+
*
|
|
3918
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3919
|
+
* period, this field shall be indicated.
|
|
3920
|
+
*
|
|
3921
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
3922
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
3923
|
+
* omitted.
|
|
3924
|
+
*
|
|
3925
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
3926
|
+
*/
|
|
3927
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3928
|
+
/**
|
|
3929
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
3930
|
+
* field was measured.
|
|
3931
|
+
*
|
|
3932
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
3933
|
+
* indicated.
|
|
3934
|
+
*
|
|
3935
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
3936
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
3937
|
+
*
|
|
3938
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
3939
|
+
*/
|
|
3940
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
3941
|
+
/**
|
|
3942
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
3943
|
+
* the Energy field was measured.
|
|
3944
|
+
*
|
|
3945
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3946
|
+
*
|
|
3947
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
3948
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
3949
|
+
*
|
|
3950
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3951
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
3952
|
+
* time indicated in StartTimestamp.
|
|
3953
|
+
*
|
|
3954
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
3955
|
+
*/
|
|
3956
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3957
|
+
/**
|
|
3958
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
3959
|
+
* Energy field was measured.
|
|
3960
|
+
*
|
|
3961
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
3962
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
3963
|
+
*
|
|
3964
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
3965
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
3966
|
+
* EndTimestamp.
|
|
3967
|
+
*
|
|
3968
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
3969
|
+
*/
|
|
3970
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
3971
|
+
}>>;
|
|
3972
|
+
/**
|
|
3973
|
+
* This field shall be the value of PeriodicEnergyExported attribute at the timestamp indicated in its
|
|
3974
|
+
* EndTimestamp field, EndSystime field, or both.
|
|
3975
|
+
*
|
|
3976
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.7.2.2
|
|
3977
|
+
*/
|
|
3978
|
+
energyExported: import("../tlv/TlvObject.js").OptionalFieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
3979
|
+
/**
|
|
3980
|
+
* This field shall be the reported energy.
|
|
3981
|
+
*
|
|
3982
|
+
* If the EnergyMeasurementStruct represents cumulative energy, then this shall represent the cumulative energy
|
|
3983
|
+
* recorded at either the value of the EndTimestamp field or the value of the EndSystime field, or both.
|
|
3984
|
+
*
|
|
3985
|
+
* If the EnergyMeasurementStruct represents periodic energy, then this shall represent the energy recorded
|
|
3986
|
+
* during the period specified by either the StartTimestamp and EndTimestamp fields, the period specified by
|
|
3987
|
+
* the StartSystime and EndSystime fields, or both.
|
|
3988
|
+
*
|
|
3989
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.1
|
|
3990
|
+
*/
|
|
3991
|
+
energy: import("../tlv/TlvObject.js").FieldType<number | bigint>;
|
|
3992
|
+
/**
|
|
3993
|
+
* This field shall indicate the timestamp in UTC of the beginning of the period during which the value of the
|
|
3994
|
+
* Energy field was measured.
|
|
3995
|
+
*
|
|
3996
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
3997
|
+
*
|
|
3998
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
3999
|
+
* period, this field shall be indicated.
|
|
4000
|
+
*
|
|
4001
|
+
* Otherwise, if the server had not yet determined the time in UTC at or before the beginning of the
|
|
4002
|
+
* measurement period, or does not have the capability of determining the time in UTC, this field shall be
|
|
4003
|
+
* omitted.
|
|
4004
|
+
*
|
|
4005
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.2
|
|
4006
|
+
*/
|
|
4007
|
+
startTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
4008
|
+
/**
|
|
4009
|
+
* This field shall indicate the timestamp in UTC of the end of the period during which the value of the Energy
|
|
4010
|
+
* field was measured.
|
|
4011
|
+
*
|
|
4012
|
+
* If the server had determined the time in UTC by the end of the measurement period, this field shall be
|
|
4013
|
+
* indicated.
|
|
4014
|
+
*
|
|
4015
|
+
* Otherwise, if the server had not yet determined the time in UTC by the end of the measurement period, or
|
|
4016
|
+
* does not have the capability of determining the time in UTC, this field shall be omitted.
|
|
4017
|
+
*
|
|
4018
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.3
|
|
4019
|
+
*/
|
|
4020
|
+
endTimestamp: import("../tlv/TlvObject.js").OptionalFieldType<number>;
|
|
4021
|
+
/**
|
|
4022
|
+
* This field shall indicate the seconds since boot at the beginning of the period during which the value of
|
|
4023
|
+
* the Energy field was measured.
|
|
4024
|
+
*
|
|
4025
|
+
* If this EnergyMeasurementStruct represents cumulative energy, this field shall be omitted.
|
|
4026
|
+
*
|
|
4027
|
+
* Otherwise, if the server had not yet determined the time in UTC at the start of the measurement period, or
|
|
4028
|
+
* does not have the capability of determining the time in UTC, this field shall be indicated.
|
|
4029
|
+
*
|
|
4030
|
+
* Otherwise, if the server had determined the time in UTC at or before the beginning of the measurement
|
|
4031
|
+
* period, this field may be omitted; if it is indicated, its value shall be the seconds since boot at the UTC
|
|
4032
|
+
* time indicated in StartTimestamp.
|
|
4033
|
+
*
|
|
4034
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.4
|
|
4035
|
+
*/
|
|
4036
|
+
startSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
4037
|
+
/**
|
|
4038
|
+
* This field shall indicate the seconds since boot at the end of the period during which the value of the
|
|
4039
|
+
* Energy field was measured.
|
|
4040
|
+
*
|
|
4041
|
+
* If the server had not yet determined the time in UTC by the end of the measurement period, or does not have
|
|
4042
|
+
* the capability of determining the time in UTC, this field shall be indicated.
|
|
4043
|
+
*
|
|
4044
|
+
* Otherwise, if the server had determined the time in UTC by the end of the measurement period, this field may
|
|
4045
|
+
* be omitted; if it is indicated, its value shall be the seconds since boot at the UTC time indicated in
|
|
4046
|
+
* EndTimestamp.
|
|
4047
|
+
*
|
|
4048
|
+
* @see {@link MatterSpecification.v13.Cluster} § 2.12.5.1.5
|
|
4049
|
+
*/
|
|
4050
|
+
endSystime: import("../tlv/TlvObject.js").OptionalFieldType<number | bigint>;
|
|
4051
|
+
}>>;
|
|
4052
|
+
}>, any> & {
|
|
4053
|
+
readonly optional: true;
|
|
4054
|
+
readonly isConditional: true;
|
|
4055
|
+
readonly optionalIf: [] | import("../cluster/Cluster.js").ConditionalFeatureList<import("../schema/BitmapSchema.js").BitSchema>;
|
|
4056
|
+
readonly mandatoryIf: [] | [{
|
|
4057
|
+
periodicEnergy: boolean;
|
|
4058
|
+
}];
|
|
4059
|
+
};
|
|
4060
|
+
};
|
|
4061
|
+
}, []>;
|
|
4062
|
+
/**
|
|
4063
|
+
* This cluster supports all ElectricalEnergyMeasurement features. It may support illegal feature combinations.
|
|
4064
|
+
*
|
|
4065
|
+
* If you use this cluster you must manually specify which features are active and ensure the set of active
|
|
4066
|
+
* features is legal per the Matter specification.
|
|
4067
|
+
*/
|
|
4068
|
+
interface Complete extends Identity<typeof CompleteInstance> {
|
|
4069
|
+
}
|
|
4070
|
+
const Complete: Complete;
|
|
4071
|
+
}
|
|
4072
|
+
export type ElectricalEnergyMeasurementCluster = ElectricalEnergyMeasurement.Cluster;
|
|
4073
|
+
export declare const ElectricalEnergyMeasurementCluster: ElectricalEnergyMeasurement.Cluster;
|
|
4074
|
+
//# sourceMappingURL=electrical-energy-measurement.d.ts.map
|