| ''' | |
| /* | |
| * | |
| * Copyright (c) 2022 Project CHIP Authors | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an "AS IS" BASIS, | |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| * See the License for the specific language governing permissions and | |
| * limitations under the License. | |
| */ | |
| // THIS FILE IS GENERATED BY ZAP | |
| ''' | |
| import ctypes | |
| from matter import exceptions | |
| __all__ = ["ChipClusters"] | |
| class ChipClusters: | |
| SUCCESS_DELEGATE = ctypes.CFUNCTYPE(None) | |
| FAILURE_DELEGATE = ctypes.CFUNCTYPE(None, ctypes.c_uint8) | |
| _IDENTIFY_CLUSTER_INFO = { | |
| "clusterName": "Identify", | |
| "clusterId": 0x00000003, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Identify", | |
| "args": { | |
| "identifyTime": "int", | |
| }, | |
| }, | |
| 0x00000040: { | |
| "commandId": 0x00000040, | |
| "commandName": "TriggerEffect", | |
| "args": { | |
| "effectIdentifier": "int", | |
| "effectVariant": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "IdentifyTime", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "IdentifyType", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _GROUPS_CLUSTER_INFO = { | |
| "clusterName": "Groups", | |
| "clusterId": 0x00000004, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AddGroup", | |
| "args": { | |
| "groupID": "int", | |
| "groupName": "str", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ViewGroup", | |
| "args": { | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "GetGroupMembership", | |
| "args": { | |
| "groupList": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "RemoveGroup", | |
| "args": { | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "RemoveAllGroups", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "AddGroupIfIdentifying", | |
| "args": { | |
| "groupID": "int", | |
| "groupName": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "NameSupport", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ON_OFF_CLUSTER_INFO = { | |
| "clusterName": "OnOff", | |
| "clusterId": 0x00000006, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Off", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "On", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Toggle", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000040: { | |
| "commandId": 0x00000040, | |
| "commandName": "OffWithEffect", | |
| "args": { | |
| "effectIdentifier": "int", | |
| "effectVariant": "int", | |
| }, | |
| }, | |
| 0x00000041: { | |
| "commandId": 0x00000041, | |
| "commandName": "OnWithRecallGlobalScene", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000042: { | |
| "commandId": 0x00000042, | |
| "commandName": "OnWithTimedOff", | |
| "args": { | |
| "onOffControl": "int", | |
| "onTime": "int", | |
| "offWaitTime": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "OnOff", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00004000: { | |
| "attributeName": "GlobalSceneControl", | |
| "attributeId": 0x00004000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00004001: { | |
| "attributeName": "OnTime", | |
| "attributeId": 0x00004001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004002: { | |
| "attributeName": "OffWaitTime", | |
| "attributeId": 0x00004002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004003: { | |
| "attributeName": "StartUpOnOff", | |
| "attributeId": 0x00004003, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _LEVEL_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "LevelControl", | |
| "clusterId": 0x00000008, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "MoveToLevel", | |
| "args": { | |
| "level": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Move", | |
| "args": { | |
| "moveMode": "int", | |
| "rate": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Step", | |
| "args": { | |
| "stepMode": "int", | |
| "stepSize": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "Stop", | |
| "args": { | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "MoveToLevelWithOnOff", | |
| "args": { | |
| "level": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "MoveWithOnOff", | |
| "args": { | |
| "moveMode": "int", | |
| "rate": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "StepWithOnOff", | |
| "args": { | |
| "stepMode": "int", | |
| "stepSize": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "StopWithOnOff", | |
| "args": { | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "MoveToClosestFrequency", | |
| "args": { | |
| "frequency": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentLevel", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "RemainingTime", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MinLevel", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MaxLevel", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CurrentFrequency", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "MinFrequency", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "MaxFrequency", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "Options", | |
| "attributeId": 0x0000000F, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "OnOffTransitionTime", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "OnLevel", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "OnTransitionTime", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "OffTransitionTime", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "DefaultMoveRate", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004000: { | |
| "attributeName": "StartUpCurrentLevel", | |
| "attributeId": 0x00004000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PULSE_WIDTH_MODULATION_CLUSTER_INFO = { | |
| "clusterName": "PulseWidthModulation", | |
| "clusterId": 0x0000001C, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DESCRIPTOR_CLUSTER_INFO = { | |
| "clusterName": "Descriptor", | |
| "clusterId": 0x0000001D, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "DeviceTypeList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ServerList", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ClientList", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PartsList", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "TagList", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "EndpointUniqueID", | |
| "attributeId": 0x00000005, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _BINDING_CLUSTER_INFO = { | |
| "clusterName": "Binding", | |
| "clusterId": 0x0000001E, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Binding", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ACCESS_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "AccessControl", | |
| "clusterId": 0x0000001F, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ReviewFabricRestrictions", | |
| "args": { | |
| "arl": "CommissioningAccessRestrictionEntryStruct", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Acl", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Extension", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SubjectsPerAccessControlEntry", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "TargetsPerAccessControlEntry", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "AccessControlEntriesPerFabric", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CommissioningARL", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "Arl", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "AuxiliaryACL", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ACTIONS_CLUSTER_INFO = { | |
| "clusterName": "Actions", | |
| "clusterId": 0x00000025, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "InstantAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "InstantActionWithTransition", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| "transitionTime": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "StartAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "StartActionWithDuration", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| "duration": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "StopAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "PauseAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "PauseActionWithDuration", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| "duration": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "ResumeAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "EnableAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "EnableActionWithDuration", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| "duration": "int", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "DisableAction", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "DisableActionWithDuration", | |
| "args": { | |
| "actionID": "int", | |
| "invokeID": "int", | |
| "duration": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ActionList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "EndpointLists", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SetupURL", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _BASIC_INFORMATION_CLUSTER_INFO = { | |
| "clusterName": "BasicInformation", | |
| "clusterId": 0x00000028, | |
| "commands": { | |
| 0x10020000: { | |
| "commandId": 0x10020000, | |
| "commandName": "MfgSpecificPing", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "DataModelRevision", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "VendorName", | |
| "attributeId": 0x00000001, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "VendorID", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ProductName", | |
| "attributeId": 0x00000003, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ProductID", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "NodeLabel", | |
| "attributeId": 0x00000005, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "Location", | |
| "attributeId": 0x00000006, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "HardwareVersion", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "HardwareVersionString", | |
| "attributeId": 0x00000008, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "SoftwareVersion", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "SoftwareVersionString", | |
| "attributeId": 0x0000000A, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "ManufacturingDate", | |
| "attributeId": 0x0000000B, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "PartNumber", | |
| "attributeId": 0x0000000C, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "ProductURL", | |
| "attributeId": 0x0000000D, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "ProductLabel", | |
| "attributeId": 0x0000000E, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "SerialNumber", | |
| "attributeId": 0x0000000F, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "LocalConfigDisabled", | |
| "attributeId": 0x00000010, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "Reachable", | |
| "attributeId": 0x00000011, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "UniqueID", | |
| "attributeId": 0x00000012, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "CapabilityMinima", | |
| "attributeId": 0x00000013, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "ProductAppearance", | |
| "attributeId": 0x00000014, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "SpecificationVersion", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "MaxPathsPerInvoke", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "DeviceLocation", | |
| "attributeId": 0x00000017, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "ConfigurationVersion", | |
| "attributeId": 0x00000018, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO = { | |
| "clusterName": "OtaSoftwareUpdateProvider", | |
| "clusterId": 0x00000029, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "QueryImage", | |
| "args": { | |
| "vendorID": "int", | |
| "productID": "int", | |
| "softwareVersion": "int", | |
| "protocolsSupported": "int", | |
| "hardwareVersion": "int", | |
| "location": "str", | |
| "requestorCanConsent": "bool", | |
| "metadataForProvider": "bytes", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ApplyUpdateRequest", | |
| "args": { | |
| "updateToken": "bytes", | |
| "newVersion": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "NotifyUpdateApplied", | |
| "args": { | |
| "updateToken": "bytes", | |
| "softwareVersion": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO = { | |
| "clusterName": "OtaSoftwareUpdateRequestor", | |
| "clusterId": 0x0000002A, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AnnounceOTAProvider", | |
| "args": { | |
| "providerNodeID": "int", | |
| "vendorID": "int", | |
| "announcementReason": "int", | |
| "metadataForNode": "bytes", | |
| "endpoint": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "DefaultOTAProviders", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "UpdatePossible", | |
| "attributeId": 0x00000001, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "UpdateState", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "UpdateStateProgress", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _LOCALIZATION_CONFIGURATION_CLUSTER_INFO = { | |
| "clusterName": "LocalizationConfiguration", | |
| "clusterId": 0x0000002B, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ActiveLocale", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SupportedLocales", | |
| "attributeId": 0x00000001, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TIME_FORMAT_LOCALIZATION_CLUSTER_INFO = { | |
| "clusterName": "TimeFormatLocalization", | |
| "clusterId": 0x0000002C, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "HourFormat", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ActiveCalendarType", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SupportedCalendarTypes", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _UNIT_LOCALIZATION_CLUSTER_INFO = { | |
| "clusterName": "UnitLocalization", | |
| "clusterId": 0x0000002D, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TemperatureUnit", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SupportedTemperatureUnits", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _POWER_SOURCE_CONFIGURATION_CLUSTER_INFO = { | |
| "clusterName": "PowerSourceConfiguration", | |
| "clusterId": 0x0000002E, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Sources", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _POWER_SOURCE_CLUSTER_INFO = { | |
| "clusterName": "PowerSource", | |
| "clusterId": 0x0000002F, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Status", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Order", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Description", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "WiredAssessedInputVoltage", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "WiredAssessedInputFrequency", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "WiredCurrentType", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "WiredAssessedCurrent", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "WiredNominalVoltage", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "WiredMaximumCurrent", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "WiredPresent", | |
| "attributeId": 0x00000009, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "ActiveWiredFaults", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "BatVoltage", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "BatPercentRemaining", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "BatTimeRemaining", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "BatChargeLevel", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "BatReplacementNeeded", | |
| "attributeId": 0x0000000F, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "BatReplaceability", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "BatPresent", | |
| "attributeId": 0x00000011, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "ActiveBatFaults", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "BatReplacementDescription", | |
| "attributeId": 0x00000013, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "BatCommonDesignation", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "BatANSIDesignation", | |
| "attributeId": 0x00000015, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "BatIECDesignation", | |
| "attributeId": 0x00000016, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "BatApprovedChemistry", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "BatCapacity", | |
| "attributeId": 0x00000018, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "BatQuantity", | |
| "attributeId": 0x00000019, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "BatChargeState", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "BatTimeToFullCharge", | |
| "attributeId": 0x0000001B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001C: { | |
| "attributeName": "BatFunctionalWhileCharging", | |
| "attributeId": 0x0000001C, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000001D: { | |
| "attributeName": "BatChargingCurrent", | |
| "attributeId": 0x0000001D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001E: { | |
| "attributeName": "ActiveBatChargeFaults", | |
| "attributeId": 0x0000001E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001F: { | |
| "attributeName": "EndpointList", | |
| "attributeId": 0x0000001F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _GENERAL_COMMISSIONING_CLUSTER_INFO = { | |
| "clusterName": "GeneralCommissioning", | |
| "clusterId": 0x00000030, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ArmFailSafe", | |
| "args": { | |
| "expiryLengthSeconds": "int", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "SetRegulatoryConfig", | |
| "args": { | |
| "newRegulatoryConfig": "int", | |
| "countryCode": "str", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "CommissioningComplete", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "SetTCAcknowledgements", | |
| "args": { | |
| "TCVersion": "int", | |
| "TCUserResponse": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Breadcrumb", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "BasicCommissioningInfo", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "RegulatoryConfig", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "LocationCapability", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "SupportsConcurrentConnection", | |
| "attributeId": 0x00000004, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "TCAcceptedVersion", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "TCMinRequiredVersion", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "TCAcknowledgements", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "TCAcknowledgementsRequired", | |
| "attributeId": 0x00000008, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "TCUpdateDeadline", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "RecoveryIdentifier", | |
| "attributeId": 0x0000000A, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "NetworkRecoveryReason", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "IsCommissioningWithoutPower", | |
| "attributeId": 0x0000000C, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _NETWORK_COMMISSIONING_CLUSTER_INFO = { | |
| "clusterName": "NetworkCommissioning", | |
| "clusterId": 0x00000031, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ScanNetworks", | |
| "args": { | |
| "ssid": "bytes", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "AddOrUpdateWiFiNetwork", | |
| "args": { | |
| "ssid": "bytes", | |
| "credentials": "bytes", | |
| "breadcrumb": "int", | |
| "networkIdentity": "bytes", | |
| "clientIdentifier": "bytes", | |
| "possessionNonce": "bytes", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "AddOrUpdateThreadNetwork", | |
| "args": { | |
| "operationalDataset": "bytes", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "RemoveNetwork", | |
| "args": { | |
| "networkID": "bytes", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "ConnectNetwork", | |
| "args": { | |
| "networkID": "bytes", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "ReorderNetwork", | |
| "args": { | |
| "networkID": "bytes", | |
| "networkIndex": "int", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "QueryIdentity", | |
| "args": { | |
| "keyIdentifier": "bytes", | |
| "possessionNonce": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxNetworks", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Networks", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ScanMaxTimeSeconds", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ConnectMaxTimeSeconds", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "InterfaceEnabled", | |
| "attributeId": 0x00000004, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "LastNetworkingStatus", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "LastNetworkID", | |
| "attributeId": 0x00000006, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "LastConnectErrorValue", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "SupportedWiFiBands", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "SupportedThreadFeatures", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "ThreadVersion", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DIAGNOSTIC_LOGS_CLUSTER_INFO = { | |
| "clusterName": "DiagnosticLogs", | |
| "clusterId": 0x00000032, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "RetrieveLogsRequest", | |
| "args": { | |
| "intent": "int", | |
| "requestedProtocol": "int", | |
| "transferFileDesignator": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _GENERAL_DIAGNOSTICS_CLUSTER_INFO = { | |
| "clusterName": "GeneralDiagnostics", | |
| "clusterId": 0x00000033, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "TestEventTrigger", | |
| "args": { | |
| "enableKey": "bytes", | |
| "eventTrigger": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "TimeSnapshot", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "PayloadTestRequest", | |
| "args": { | |
| "enableKey": "bytes", | |
| "value": "int", | |
| "count": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "NetworkInterfaces", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "RebootCount", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "UpTime", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "TotalOperationalHours", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "BootReason", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ActiveHardwareFaults", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "ActiveRadioFaults", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "ActiveNetworkFaults", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "TestEventTriggersEnabled", | |
| "attributeId": 0x00000008, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "DeviceLoadStatus", | |
| "attributeId": 0x0000000A, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO = { | |
| "clusterName": "SoftwareDiagnostics", | |
| "clusterId": 0x00000034, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetWatermarks", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ThreadMetrics", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentHeapFree", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CurrentHeapUsed", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CurrentHeapHighWatermark", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { | |
| "clusterName": "ThreadNetworkDiagnostics", | |
| "clusterId": 0x00000035, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetCounts", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Channel", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "RoutingRole", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "NetworkName", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PanId", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ExtendedPanId", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "MeshLocalPrefix", | |
| "attributeId": 0x00000005, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "OverrunCount", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "NeighborTable", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "RouteTable", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "PartitionId", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "Weighting", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "DataVersion", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "StableDataVersion", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "LeaderRouterId", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "DetachedRoleCount", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "ChildRoleCount", | |
| "attributeId": 0x0000000F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "RouterRoleCount", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "LeaderRoleCount", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "AttachAttemptCount", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "PartitionIdChangeCount", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "BetterPartitionAttachAttemptCount", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "ParentChangeCount", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "TxTotalCount", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "TxUnicastCount", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "TxBroadcastCount", | |
| "attributeId": 0x00000018, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "TxAckRequestedCount", | |
| "attributeId": 0x00000019, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "TxAckedCount", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "TxNoAckRequestedCount", | |
| "attributeId": 0x0000001B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001C: { | |
| "attributeName": "TxDataCount", | |
| "attributeId": 0x0000001C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001D: { | |
| "attributeName": "TxDataPollCount", | |
| "attributeId": 0x0000001D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001E: { | |
| "attributeName": "TxBeaconCount", | |
| "attributeId": 0x0000001E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001F: { | |
| "attributeName": "TxBeaconRequestCount", | |
| "attributeId": 0x0000001F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "TxOtherCount", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "TxRetryCount", | |
| "attributeId": 0x00000021, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "TxDirectMaxRetryExpiryCount", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000023: { | |
| "attributeName": "TxIndirectMaxRetryExpiryCount", | |
| "attributeId": 0x00000023, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "TxErrCcaCount", | |
| "attributeId": 0x00000024, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "TxErrAbortCount", | |
| "attributeId": 0x00000025, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000026: { | |
| "attributeName": "TxErrBusyChannelCount", | |
| "attributeId": 0x00000026, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000027: { | |
| "attributeName": "RxTotalCount", | |
| "attributeId": 0x00000027, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000028: { | |
| "attributeName": "RxUnicastCount", | |
| "attributeId": 0x00000028, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000029: { | |
| "attributeName": "RxBroadcastCount", | |
| "attributeId": 0x00000029, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002A: { | |
| "attributeName": "RxDataCount", | |
| "attributeId": 0x0000002A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002B: { | |
| "attributeName": "RxDataPollCount", | |
| "attributeId": 0x0000002B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002C: { | |
| "attributeName": "RxBeaconCount", | |
| "attributeId": 0x0000002C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002D: { | |
| "attributeName": "RxBeaconRequestCount", | |
| "attributeId": 0x0000002D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002E: { | |
| "attributeName": "RxOtherCount", | |
| "attributeId": 0x0000002E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002F: { | |
| "attributeName": "RxAddressFilteredCount", | |
| "attributeId": 0x0000002F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "RxDestAddrFilteredCount", | |
| "attributeId": 0x00000030, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "RxDuplicatedCount", | |
| "attributeId": 0x00000031, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "RxErrNoFrameCount", | |
| "attributeId": 0x00000032, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000033: { | |
| "attributeName": "RxErrUnknownNeighborCount", | |
| "attributeId": 0x00000033, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000034: { | |
| "attributeName": "RxErrInvalidSrcAddrCount", | |
| "attributeId": 0x00000034, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000035: { | |
| "attributeName": "RxErrSecCount", | |
| "attributeId": 0x00000035, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000036: { | |
| "attributeName": "RxErrFcsCount", | |
| "attributeId": 0x00000036, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000037: { | |
| "attributeName": "RxErrOtherCount", | |
| "attributeId": 0x00000037, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000038: { | |
| "attributeName": "ActiveTimestamp", | |
| "attributeId": 0x00000038, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000039: { | |
| "attributeName": "PendingTimestamp", | |
| "attributeId": 0x00000039, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003A: { | |
| "attributeName": "Delay", | |
| "attributeId": 0x0000003A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003B: { | |
| "attributeName": "SecurityPolicy", | |
| "attributeId": 0x0000003B, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000003C: { | |
| "attributeName": "ChannelPage0Mask", | |
| "attributeId": 0x0000003C, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x0000003D: { | |
| "attributeName": "OperationalDatasetComponents", | |
| "attributeId": 0x0000003D, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000003E: { | |
| "attributeName": "ActiveNetworkFaultsList", | |
| "attributeId": 0x0000003E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003F: { | |
| "attributeName": "ExtAddress", | |
| "attributeId": 0x0000003F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000040: { | |
| "attributeName": "Rloc16", | |
| "attributeId": 0x00000040, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { | |
| "clusterName": "WiFiNetworkDiagnostics", | |
| "clusterId": 0x00000036, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetCounts", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Bssid", | |
| "attributeId": 0x00000000, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SecurityType", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "WiFiVersion", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ChannelNumber", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "Rssi", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "BeaconLostCount", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "BeaconRxCount", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "PacketMulticastRxCount", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "PacketMulticastTxCount", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "PacketUnicastRxCount", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "PacketUnicastTxCount", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "CurrentMaxRate", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "OverrunCount", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { | |
| "clusterName": "EthernetNetworkDiagnostics", | |
| "clusterId": 0x00000037, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetCounts", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PHYRate", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "FullDuplex", | |
| "attributeId": 0x00000001, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "PacketRxCount", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PacketTxCount", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "TxErrCount", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CollisionCount", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "OverrunCount", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "CarrierDetect", | |
| "attributeId": 0x00000007, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "TimeSinceReset", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TIME_SYNCHRONIZATION_CLUSTER_INFO = { | |
| "clusterName": "TimeSynchronization", | |
| "clusterId": 0x00000038, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SetUTCTime", | |
| "args": { | |
| "UTCTime": "int", | |
| "granularity": "int", | |
| "timeSource": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "SetTrustedTimeSource", | |
| "args": { | |
| "trustedTimeSource": "FabricScopedTrustedTimeSourceStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "SetTimeZone", | |
| "args": { | |
| "timeZone": "TimeZoneStruct", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "SetDSTOffset", | |
| "args": { | |
| "DSTOffset": "DSTOffsetStruct", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "SetDefaultNTP", | |
| "args": { | |
| "defaultNTP": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "UTCTime", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Granularity", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "TimeSource", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "TrustedTimeSource", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "DefaultNTP", | |
| "attributeId": 0x00000004, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "TimeZone", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "DSTOffset", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "LocalTime", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "TimeZoneDatabase", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "NTPServerAvailable", | |
| "attributeId": 0x00000009, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "TimeZoneListMaxSize", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "DSTOffsetListMaxSize", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "SupportsDNSResolve", | |
| "attributeId": 0x0000000C, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER_INFO = { | |
| "clusterName": "BridgedDeviceBasicInformation", | |
| "clusterId": 0x00000039, | |
| "commands": { | |
| 0x00000080: { | |
| "commandId": 0x00000080, | |
| "commandName": "KeepActive", | |
| "args": { | |
| "stayActiveDuration": "int", | |
| "timeoutMs": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000001: { | |
| "attributeName": "VendorName", | |
| "attributeId": 0x00000001, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "VendorID", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ProductName", | |
| "attributeId": 0x00000003, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ProductID", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "NodeLabel", | |
| "attributeId": 0x00000005, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "HardwareVersion", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "HardwareVersionString", | |
| "attributeId": 0x00000008, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "SoftwareVersion", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "SoftwareVersionString", | |
| "attributeId": 0x0000000A, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "ManufacturingDate", | |
| "attributeId": 0x0000000B, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "PartNumber", | |
| "attributeId": 0x0000000C, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "ProductURL", | |
| "attributeId": 0x0000000D, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "ProductLabel", | |
| "attributeId": 0x0000000E, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "SerialNumber", | |
| "attributeId": 0x0000000F, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "Reachable", | |
| "attributeId": 0x00000011, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "UniqueID", | |
| "attributeId": 0x00000012, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "ProductAppearance", | |
| "attributeId": 0x00000014, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "DeviceLocation", | |
| "attributeId": 0x00000017, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "ConfigurationVersion", | |
| "attributeId": 0x00000018, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SWITCH_CLUSTER_INFO = { | |
| "clusterName": "Switch", | |
| "clusterId": 0x0000003B, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "NumberOfPositions", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentPosition", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MultiPressMax", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO = { | |
| "clusterName": "AdministratorCommissioning", | |
| "clusterId": 0x0000003C, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "OpenCommissioningWindow", | |
| "args": { | |
| "commissioningTimeout": "int", | |
| "PAKEPasscodeVerifier": "bytes", | |
| "discriminator": "int", | |
| "iterations": "int", | |
| "salt": "bytes", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "OpenBasicCommissioningWindow", | |
| "args": { | |
| "commissioningTimeout": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "RevokeCommissioning", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "WindowStatus", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "AdminFabricIndex", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "AdminVendorId", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OPERATIONAL_CREDENTIALS_CLUSTER_INFO = { | |
| "clusterName": "OperationalCredentials", | |
| "clusterId": 0x0000003E, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AttestationRequest", | |
| "args": { | |
| "attestationNonce": "bytes", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "CertificateChainRequest", | |
| "args": { | |
| "certificateType": "int", | |
| "cryptoProfile": "CryptoProfileChainStruct", | |
| "segmentID": "int", | |
| "maxSegmentSize": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "CSRRequest", | |
| "args": { | |
| "CSRNonce": "bytes", | |
| "isForUpdateNOC": "bool", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "AddNOC", | |
| "args": { | |
| "NOCValue": "bytes", | |
| "ICACValue": "bytes", | |
| "IPKValue": "bytes", | |
| "caseAdminSubject": "int", | |
| "adminVendorId": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "UpdateNOC", | |
| "args": { | |
| "NOCValue": "bytes", | |
| "ICACValue": "bytes", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "UpdateFabricLabel", | |
| "args": { | |
| "label": "str", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "RemoveFabric", | |
| "args": { | |
| "fabricIndex": "int", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "AddTrustedRootCertificate", | |
| "args": { | |
| "rootCACertificate": "bytes", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "SetVIDVerificationStatement", | |
| "args": { | |
| "vendorID": "int", | |
| "VIDVerificationStatement": "bytes", | |
| "vvsc": "bytes", | |
| }, | |
| }, | |
| 0x0000000D: { | |
| "commandId": 0x0000000D, | |
| "commandName": "SignVIDVerificationRequest", | |
| "args": { | |
| "fabricIndex": "int", | |
| "clientChallenge": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "NOCs", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Fabrics", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SupportedFabrics", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CommissionedFabrics", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "TrustedRootCertificates", | |
| "attributeId": 0x00000004, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CurrentFabricIndex", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "PQCDeviceAttestationProfile", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _GROUP_KEY_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "GroupKeyManagement", | |
| "clusterId": 0x0000003F, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "KeySetWrite", | |
| "args": { | |
| "groupKeySet": "GroupKeySetStruct", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "KeySetRead", | |
| "args": { | |
| "groupKeySetID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "KeySetRemove", | |
| "args": { | |
| "groupKeySetID": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "KeySetReadAllIndices", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "GroupKeyMap", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "GroupTable", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxGroupsPerFabric", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MaxGroupKeysPerFabric", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _FIXED_LABEL_CLUSTER_INFO = { | |
| "clusterName": "FixedLabel", | |
| "clusterId": 0x00000040, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "LabelList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _USER_LABEL_CLUSTER_INFO = { | |
| "clusterName": "UserLabel", | |
| "clusterId": 0x00000041, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "LabelList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PROXY_CONFIGURATION_CLUSTER_INFO = { | |
| "clusterName": "ProxyConfiguration", | |
| "clusterId": 0x00000042, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PROXY_DISCOVERY_CLUSTER_INFO = { | |
| "clusterName": "ProxyDiscovery", | |
| "clusterId": 0x00000043, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PROXY_VALID_CLUSTER_INFO = { | |
| "clusterName": "ProxyValid", | |
| "clusterId": 0x00000044, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _BOOLEAN_STATE_CLUSTER_INFO = { | |
| "clusterName": "BooleanState", | |
| "clusterId": 0x00000045, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "StateValue", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ICD_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "IcdManagement", | |
| "clusterId": 0x00000046, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "RegisterClient", | |
| "args": { | |
| "checkInNodeID": "int", | |
| "monitoredSubject": "int", | |
| "key": "bytes", | |
| "verificationKey": "bytes", | |
| "clientType": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "UnregisterClient", | |
| "args": { | |
| "checkInNodeID": "int", | |
| "verificationKey": "bytes", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "StayActiveRequest", | |
| "args": { | |
| "stayActiveDuration": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "IdleModeDuration", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ActiveModeDuration", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ActiveModeThreshold", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "RegisteredClients", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ICDCounter", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ClientsSupportedPerFabric", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "UserActiveModeTriggerHint", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "UserActiveModeTriggerInstruction", | |
| "attributeId": 0x00000007, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "OperatingMode", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MaximumCheckInBackOff", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OVEN_CAVITY_OPERATIONAL_STATE_CLUSTER_INFO = { | |
| "clusterName": "OvenCavityOperationalState", | |
| "clusterId": 0x00000048, | |
| "commands": { | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Stop", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Start", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PhaseList", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentPhase", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CountdownTime", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "OperationalStateList", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "OperationalState", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "OperationalError", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OVEN_MODE_CLUSTER_INFO = { | |
| "clusterName": "OvenMode", | |
| "clusterId": 0x00000049, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _LAUNDRY_DRYER_CONTROLS_CLUSTER_INFO = { | |
| "clusterName": "LaundryDryerControls", | |
| "clusterId": 0x0000004A, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedDrynessLevels", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SelectedDrynessLevel", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TEMPERATURE_CONTROLLED_CABINET_TOPOLOGY_CLUSTER_INFO = { | |
| "clusterName": "TemperatureControlledCabinetTopology", | |
| "clusterId": 0x0000004B, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "DisabledCabinets", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Topology", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MODE_SELECT_CLUSTER_INFO = { | |
| "clusterName": "ModeSelect", | |
| "clusterId": 0x00000050, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Description", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "StandardNamespace", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "StartUpMode", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "OnMode", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _LAUNDRY_WASHER_MODE_CLUSTER_INFO = { | |
| "clusterName": "LaundryWasherMode", | |
| "clusterId": 0x00000051, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _REFRIGERATOR_AND_TEMPERATURE_CONTROLLED_CABINET_MODE_CLUSTER_INFO = { | |
| "clusterName": "RefrigeratorAndTemperatureControlledCabinetMode", | |
| "clusterId": 0x00000052, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _LAUNDRY_WASHER_CONTROLS_CLUSTER_INFO = { | |
| "clusterName": "LaundryWasherControls", | |
| "clusterId": 0x00000053, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SpinSpeeds", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SpinSpeedCurrent", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "NumberOfRinses", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "SupportedRinses", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _RVC_RUN_MODE_CLUSTER_INFO = { | |
| "clusterName": "RvcRunMode", | |
| "clusterId": 0x00000054, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _RVC_CLEAN_MODE_CLUSTER_INFO = { | |
| "clusterName": "RvcCleanMode", | |
| "clusterId": 0x00000055, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TEMPERATURE_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "TemperatureControl", | |
| "clusterId": 0x00000056, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SetTemperature", | |
| "args": { | |
| "targetTemperature": "int", | |
| "targetTemperatureLevel": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TemperatureSetpoint", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinTemperature", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxTemperature", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Step", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "SelectedTemperatureLevel", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "SupportedTemperatureLevels", | |
| "attributeId": 0x00000005, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _REFRIGERATOR_ALARM_CLUSTER_INFO = { | |
| "clusterName": "RefrigeratorAlarm", | |
| "clusterId": 0x00000057, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Mask", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "State", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Supported", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DISHWASHER_MODE_CLUSTER_INFO = { | |
| "clusterName": "DishwasherMode", | |
| "clusterId": 0x00000059, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _AIR_QUALITY_CLUSTER_INFO = { | |
| "clusterName": "AirQuality", | |
| "clusterId": 0x0000005B, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "AirQuality", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SMOKE_CO_ALARM_CLUSTER_INFO = { | |
| "clusterName": "SmokeCoAlarm", | |
| "clusterId": 0x0000005C, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SelfTestRequest", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ExpressedState", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SmokeState", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "COState", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "BatteryAlert", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "DeviceMuted", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "TestInProgress", | |
| "attributeId": 0x00000005, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "HardwareFaultAlert", | |
| "attributeId": 0x00000006, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "EndOfServiceAlert", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "InterconnectSmokeAlarm", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "InterconnectCOAlarm", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "ContaminationState", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "SmokeSensitivityLevel", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "ExpiryDate", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "Unmounted", | |
| "attributeId": 0x0000000D, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DISHWASHER_ALARM_CLUSTER_INFO = { | |
| "clusterName": "DishwasherAlarm", | |
| "clusterId": 0x0000005D, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Reset", | |
| "args": { | |
| "alarms": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ModifyEnabledAlarms", | |
| "args": { | |
| "mask": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Mask", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Latch", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "State", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Supported", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MICROWAVE_OVEN_MODE_CLUSTER_INFO = { | |
| "clusterName": "MicrowaveOvenMode", | |
| "clusterId": 0x0000005E, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MICROWAVE_OVEN_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "MicrowaveOvenControl", | |
| "clusterId": 0x0000005F, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SetCookingParameters", | |
| "args": { | |
| "cookMode": "int", | |
| "cookTime": "int", | |
| "powerSetting": "int", | |
| "wattSettingIndex": "int", | |
| "startAfterSetting": "bool", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "AddMoreTime", | |
| "args": { | |
| "timeToAdd": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CookTime", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxCookTime", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "PowerSetting", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MinPower", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "MaxPower", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "PowerStep", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "SupportedWatts", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "SelectedWattIndex", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "WattRating", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OPERATIONAL_STATE_CLUSTER_INFO = { | |
| "clusterName": "OperationalState", | |
| "clusterId": 0x00000060, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Pause", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Stop", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Start", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "Resume", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PhaseList", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentPhase", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CountdownTime", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "OperationalStateList", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "OperationalState", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "OperationalError", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _RVC_OPERATIONAL_STATE_CLUSTER_INFO = { | |
| "clusterName": "RvcOperationalState", | |
| "clusterId": 0x00000061, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Pause", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "Resume", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000080: { | |
| "commandId": 0x00000080, | |
| "commandName": "GoHome", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PhaseList", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentPhase", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CountdownTime", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "OperationalStateList", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "OperationalState", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "OperationalError", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SCENES_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "ScenesManagement", | |
| "clusterId": 0x00000062, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AddScene", | |
| "args": { | |
| "groupID": "int", | |
| "sceneID": "int", | |
| "transitionTime": "int", | |
| "sceneName": "str", | |
| "extensionFieldSetStructs": "ExtensionFieldSetStruct", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ViewScene", | |
| "args": { | |
| "groupID": "int", | |
| "sceneID": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "RemoveScene", | |
| "args": { | |
| "groupID": "int", | |
| "sceneID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "RemoveAllScenes", | |
| "args": { | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "StoreScene", | |
| "args": { | |
| "groupID": "int", | |
| "sceneID": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "RecallScene", | |
| "args": { | |
| "groupID": "int", | |
| "sceneID": "int", | |
| "transitionTime": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "GetSceneMembership", | |
| "args": { | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x00000040: { | |
| "commandId": 0x00000040, | |
| "commandName": "CopyScene", | |
| "args": { | |
| "mode": "int", | |
| "groupIdentifierFrom": "int", | |
| "sceneIdentifierFrom": "int", | |
| "groupIdentifierTo": "int", | |
| "sceneIdentifierTo": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000001: { | |
| "attributeName": "SceneTableSize", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "FabricSceneInfo", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _THERMOSTAT_MODE_CLUSTER_INFO = { | |
| "clusterName": "ThermostatMode", | |
| "clusterId": 0x00000063, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "StartUpMode", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _GROUPCAST_CLUSTER_INFO = { | |
| "clusterName": "Groupcast", | |
| "clusterId": 0x00000065, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "JoinGroup", | |
| "args": { | |
| "groupID": "int", | |
| "endpoints": "int", | |
| "keySetID": "int", | |
| "key": "bytes", | |
| "useAuxiliaryACL": "bool", | |
| "replaceEndpoints": "bool", | |
| "mcastAddrPolicy": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "LeaveGroup", | |
| "args": { | |
| "groupID": "int", | |
| "endpoints": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "UpdateGroupKey", | |
| "args": { | |
| "groupID": "int", | |
| "keySetID": "int", | |
| "key": "bytes", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "ConfigureAuxiliaryACL", | |
| "args": { | |
| "groupID": "int", | |
| "useAuxiliaryACL": "bool", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "GroupcastTesting", | |
| "args": { | |
| "testOperation": "int", | |
| "durationSeconds": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Membership", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxMembershipCount", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMcastAddrCount", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "UsedMcastAddrCount", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "FabricUnderTest", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _HEPA_FILTER_MONITORING_CLUSTER_INFO = { | |
| "clusterName": "HepaFilterMonitoring", | |
| "clusterId": 0x00000071, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetCondition", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Condition", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "DegradationDirection", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ChangeIndication", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "InPlaceIndicator", | |
| "attributeId": 0x00000003, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "LastChangedTime", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ReplacementProductList", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER_INFO = { | |
| "clusterName": "ActivatedCarbonFilterMonitoring", | |
| "clusterId": 0x00000072, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetCondition", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Condition", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "DegradationDirection", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ChangeIndication", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "InPlaceIndicator", | |
| "attributeId": 0x00000003, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "LastChangedTime", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ReplacementProductList", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WATER_TANK_LEVEL_MONITORING_CLUSTER_INFO = { | |
| "clusterName": "WaterTankLevelMonitoring", | |
| "clusterId": 0x00000079, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ResetCondition", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Condition", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "DegradationDirection", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ChangeIndication", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "InPlaceIndicator", | |
| "attributeId": 0x00000003, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "LastChangedTime", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ReplacementProductList", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _BOOLEAN_STATE_CONFIGURATION_CLUSTER_INFO = { | |
| "clusterName": "BooleanStateConfiguration", | |
| "clusterId": 0x00000080, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SuppressAlarm", | |
| "args": { | |
| "alarmsToSuppress": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "EnableDisableAlarm", | |
| "args": { | |
| "alarmsToEnableDisable": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentSensitivityLevel", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SupportedSensitivityLevels", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "DefaultSensitivityLevel", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "AlarmsActive", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "AlarmsSuppressed", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AlarmsEnabled", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AlarmsSupported", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "SensorFault", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _VALVE_CONFIGURATION_AND_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "ValveConfigurationAndControl", | |
| "clusterId": 0x00000081, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Open", | |
| "args": { | |
| "openDuration": "int", | |
| "targetLevel": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Close", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "OpenDuration", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "DefaultOpenDuration", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "AutoCloseTime", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "RemainingDuration", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CurrentState", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "TargetState", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "CurrentLevel", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "TargetLevel", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "DefaultOpenLevel", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "ValveFault", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelStep", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ELECTRICAL_POWER_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "ElectricalPowerMeasurement", | |
| "clusterId": 0x00000090, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PowerMode", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "NumberOfMeasurementTypes", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Accuracy", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Ranges", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "Voltage", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ActiveCurrent", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "ReactiveCurrent", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "ApparentCurrent", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "ActivePower", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "ReactivePower", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "ApparentPower", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "RMSVoltage", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "RMSCurrent", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "RMSPower", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "Frequency", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "HarmonicCurrents", | |
| "attributeId": 0x0000000F, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "HarmonicPhases", | |
| "attributeId": 0x00000010, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "PowerFactor", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "NeutralCurrent", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ELECTRICAL_ENERGY_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "ElectricalEnergyMeasurement", | |
| "clusterId": 0x00000091, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Accuracy", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CumulativeEnergyImported", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CumulativeEnergyExported", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeriodicEnergyImported", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeriodicEnergyExported", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CumulativeEnergyReset", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WATER_HEATER_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "WaterHeaterManagement", | |
| "clusterId": 0x00000094, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Boost", | |
| "args": { | |
| "boostInfo": "WaterHeaterBoostInfoStruct", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "CancelBoost", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "HeaterTypes", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "HeatDemand", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "TankVolume", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "EstimatedHeatRequired", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "TankPercentage", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "BoostState", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _COMMODITY_PRICE_CLUSTER_INFO = { | |
| "clusterName": "CommodityPrice", | |
| "clusterId": 0x00000095, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "GetDetailedPriceRequest", | |
| "args": { | |
| "details": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "GetDetailedForecastRequest", | |
| "args": { | |
| "details": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TariffUnit", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Currency", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CurrentPrice", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PriceForecast", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MESSAGES_CLUSTER_INFO = { | |
| "clusterName": "Messages", | |
| "clusterId": 0x00000097, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "PresentMessagesRequest", | |
| "args": { | |
| "messageID": "bytes", | |
| "priority": "int", | |
| "messageControl": "int", | |
| "startTime": "int", | |
| "duration": "int", | |
| "messageText": "str", | |
| "responses": "MessageResponseOptionStruct", | |
| "languageCode": "str", | |
| "messageURI": "str", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "CancelMessagesRequest", | |
| "args": { | |
| "messageIDs": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Messages", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ActiveMessageIDs", | |
| "attributeId": 0x00000001, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SupportedLanguageCodes", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "SupportedMimeTypes", | |
| "attributeId": 0x00000003, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DEVICE_ENERGY_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "DeviceEnergyManagement", | |
| "clusterId": 0x00000098, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "PowerAdjustRequest", | |
| "args": { | |
| "power": "int", | |
| "duration": "int", | |
| "cause": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "CancelPowerAdjustRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "StartTimeAdjustRequest", | |
| "args": { | |
| "requestedStartTime": "int", | |
| "cause": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "PauseRequest", | |
| "args": { | |
| "duration": "int", | |
| "cause": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "ResumeRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "ModifyForecastRequest", | |
| "args": { | |
| "forecastID": "int", | |
| "slotAdjustments": "SlotAdjustmentStruct", | |
| "cause": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "RequestConstraintBasedForecast", | |
| "args": { | |
| "constraints": "ConstraintsStruct", | |
| "cause": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "CancelRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "PowerRangeAdjustRequest", | |
| "args": { | |
| "minPower": "int", | |
| "maxPower": "int", | |
| "duration": "int", | |
| "cause": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "CancelPowerRangeAdjustRequest", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ESAType", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ESACanGenerate", | |
| "attributeId": 0x00000001, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ESAState", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "AbsMinPower", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "AbsMaxPower", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "PowerAdjustmentCapability", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "Forecast", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "OptOutState", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "PowerRangeAdjustment", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ENERGY_EVSE_CLUSTER_INFO = { | |
| "clusterName": "EnergyEvse", | |
| "clusterId": 0x00000099, | |
| "commands": { | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Disable", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "EnableCharging", | |
| "args": { | |
| "chargingEnabledUntil": "int", | |
| "minimumChargeCurrent": "int", | |
| "maximumChargeCurrent": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "EnableDischarging", | |
| "args": { | |
| "dischargingEnabledUntil": "int", | |
| "maximumDischargeCurrent": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "StartDiagnostics", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "SetTargets", | |
| "args": { | |
| "chargingTargetSchedules": "ChargingTargetScheduleStruct", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "GetTargets", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "ClearTargets", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "State", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SupplyState", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "FaultState", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ChargingEnabledUntil", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "DischargingEnabledUntil", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CircuitCapacity", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "MinimumChargeCurrent", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "MaximumChargeCurrent", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MaximumDischargeCurrent", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "UserMaximumChargeCurrent", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "RandomizationDelayWindow", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000023: { | |
| "attributeName": "NextChargeStartTime", | |
| "attributeId": 0x00000023, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "NextChargeTargetTime", | |
| "attributeId": 0x00000024, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "NextChargeRequiredEnergy", | |
| "attributeId": 0x00000025, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000026: { | |
| "attributeName": "NextChargeTargetSoC", | |
| "attributeId": 0x00000026, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000027: { | |
| "attributeName": "ApproximateEVEfficiency", | |
| "attributeId": 0x00000027, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "StateOfCharge", | |
| "attributeId": 0x00000030, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "BatteryCapacity", | |
| "attributeId": 0x00000031, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "VehicleID", | |
| "attributeId": 0x00000032, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000040: { | |
| "attributeName": "SessionID", | |
| "attributeId": 0x00000040, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000041: { | |
| "attributeName": "SessionDuration", | |
| "attributeId": 0x00000041, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000042: { | |
| "attributeName": "SessionEnergyCharged", | |
| "attributeId": 0x00000042, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000043: { | |
| "attributeName": "SessionEnergyDischarged", | |
| "attributeId": 0x00000043, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ENERGY_PREFERENCE_CLUSTER_INFO = { | |
| "clusterName": "EnergyPreference", | |
| "clusterId": 0x0000009B, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "EnergyBalances", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentEnergyBalance", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "EnergyPriorities", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "LowPowerModeSensitivities", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CurrentLowPowerModeSensitivity", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _POWER_TOPOLOGY_CLUSTER_INFO = { | |
| "clusterName": "PowerTopology", | |
| "clusterId": 0x0000009C, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "AvailableEndpoints", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ActiveEndpoints", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ElectricalCircuitNodes", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ENERGY_EVSE_MODE_CLUSTER_INFO = { | |
| "clusterName": "EnergyEvseMode", | |
| "clusterId": 0x0000009D, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WATER_HEATER_MODE_CLUSTER_INFO = { | |
| "clusterName": "WaterHeaterMode", | |
| "clusterId": 0x0000009E, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DEVICE_ENERGY_MANAGEMENT_MODE_CLUSTER_INFO = { | |
| "clusterName": "DeviceEnergyManagementMode", | |
| "clusterId": 0x0000009F, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeToMode", | |
| "args": { | |
| "newMode": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeToModeByCoreTag", | |
| "args": { | |
| "newModeTag": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CoreModeTags", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ELECTRICAL_GRID_CONDITIONS_CLUSTER_INFO = { | |
| "clusterName": "ElectricalGridConditions", | |
| "clusterId": 0x000000A0, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "LocalGenerationAvailable", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentConditions", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ForecastConditions", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ELECTRICAL_ALARM_CLUSTER_INFO = { | |
| "clusterName": "ElectricalAlarm", | |
| "clusterId": 0x000000A1, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Reset", | |
| "args": { | |
| "alarms": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ModifyEnabledAlarms", | |
| "args": { | |
| "mask": "int", | |
| }, | |
| }, | |
| 0x00000080: { | |
| "commandId": 0x00000080, | |
| "commandName": "SetElectricalAlarmThresholds", | |
| "args": { | |
| "overVoltageThreshold": "int", | |
| "underVoltageThreshold": "int", | |
| "overFrequencyThreshold": "int", | |
| "underFrequencyThreshold": "int", | |
| "overPowerThreshold": "int", | |
| "underPowerThreshold": "int", | |
| "overCurrentThreshold": "int", | |
| "underCurrentThreshold": "int", | |
| "powerImportThreshold": "int", | |
| "powerExportThreshold": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Mask", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Latch", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "State", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Supported", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000080: { | |
| "attributeName": "OverVoltageThreshold", | |
| "attributeId": 0x00000080, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000081: { | |
| "attributeName": "UnderVoltageThreshold", | |
| "attributeId": 0x00000081, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000082: { | |
| "attributeName": "OverFrequencyThreshold", | |
| "attributeId": 0x00000082, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000083: { | |
| "attributeName": "UnderFrequencyThreshold", | |
| "attributeId": 0x00000083, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000084: { | |
| "attributeName": "OverPowerThreshold", | |
| "attributeId": 0x00000084, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000085: { | |
| "attributeName": "UnderPowerThreshold", | |
| "attributeId": 0x00000085, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000086: { | |
| "attributeName": "OverCurrentThreshold", | |
| "attributeId": 0x00000086, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000087: { | |
| "attributeName": "UnderCurrentThreshold", | |
| "attributeId": 0x00000087, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000088: { | |
| "attributeName": "PowerImportThreshold", | |
| "attributeId": 0x00000088, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000089: { | |
| "attributeName": "PowerExportThreshold", | |
| "attributeId": 0x00000089, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ELECTRICAL_DISTRIBUTION_CLUSTER_INFO = { | |
| "clusterName": "ElectricalDistribution", | |
| "clusterId": 0x000000A2, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxContinuousCurrent", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxVoltage", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "NumberOfPoles", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "EndOfLife", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ServiceEntranceRated", | |
| "attributeId": 0x00000004, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ELECTRICAL_PROTECTION_ALARM_CLUSTER_INFO = { | |
| "clusterName": "ElectricalProtectionAlarm", | |
| "clusterId": 0x000000A3, | |
| "commands": { | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ModifyEnabledAlarms", | |
| "args": { | |
| "mask": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Mask", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "State", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Supported", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000080: { | |
| "attributeName": "ArcCause", | |
| "attributeId": 0x00000080, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000081: { | |
| "attributeName": "OverLoadRating", | |
| "attributeId": 0x00000081, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000082: { | |
| "attributeName": "OverVoltageRating", | |
| "attributeId": 0x00000082, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000083: { | |
| "attributeName": "SurgeProtectionRating", | |
| "attributeId": 0x00000083, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000084: { | |
| "attributeName": "ShortCircuitRating", | |
| "attributeId": 0x00000084, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000085: { | |
| "attributeName": "ResidualCurrentRating", | |
| "attributeId": 0x00000085, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000086: { | |
| "attributeName": "ArcFaultRating", | |
| "attributeId": 0x00000086, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DOOR_LOCK_CLUSTER_INFO = { | |
| "clusterName": "DoorLock", | |
| "clusterId": 0x00000101, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "LockDoor", | |
| "args": { | |
| "PINCode": "bytes", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "UnlockDoor", | |
| "args": { | |
| "PINCode": "bytes", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "UnlockWithTimeout", | |
| "args": { | |
| "timeout": "int", | |
| "PINCode": "bytes", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "SetWeekDaySchedule", | |
| "args": { | |
| "weekDayIndex": "int", | |
| "userIndex": "int", | |
| "daysMask": "int", | |
| "startHour": "int", | |
| "startMinute": "int", | |
| "endHour": "int", | |
| "endMinute": "int", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "GetWeekDaySchedule", | |
| "args": { | |
| "weekDayIndex": "int", | |
| "userIndex": "int", | |
| }, | |
| }, | |
| 0x0000000D: { | |
| "commandId": 0x0000000D, | |
| "commandName": "ClearWeekDaySchedule", | |
| "args": { | |
| "weekDayIndex": "int", | |
| "userIndex": "int", | |
| }, | |
| }, | |
| 0x0000000E: { | |
| "commandId": 0x0000000E, | |
| "commandName": "SetYearDaySchedule", | |
| "args": { | |
| "yearDayIndex": "int", | |
| "userIndex": "int", | |
| "localStartTime": "int", | |
| "localEndTime": "int", | |
| }, | |
| }, | |
| 0x0000000F: { | |
| "commandId": 0x0000000F, | |
| "commandName": "GetYearDaySchedule", | |
| "args": { | |
| "yearDayIndex": "int", | |
| "userIndex": "int", | |
| }, | |
| }, | |
| 0x00000010: { | |
| "commandId": 0x00000010, | |
| "commandName": "ClearYearDaySchedule", | |
| "args": { | |
| "yearDayIndex": "int", | |
| "userIndex": "int", | |
| }, | |
| }, | |
| 0x00000011: { | |
| "commandId": 0x00000011, | |
| "commandName": "SetHolidaySchedule", | |
| "args": { | |
| "holidayIndex": "int", | |
| "localStartTime": "int", | |
| "localEndTime": "int", | |
| "operatingMode": "int", | |
| }, | |
| }, | |
| 0x00000012: { | |
| "commandId": 0x00000012, | |
| "commandName": "GetHolidaySchedule", | |
| "args": { | |
| "holidayIndex": "int", | |
| }, | |
| }, | |
| 0x00000013: { | |
| "commandId": 0x00000013, | |
| "commandName": "ClearHolidaySchedule", | |
| "args": { | |
| "holidayIndex": "int", | |
| }, | |
| }, | |
| 0x0000001A: { | |
| "commandId": 0x0000001A, | |
| "commandName": "SetUser", | |
| "args": { | |
| "operationType": "int", | |
| "userIndex": "int", | |
| "userName": "str", | |
| "userUniqueID": "int", | |
| "userStatus": "int", | |
| "userType": "int", | |
| "credentialRule": "int", | |
| }, | |
| }, | |
| 0x0000001B: { | |
| "commandId": 0x0000001B, | |
| "commandName": "GetUser", | |
| "args": { | |
| "userIndex": "int", | |
| }, | |
| }, | |
| 0x0000001D: { | |
| "commandId": 0x0000001D, | |
| "commandName": "ClearUser", | |
| "args": { | |
| "userIndex": "int", | |
| }, | |
| }, | |
| 0x00000022: { | |
| "commandId": 0x00000022, | |
| "commandName": "SetCredential", | |
| "args": { | |
| "operationType": "int", | |
| "credential": "CredentialStruct", | |
| "credentialData": "bytes", | |
| "userIndex": "int", | |
| "userStatus": "int", | |
| "userType": "int", | |
| }, | |
| }, | |
| 0x00000024: { | |
| "commandId": 0x00000024, | |
| "commandName": "GetCredentialStatus", | |
| "args": { | |
| "credential": "CredentialStruct", | |
| }, | |
| }, | |
| 0x00000026: { | |
| "commandId": 0x00000026, | |
| "commandName": "ClearCredential", | |
| "args": { | |
| "credential": "CredentialStruct", | |
| }, | |
| }, | |
| 0x00000027: { | |
| "commandId": 0x00000027, | |
| "commandName": "UnboltDoor", | |
| "args": { | |
| "PINCode": "bytes", | |
| }, | |
| }, | |
| 0x00000028: { | |
| "commandId": 0x00000028, | |
| "commandName": "SetAliroReaderConfig", | |
| "args": { | |
| "signingKey": "bytes", | |
| "verificationKey": "bytes", | |
| "groupIdentifier": "bytes", | |
| "groupResolvingKey": "bytes", | |
| }, | |
| }, | |
| 0x00000029: { | |
| "commandId": 0x00000029, | |
| "commandName": "ClearAliroReaderConfig", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "LockState", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "LockType", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ActuatorEnabled", | |
| "attributeId": 0x00000002, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "DoorState", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "DoorOpenEvents", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "DoorClosedEvents", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "OpenPeriod", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "NumberOfTotalUsersSupported", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "NumberOfPINUsersSupported", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "NumberOfRFIDUsersSupported", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "NumberOfWeekDaySchedulesSupportedPerUser", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "NumberOfYearDaySchedulesSupportedPerUser", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "NumberOfHolidaySchedulesSupported", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "MaxPINCodeLength", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "MinPINCodeLength", | |
| "attributeId": 0x00000018, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "MaxRFIDCodeLength", | |
| "attributeId": 0x00000019, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "MinRFIDCodeLength", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "CredentialRulesSupport", | |
| "attributeId": 0x0000001B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001C: { | |
| "attributeName": "NumberOfCredentialsSupportedPerUser", | |
| "attributeId": 0x0000001C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "Language", | |
| "attributeId": 0x00000021, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "LEDSettings", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000023: { | |
| "attributeName": "AutoRelockTime", | |
| "attributeId": 0x00000023, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "SoundVolume", | |
| "attributeId": 0x00000024, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "OperatingMode", | |
| "attributeId": 0x00000025, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000026: { | |
| "attributeName": "SupportedOperatingModes", | |
| "attributeId": 0x00000026, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000027: { | |
| "attributeName": "DefaultConfigurationRegister", | |
| "attributeId": 0x00000027, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000028: { | |
| "attributeName": "EnableLocalProgramming", | |
| "attributeId": 0x00000028, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000029: { | |
| "attributeName": "EnableOneTouchLocking", | |
| "attributeId": 0x00000029, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000002A: { | |
| "attributeName": "EnableInsideStatusLED", | |
| "attributeId": 0x0000002A, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000002B: { | |
| "attributeName": "EnablePrivacyModeButton", | |
| "attributeId": 0x0000002B, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000002C: { | |
| "attributeName": "LocalProgrammingFeatures", | |
| "attributeId": 0x0000002C, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "WrongCodeEntryLimit", | |
| "attributeId": 0x00000030, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "UserCodeTemporaryDisableTime", | |
| "attributeId": 0x00000031, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "SendPINOverTheAir", | |
| "attributeId": 0x00000032, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000033: { | |
| "attributeName": "RequirePINforRemoteOperation", | |
| "attributeId": 0x00000033, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000035: { | |
| "attributeName": "ExpiringUserTimeout", | |
| "attributeId": 0x00000035, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000080: { | |
| "attributeName": "AliroReaderVerificationKey", | |
| "attributeId": 0x00000080, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000081: { | |
| "attributeName": "AliroReaderGroupIdentifier", | |
| "attributeId": 0x00000081, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000082: { | |
| "attributeName": "AliroReaderGroupSubIdentifier", | |
| "attributeId": 0x00000082, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000083: { | |
| "attributeName": "AliroExpeditedTransactionSupportedProtocolVersions", | |
| "attributeId": 0x00000083, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000084: { | |
| "attributeName": "AliroGroupResolvingKey", | |
| "attributeId": 0x00000084, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000085: { | |
| "attributeName": "AliroSupportedBLEUWBProtocolVersions", | |
| "attributeId": 0x00000085, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000086: { | |
| "attributeName": "AliroBLEAdvertisingVersion", | |
| "attributeId": 0x00000086, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000087: { | |
| "attributeName": "NumberOfAliroCredentialIssuerKeysSupported", | |
| "attributeId": 0x00000087, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000088: { | |
| "attributeName": "NumberOfAliroEndpointKeysSupported", | |
| "attributeId": 0x00000088, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WINDOW_COVERING_CLUSTER_INFO = { | |
| "clusterName": "WindowCovering", | |
| "clusterId": 0x00000102, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "UpOrOpen", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "DownOrClose", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "StopMotion", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "GoToLiftValue", | |
| "args": { | |
| "liftValue": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "GoToLiftPercentage", | |
| "args": { | |
| "liftPercent100thsValue": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "GoToTiltValue", | |
| "args": { | |
| "tiltValue": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "GoToTiltPercentage", | |
| "args": { | |
| "tiltPercent100thsValue": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Type", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "PhysicalClosedLimitLift", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "PhysicalClosedLimitTilt", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CurrentPositionLift", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CurrentPositionTilt", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "NumberOfActuationsLift", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "NumberOfActuationsTilt", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "ConfigStatus", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "CurrentPositionLiftPercentage", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "CurrentPositionTiltPercentage", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "OperationalStatus", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "TargetPositionLiftPercent100ths", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "TargetPositionTiltPercent100ths", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "EndProductType", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "CurrentPositionLiftPercent100ths", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "CurrentPositionTiltPercent100ths", | |
| "attributeId": 0x0000000F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "InstalledOpenLimitLift", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "InstalledClosedLimitLift", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "InstalledOpenLimitTilt", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "InstalledClosedLimitTilt", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "Mode", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "SafetyStatus", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CLOSURE_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "ClosureControl", | |
| "clusterId": 0x00000104, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Stop", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "MoveTo", | |
| "args": { | |
| "position": "int", | |
| "latch": "bool", | |
| "speed": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Calibrate", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "GroupedMoveTo", | |
| "args": { | |
| "position": "int", | |
| "latch": "bool", | |
| "speed": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CountdownTime", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MainState", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CurrentErrorList", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "OverallCurrentState", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "OverallTargetState", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "LatchControlModes", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CLOSURE_DIMENSION_CLUSTER_INFO = { | |
| "clusterName": "ClosureDimension", | |
| "clusterId": 0x00000105, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SetTarget", | |
| "args": { | |
| "position": "int", | |
| "latch": "bool", | |
| "speed": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Step", | |
| "args": { | |
| "direction": "int", | |
| "numberOfSteps": "int", | |
| "speed": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "GroupedSetTarget", | |
| "args": { | |
| "position": "int", | |
| "latch": "bool", | |
| "speed": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "GroupedStep", | |
| "args": { | |
| "direction": "int", | |
| "numberOfSteps": "int", | |
| "speed": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentState", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "TargetState", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Resolution", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "StepValue", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "Unit", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "UnitRange", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "LimitRange", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "TranslationDirection", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "RotationAxis", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "Overflow", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "ModulationType", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "LatchControlModes", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SERVICE_AREA_CLUSTER_INFO = { | |
| "clusterName": "ServiceArea", | |
| "clusterId": 0x00000150, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SelectAreas", | |
| "args": { | |
| "newAreas": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "SkipArea", | |
| "args": { | |
| "skippedArea": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedAreas", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SupportedMaps", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "SelectedAreas", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CurrentArea", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "EstimatedEndTime", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "Progress", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "PumpConfigurationAndControl", | |
| "clusterId": 0x00000200, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxPressure", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxSpeed", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxFlow", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MinConstPressure", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "MaxConstPressure", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "MinCompPressure", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "MaxCompPressure", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "MinConstSpeed", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MaxConstSpeed", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MinConstFlow", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "MaxConstFlow", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "MinConstTemp", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "MaxConstTemp", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "PumpStatus", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "EffectiveOperationMode", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "EffectiveControlMode", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "Capacity", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "Speed", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "LifetimeRunningHours", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "Power", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "LifetimeEnergyConsumed", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "OperationMode", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "ControlMode", | |
| "attributeId": 0x00000021, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _THERMOSTAT_CLUSTER_INFO = { | |
| "clusterName": "Thermostat", | |
| "clusterId": 0x00000201, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SetpointRaiseLower", | |
| "args": { | |
| "mode": "int", | |
| "amount": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "SetWeeklySchedule", | |
| "args": { | |
| "numberOfTransitionsForSequence": "int", | |
| "dayOfWeekForSequence": "int", | |
| "modeForSequence": "int", | |
| "transitions": "WeeklyScheduleTransitionStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "GetWeeklySchedule", | |
| "args": { | |
| "daysToReturn": "int", | |
| "modeToReturn": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "ClearWeeklySchedule", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "SetActiveScheduleRequest", | |
| "args": { | |
| "scheduleHandle": "bytes", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "SetActivePresetRequest", | |
| "args": { | |
| "presetHandle": "bytes", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "AddThermostatSuggestion", | |
| "args": { | |
| "presetHandle": "bytes", | |
| "effectiveTime": "int", | |
| "expirationInMinutes": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "RemoveThermostatSuggestion", | |
| "args": { | |
| "uniqueID": "int", | |
| }, | |
| }, | |
| 0x000000FE: { | |
| "commandId": 0x000000FE, | |
| "commandName": "AtomicRequest", | |
| "args": { | |
| "requestType": "int", | |
| "attributeRequests": "int", | |
| "timeout": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "LocalTemperature", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "OutdoorTemperature", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Occupancy", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "AbsMinHeatSetpointLimit", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "AbsMaxHeatSetpointLimit", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AbsMinCoolSetpointLimit", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AbsMaxCoolSetpointLimit", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "PICoolingDemand", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "PIHeatingDemand", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "HVACSystemTypeConfiguration", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "LocalTemperatureCalibration", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "OccupiedCoolingSetpoint", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "OccupiedHeatingSetpoint", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "UnoccupiedCoolingSetpoint", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "UnoccupiedHeatingSetpoint", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "MinHeatSetpointLimit", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "MaxHeatSetpointLimit", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "MinCoolSetpointLimit", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "MaxCoolSetpointLimit", | |
| "attributeId": 0x00000018, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "MinSetpointDeadBand", | |
| "attributeId": 0x00000019, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "RemoteSensing", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "ControlSequenceOfOperation", | |
| "attributeId": 0x0000001B, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001C: { | |
| "attributeName": "SystemMode", | |
| "attributeId": 0x0000001C, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001E: { | |
| "attributeName": "ThermostatRunningMode", | |
| "attributeId": 0x0000001E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "StartOfWeek", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "NumberOfWeeklyTransitions", | |
| "attributeId": 0x00000021, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "NumberOfDailyTransitions", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000023: { | |
| "attributeName": "TemperatureSetpointHold", | |
| "attributeId": 0x00000023, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "TemperatureSetpointHoldDuration", | |
| "attributeId": 0x00000024, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "ThermostatProgrammingOperationMode", | |
| "attributeId": 0x00000025, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000029: { | |
| "attributeName": "ThermostatRunningState", | |
| "attributeId": 0x00000029, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "SetpointChangeSource", | |
| "attributeId": 0x00000030, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "SetpointChangeAmount", | |
| "attributeId": 0x00000031, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "SetpointChangeSourceTimestamp", | |
| "attributeId": 0x00000032, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000034: { | |
| "attributeName": "OccupiedSetback", | |
| "attributeId": 0x00000034, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000035: { | |
| "attributeName": "OccupiedSetbackMin", | |
| "attributeId": 0x00000035, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000036: { | |
| "attributeName": "OccupiedSetbackMax", | |
| "attributeId": 0x00000036, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000037: { | |
| "attributeName": "UnoccupiedSetback", | |
| "attributeId": 0x00000037, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000038: { | |
| "attributeName": "UnoccupiedSetbackMin", | |
| "attributeId": 0x00000038, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000039: { | |
| "attributeName": "UnoccupiedSetbackMax", | |
| "attributeId": 0x00000039, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003A: { | |
| "attributeName": "EmergencyHeatDelta", | |
| "attributeId": 0x0000003A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000040: { | |
| "attributeName": "ACType", | |
| "attributeId": 0x00000040, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000041: { | |
| "attributeName": "ACCapacity", | |
| "attributeId": 0x00000041, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000042: { | |
| "attributeName": "ACRefrigerantType", | |
| "attributeId": 0x00000042, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000043: { | |
| "attributeName": "ACCompressorType", | |
| "attributeId": 0x00000043, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000044: { | |
| "attributeName": "ACErrorCode", | |
| "attributeId": 0x00000044, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000045: { | |
| "attributeName": "ACLouverPosition", | |
| "attributeId": 0x00000045, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000046: { | |
| "attributeName": "ACCoilTemperature", | |
| "attributeId": 0x00000046, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000047: { | |
| "attributeName": "ACCapacityformat", | |
| "attributeId": 0x00000047, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000048: { | |
| "attributeName": "PresetTypes", | |
| "attributeId": 0x00000048, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000049: { | |
| "attributeName": "ScheduleTypes", | |
| "attributeId": 0x00000049, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000004A: { | |
| "attributeName": "NumberOfPresets", | |
| "attributeId": 0x0000004A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000004B: { | |
| "attributeName": "NumberOfSchedules", | |
| "attributeId": 0x0000004B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000004C: { | |
| "attributeName": "NumberOfScheduleTransitions", | |
| "attributeId": 0x0000004C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000004D: { | |
| "attributeName": "NumberOfScheduleTransitionPerDay", | |
| "attributeId": 0x0000004D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000004E: { | |
| "attributeName": "ActivePresetHandle", | |
| "attributeId": 0x0000004E, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x0000004F: { | |
| "attributeName": "ActiveScheduleHandle", | |
| "attributeId": 0x0000004F, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000050: { | |
| "attributeName": "Presets", | |
| "attributeId": 0x00000050, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000051: { | |
| "attributeName": "Schedules", | |
| "attributeId": 0x00000051, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000052: { | |
| "attributeName": "SetpointHoldExpiryTimestamp", | |
| "attributeId": 0x00000052, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000053: { | |
| "attributeName": "MaxThermostatSuggestions", | |
| "attributeId": 0x00000053, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000054: { | |
| "attributeName": "ThermostatSuggestions", | |
| "attributeId": 0x00000054, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000055: { | |
| "attributeName": "CurrentThermostatSuggestion", | |
| "attributeId": 0x00000055, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000056: { | |
| "attributeName": "ThermostatSuggestionNotFollowingReason", | |
| "attributeId": 0x00000056, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000057: { | |
| "attributeName": "CriticalFreezeProtection", | |
| "attributeId": 0x00000057, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000058: { | |
| "attributeName": "CriticalOverheatProtection", | |
| "attributeId": 0x00000058, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000059: { | |
| "attributeName": "Sensors", | |
| "attributeId": 0x00000059, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000005A: { | |
| "attributeName": "AvailableSensorHandles", | |
| "attributeId": 0x0000005A, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000005B: { | |
| "attributeName": "EnabledSensorHandles", | |
| "attributeId": 0x0000005B, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000005C: { | |
| "attributeName": "NumberOfSensorScheduleTransitions", | |
| "attributeId": 0x0000005C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000005D: { | |
| "attributeName": "SensorSchedule", | |
| "attributeId": 0x0000005D, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _FAN_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "FanControl", | |
| "clusterId": 0x00000202, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Step", | |
| "args": { | |
| "direction": "int", | |
| "wrap": "bool", | |
| "lowestOff": "bool", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "FanMode", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "FanModeSequence", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "PercentSetting", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PercentCurrent", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "SpeedMax", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "SpeedSetting", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "SpeedCurrent", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "RockSupport", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "RockSetting", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "WindSupport", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "WindSetting", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "AirflowDirection", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO = { | |
| "clusterName": "ThermostatUserInterfaceConfiguration", | |
| "clusterId": 0x00000204, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TemperatureDisplayMode", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "KeypadLockout", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ScheduleProgrammingVisibility", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _HUMIDISTAT_CLUSTER_INFO = { | |
| "clusterName": "Humidistat", | |
| "clusterId": 0x00000205, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SetSettings", | |
| "args": { | |
| "userSetpoint": "int", | |
| "humidistatMode": "int", | |
| "mistType": "int", | |
| "continuous": "bool", | |
| "sleep": "bool", | |
| "optimal": "bool", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedModes", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "HumidistatMode", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "HumidistatSystemState", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "UserSetpoint", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "MinSetpoint", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "MaxSetpoint", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "Step", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "TargetSetpoint", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MistType", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "Continuous", | |
| "attributeId": 0x00000009, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "Sleep", | |
| "attributeId": 0x0000000A, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "Optimal", | |
| "attributeId": 0x0000000B, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "CondPumpEnabled", | |
| "attributeId": 0x0000000C, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "CondRunCount", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _COLOR_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "ColorControl", | |
| "clusterId": 0x00000300, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "MoveToHue", | |
| "args": { | |
| "hue": "int", | |
| "direction": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "MoveHue", | |
| "args": { | |
| "moveMode": "int", | |
| "rate": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "StepHue", | |
| "args": { | |
| "stepMode": "int", | |
| "stepSize": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "MoveToSaturation", | |
| "args": { | |
| "saturation": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "MoveSaturation", | |
| "args": { | |
| "moveMode": "int", | |
| "rate": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "StepSaturation", | |
| "args": { | |
| "stepMode": "int", | |
| "stepSize": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "MoveToHueAndSaturation", | |
| "args": { | |
| "hue": "int", | |
| "saturation": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "MoveToColor", | |
| "args": { | |
| "colorX": "int", | |
| "colorY": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "MoveColor", | |
| "args": { | |
| "rateX": "int", | |
| "rateY": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "StepColor", | |
| "args": { | |
| "stepX": "int", | |
| "stepY": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "MoveToColorTemperature", | |
| "args": { | |
| "colorTemperatureMireds": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000040: { | |
| "commandId": 0x00000040, | |
| "commandName": "EnhancedMoveToHue", | |
| "args": { | |
| "enhancedHue": "int", | |
| "direction": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000041: { | |
| "commandId": 0x00000041, | |
| "commandName": "EnhancedMoveHue", | |
| "args": { | |
| "moveMode": "int", | |
| "rate": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000042: { | |
| "commandId": 0x00000042, | |
| "commandName": "EnhancedStepHue", | |
| "args": { | |
| "stepMode": "int", | |
| "stepSize": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000043: { | |
| "commandId": 0x00000043, | |
| "commandName": "EnhancedMoveToHueAndSaturation", | |
| "args": { | |
| "enhancedHue": "int", | |
| "saturation": "int", | |
| "transitionTime": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000044: { | |
| "commandId": 0x00000044, | |
| "commandName": "ColorLoopSet", | |
| "args": { | |
| "updateFlags": "int", | |
| "action": "int", | |
| "direction": "int", | |
| "time": "int", | |
| "startHue": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x00000047: { | |
| "commandId": 0x00000047, | |
| "commandName": "StopMoveStep", | |
| "args": { | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x0000004B: { | |
| "commandId": 0x0000004B, | |
| "commandName": "MoveColorTemperature", | |
| "args": { | |
| "moveMode": "int", | |
| "rate": "int", | |
| "colorTemperatureMinimumMireds": "int", | |
| "colorTemperatureMaximumMireds": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| 0x0000004C: { | |
| "commandId": 0x0000004C, | |
| "commandName": "StepColorTemperature", | |
| "args": { | |
| "stepMode": "int", | |
| "stepSize": "int", | |
| "transitionTime": "int", | |
| "colorTemperatureMinimumMireds": "int", | |
| "colorTemperatureMaximumMireds": "int", | |
| "optionsMask": "int", | |
| "optionsOverride": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentHue", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentSaturation", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "RemainingTime", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CurrentX", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "CurrentY", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "DriftCompensation", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "CompensationText", | |
| "attributeId": 0x00000006, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "ColorTemperatureMireds", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "ColorMode", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "Options", | |
| "attributeId": 0x0000000F, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "NumberOfPrimaries", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "Primary1X", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "Primary1Y", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "Primary1Intensity", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "Primary2X", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "Primary2Y", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "Primary2Intensity", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "Primary3X", | |
| "attributeId": 0x00000019, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "Primary3Y", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "Primary3Intensity", | |
| "attributeId": 0x0000001B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "Primary4X", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "Primary4Y", | |
| "attributeId": 0x00000021, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "Primary4Intensity", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "Primary5X", | |
| "attributeId": 0x00000024, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "Primary5Y", | |
| "attributeId": 0x00000025, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000026: { | |
| "attributeName": "Primary5Intensity", | |
| "attributeId": 0x00000026, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000028: { | |
| "attributeName": "Primary6X", | |
| "attributeId": 0x00000028, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000029: { | |
| "attributeName": "Primary6Y", | |
| "attributeId": 0x00000029, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000002A: { | |
| "attributeName": "Primary6Intensity", | |
| "attributeId": 0x0000002A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "WhitePointX", | |
| "attributeId": 0x00000030, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "WhitePointY", | |
| "attributeId": 0x00000031, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "ColorPointRX", | |
| "attributeId": 0x00000032, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000033: { | |
| "attributeName": "ColorPointRY", | |
| "attributeId": 0x00000033, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000034: { | |
| "attributeName": "ColorPointRIntensity", | |
| "attributeId": 0x00000034, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000036: { | |
| "attributeName": "ColorPointGX", | |
| "attributeId": 0x00000036, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000037: { | |
| "attributeName": "ColorPointGY", | |
| "attributeId": 0x00000037, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000038: { | |
| "attributeName": "ColorPointGIntensity", | |
| "attributeId": 0x00000038, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003A: { | |
| "attributeName": "ColorPointBX", | |
| "attributeId": 0x0000003A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003B: { | |
| "attributeName": "ColorPointBY", | |
| "attributeId": 0x0000003B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000003C: { | |
| "attributeName": "ColorPointBIntensity", | |
| "attributeId": 0x0000003C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004000: { | |
| "attributeName": "EnhancedCurrentHue", | |
| "attributeId": 0x00004000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004001: { | |
| "attributeName": "EnhancedColorMode", | |
| "attributeId": 0x00004001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004002: { | |
| "attributeName": "ColorLoopActive", | |
| "attributeId": 0x00004002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004003: { | |
| "attributeName": "ColorLoopDirection", | |
| "attributeId": 0x00004003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004004: { | |
| "attributeName": "ColorLoopTime", | |
| "attributeId": 0x00004004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004005: { | |
| "attributeName": "ColorLoopStartEnhancedHue", | |
| "attributeId": 0x00004005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004006: { | |
| "attributeName": "ColorLoopStoredEnhancedHue", | |
| "attributeId": 0x00004006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000400A: { | |
| "attributeName": "ColorCapabilities", | |
| "attributeId": 0x0000400A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000400B: { | |
| "attributeName": "ColorTempPhysicalMinMireds", | |
| "attributeId": 0x0000400B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000400C: { | |
| "attributeName": "ColorTempPhysicalMaxMireds", | |
| "attributeId": 0x0000400C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000400D: { | |
| "attributeName": "CoupleColorTempToLevelMinMireds", | |
| "attributeId": 0x0000400D, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00004010: { | |
| "attributeName": "StartUpColorTemperatureMireds", | |
| "attributeId": 0x00004010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _BALLAST_CONFIGURATION_CLUSTER_INFO = { | |
| "clusterName": "BallastConfiguration", | |
| "clusterId": 0x00000301, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PhysicalMinLevel", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "PhysicalMaxLevel", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "BallastStatus", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "MinLevel", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "MaxLevel", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "IntrinsicBallastFactor", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "BallastFactorAdjustment", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "LampQuantity", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "LampType", | |
| "attributeId": 0x00000030, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "LampManufacturer", | |
| "attributeId": 0x00000031, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "LampRatedHours", | |
| "attributeId": 0x00000032, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000033: { | |
| "attributeName": "LampBurnHours", | |
| "attributeId": 0x00000033, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000034: { | |
| "attributeName": "LampAlarmMode", | |
| "attributeId": 0x00000034, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000035: { | |
| "attributeName": "LampBurnHoursTripPoint", | |
| "attributeId": 0x00000035, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _DYNAMIC_LIGHTING_CLUSTER_INFO = { | |
| "clusterName": "DynamicLighting", | |
| "clusterId": 0x00000305, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "StartEffect", | |
| "args": { | |
| "effectID": "int", | |
| "speed": "int", | |
| "colorMode": "int", | |
| "colorPalette": "EffectColorStruct", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "StopEffect", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "AvailableEffects", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentEffectID", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CurrentSpeed", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "IlluminanceMeasurement", | |
| "clusterId": 0x00000400, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Tolerance", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "LightSensorType", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TEMPERATURE_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "TemperatureMeasurement", | |
| "clusterId": 0x00000402, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Tolerance", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PRESSURE_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "PressureMeasurement", | |
| "clusterId": 0x00000403, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Tolerance", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "ScaledValue", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "MinScaledValue", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "MaxScaledValue", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "ScaledTolerance", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "Scale", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _FLOW_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "FlowMeasurement", | |
| "clusterId": 0x00000404, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Tolerance", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "RelativeHumidityMeasurement", | |
| "clusterId": 0x00000405, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Tolerance", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OCCUPANCY_SENSING_CLUSTER_INFO = { | |
| "clusterName": "OccupancySensing", | |
| "clusterId": 0x00000406, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Occupancy", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "OccupancySensorType", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "OccupancySensorTypeBitmap", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "HoldTime", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "HoldTimeLimits", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "PredictedOccupancy", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "PIROccupiedToUnoccupiedDelay", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "PIRUnoccupiedToOccupiedDelay", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "PIRUnoccupiedToOccupiedThreshold", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "UltrasonicOccupiedToUnoccupiedDelay", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "UltrasonicUnoccupiedToOccupiedDelay", | |
| "attributeId": 0x00000021, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "UltrasonicUnoccupiedToOccupiedThreshold", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "PhysicalContactOccupiedToUnoccupiedDelay", | |
| "attributeId": 0x00000030, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "PhysicalContactUnoccupiedToOccupiedDelay", | |
| "attributeId": 0x00000031, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "PhysicalContactUnoccupiedToOccupiedThreshold", | |
| "attributeId": 0x00000032, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "CarbonMonoxideConcentrationMeasurement", | |
| "clusterId": 0x0000040C, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "CarbonDioxideConcentrationMeasurement", | |
| "clusterId": 0x0000040D, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "NitrogenDioxideConcentrationMeasurement", | |
| "clusterId": 0x00000413, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _OZONE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "OzoneConcentrationMeasurement", | |
| "clusterId": 0x00000415, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PM2__5_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "Pm25ConcentrationMeasurement", | |
| "clusterId": 0x0000042A, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _FORMALDEHYDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "FormaldehydeConcentrationMeasurement", | |
| "clusterId": 0x0000042B, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PM1_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "Pm1ConcentrationMeasurement", | |
| "clusterId": 0x0000042C, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PM10_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "Pm10ConcentrationMeasurement", | |
| "clusterId": 0x0000042D, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TOTAL_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "TotalVolatileOrganicCompoundsConcentrationMeasurement", | |
| "clusterId": 0x0000042E, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _RADON_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "RadonConcentrationMeasurement", | |
| "clusterId": 0x0000042F, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SOIL_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "SoilMeasurement", | |
| "clusterId": 0x00000430, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SoilMoistureMeasurementLimits", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SoilMoistureMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _AMBIENT_CONTEXT_SENSING_CLUSTER_INFO = { | |
| "clusterName": "AmbientContextSensing", | |
| "clusterId": 0x00000431, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "HumanActivityDetected", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ObjectIdentified", | |
| "attributeId": 0x00000001, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "AudioContextDetected", | |
| "attributeId": 0x00000002, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "AmbientContextType", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "AmbientContextTypeSupported", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ObjectCountThresholdReached", | |
| "attributeId": 0x00000005, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "ObjectCountConfig", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "ObjectCount", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "SimultaneousDetectionLimit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "HoldTime", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "HoldTimeLimits", | |
| "attributeId": 0x0000000A, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "PredictedActivity", | |
| "attributeId": 0x0000000B, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "SensorFusionSupported", | |
| "attributeId": 0x0000000C, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _AMBIENT_SENSING_UNION_CLUSTER_INFO = { | |
| "clusterName": "AmbientSensingUnion", | |
| "clusterId": 0x00000432, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "UnionName", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "UnionHealth", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "UnionContributorList", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PROXIMITY_RANGING_CLUSTER_INFO = { | |
| "clusterName": "ProximityRanging", | |
| "clusterId": 0x00000433, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "StartRangingRequest", | |
| "args": { | |
| "technology": "int", | |
| "wiFiRangingDeviceRoleConfig": "WiFiRangingDeviceRoleConfigStruct", | |
| "BLERangingDeviceRoleConfig": "BLERangingDeviceRoleConfigStruct", | |
| "BLTChannelSoundingDeviceRoleConfig": "BLTChannelSoundingDeviceRoleConfigStruct", | |
| "frequencyBand": "int", | |
| "bandwidth": "int", | |
| "trigger": "RangingTriggerConditionStruct", | |
| "reportingCondition": "ReportingConditionStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "StopRangingRequest", | |
| "args": { | |
| "sessionID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "RangingCapabilities", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "WiFiDevIK", | |
| "attributeId": 0x00000001, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "BLEDeviceID", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "BLTDevIK", | |
| "attributeId": 0x00000003, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "BLTCSSecurityLevel", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "BLTCSModeCapability", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "SessionIDList", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "RangingConstraints", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SMOKE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO = { | |
| "clusterName": "SmokeConcentrationMeasurement", | |
| "clusterId": 0x00000434, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeasuredValue", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MinMeasuredValue", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxMeasuredValue", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "PeakMeasuredValue", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PeakMeasuredValueWindow", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "AverageMeasuredValue", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "AverageMeasuredValueWindow", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Uncertainty", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "MeasurementUnit", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MeasurementMedium", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "LevelValue", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _NETWORK_IDENTITY_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "NetworkIdentityManagement", | |
| "clusterId": 0x00000450, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AddClient", | |
| "args": { | |
| "clientIdentity": "bytes", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "RemoveClient", | |
| "args": { | |
| "clientIndex": "int", | |
| "clientIdentifier": "bytes", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "QueryIdentity", | |
| "args": { | |
| "networkIdentityIndex": "int", | |
| "networkIdentityType": "int", | |
| "clientIndex": "int", | |
| "identifier": "bytes", | |
| }, | |
| }, | |
| 0x00000040: { | |
| "commandId": 0x00000040, | |
| "commandName": "ImportAdminSecret", | |
| "args": { | |
| "networkAdministratorSharedSecret": "bytes", | |
| }, | |
| }, | |
| 0x00000041: { | |
| "commandId": 0x00000041, | |
| "commandName": "ExportAdminSecret", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ActiveNetworkIdentities", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Clients", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ClientTableSize", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WI_FI_NETWORK_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "WiFiNetworkManagement", | |
| "clusterId": 0x00000451, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "NetworkPassphraseRequest", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Ssid", | |
| "attributeId": 0x00000000, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "PassphraseSurrogate", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "ThreadBorderRouterManagement", | |
| "clusterId": 0x00000452, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "GetActiveDatasetRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "GetPendingDatasetRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "SetActiveDatasetRequest", | |
| "args": { | |
| "activeDataset": "bytes", | |
| "breadcrumb": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "SetPendingDatasetRequest", | |
| "args": { | |
| "pendingDataset": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "BorderRouterName", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "BorderAgentID", | |
| "attributeId": 0x00000001, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ThreadVersion", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "InterfaceEnabled", | |
| "attributeId": 0x00000003, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ActiveDatasetTimestamp", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "PendingDatasetTimestamp", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _THREAD_NETWORK_DIRECTORY_CLUSTER_INFO = { | |
| "clusterName": "ThreadNetworkDirectory", | |
| "clusterId": 0x00000453, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AddNetwork", | |
| "args": { | |
| "operationalDataset": "bytes", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "RemoveNetwork", | |
| "args": { | |
| "extendedPanID": "bytes", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "GetOperationalDataset", | |
| "args": { | |
| "extendedPanID": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "PreferredExtendedPanID", | |
| "attributeId": 0x00000000, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ThreadNetworks", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ThreadNetworkTableSize", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _COMMISSIONING_PROXY_CLUSTER_INFO = { | |
| "clusterName": "CommissioningProxy", | |
| "clusterId": 0x00000455, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ProxyConnectRequest", | |
| "args": { | |
| "address": "bytes", | |
| "transport": "int", | |
| "discriminator": "int", | |
| "vendorID": "int", | |
| "productID": "int", | |
| "timeout": "int", | |
| "wiFiBand": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ProxyDisconnectRequest", | |
| "args": { | |
| "sessionID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "ProxyScanRequest", | |
| "args": { | |
| "transport": "int", | |
| "wiFiBands": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "ProxyBackGroundScanStartRequest", | |
| "args": { | |
| "transport": "int", | |
| "timeout": "int", | |
| "wiFiBands": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "ProxyBackGroundScanStopRequest", | |
| "args": { | |
| "transport": "int", | |
| "wiFiBands": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "ProxyMessageRequest", | |
| "args": { | |
| "sessionID": "int", | |
| "responseTimeout": "int", | |
| "message": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Transport", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ScanMaxTime", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxSessions", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MaxCachedResults", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "NumCachedResults", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CacheTimeout", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "CachedResults", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "WiFiBand", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WAKE_ON_LAN_CLUSTER_INFO = { | |
| "clusterName": "WakeOnLan", | |
| "clusterId": 0x00000503, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MACAddress", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "LinkLocalAddress", | |
| "attributeId": 0x00000001, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CHANNEL_CLUSTER_INFO = { | |
| "clusterName": "Channel", | |
| "clusterId": 0x00000504, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ChangeChannel", | |
| "args": { | |
| "match": "str", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ChangeChannelByNumber", | |
| "args": { | |
| "majorNumber": "int", | |
| "minorNumber": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "SkipChannel", | |
| "args": { | |
| "count": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "GetProgramGuide", | |
| "args": { | |
| "startTime": "int", | |
| "endTime": "int", | |
| "channelList": "ChannelInfoStruct", | |
| "pageToken": "PageTokenStruct", | |
| "recordingFlag": "int", | |
| "externalIDList": "AdditionalInfoStruct", | |
| "data": "bytes", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "RecordProgram", | |
| "args": { | |
| "programIdentifier": "str", | |
| "shouldRecordSeries": "bool", | |
| "externalIDList": "AdditionalInfoStruct", | |
| "data": "bytes", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "CancelRecordProgram", | |
| "args": { | |
| "programIdentifier": "str", | |
| "shouldRecordSeries": "bool", | |
| "externalIDList": "AdditionalInfoStruct", | |
| "data": "bytes", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "ChannelList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Lineup", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "CurrentChannel", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TARGET_NAVIGATOR_CLUSTER_INFO = { | |
| "clusterName": "TargetNavigator", | |
| "clusterId": 0x00000505, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "NavigateTarget", | |
| "args": { | |
| "target": "int", | |
| "data": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TargetList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentTarget", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MEDIA_PLAYBACK_CLUSTER_INFO = { | |
| "clusterName": "MediaPlayback", | |
| "clusterId": 0x00000506, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Play", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Pause", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Stop", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "StartOver", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "Previous", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "Next", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "Rewind", | |
| "args": { | |
| "audioAdvanceUnmuted": "bool", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "FastForward", | |
| "args": { | |
| "audioAdvanceUnmuted": "bool", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "SkipForward", | |
| "args": { | |
| "deltaPositionMilliseconds": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "SkipBackward", | |
| "args": { | |
| "deltaPositionMilliseconds": "int", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "Seek", | |
| "args": { | |
| "position": "int", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "ActivateAudioTrack", | |
| "args": { | |
| "trackID": "str", | |
| "audioOutputIndex": "int", | |
| }, | |
| }, | |
| 0x0000000D: { | |
| "commandId": 0x0000000D, | |
| "commandName": "ActivateTextTrack", | |
| "args": { | |
| "trackID": "str", | |
| }, | |
| }, | |
| 0x0000000E: { | |
| "commandId": 0x0000000E, | |
| "commandName": "DeactivateTextTrack", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentState", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "StartTime", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Duration", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "SampledPosition", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PlaybackSpeed", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "SeekRangeEnd", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "SeekRangeStart", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "ActiveAudioTrack", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "AvailableAudioTracks", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "ActiveTextTrack", | |
| "attributeId": 0x00000009, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "AvailableTextTracks", | |
| "attributeId": 0x0000000A, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "AvailableCommands", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "ContentInfo", | |
| "attributeId": 0x0000000C, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MEDIA_INPUT_CLUSTER_INFO = { | |
| "clusterName": "MediaInput", | |
| "clusterId": 0x00000507, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SelectInput", | |
| "args": { | |
| "index": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ShowInputStatus", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "HideInputStatus", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "RenameInput", | |
| "args": { | |
| "index": "int", | |
| "name": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "InputList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentInput", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _LOW_POWER_CLUSTER_INFO = { | |
| "clusterName": "LowPower", | |
| "clusterId": 0x00000508, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Sleep", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _KEYPAD_INPUT_CLUSTER_INFO = { | |
| "clusterName": "KeypadInput", | |
| "clusterId": 0x00000509, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SendKey", | |
| "args": { | |
| "keyCode": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CONTENT_LAUNCHER_CLUSTER_INFO = { | |
| "clusterName": "ContentLauncher", | |
| "clusterId": 0x0000050A, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "LaunchContent", | |
| "args": { | |
| "search": "ContentSearchStruct", | |
| "autoPlay": "bool", | |
| "data": "str", | |
| "playbackPreferences": "PlaybackPreferencesStruct", | |
| "useCurrentContext": "bool", | |
| "contentAppVendorID": "int", | |
| "contentAppProductID": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "LaunchURL", | |
| "args": { | |
| "contentURL": "str", | |
| "displayString": "str", | |
| "brandingInformation": "BrandingInformationStruct", | |
| "playbackPreferences": "PlaybackPreferencesStruct", | |
| "contentType": "str", | |
| "contentHeaders": "str", | |
| "offsetMillisecs": "int", | |
| "queueType": "int", | |
| "nextUrl": "str", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "ContentReplicationRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "PlayPreset", | |
| "args": { | |
| "presetID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "AcceptHeader", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SupportedStreamingProtocols", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Movable", | |
| "attributeId": 0x00000002, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Presets", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _AUDIO_OUTPUT_CLUSTER_INFO = { | |
| "clusterName": "AudioOutput", | |
| "clusterId": 0x0000050B, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SelectOutput", | |
| "args": { | |
| "index": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "RenameOutput", | |
| "args": { | |
| "index": "int", | |
| "name": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "OutputList", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentOutput", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _APPLICATION_LAUNCHER_CLUSTER_INFO = { | |
| "clusterName": "ApplicationLauncher", | |
| "clusterId": 0x0000050C, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "LaunchApp", | |
| "args": { | |
| "application": "ApplicationStruct", | |
| "data": "bytes", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "StopApp", | |
| "args": { | |
| "application": "ApplicationStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "HideApp", | |
| "args": { | |
| "application": "ApplicationStruct", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CatalogList", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentApp", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _APPLICATION_BASIC_CLUSTER_INFO = { | |
| "clusterName": "ApplicationBasic", | |
| "clusterId": 0x0000050D, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "VendorName", | |
| "attributeId": 0x00000000, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "VendorID", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "ApplicationName", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ProductID", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "Application", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "Status", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "ApplicationVersion", | |
| "attributeId": 0x00000006, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "AllowedVendorList", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ACCOUNT_LOGIN_CLUSTER_INFO = { | |
| "clusterName": "AccountLogin", | |
| "clusterId": 0x0000050E, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "GetSetupPIN", | |
| "args": { | |
| "tempAccountIdentifier": "str", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "Login", | |
| "args": { | |
| "tempAccountIdentifier": "str", | |
| "setupPIN": "str", | |
| "node": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "Logout", | |
| "args": { | |
| "node": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "GetDeviceAuthURI", | |
| "args": { | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "OAuthLoggedIn", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CONTENT_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "ContentControl", | |
| "clusterId": 0x0000050F, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "UpdatePIN", | |
| "args": { | |
| "oldPIN": "str", | |
| "newPIN": "str", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "ResetPIN", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "Enable", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "Disable", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "AddBonusTime", | |
| "args": { | |
| "PINCode": "str", | |
| "bonusTime": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "SetScreenDailyTime", | |
| "args": { | |
| "screenTime": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "BlockUnratedContent", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "UnblockUnratedContent", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "SetOnDemandRatingThreshold", | |
| "args": { | |
| "rating": "str", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "SetScheduledContentRatingThreshold", | |
| "args": { | |
| "rating": "str", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "AddBlockChannels", | |
| "args": { | |
| "channels": "BlockChannelStruct", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "RemoveBlockChannels", | |
| "args": { | |
| "channelIndexes": "int", | |
| }, | |
| }, | |
| 0x0000000D: { | |
| "commandId": 0x0000000D, | |
| "commandName": "AddBlockApplications", | |
| "args": { | |
| "applications": "AppInfoStruct", | |
| }, | |
| }, | |
| 0x0000000E: { | |
| "commandId": 0x0000000E, | |
| "commandName": "RemoveBlockApplications", | |
| "args": { | |
| "applications": "AppInfoStruct", | |
| }, | |
| }, | |
| 0x0000000F: { | |
| "commandId": 0x0000000F, | |
| "commandName": "SetBlockContentTimeWindow", | |
| "args": { | |
| "timeWindow": "TimeWindowStruct", | |
| }, | |
| }, | |
| 0x00000010: { | |
| "commandId": 0x00000010, | |
| "commandName": "RemoveBlockContentTimeWindow", | |
| "args": { | |
| "timeWindowIndexes": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Enabled", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "OnDemandRatings", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "OnDemandRatingThreshold", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ScheduledContentRatings", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ScheduledContentRatingThreshold", | |
| "attributeId": 0x00000004, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "ScreenDailyTime", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "RemainingScreenTime", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "BlockUnrated", | |
| "attributeId": 0x00000007, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "BlockChannelList", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "BlockApplicationList", | |
| "attributeId": 0x00000009, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "BlockContentTimeWindow", | |
| "attributeId": 0x0000000A, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CONTENT_APP_OBSERVER_CLUSTER_INFO = { | |
| "clusterName": "ContentAppObserver", | |
| "clusterId": 0x00000510, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ContentAppMessage", | |
| "args": { | |
| "data": "str", | |
| "encodingHint": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _MEDIA_FILE_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "MediaFileManagement", | |
| "clusterId": 0x00000511, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AddFile", | |
| "args": { | |
| "name": "str", | |
| "size": "int", | |
| "mimeType": "str", | |
| "imageURI": "str", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "DeleteFile", | |
| "args": { | |
| "fileID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "RequestSharedFiles", | |
| "args": { | |
| "clientName": "str", | |
| "requestID": "int", | |
| "supportedMimeTypes": "str", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "GetSharedFile", | |
| "args": { | |
| "responseID": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "OfferFile", | |
| "args": { | |
| "clientName": "str", | |
| "name": "str", | |
| "size": "int", | |
| "mimeType": "str", | |
| "imageURI": "str", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TotalStorage", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "AvailableStorage", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "AvailableFiles", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "SupportedMimeTypes", | |
| "attributeId": 0x00000003, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _AUDIO_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "AudioControl", | |
| "clusterId": 0x00000512, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Mute", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Unmute", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ToggleMuted", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "SetVolume", | |
| "args": { | |
| "newVolume": "int", | |
| "unmutePolicy": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "IncreaseVolume", | |
| "args": { | |
| "stepSize": "int", | |
| "unmutePolicy": "int", | |
| "unmuteVolume": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "DecreaseVolume", | |
| "args": { | |
| "stepSize": "int", | |
| "unmutePolicy": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SoftMuted", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "PhysicallyMuted", | |
| "attributeId": 0x00000001, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Volume", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MinDeviceVolume", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "MaxDeviceVolume", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "MaxDeviceVolumeDB", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "MaxUserVolume", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "DefaultStepSize", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "SetVolumeUnmutePolicy", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "IncreaseVolumeUnmutePolicy", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "IncreaseVolumeUnmuteVolume", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "DecreaseVolumeUnmutePolicy", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "StartUpMuted", | |
| "attributeId": 0x0000000C, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "StartUpVolume", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "Bass", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "Mid", | |
| "attributeId": 0x0000000F, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "Treble", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "MinCorrection", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "MaxCorrection", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ZONE_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "ZoneManagement", | |
| "clusterId": 0x00000550, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "CreateTwoDCartesianZone", | |
| "args": { | |
| "zone": "TwoDCartesianZoneStruct", | |
| "nodeID": "int", | |
| "endpointID": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "UpdateTwoDCartesianZone", | |
| "args": { | |
| "zoneID": "int", | |
| "zone": "TwoDCartesianZoneStruct", | |
| "nodeID": "int", | |
| "endpointID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "RemoveZone", | |
| "args": { | |
| "zoneID": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "CreateOrUpdateTrigger", | |
| "args": { | |
| "trigger": "ZoneTriggerControlStruct", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "RemoveTrigger", | |
| "args": { | |
| "zoneID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxUserDefinedZones", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxZones", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Zones", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Triggers", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "SensitivityMax", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "Sensitivity", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "TwoDCartesianMax", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CAMERA_AV_STREAM_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "CameraAvStreamManagement", | |
| "clusterId": 0x00000551, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AudioStreamAllocate", | |
| "args": { | |
| "streamUsage": "int", | |
| "audioCodec": "int", | |
| "channelCount": "int", | |
| "sampleRate": "int", | |
| "bitRate": "int", | |
| "bitDepth": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "AudioStreamDeallocate", | |
| "args": { | |
| "audioStreamID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "VideoStreamAllocate", | |
| "args": { | |
| "streamUsage": "int", | |
| "videoCodec": "int", | |
| "minFrameRate": "int", | |
| "maxFrameRate": "int", | |
| "minResolution": "VideoResolutionStruct", | |
| "maxResolution": "VideoResolutionStruct", | |
| "minBitRate": "int", | |
| "maxBitRate": "int", | |
| "keyFrameInterval": "int", | |
| "watermarkEnabled": "bool", | |
| "OSDEnabled": "bool", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "VideoStreamModify", | |
| "args": { | |
| "videoStreamID": "int", | |
| "watermarkEnabled": "bool", | |
| "OSDEnabled": "bool", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "VideoStreamDeallocate", | |
| "args": { | |
| "videoStreamID": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "SnapshotStreamAllocate", | |
| "args": { | |
| "imageCodec": "int", | |
| "maxFrameRate": "int", | |
| "minResolution": "VideoResolutionStruct", | |
| "maxResolution": "VideoResolutionStruct", | |
| "quality": "int", | |
| "watermarkEnabled": "bool", | |
| "OSDEnabled": "bool", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "SnapshotStreamModify", | |
| "args": { | |
| "snapshotStreamID": "int", | |
| "watermarkEnabled": "bool", | |
| "OSDEnabled": "bool", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "SnapshotStreamDeallocate", | |
| "args": { | |
| "snapshotStreamID": "int", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "SetStreamPriorities", | |
| "args": { | |
| "streamPriorities": "int", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "CaptureSnapshot", | |
| "args": { | |
| "snapshotStreamID": "int", | |
| "requestedResolution": "VideoResolutionStruct", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxConcurrentEncoders", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxEncodedPixelRate", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "VideoSensorParams", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "NightVisionUsesInfrared", | |
| "attributeId": 0x00000003, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "MinViewportResolution", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "RateDistortionTradeOffPoints", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "MaxContentBufferSize", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "MicrophoneCapabilities", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "SpeakerCapabilities", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "TwoWayTalkSupport", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "SnapshotCapabilities", | |
| "attributeId": 0x0000000A, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "MaxNetworkBandwidth", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "CurrentFrameRate", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "HDRModeEnabled", | |
| "attributeId": 0x0000000D, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "SupportedStreamUsages", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "AllocatedVideoStreams", | |
| "attributeId": 0x0000000F, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "AllocatedAudioStreams", | |
| "attributeId": 0x00000010, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "AllocatedSnapshotStreams", | |
| "attributeId": 0x00000011, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "StreamUsagePriorities", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "SoftRecordingPrivacyModeEnabled", | |
| "attributeId": 0x00000013, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "SoftLivestreamPrivacyModeEnabled", | |
| "attributeId": 0x00000014, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "HardPrivacyModeOn", | |
| "attributeId": 0x00000015, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "NightVision", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "NightVisionIllum", | |
| "attributeId": 0x00000017, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "Viewport", | |
| "attributeId": 0x00000018, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "SpeakerMuted", | |
| "attributeId": 0x00000019, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "SpeakerVolumeLevel", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "SpeakerMaxLevel", | |
| "attributeId": 0x0000001B, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001C: { | |
| "attributeName": "SpeakerMinLevel", | |
| "attributeId": 0x0000001C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000001D: { | |
| "attributeName": "MicrophoneMuted", | |
| "attributeId": 0x0000001D, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001E: { | |
| "attributeName": "MicrophoneVolumeLevel", | |
| "attributeId": 0x0000001E, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001F: { | |
| "attributeName": "MicrophoneMaxLevel", | |
| "attributeId": 0x0000001F, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "MicrophoneMinLevel", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "MicrophoneAGCEnabled", | |
| "attributeId": 0x00000021, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "ImageRotation", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000023: { | |
| "attributeName": "ImageFlipHorizontal", | |
| "attributeId": 0x00000023, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "ImageFlipVertical", | |
| "attributeId": 0x00000024, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "LocalVideoRecordingEnabled", | |
| "attributeId": 0x00000025, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000026: { | |
| "attributeName": "LocalSnapshotRecordingEnabled", | |
| "attributeId": 0x00000026, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000027: { | |
| "attributeName": "StatusLightEnabled", | |
| "attributeId": 0x00000027, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000028: { | |
| "attributeName": "StatusLightBrightness", | |
| "attributeId": 0x00000028, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000029: { | |
| "attributeName": "ImageRotationDiscreteAngles", | |
| "attributeId": 0x00000029, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CAMERA_AV_SETTINGS_USER_LEVEL_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "CameraAvSettingsUserLevelManagement", | |
| "clusterId": 0x00000552, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "MPTZSetPosition", | |
| "args": { | |
| "pan": "int", | |
| "tilt": "int", | |
| "zoom": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "MPTZRelativeMove", | |
| "args": { | |
| "panDelta": "int", | |
| "tiltDelta": "int", | |
| "zoomDelta": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "MPTZMoveToPreset", | |
| "args": { | |
| "presetID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "MPTZSavePreset", | |
| "args": { | |
| "presetID": "int", | |
| "name": "str", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "MPTZRemovePreset", | |
| "args": { | |
| "presetID": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "DPTZSetViewport", | |
| "args": { | |
| "videoStreamID": "int", | |
| "viewport": "ViewportStruct", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "DPTZRelativeMove", | |
| "args": { | |
| "videoStreamID": "int", | |
| "deltaX": "int", | |
| "deltaY": "int", | |
| "zoomDelta": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MPTZPosition", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MaxPresets", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MPTZPresets", | |
| "attributeId": 0x00000002, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "DPTZStreams", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "ZoomMax", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "TiltMin", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "TiltMax", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "PanMin", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "PanMax", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "MovementState", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WEB_RTC_TRANSPORT_PROVIDER_CLUSTER_INFO = { | |
| "clusterName": "WebRTCTransportProvider", | |
| "clusterId": 0x00000553, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "SolicitOffer", | |
| "args": { | |
| "streamUsage": "int", | |
| "originatingEndpointID": "int", | |
| "videoStreamID": "int", | |
| "audioStreamID": "int", | |
| "ICEServers": "ICEServerStruct", | |
| "ICETransportPolicy": "str", | |
| "metadataEnabled": "bool", | |
| "SFrameConfig": "SFrameStruct", | |
| "videoStreams": "int", | |
| "audioStreams": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ProvideOffer", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "sdp": "str", | |
| "streamUsage": "int", | |
| "originatingEndpointID": "int", | |
| "videoStreamID": "int", | |
| "audioStreamID": "int", | |
| "ICEServers": "ICEServerStruct", | |
| "ICETransportPolicy": "str", | |
| "metadataEnabled": "bool", | |
| "SFrameConfig": "SFrameStruct", | |
| "videoStreams": "int", | |
| "audioStreams": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "ProvideAnswer", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "sdp": "str", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "ProvideICECandidates", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "ICECandidates": "ICECandidateStruct", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "EndSession", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "reason": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentSessions", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _WEB_RTC_TRANSPORT_REQUESTOR_CLUSTER_INFO = { | |
| "clusterName": "WebRTCTransportRequestor", | |
| "clusterId": 0x00000554, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Offer", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "sdp": "str", | |
| "ICEServers": "ICEServerStruct", | |
| "ICETransportPolicy": "str", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "Answer", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "sdp": "str", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "ICECandidates", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "ICECandidates": "ICECandidateStruct", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "End", | |
| "args": { | |
| "webRTCSessionID": "int", | |
| "reason": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "CurrentSessions", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _PUSH_AV_STREAM_TRANSPORT_CLUSTER_INFO = { | |
| "clusterName": "PushAvStreamTransport", | |
| "clusterId": 0x00000555, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AllocatePushTransport", | |
| "args": { | |
| "transportOptions": "TransportOptionsStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "DeallocatePushTransport", | |
| "args": { | |
| "connectionID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "ModifyPushTransport", | |
| "args": { | |
| "connectionID": "int", | |
| "transportOptions": "TransportOptionsStruct", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "SetTransportStatus", | |
| "args": { | |
| "connectionID": "int", | |
| "transportStatus": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "ManuallyTriggerTransport", | |
| "args": { | |
| "connectionID": "int", | |
| "activationReason": "int", | |
| "timeControl": "TransportMotionTriggerTimeControlStruct", | |
| "userDefined": "bytes", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "FindTransport", | |
| "args": { | |
| "connectionID": "int", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "UpdateMotionZoneOptions", | |
| "args": { | |
| "connectionID": "int", | |
| "motionZones": "TransportZoneOptionsStruct", | |
| "motionSensitivity": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedFormats", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "CurrentConnections", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxZones", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CHIME_CLUSTER_INFO = { | |
| "clusterName": "Chime", | |
| "clusterId": 0x00000556, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "PlayChimeSound", | |
| "args": { | |
| "chimeID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "InstalledChimeSounds", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "SelectedChime", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Enabled", | |
| "attributeId": 0x00000002, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _AV_ANALYSIS_CLUSTER_INFO = { | |
| "clusterName": "AvAnalysis", | |
| "clusterId": 0x00000557, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "EnableContextTriggers", | |
| "args": { | |
| "contextTriggers": "ContextTriggerStruct", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "DisableContextTriggers", | |
| "args": { | |
| "contextTriggers": "ContextTriggerStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "EstablishAnalysisStream", | |
| "args": { | |
| "nodeID": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "ActivateAnalysisStream", | |
| "args": { | |
| "analysisStreamID": "int", | |
| "webRTCEndpointID": "int", | |
| "pushAVEndpointID": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "DeactivateAnalysisStream", | |
| "args": { | |
| "analysisStreamID": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "RemoveAnalysisStream", | |
| "args": { | |
| "analysisStreamID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedAmbientContexts", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ActiveAmbientContextTriggers", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxAnalysisStreamCount", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "CurrentAnalysisStreamCount", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "AnalysisStreams", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "TrackingEnabled", | |
| "attributeId": 0x00000005, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _COMMODITY_TARIFF_CLUSTER_INFO = { | |
| "clusterName": "CommodityTariff", | |
| "clusterId": 0x00000700, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "GetTariffComponent", | |
| "args": { | |
| "tariffComponentID": "int", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "GetDayEntry", | |
| "args": { | |
| "dayEntryID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TariffInfo", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "TariffUnit", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "StartDate", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "DayEntries", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "DayPatterns", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "CalendarPeriods", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "IndividualDays", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "CurrentDay", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "NextDay", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "CurrentDayEntry", | |
| "attributeId": 0x00000009, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "CurrentDayEntryDate", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "NextDayEntry", | |
| "attributeId": 0x0000000B, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "NextDayEntryDate", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "TariffComponents", | |
| "attributeId": 0x0000000D, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "TariffPeriods", | |
| "attributeId": 0x0000000E, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "CurrentTariffComponents", | |
| "attributeId": 0x0000000F, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "NextTariffComponents", | |
| "attributeId": 0x00000010, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "DefaultRandomizationOffset", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "DefaultRandomizationType", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _ECOSYSTEM_INFORMATION_CLUSTER_INFO = { | |
| "clusterName": "EcosystemInformation", | |
| "clusterId": 0x00000750, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "DeviceDirectory", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "LocationDirectory", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _COMMISSIONER_CONTROL_CLUSTER_INFO = { | |
| "clusterName": "CommissionerControl", | |
| "clusterId": 0x00000751, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "RequestCommissioningApproval", | |
| "args": { | |
| "requestID": "int", | |
| "vendorID": "int", | |
| "productID": "int", | |
| "label": "str", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "CommissionNode", | |
| "args": { | |
| "requestID": "int", | |
| "responseTimeoutSeconds": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "SupportedDeviceCategories", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _JOINT_FABRIC_DATASTORE_CLUSTER_INFO = { | |
| "clusterName": "JointFabricDatastore", | |
| "clusterId": 0x00000752, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "AddKeySet", | |
| "args": { | |
| "groupKeySet": "DatastoreGroupKeySetStruct", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "UpdateKeySet", | |
| "args": { | |
| "groupKeySet": "DatastoreGroupKeySetStruct", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "RemoveKeySet", | |
| "args": { | |
| "groupKeySetID": "int", | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "AddGroup", | |
| "args": { | |
| "groupID": "int", | |
| "friendlyName": "str", | |
| "groupKeySetID": "int", | |
| "groupCAT": "int", | |
| "groupCATVersion": "int", | |
| "groupPermission": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "UpdateGroup", | |
| "args": { | |
| "groupID": "int", | |
| "friendlyName": "str", | |
| "groupKeySetID": "int", | |
| "groupCAT": "int", | |
| "groupCATVersion": "int", | |
| "groupPermission": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "RemoveGroup", | |
| "args": { | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "AddAdmin", | |
| "args": { | |
| "nodeID": "int", | |
| "friendlyName": "str", | |
| "vendorID": "int", | |
| "icac": "bytes", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "UpdateAdmin", | |
| "args": { | |
| "nodeID": "int", | |
| "friendlyName": "str", | |
| "icac": "bytes", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "RemoveAdmin", | |
| "args": { | |
| "nodeID": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "AddPendingNode", | |
| "args": { | |
| "nodeID": "int", | |
| "friendlyName": "str", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "RefreshNode", | |
| "args": { | |
| "nodeID": "int", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "UpdateNode", | |
| "args": { | |
| "nodeID": "int", | |
| "friendlyName": "str", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "RemoveNode", | |
| "args": { | |
| "nodeID": "int", | |
| }, | |
| }, | |
| 0x0000000D: { | |
| "commandId": 0x0000000D, | |
| "commandName": "UpdateEndpointForNode", | |
| "args": { | |
| "endpointID": "int", | |
| "nodeID": "int", | |
| "friendlyName": "str", | |
| }, | |
| }, | |
| 0x0000000E: { | |
| "commandId": 0x0000000E, | |
| "commandName": "AddGroupIDToEndpointForNode", | |
| "args": { | |
| "nodeID": "int", | |
| "endpointID": "int", | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x0000000F: { | |
| "commandId": 0x0000000F, | |
| "commandName": "RemoveGroupIDFromEndpointForNode", | |
| "args": { | |
| "nodeID": "int", | |
| "endpointID": "int", | |
| "groupID": "int", | |
| }, | |
| }, | |
| 0x00000010: { | |
| "commandId": 0x00000010, | |
| "commandName": "AddBindingToEndpointForNode", | |
| "args": { | |
| "nodeID": "int", | |
| "endpointID": "int", | |
| "binding": "DatastoreBindingTargetStruct", | |
| }, | |
| }, | |
| 0x00000011: { | |
| "commandId": 0x00000011, | |
| "commandName": "RemoveBindingFromEndpointForNode", | |
| "args": { | |
| "listID": "int", | |
| "endpointID": "int", | |
| "nodeID": "int", | |
| }, | |
| }, | |
| 0x00000012: { | |
| "commandId": 0x00000012, | |
| "commandName": "AddACLToNode", | |
| "args": { | |
| "nodeID": "int", | |
| "ACLEntry": "DatastoreAccessControlEntryStruct", | |
| }, | |
| }, | |
| 0x00000013: { | |
| "commandId": 0x00000013, | |
| "commandName": "RemoveACLFromNode", | |
| "args": { | |
| "listID": "int", | |
| "nodeID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "AnchorRootCA", | |
| "attributeId": 0x00000000, | |
| "type": "bytes", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "AnchorNodeID", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "AnchorVendorID", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "FriendlyName", | |
| "attributeId": 0x00000003, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "GroupKeySetList", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "GroupList", | |
| "attributeId": 0x00000005, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "NodeList", | |
| "attributeId": 0x00000006, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "AdminList", | |
| "attributeId": 0x00000007, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "Status", | |
| "attributeId": 0x00000008, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "EndpointGroupIDList", | |
| "attributeId": 0x00000009, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "EndpointBindingList", | |
| "attributeId": 0x0000000A, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "NodeKeySetList", | |
| "attributeId": 0x0000000B, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "NodeACLList", | |
| "attributeId": 0x0000000C, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "NodeEndpointList", | |
| "attributeId": 0x0000000D, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _JOINT_FABRIC_ADMINISTRATOR_CLUSTER_INFO = { | |
| "clusterName": "JointFabricAdministrator", | |
| "clusterId": 0x00000753, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ICACCSRRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "AddICAC", | |
| "args": { | |
| "ICACValue": "bytes", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "OpenJointCommissioningWindow", | |
| "args": { | |
| "commissioningTimeout": "int", | |
| "PAKEPasscodeVerifier": "bytes", | |
| "discriminator": "int", | |
| "iterations": "int", | |
| "salt": "bytes", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "TransferAnchorRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "TransferAnchorComplete", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "AnnounceJointFabricAdministrator", | |
| "args": { | |
| "endpointID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "AdministratorFabricIndex", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TLS_CERTIFICATE_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "TlsCertificateManagement", | |
| "clusterId": 0x00000801, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ProvisionRootCertificate", | |
| "args": { | |
| "certificate": "bytes", | |
| "caid": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "FindRootCertificate", | |
| "args": { | |
| "caid": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "LookupRootCertificate", | |
| "args": { | |
| "fingerprint": "bytes", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "RemoveRootCertificate", | |
| "args": { | |
| "caid": "int", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "ClientCSR", | |
| "args": { | |
| "nonce": "bytes", | |
| "ccdid": "int", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "ProvisionClientCertificate", | |
| "args": { | |
| "ccdid": "int", | |
| "clientCertificate": "bytes", | |
| "intermediateCertificates": "bytes", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "FindClientCertificate", | |
| "args": { | |
| "ccdid": "int", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "LookupClientCertificate", | |
| "args": { | |
| "fingerprint": "bytes", | |
| }, | |
| }, | |
| 0x0000000E: { | |
| "commandId": 0x0000000E, | |
| "commandName": "RemoveClientCertificate", | |
| "args": { | |
| "ccdid": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxRootCertificates", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ProvisionedRootCertificates", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MaxClientCertificates", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ProvisionedClientCertificates", | |
| "attributeId": 0x00000003, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TLS_CLIENT_MANAGEMENT_CLUSTER_INFO = { | |
| "clusterName": "TlsClientManagement", | |
| "clusterId": 0x00000802, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "ProvisionEndpoint", | |
| "args": { | |
| "hostname": "bytes", | |
| "port": "int", | |
| "caid": "int", | |
| "ccdid": "int", | |
| "endpointID": "int", | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "FindEndpoint", | |
| "args": { | |
| "endpointID": "int", | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "RemoveEndpoint", | |
| "args": { | |
| "endpointID": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MaxProvisioned", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "ProvisionedEndpoints", | |
| "attributeId": 0x00000001, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _METER_IDENTIFICATION_CLUSTER_INFO = { | |
| "clusterName": "MeterIdentification", | |
| "clusterId": 0x00000B06, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeterType", | |
| "attributeId": 0x00000000, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "PointOfDelivery", | |
| "attributeId": 0x00000001, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "MeterSerialNumber", | |
| "attributeId": 0x00000002, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "ProtocolVersion", | |
| "attributeId": 0x00000003, | |
| "type": "str", | |
| "reportable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "PowerThreshold", | |
| "attributeId": 0x00000004, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _COMMODITY_METERING_CLUSTER_INFO = { | |
| "clusterName": "CommodityMetering", | |
| "clusterId": 0x00000B07, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "MeteredQuantity", | |
| "attributeId": 0x00000000, | |
| "type": "", | |
| "reportable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "MeteredQuantityTimestamp", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "TariffUnit", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "MaximumMeteredQuantities", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _UNIT_TESTING_CLUSTER_INFO = { | |
| "clusterName": "UnitTesting", | |
| "clusterId": 0xFFF1FC05, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Test", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "TestNotHandled", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "TestSpecific", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000003: { | |
| "commandId": 0x00000003, | |
| "commandName": "TestUnknownCommand", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000004: { | |
| "commandId": 0x00000004, | |
| "commandName": "TestAddArguments", | |
| "args": { | |
| "arg1": "int", | |
| "arg2": "int", | |
| }, | |
| }, | |
| 0x00000005: { | |
| "commandId": 0x00000005, | |
| "commandName": "TestSimpleArgumentRequest", | |
| "args": { | |
| "arg1": "bool", | |
| }, | |
| }, | |
| 0x00000006: { | |
| "commandId": 0x00000006, | |
| "commandName": "TestStructArrayArgumentRequest", | |
| "args": { | |
| "arg1": "NestedStructList", | |
| "arg2": "SimpleStruct", | |
| "arg3": "int", | |
| "arg4": "bool", | |
| "arg5": "int", | |
| "arg6": "bool", | |
| }, | |
| }, | |
| 0x00000007: { | |
| "commandId": 0x00000007, | |
| "commandName": "TestStructArgumentRequest", | |
| "args": { | |
| "arg1": "SimpleStruct", | |
| }, | |
| }, | |
| 0x00000008: { | |
| "commandId": 0x00000008, | |
| "commandName": "TestNestedStructArgumentRequest", | |
| "args": { | |
| "arg1": "NestedStruct", | |
| }, | |
| }, | |
| 0x00000009: { | |
| "commandId": 0x00000009, | |
| "commandName": "TestListStructArgumentRequest", | |
| "args": { | |
| "arg1": "SimpleStruct", | |
| }, | |
| }, | |
| 0x0000000A: { | |
| "commandId": 0x0000000A, | |
| "commandName": "TestListInt8UArgumentRequest", | |
| "args": { | |
| "arg1": "int", | |
| }, | |
| }, | |
| 0x0000000B: { | |
| "commandId": 0x0000000B, | |
| "commandName": "TestNestedStructListArgumentRequest", | |
| "args": { | |
| "arg1": "NestedStructList", | |
| }, | |
| }, | |
| 0x0000000C: { | |
| "commandId": 0x0000000C, | |
| "commandName": "TestListNestedStructListArgumentRequest", | |
| "args": { | |
| "arg1": "NestedStructList", | |
| }, | |
| }, | |
| 0x0000000D: { | |
| "commandId": 0x0000000D, | |
| "commandName": "TestListInt8UReverseRequest", | |
| "args": { | |
| "arg1": "int", | |
| }, | |
| }, | |
| 0x0000000E: { | |
| "commandId": 0x0000000E, | |
| "commandName": "TestEnumsRequest", | |
| "args": { | |
| "arg1": "int", | |
| "arg2": "int", | |
| }, | |
| }, | |
| 0x0000000F: { | |
| "commandId": 0x0000000F, | |
| "commandName": "TestNullableOptionalRequest", | |
| "args": { | |
| "arg1": "int", | |
| }, | |
| }, | |
| 0x00000010: { | |
| "commandId": 0x00000010, | |
| "commandName": "TestComplexNullableOptionalRequest", | |
| "args": { | |
| "nullableInt": "int", | |
| "optionalInt": "int", | |
| "nullableOptionalInt": "int", | |
| "nullableString": "str", | |
| "optionalString": "str", | |
| "nullableOptionalString": "str", | |
| "nullableStruct": "SimpleStruct", | |
| "optionalStruct": "SimpleStruct", | |
| "nullableOptionalStruct": "SimpleStruct", | |
| "nullableList": "int", | |
| "optionalList": "int", | |
| "nullableOptionalList": "int", | |
| }, | |
| }, | |
| 0x00000011: { | |
| "commandId": 0x00000011, | |
| "commandName": "SimpleStructEchoRequest", | |
| "args": { | |
| "arg1": "SimpleStruct", | |
| }, | |
| }, | |
| 0x00000012: { | |
| "commandId": 0x00000012, | |
| "commandName": "TimedInvokeRequest", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000013: { | |
| "commandId": 0x00000013, | |
| "commandName": "TestSimpleOptionalArgumentRequest", | |
| "args": { | |
| "arg1": "bool", | |
| }, | |
| }, | |
| 0x00000014: { | |
| "commandId": 0x00000014, | |
| "commandName": "TestEmitTestEventRequest", | |
| "args": { | |
| "arg1": "int", | |
| "arg2": "int", | |
| "arg3": "bool", | |
| }, | |
| }, | |
| 0x00000015: { | |
| "commandId": 0x00000015, | |
| "commandName": "TestEmitTestFabricScopedEventRequest", | |
| "args": { | |
| "arg1": "int", | |
| }, | |
| }, | |
| 0x00000016: { | |
| "commandId": 0x00000016, | |
| "commandName": "TestBatchHelperRequest", | |
| "args": { | |
| "sleepBeforeResponseTimeMs": "int", | |
| "sizeOfResponseBuffer": "int", | |
| "fillCharacter": "int", | |
| }, | |
| }, | |
| 0x00000017: { | |
| "commandId": 0x00000017, | |
| "commandName": "TestSecondBatchHelperRequest", | |
| "args": { | |
| "sleepBeforeResponseTimeMs": "int", | |
| "sizeOfResponseBuffer": "int", | |
| "fillCharacter": "int", | |
| }, | |
| }, | |
| 0x00000018: { | |
| "commandId": 0x00000018, | |
| "commandName": "StringEchoRequest", | |
| "args": { | |
| "payload": "bytes", | |
| }, | |
| }, | |
| 0x00000019: { | |
| "commandId": 0x00000019, | |
| "commandName": "GlobalEchoRequest", | |
| "args": { | |
| "field1": "TestGlobalStruct", | |
| "field2": "int", | |
| }, | |
| }, | |
| 0x0000001A: { | |
| "commandId": 0x0000001A, | |
| "commandName": "TestCheckCommandFlags", | |
| "args": { | |
| }, | |
| }, | |
| 0xFFF200AA: { | |
| "commandId": 0xFFF200AA, | |
| "commandName": "TestDifferentVendorMeiRequest", | |
| "args": { | |
| "arg1": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "Boolean", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000001: { | |
| "attributeName": "Bitmap8", | |
| "attributeId": 0x00000001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000002: { | |
| "attributeName": "Bitmap16", | |
| "attributeId": 0x00000002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000003: { | |
| "attributeName": "Bitmap32", | |
| "attributeId": 0x00000003, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000004: { | |
| "attributeName": "Bitmap64", | |
| "attributeId": 0x00000004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000005: { | |
| "attributeName": "Int8u", | |
| "attributeId": 0x00000005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000006: { | |
| "attributeName": "Int16u", | |
| "attributeId": 0x00000006, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000007: { | |
| "attributeName": "Int24u", | |
| "attributeId": 0x00000007, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000008: { | |
| "attributeName": "Int32u", | |
| "attributeId": 0x00000008, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000009: { | |
| "attributeName": "Int40u", | |
| "attributeId": 0x00000009, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000A: { | |
| "attributeName": "Int48u", | |
| "attributeId": 0x0000000A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000B: { | |
| "attributeName": "Int56u", | |
| "attributeId": 0x0000000B, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000C: { | |
| "attributeName": "Int64u", | |
| "attributeId": 0x0000000C, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000D: { | |
| "attributeName": "Int8s", | |
| "attributeId": 0x0000000D, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000E: { | |
| "attributeName": "Int16s", | |
| "attributeId": 0x0000000E, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000000F: { | |
| "attributeName": "Int24s", | |
| "attributeId": 0x0000000F, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000010: { | |
| "attributeName": "Int32s", | |
| "attributeId": 0x00000010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000011: { | |
| "attributeName": "Int40s", | |
| "attributeId": 0x00000011, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000012: { | |
| "attributeName": "Int48s", | |
| "attributeId": 0x00000012, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000013: { | |
| "attributeName": "Int56s", | |
| "attributeId": 0x00000013, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000014: { | |
| "attributeName": "Int64s", | |
| "attributeId": 0x00000014, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000015: { | |
| "attributeName": "Enum8", | |
| "attributeId": 0x00000015, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000016: { | |
| "attributeName": "Enum16", | |
| "attributeId": 0x00000016, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000017: { | |
| "attributeName": "FloatSingle", | |
| "attributeId": 0x00000017, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000018: { | |
| "attributeName": "FloatDouble", | |
| "attributeId": 0x00000018, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000019: { | |
| "attributeName": "OctetString", | |
| "attributeId": 0x00000019, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001A: { | |
| "attributeName": "ListInt8u", | |
| "attributeId": 0x0000001A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001B: { | |
| "attributeName": "ListOctetString", | |
| "attributeId": 0x0000001B, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001C: { | |
| "attributeName": "ListStructOctetString", | |
| "attributeId": 0x0000001C, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001D: { | |
| "attributeName": "LongOctetString", | |
| "attributeId": 0x0000001D, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001E: { | |
| "attributeName": "CharString", | |
| "attributeId": 0x0000001E, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000001F: { | |
| "attributeName": "LongCharString", | |
| "attributeId": 0x0000001F, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000020: { | |
| "attributeName": "EpochUs", | |
| "attributeId": 0x00000020, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000021: { | |
| "attributeName": "EpochS", | |
| "attributeId": 0x00000021, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000022: { | |
| "attributeName": "VendorId", | |
| "attributeId": 0x00000022, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000023: { | |
| "attributeName": "ListNullablesAndOptionalsStruct", | |
| "attributeId": 0x00000023, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000024: { | |
| "attributeName": "EnumAttr", | |
| "attributeId": 0x00000024, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000025: { | |
| "attributeName": "StructAttr", | |
| "attributeId": 0x00000025, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000026: { | |
| "attributeName": "RangeRestrictedInt8u", | |
| "attributeId": 0x00000026, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000027: { | |
| "attributeName": "RangeRestrictedInt8s", | |
| "attributeId": 0x00000027, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000028: { | |
| "attributeName": "RangeRestrictedInt16u", | |
| "attributeId": 0x00000028, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000029: { | |
| "attributeName": "RangeRestrictedInt16s", | |
| "attributeId": 0x00000029, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000002A: { | |
| "attributeName": "ListLongOctetString", | |
| "attributeId": 0x0000002A, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000002B: { | |
| "attributeName": "ListFabricScoped", | |
| "attributeId": 0x0000002B, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000030: { | |
| "attributeName": "TimedWriteBoolean", | |
| "attributeId": 0x00000030, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000031: { | |
| "attributeName": "GeneralErrorBoolean", | |
| "attributeId": 0x00000031, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000032: { | |
| "attributeName": "ClusterErrorBoolean", | |
| "attributeId": 0x00000032, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000033: { | |
| "attributeName": "GlobalEnum", | |
| "attributeId": 0x00000033, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00000034: { | |
| "attributeName": "GlobalStruct", | |
| "attributeId": 0x00000034, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x000000FE: { | |
| "attributeName": "UnsupportedAttributeRequiringAdminPrivilege", | |
| "attributeId": 0x000000FE, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x000000FF: { | |
| "attributeName": "Unsupported", | |
| "attributeId": 0x000000FF, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00003000: { | |
| "attributeName": "ReadFailureCode", | |
| "attributeId": 0x00003000, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00003001: { | |
| "attributeName": "FailureInt32U", | |
| "attributeId": 0x00003001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004000: { | |
| "attributeName": "NullableBoolean", | |
| "attributeId": 0x00004000, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004001: { | |
| "attributeName": "NullableBitmap8", | |
| "attributeId": 0x00004001, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004002: { | |
| "attributeName": "NullableBitmap16", | |
| "attributeId": 0x00004002, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004003: { | |
| "attributeName": "NullableBitmap32", | |
| "attributeId": 0x00004003, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004004: { | |
| "attributeName": "NullableBitmap64", | |
| "attributeId": 0x00004004, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004005: { | |
| "attributeName": "NullableInt8u", | |
| "attributeId": 0x00004005, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004006: { | |
| "attributeName": "NullableInt16u", | |
| "attributeId": 0x00004006, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004007: { | |
| "attributeName": "NullableInt24u", | |
| "attributeId": 0x00004007, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004008: { | |
| "attributeName": "NullableInt32u", | |
| "attributeId": 0x00004008, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004009: { | |
| "attributeName": "NullableInt40u", | |
| "attributeId": 0x00004009, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000400A: { | |
| "attributeName": "NullableInt48u", | |
| "attributeId": 0x0000400A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000400B: { | |
| "attributeName": "NullableInt56u", | |
| "attributeId": 0x0000400B, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000400C: { | |
| "attributeName": "NullableInt64u", | |
| "attributeId": 0x0000400C, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000400D: { | |
| "attributeName": "NullableInt8s", | |
| "attributeId": 0x0000400D, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000400E: { | |
| "attributeName": "NullableInt16s", | |
| "attributeId": 0x0000400E, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000400F: { | |
| "attributeName": "NullableInt24s", | |
| "attributeId": 0x0000400F, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004010: { | |
| "attributeName": "NullableInt32s", | |
| "attributeId": 0x00004010, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004011: { | |
| "attributeName": "NullableInt40s", | |
| "attributeId": 0x00004011, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004012: { | |
| "attributeName": "NullableInt48s", | |
| "attributeId": 0x00004012, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004013: { | |
| "attributeName": "NullableInt56s", | |
| "attributeId": 0x00004013, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004014: { | |
| "attributeName": "NullableInt64s", | |
| "attributeId": 0x00004014, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004015: { | |
| "attributeName": "NullableEnum8", | |
| "attributeId": 0x00004015, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004016: { | |
| "attributeName": "NullableEnum16", | |
| "attributeId": 0x00004016, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004017: { | |
| "attributeName": "NullableFloatSingle", | |
| "attributeId": 0x00004017, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004018: { | |
| "attributeName": "NullableFloatDouble", | |
| "attributeId": 0x00004018, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004019: { | |
| "attributeName": "NullableOctetString", | |
| "attributeId": 0x00004019, | |
| "type": "bytes", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000401E: { | |
| "attributeName": "NullableCharString", | |
| "attributeId": 0x0000401E, | |
| "type": "str", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004024: { | |
| "attributeName": "NullableEnumAttr", | |
| "attributeId": 0x00004024, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004025: { | |
| "attributeName": "NullableStruct", | |
| "attributeId": 0x00004025, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004026: { | |
| "attributeName": "NullableRangeRestrictedInt8u", | |
| "attributeId": 0x00004026, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004027: { | |
| "attributeName": "NullableRangeRestrictedInt8s", | |
| "attributeId": 0x00004027, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004028: { | |
| "attributeName": "NullableRangeRestrictedInt16u", | |
| "attributeId": 0x00004028, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004029: { | |
| "attributeName": "NullableRangeRestrictedInt16s", | |
| "attributeId": 0x00004029, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000402A: { | |
| "attributeName": "WriteOnlyInt8u", | |
| "attributeId": 0x0000402A, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004033: { | |
| "attributeName": "NullableGlobalEnum", | |
| "attributeId": 0x00004033, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x00004034: { | |
| "attributeName": "NullableGlobalStruct", | |
| "attributeId": 0x00004034, | |
| "type": "", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0xFFF24F01: { | |
| "attributeName": "MeiInt8u", | |
| "attributeId": 0xFFF24F01, | |
| "type": "int", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| }, | |
| } | |
| _FAULT_INJECTION_CLUSTER_INFO = { | |
| "clusterName": "FaultInjection", | |
| "clusterId": 0xFFF1FC06, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "FailAtFault", | |
| "args": { | |
| "type": "int", | |
| "id": "int", | |
| "numCallsToSkip": "int", | |
| "numCallsToFail": "int", | |
| "takeMutex": "bool", | |
| }, | |
| }, | |
| 0x00000001: { | |
| "commandId": 0x00000001, | |
| "commandName": "FailRandomlyAtFault", | |
| "args": { | |
| "type": "int", | |
| "id": "int", | |
| "percentage": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _SAMPLE_MEI_CLUSTER_INFO = { | |
| "clusterName": "SampleMei", | |
| "clusterId": 0xFFF1FC20, | |
| "commands": { | |
| 0x00000000: { | |
| "commandId": 0x00000000, | |
| "commandName": "Ping", | |
| "args": { | |
| }, | |
| }, | |
| 0x00000002: { | |
| "commandId": 0x00000002, | |
| "commandName": "AddArguments", | |
| "args": { | |
| "arg1": "int", | |
| "arg2": "int", | |
| }, | |
| }, | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "FlipFlop", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| "writable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _TEST_HIDDEN_MANUFACTURER_SPECIFIC_CLUSTER_INFO = { | |
| "clusterName": "TestHiddenManufacturerSpecific", | |
| "clusterId": 0xFFF1FC21, | |
| "commands": { | |
| }, | |
| "attributes": { | |
| 0x00000000: { | |
| "attributeName": "TestAttribute", | |
| "attributeId": 0x00000000, | |
| "type": "bool", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF8: { | |
| "attributeName": "GeneratedCommandList", | |
| "attributeId": 0x0000FFF8, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFF9: { | |
| "attributeName": "AcceptedCommandList", | |
| "attributeId": 0x0000FFF9, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFB: { | |
| "attributeName": "AttributeList", | |
| "attributeId": 0x0000FFFB, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFC: { | |
| "attributeName": "FeatureMap", | |
| "attributeId": 0x0000FFFC, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| 0x0000FFFD: { | |
| "attributeName": "ClusterRevision", | |
| "attributeId": 0x0000FFFD, | |
| "type": "int", | |
| "reportable": True, | |
| }, | |
| }, | |
| } | |
| _CLUSTER_ID_DICT = { | |
| 0x00000003: _IDENTIFY_CLUSTER_INFO, | |
| 0x00000004: _GROUPS_CLUSTER_INFO, | |
| 0x00000006: _ON_OFF_CLUSTER_INFO, | |
| 0x00000008: _LEVEL_CONTROL_CLUSTER_INFO, | |
| 0x0000001C: _PULSE_WIDTH_MODULATION_CLUSTER_INFO, | |
| 0x0000001D: _DESCRIPTOR_CLUSTER_INFO, | |
| 0x0000001E: _BINDING_CLUSTER_INFO, | |
| 0x0000001F: _ACCESS_CONTROL_CLUSTER_INFO, | |
| 0x00000025: _ACTIONS_CLUSTER_INFO, | |
| 0x00000028: _BASIC_INFORMATION_CLUSTER_INFO, | |
| 0x00000029: _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, | |
| 0x0000002A: _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, | |
| 0x0000002B: _LOCALIZATION_CONFIGURATION_CLUSTER_INFO, | |
| 0x0000002C: _TIME_FORMAT_LOCALIZATION_CLUSTER_INFO, | |
| 0x0000002D: _UNIT_LOCALIZATION_CLUSTER_INFO, | |
| 0x0000002E: _POWER_SOURCE_CONFIGURATION_CLUSTER_INFO, | |
| 0x0000002F: _POWER_SOURCE_CLUSTER_INFO, | |
| 0x00000030: _GENERAL_COMMISSIONING_CLUSTER_INFO, | |
| 0x00000031: _NETWORK_COMMISSIONING_CLUSTER_INFO, | |
| 0x00000032: _DIAGNOSTIC_LOGS_CLUSTER_INFO, | |
| 0x00000033: _GENERAL_DIAGNOSTICS_CLUSTER_INFO, | |
| 0x00000034: _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO, | |
| 0x00000035: _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO, | |
| 0x00000036: _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO, | |
| 0x00000037: _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO, | |
| 0x00000038: _TIME_SYNCHRONIZATION_CLUSTER_INFO, | |
| 0x00000039: _BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER_INFO, | |
| 0x0000003B: _SWITCH_CLUSTER_INFO, | |
| 0x0000003C: _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO, | |
| 0x0000003E: _OPERATIONAL_CREDENTIALS_CLUSTER_INFO, | |
| 0x0000003F: _GROUP_KEY_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000040: _FIXED_LABEL_CLUSTER_INFO, | |
| 0x00000041: _USER_LABEL_CLUSTER_INFO, | |
| 0x00000042: _PROXY_CONFIGURATION_CLUSTER_INFO, | |
| 0x00000043: _PROXY_DISCOVERY_CLUSTER_INFO, | |
| 0x00000044: _PROXY_VALID_CLUSTER_INFO, | |
| 0x00000045: _BOOLEAN_STATE_CLUSTER_INFO, | |
| 0x00000046: _ICD_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000048: _OVEN_CAVITY_OPERATIONAL_STATE_CLUSTER_INFO, | |
| 0x00000049: _OVEN_MODE_CLUSTER_INFO, | |
| 0x0000004A: _LAUNDRY_DRYER_CONTROLS_CLUSTER_INFO, | |
| 0x0000004B: _TEMPERATURE_CONTROLLED_CABINET_TOPOLOGY_CLUSTER_INFO, | |
| 0x00000050: _MODE_SELECT_CLUSTER_INFO, | |
| 0x00000051: _LAUNDRY_WASHER_MODE_CLUSTER_INFO, | |
| 0x00000052: _REFRIGERATOR_AND_TEMPERATURE_CONTROLLED_CABINET_MODE_CLUSTER_INFO, | |
| 0x00000053: _LAUNDRY_WASHER_CONTROLS_CLUSTER_INFO, | |
| 0x00000054: _RVC_RUN_MODE_CLUSTER_INFO, | |
| 0x00000055: _RVC_CLEAN_MODE_CLUSTER_INFO, | |
| 0x00000056: _TEMPERATURE_CONTROL_CLUSTER_INFO, | |
| 0x00000057: _REFRIGERATOR_ALARM_CLUSTER_INFO, | |
| 0x00000059: _DISHWASHER_MODE_CLUSTER_INFO, | |
| 0x0000005B: _AIR_QUALITY_CLUSTER_INFO, | |
| 0x0000005C: _SMOKE_CO_ALARM_CLUSTER_INFO, | |
| 0x0000005D: _DISHWASHER_ALARM_CLUSTER_INFO, | |
| 0x0000005E: _MICROWAVE_OVEN_MODE_CLUSTER_INFO, | |
| 0x0000005F: _MICROWAVE_OVEN_CONTROL_CLUSTER_INFO, | |
| 0x00000060: _OPERATIONAL_STATE_CLUSTER_INFO, | |
| 0x00000061: _RVC_OPERATIONAL_STATE_CLUSTER_INFO, | |
| 0x00000062: _SCENES_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000063: _THERMOSTAT_MODE_CLUSTER_INFO, | |
| 0x00000065: _GROUPCAST_CLUSTER_INFO, | |
| 0x00000071: _HEPA_FILTER_MONITORING_CLUSTER_INFO, | |
| 0x00000072: _ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER_INFO, | |
| 0x00000079: _WATER_TANK_LEVEL_MONITORING_CLUSTER_INFO, | |
| 0x00000080: _BOOLEAN_STATE_CONFIGURATION_CLUSTER_INFO, | |
| 0x00000081: _VALVE_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, | |
| 0x00000090: _ELECTRICAL_POWER_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000091: _ELECTRICAL_ENERGY_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000094: _WATER_HEATER_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000095: _COMMODITY_PRICE_CLUSTER_INFO, | |
| 0x00000097: _MESSAGES_CLUSTER_INFO, | |
| 0x00000098: _DEVICE_ENERGY_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000099: _ENERGY_EVSE_CLUSTER_INFO, | |
| 0x0000009B: _ENERGY_PREFERENCE_CLUSTER_INFO, | |
| 0x0000009C: _POWER_TOPOLOGY_CLUSTER_INFO, | |
| 0x0000009D: _ENERGY_EVSE_MODE_CLUSTER_INFO, | |
| 0x0000009E: _WATER_HEATER_MODE_CLUSTER_INFO, | |
| 0x0000009F: _DEVICE_ENERGY_MANAGEMENT_MODE_CLUSTER_INFO, | |
| 0x000000A0: _ELECTRICAL_GRID_CONDITIONS_CLUSTER_INFO, | |
| 0x000000A1: _ELECTRICAL_ALARM_CLUSTER_INFO, | |
| 0x000000A2: _ELECTRICAL_DISTRIBUTION_CLUSTER_INFO, | |
| 0x000000A3: _ELECTRICAL_PROTECTION_ALARM_CLUSTER_INFO, | |
| 0x00000101: _DOOR_LOCK_CLUSTER_INFO, | |
| 0x00000102: _WINDOW_COVERING_CLUSTER_INFO, | |
| 0x00000104: _CLOSURE_CONTROL_CLUSTER_INFO, | |
| 0x00000105: _CLOSURE_DIMENSION_CLUSTER_INFO, | |
| 0x00000150: _SERVICE_AREA_CLUSTER_INFO, | |
| 0x00000200: _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, | |
| 0x00000201: _THERMOSTAT_CLUSTER_INFO, | |
| 0x00000202: _FAN_CONTROL_CLUSTER_INFO, | |
| 0x00000204: _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO, | |
| 0x00000205: _HUMIDISTAT_CLUSTER_INFO, | |
| 0x00000300: _COLOR_CONTROL_CLUSTER_INFO, | |
| 0x00000301: _BALLAST_CONFIGURATION_CLUSTER_INFO, | |
| 0x00000305: _DYNAMIC_LIGHTING_CLUSTER_INFO, | |
| 0x00000400: _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000402: _TEMPERATURE_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000403: _PRESSURE_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000404: _FLOW_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000405: _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000406: _OCCUPANCY_SENSING_CLUSTER_INFO, | |
| 0x0000040C: _CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000040D: _CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000413: _NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000415: _OZONE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000042A: _PM2__5_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000042B: _FORMALDEHYDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000042C: _PM1_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000042D: _PM10_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000042E: _TOTAL_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x0000042F: _RADON_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000430: _SOIL_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000431: _AMBIENT_CONTEXT_SENSING_CLUSTER_INFO, | |
| 0x00000432: _AMBIENT_SENSING_UNION_CLUSTER_INFO, | |
| 0x00000433: _PROXIMITY_RANGING_CLUSTER_INFO, | |
| 0x00000434: _SMOKE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| 0x00000450: _NETWORK_IDENTITY_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000451: _WI_FI_NETWORK_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000452: _THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000453: _THREAD_NETWORK_DIRECTORY_CLUSTER_INFO, | |
| 0x00000455: _COMMISSIONING_PROXY_CLUSTER_INFO, | |
| 0x00000503: _WAKE_ON_LAN_CLUSTER_INFO, | |
| 0x00000504: _CHANNEL_CLUSTER_INFO, | |
| 0x00000505: _TARGET_NAVIGATOR_CLUSTER_INFO, | |
| 0x00000506: _MEDIA_PLAYBACK_CLUSTER_INFO, | |
| 0x00000507: _MEDIA_INPUT_CLUSTER_INFO, | |
| 0x00000508: _LOW_POWER_CLUSTER_INFO, | |
| 0x00000509: _KEYPAD_INPUT_CLUSTER_INFO, | |
| 0x0000050A: _CONTENT_LAUNCHER_CLUSTER_INFO, | |
| 0x0000050B: _AUDIO_OUTPUT_CLUSTER_INFO, | |
| 0x0000050C: _APPLICATION_LAUNCHER_CLUSTER_INFO, | |
| 0x0000050D: _APPLICATION_BASIC_CLUSTER_INFO, | |
| 0x0000050E: _ACCOUNT_LOGIN_CLUSTER_INFO, | |
| 0x0000050F: _CONTENT_CONTROL_CLUSTER_INFO, | |
| 0x00000510: _CONTENT_APP_OBSERVER_CLUSTER_INFO, | |
| 0x00000511: _MEDIA_FILE_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000512: _AUDIO_CONTROL_CLUSTER_INFO, | |
| 0x00000550: _ZONE_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000551: _CAMERA_AV_STREAM_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000552: _CAMERA_AV_SETTINGS_USER_LEVEL_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000553: _WEB_RTC_TRANSPORT_PROVIDER_CLUSTER_INFO, | |
| 0x00000554: _WEB_RTC_TRANSPORT_REQUESTOR_CLUSTER_INFO, | |
| 0x00000555: _PUSH_AV_STREAM_TRANSPORT_CLUSTER_INFO, | |
| 0x00000556: _CHIME_CLUSTER_INFO, | |
| 0x00000557: _AV_ANALYSIS_CLUSTER_INFO, | |
| 0x00000700: _COMMODITY_TARIFF_CLUSTER_INFO, | |
| 0x00000750: _ECOSYSTEM_INFORMATION_CLUSTER_INFO, | |
| 0x00000751: _COMMISSIONER_CONTROL_CLUSTER_INFO, | |
| 0x00000752: _JOINT_FABRIC_DATASTORE_CLUSTER_INFO, | |
| 0x00000753: _JOINT_FABRIC_ADMINISTRATOR_CLUSTER_INFO, | |
| 0x00000801: _TLS_CERTIFICATE_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000802: _TLS_CLIENT_MANAGEMENT_CLUSTER_INFO, | |
| 0x00000B06: _METER_IDENTIFICATION_CLUSTER_INFO, | |
| 0x00000B07: _COMMODITY_METERING_CLUSTER_INFO, | |
| 0xFFF1FC05: _UNIT_TESTING_CLUSTER_INFO, | |
| 0xFFF1FC06: _FAULT_INJECTION_CLUSTER_INFO, | |
| 0xFFF1FC20: _SAMPLE_MEI_CLUSTER_INFO, | |
| 0xFFF1FC21: _TEST_HIDDEN_MANUFACTURER_SPECIFIC_CLUSTER_INFO, | |
| } | |
| _CLUSTER_NAME_DICT = { | |
| "Identify": _IDENTIFY_CLUSTER_INFO, | |
| "Groups": _GROUPS_CLUSTER_INFO, | |
| "OnOff": _ON_OFF_CLUSTER_INFO, | |
| "LevelControl": _LEVEL_CONTROL_CLUSTER_INFO, | |
| "PulseWidthModulation": _PULSE_WIDTH_MODULATION_CLUSTER_INFO, | |
| "Descriptor": _DESCRIPTOR_CLUSTER_INFO, | |
| "Binding": _BINDING_CLUSTER_INFO, | |
| "AccessControl": _ACCESS_CONTROL_CLUSTER_INFO, | |
| "Actions": _ACTIONS_CLUSTER_INFO, | |
| "BasicInformation": _BASIC_INFORMATION_CLUSTER_INFO, | |
| "OtaSoftwareUpdateProvider": _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, | |
| "OtaSoftwareUpdateRequestor": _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, | |
| "LocalizationConfiguration": _LOCALIZATION_CONFIGURATION_CLUSTER_INFO, | |
| "TimeFormatLocalization": _TIME_FORMAT_LOCALIZATION_CLUSTER_INFO, | |
| "UnitLocalization": _UNIT_LOCALIZATION_CLUSTER_INFO, | |
| "PowerSourceConfiguration": _POWER_SOURCE_CONFIGURATION_CLUSTER_INFO, | |
| "PowerSource": _POWER_SOURCE_CLUSTER_INFO, | |
| "GeneralCommissioning": _GENERAL_COMMISSIONING_CLUSTER_INFO, | |
| "NetworkCommissioning": _NETWORK_COMMISSIONING_CLUSTER_INFO, | |
| "DiagnosticLogs": _DIAGNOSTIC_LOGS_CLUSTER_INFO, | |
| "GeneralDiagnostics": _GENERAL_DIAGNOSTICS_CLUSTER_INFO, | |
| "SoftwareDiagnostics": _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO, | |
| "ThreadNetworkDiagnostics": _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO, | |
| "WiFiNetworkDiagnostics": _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO, | |
| "EthernetNetworkDiagnostics": _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO, | |
| "TimeSynchronization": _TIME_SYNCHRONIZATION_CLUSTER_INFO, | |
| "BridgedDeviceBasicInformation": _BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER_INFO, | |
| "Switch": _SWITCH_CLUSTER_INFO, | |
| "AdministratorCommissioning": _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO, | |
| "OperationalCredentials": _OPERATIONAL_CREDENTIALS_CLUSTER_INFO, | |
| "GroupKeyManagement": _GROUP_KEY_MANAGEMENT_CLUSTER_INFO, | |
| "FixedLabel": _FIXED_LABEL_CLUSTER_INFO, | |
| "UserLabel": _USER_LABEL_CLUSTER_INFO, | |
| "ProxyConfiguration": _PROXY_CONFIGURATION_CLUSTER_INFO, | |
| "ProxyDiscovery": _PROXY_DISCOVERY_CLUSTER_INFO, | |
| "ProxyValid": _PROXY_VALID_CLUSTER_INFO, | |
| "BooleanState": _BOOLEAN_STATE_CLUSTER_INFO, | |
| "IcdManagement": _ICD_MANAGEMENT_CLUSTER_INFO, | |
| "OvenCavityOperationalState": _OVEN_CAVITY_OPERATIONAL_STATE_CLUSTER_INFO, | |
| "OvenMode": _OVEN_MODE_CLUSTER_INFO, | |
| "LaundryDryerControls": _LAUNDRY_DRYER_CONTROLS_CLUSTER_INFO, | |
| "TemperatureControlledCabinetTopology": _TEMPERATURE_CONTROLLED_CABINET_TOPOLOGY_CLUSTER_INFO, | |
| "ModeSelect": _MODE_SELECT_CLUSTER_INFO, | |
| "LaundryWasherMode": _LAUNDRY_WASHER_MODE_CLUSTER_INFO, | |
| "RefrigeratorAndTemperatureControlledCabinetMode": _REFRIGERATOR_AND_TEMPERATURE_CONTROLLED_CABINET_MODE_CLUSTER_INFO, | |
| "LaundryWasherControls": _LAUNDRY_WASHER_CONTROLS_CLUSTER_INFO, | |
| "RvcRunMode": _RVC_RUN_MODE_CLUSTER_INFO, | |
| "RvcCleanMode": _RVC_CLEAN_MODE_CLUSTER_INFO, | |
| "TemperatureControl": _TEMPERATURE_CONTROL_CLUSTER_INFO, | |
| "RefrigeratorAlarm": _REFRIGERATOR_ALARM_CLUSTER_INFO, | |
| "DishwasherMode": _DISHWASHER_MODE_CLUSTER_INFO, | |
| "AirQuality": _AIR_QUALITY_CLUSTER_INFO, | |
| "SmokeCoAlarm": _SMOKE_CO_ALARM_CLUSTER_INFO, | |
| "DishwasherAlarm": _DISHWASHER_ALARM_CLUSTER_INFO, | |
| "MicrowaveOvenMode": _MICROWAVE_OVEN_MODE_CLUSTER_INFO, | |
| "MicrowaveOvenControl": _MICROWAVE_OVEN_CONTROL_CLUSTER_INFO, | |
| "OperationalState": _OPERATIONAL_STATE_CLUSTER_INFO, | |
| "RvcOperationalState": _RVC_OPERATIONAL_STATE_CLUSTER_INFO, | |
| "ScenesManagement": _SCENES_MANAGEMENT_CLUSTER_INFO, | |
| "ThermostatMode": _THERMOSTAT_MODE_CLUSTER_INFO, | |
| "Groupcast": _GROUPCAST_CLUSTER_INFO, | |
| "HepaFilterMonitoring": _HEPA_FILTER_MONITORING_CLUSTER_INFO, | |
| "ActivatedCarbonFilterMonitoring": _ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER_INFO, | |
| "WaterTankLevelMonitoring": _WATER_TANK_LEVEL_MONITORING_CLUSTER_INFO, | |
| "BooleanStateConfiguration": _BOOLEAN_STATE_CONFIGURATION_CLUSTER_INFO, | |
| "ValveConfigurationAndControl": _VALVE_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, | |
| "ElectricalPowerMeasurement": _ELECTRICAL_POWER_MEASUREMENT_CLUSTER_INFO, | |
| "ElectricalEnergyMeasurement": _ELECTRICAL_ENERGY_MEASUREMENT_CLUSTER_INFO, | |
| "WaterHeaterManagement": _WATER_HEATER_MANAGEMENT_CLUSTER_INFO, | |
| "CommodityPrice": _COMMODITY_PRICE_CLUSTER_INFO, | |
| "Messages": _MESSAGES_CLUSTER_INFO, | |
| "DeviceEnergyManagement": _DEVICE_ENERGY_MANAGEMENT_CLUSTER_INFO, | |
| "EnergyEvse": _ENERGY_EVSE_CLUSTER_INFO, | |
| "EnergyPreference": _ENERGY_PREFERENCE_CLUSTER_INFO, | |
| "PowerTopology": _POWER_TOPOLOGY_CLUSTER_INFO, | |
| "EnergyEvseMode": _ENERGY_EVSE_MODE_CLUSTER_INFO, | |
| "WaterHeaterMode": _WATER_HEATER_MODE_CLUSTER_INFO, | |
| "DeviceEnergyManagementMode": _DEVICE_ENERGY_MANAGEMENT_MODE_CLUSTER_INFO, | |
| "ElectricalGridConditions": _ELECTRICAL_GRID_CONDITIONS_CLUSTER_INFO, | |
| "ElectricalAlarm": _ELECTRICAL_ALARM_CLUSTER_INFO, | |
| "ElectricalDistribution": _ELECTRICAL_DISTRIBUTION_CLUSTER_INFO, | |
| "ElectricalProtectionAlarm": _ELECTRICAL_PROTECTION_ALARM_CLUSTER_INFO, | |
| "DoorLock": _DOOR_LOCK_CLUSTER_INFO, | |
| "WindowCovering": _WINDOW_COVERING_CLUSTER_INFO, | |
| "ClosureControl": _CLOSURE_CONTROL_CLUSTER_INFO, | |
| "ClosureDimension": _CLOSURE_DIMENSION_CLUSTER_INFO, | |
| "ServiceArea": _SERVICE_AREA_CLUSTER_INFO, | |
| "PumpConfigurationAndControl": _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, | |
| "Thermostat": _THERMOSTAT_CLUSTER_INFO, | |
| "FanControl": _FAN_CONTROL_CLUSTER_INFO, | |
| "ThermostatUserInterfaceConfiguration": _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO, | |
| "Humidistat": _HUMIDISTAT_CLUSTER_INFO, | |
| "ColorControl": _COLOR_CONTROL_CLUSTER_INFO, | |
| "BallastConfiguration": _BALLAST_CONFIGURATION_CLUSTER_INFO, | |
| "DynamicLighting": _DYNAMIC_LIGHTING_CLUSTER_INFO, | |
| "IlluminanceMeasurement": _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO, | |
| "TemperatureMeasurement": _TEMPERATURE_MEASUREMENT_CLUSTER_INFO, | |
| "PressureMeasurement": _PRESSURE_MEASUREMENT_CLUSTER_INFO, | |
| "FlowMeasurement": _FLOW_MEASUREMENT_CLUSTER_INFO, | |
| "RelativeHumidityMeasurement": _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO, | |
| "OccupancySensing": _OCCUPANCY_SENSING_CLUSTER_INFO, | |
| "CarbonMonoxideConcentrationMeasurement": _CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "CarbonDioxideConcentrationMeasurement": _CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "NitrogenDioxideConcentrationMeasurement": _NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "OzoneConcentrationMeasurement": _OZONE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "Pm25ConcentrationMeasurement": _PM2__5_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "FormaldehydeConcentrationMeasurement": _FORMALDEHYDE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "Pm1ConcentrationMeasurement": _PM1_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "Pm10ConcentrationMeasurement": _PM10_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "TotalVolatileOrganicCompoundsConcentrationMeasurement": _TOTAL_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "RadonConcentrationMeasurement": _RADON_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "SoilMeasurement": _SOIL_MEASUREMENT_CLUSTER_INFO, | |
| "AmbientContextSensing": _AMBIENT_CONTEXT_SENSING_CLUSTER_INFO, | |
| "AmbientSensingUnion": _AMBIENT_SENSING_UNION_CLUSTER_INFO, | |
| "ProximityRanging": _PROXIMITY_RANGING_CLUSTER_INFO, | |
| "SmokeConcentrationMeasurement": _SMOKE_CONCENTRATION_MEASUREMENT_CLUSTER_INFO, | |
| "NetworkIdentityManagement": _NETWORK_IDENTITY_MANAGEMENT_CLUSTER_INFO, | |
| "WiFiNetworkManagement": _WI_FI_NETWORK_MANAGEMENT_CLUSTER_INFO, | |
| "ThreadBorderRouterManagement": _THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER_INFO, | |
| "ThreadNetworkDirectory": _THREAD_NETWORK_DIRECTORY_CLUSTER_INFO, | |
| "CommissioningProxy": _COMMISSIONING_PROXY_CLUSTER_INFO, | |
| "WakeOnLan": _WAKE_ON_LAN_CLUSTER_INFO, | |
| "Channel": _CHANNEL_CLUSTER_INFO, | |
| "TargetNavigator": _TARGET_NAVIGATOR_CLUSTER_INFO, | |
| "MediaPlayback": _MEDIA_PLAYBACK_CLUSTER_INFO, | |
| "MediaInput": _MEDIA_INPUT_CLUSTER_INFO, | |
| "LowPower": _LOW_POWER_CLUSTER_INFO, | |
| "KeypadInput": _KEYPAD_INPUT_CLUSTER_INFO, | |
| "ContentLauncher": _CONTENT_LAUNCHER_CLUSTER_INFO, | |
| "AudioOutput": _AUDIO_OUTPUT_CLUSTER_INFO, | |
| "ApplicationLauncher": _APPLICATION_LAUNCHER_CLUSTER_INFO, | |
| "ApplicationBasic": _APPLICATION_BASIC_CLUSTER_INFO, | |
| "AccountLogin": _ACCOUNT_LOGIN_CLUSTER_INFO, | |
| "ContentControl": _CONTENT_CONTROL_CLUSTER_INFO, | |
| "ContentAppObserver": _CONTENT_APP_OBSERVER_CLUSTER_INFO, | |
| "MediaFileManagement": _MEDIA_FILE_MANAGEMENT_CLUSTER_INFO, | |
| "AudioControl": _AUDIO_CONTROL_CLUSTER_INFO, | |
| "ZoneManagement": _ZONE_MANAGEMENT_CLUSTER_INFO, | |
| "CameraAvStreamManagement": _CAMERA_AV_STREAM_MANAGEMENT_CLUSTER_INFO, | |
| "CameraAvSettingsUserLevelManagement": _CAMERA_AV_SETTINGS_USER_LEVEL_MANAGEMENT_CLUSTER_INFO, | |
| "WebRTCTransportProvider": _WEB_RTC_TRANSPORT_PROVIDER_CLUSTER_INFO, | |
| "WebRTCTransportRequestor": _WEB_RTC_TRANSPORT_REQUESTOR_CLUSTER_INFO, | |
| "PushAvStreamTransport": _PUSH_AV_STREAM_TRANSPORT_CLUSTER_INFO, | |
| "Chime": _CHIME_CLUSTER_INFO, | |
| "AvAnalysis": _AV_ANALYSIS_CLUSTER_INFO, | |
| "CommodityTariff": _COMMODITY_TARIFF_CLUSTER_INFO, | |
| "EcosystemInformation": _ECOSYSTEM_INFORMATION_CLUSTER_INFO, | |
| "CommissionerControl": _COMMISSIONER_CONTROL_CLUSTER_INFO, | |
| "JointFabricDatastore": _JOINT_FABRIC_DATASTORE_CLUSTER_INFO, | |
| "JointFabricAdministrator": _JOINT_FABRIC_ADMINISTRATOR_CLUSTER_INFO, | |
| "TlsCertificateManagement": _TLS_CERTIFICATE_MANAGEMENT_CLUSTER_INFO, | |
| "TlsClientManagement": _TLS_CLIENT_MANAGEMENT_CLUSTER_INFO, | |
| "MeterIdentification": _METER_IDENTIFICATION_CLUSTER_INFO, | |
| "CommodityMetering": _COMMODITY_METERING_CLUSTER_INFO, | |
| "UnitTesting": _UNIT_TESTING_CLUSTER_INFO, | |
| "FaultInjection": _FAULT_INJECTION_CLUSTER_INFO, | |
| "SampleMei": _SAMPLE_MEI_CLUSTER_INFO, | |
| "TestHiddenManufacturerSpecific": _TEST_HIDDEN_MANUFACTURER_SPECIFIC_CLUSTER_INFO, | |
| } | |
| def __init__(self, chipstack): | |
| self._ChipStack = chipstack | |
| def GetClusterInfoById(self, cluster_id: int): | |
| data = ChipClusters._CLUSTER_ID_DICT.get(cluster_id, None) | |
| if not data: | |
| raise exceptions.UnknownCluster(f"Cluster ID: {cluster_id}") | |
| return data | |
| def ListClusterInfo(self): | |
| return ChipClusters._CLUSTER_NAME_DICT | |
| def ListClusterCommands(self): | |
| return {clusterName: { | |
| command["commandName"]: command["args"] for command in clusterInfo["commands"].values() | |
| } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items()} | |
| def ListClusterAttributes(self): | |
| return {clusterName: { | |
| attribute["attributeName"]: attribute for attribute in clusterInfo["attributes"].values() | |
| } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items()} | |
| # Init native functions | |
| def InitLib(self, chipLib): | |
| self._chipLib = chipLib |