Skip to content

Instantly share code, notes, and snippets.

@vinzent
Created January 6, 2025 14:08
Show Gist options
  • Save vinzent/af5956db77a20c94556030e812b2211b to your computer and use it in GitHub Desktop.
Save vinzent/af5956db77a20c94556030e812b2211b to your computer and use it in GitHub Desktop.
IKEA Vallhorn
{
"ieee": "....",
"nwk": "....",
"model": "VALLHORN Wireless Motion Sensor",
"manufacturer": "IKEA of Sweden",
"manufacturer_id": "0x4476",
"endpoints": [
{
"id": 1,
"device_type": "0x0850",
"profile": "0x0104",
"in_clusters": {
"0x0000": {
"cluster_id": "0x0000",
"title": "Basic",
"name": "basic",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "zcl_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 8
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "app_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "stack_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 114
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "hw_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "manufacturer",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "IKEA of Sweden"
},
"0x0005": {
"attribute_id": "0x0005",
"attribute_name": "model",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "VALLHORN Wireless Motion Sensor"
},
"0x0006": {
"attribute_id": "0x0006",
"attribute_name": "date_code",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "20240123"
},
"0x0007": {
"attribute_id": "0x0007",
"attribute_name": "power_source",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
},
"0x0008": {
"attribute_id": "0x0008",
"attribute_name": "generic_device_class",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0009": {
"attribute_id": "0x0009",
"attribute_name": "generic_device_type",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 227
},
"0x000a": {
"attribute_id": "0x000a",
"attribute_name": "product_code",
"value_type": [
"0x41",
"LVBytes",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "E2134"
},
"0x000b": {
"attribute_id": "0x000b",
"attribute_name": "product_url",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "www.ikea.com"
},
"0x4000": {
"attribute_id": "0x4000",
"attribute_name": "sw_build_id",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "1.0.64"
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "reset_fact_default",
"command_arguments": "<class 'zigpy.zcl.foundation.reset_fact_default'>"
}
},
"commands_generated": {}
},
"0x0001": {
"cluster_id": "0x0001",
"title": "Power Configuration",
"name": "power",
"attributes": {
"0x0020": {
"attribute_id": "0x0020",
"attribute_name": "battery_voltage",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 26
},
"0x0021": {
"attribute_id": "0x0021",
"attribute_name": "battery_percentage_remaining",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 162
},
"0x0031": {
"attribute_id": "0x0031",
"attribute_name": "battery_size",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 4
},
"0x0033": {
"attribute_id": "0x0033",
"attribute_name": "battery_quantity",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 2
},
"0x0036": {
"attribute_id": "0x0036",
"attribute_name": "battery_volt_min_thres",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 0
},
"0x003a": {
"attribute_id": "0x003a",
"attribute_name": "battery_percent_min_thres",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {}
},
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "identify_time",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "identify_query",
"command_arguments": "<class 'zigpy.zcl.foundation.identify_query'>"
},
"0x40": {
"command_id": "0x40",
"command_name": "trigger_effect",
"command_arguments": "<class 'zigpy.zcl.foundation.trigger_effect'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "identify_query_response",
"command_args": "<class 'zigpy.zcl.foundation.identify_query_response'>"
}
}
},
"0x0020": {
"cluster_id": "0x0020",
"title": "Poll Control",
"name": "poll_control",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "checkin_interval",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 13200
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "long_poll_interval",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1200
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "short_poll_interval",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 4
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "fast_poll_timeout",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 40
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "checkin_response",
"command_arguments": "<class 'zigpy.zcl.foundation.checkin_response'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "fast_poll_stop",
"command_arguments": "<class 'zigpy.zcl.foundation.fast_poll_stop'>"
},
"0x02": {
"command_id": "0x02",
"command_name": "set_long_poll_interval",
"command_arguments": "<class 'zigpy.zcl.foundation.set_long_poll_interval'>"
},
"0x03": {
"command_id": "0x03",
"command_name": "set_short_poll_interval",
"command_arguments": "<class 'zigpy.zcl.foundation.set_short_poll_interval'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "checkin",
"command_args": "<class 'zigpy.zcl.foundation.checkin'>"
}
}
},
"0x0b05": {
"cluster_id": "0x0b05",
"title": "Diagnostic",
"name": "diagnostic",
"attributes": {
"0x011d": {
"attribute_id": "0x011d",
"attribute_name": "last_message_rssi",
"value_type": [
"0x28",
"int8s",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": -42
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
}
},
"commands_received": {},
"commands_generated": {}
},
"0x1000": {
"cluster_id": "0x1000",
"title": "LightLink",
"name": "lightlink",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "65533",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "scan",
"command_arguments": "<class 'zigpy.zcl.foundation.scan'>"
},
"0x02": {
"command_id": "0x02",
"command_name": "device_info",
"command_arguments": "<class 'zigpy.zcl.foundation.device_info'>"
},
"0x06": {
"command_id": "0x06",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
},
"0x07": {
"command_id": "0x07",
"command_name": "reset_to_factory_new",
"command_arguments": "<class 'zigpy.zcl.foundation.reset_to_factory_new'>"
},
"0x10": {
"command_id": "0x10",
"command_name": "network_start",
"command_arguments": "<class 'zigpy.zcl.foundation.network_start'>"
},
"0x12": {
"command_id": "0x12",
"command_name": "network_join_router",
"command_arguments": "<class 'zigpy.zcl.foundation.network_join_router'>"
},
"0x14": {
"command_id": "0x14",
"command_name": "network_join_end_device",
"command_arguments": "<class 'zigpy.zcl.foundation.network_join_end_device'>"
},
"0x16": {
"command_id": "0x16",
"command_name": "network_update",
"command_arguments": "<class 'zigpy.zcl.foundation.network_update'>"
},
"0x41": {
"command_id": "0x41",
"command_name": "get_group_identifiers",
"command_arguments": "<class 'zigpy.zcl.foundation.get_group_identifiers'>"
},
"0x42": {
"command_id": "0x42",
"command_name": "get_endpoint_list",
"command_arguments": "<class 'zigpy.zcl.foundation.get_endpoint_list'>"
}
},
"commands_generated": {
"0x01": {
"command_id": "0x01",
"command_name": "scan_rsp",
"command_args": "<class 'zigpy.zcl.foundation.scan_rsp'>"
},
"0x03": {
"command_id": "0x03",
"command_name": "device_info_rsp",
"command_args": "<class 'zigpy.zcl.foundation.device_info_rsp'>"
},
"0x11": {
"command_id": "0x11",
"command_name": "network_start_rsp",
"command_args": "<class 'zigpy.zcl.foundation.network_start_rsp'>"
},
"0x13": {
"command_id": "0x13",
"command_name": "network_join_router_rsp",
"command_args": "<class 'zigpy.zcl.foundation.network_join_router_rsp'>"
},
"0x15": {
"command_id": "0x15",
"command_name": "network_join_end_device_rsp",
"command_args": "<class 'zigpy.zcl.foundation.network_join_end_device_rsp'>"
},
"0x40": {
"command_id": "0x40",
"command_name": "endpoint_info",
"command_args": "<class 'zigpy.zcl.foundation.endpoint_info'>"
},
"0x41": {
"command_id": "0x41",
"command_name": "get_group_identifiers_rsp",
"command_args": "<class 'zigpy.zcl.foundation.get_group_identifiers_rsp'>"
},
"0x42": {
"command_id": "0x42",
"command_name": "get_endpoint_list_rsp",
"command_args": "<class 'zigpy.zcl.foundation.get_endpoint_list_rsp'>"
}
}
},
"0xfc7c": {
"cluster_id": "0xfc7c",
"title": "Manufacturer Specific",
"name": "manufacturer_specific",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "65533",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"manf_id": 4476,
"attribute_value": 1
}
},
"commands_received": {},
"commands_generated": {}
},
"0xfc81": {
"cluster_id": "0xfc81",
"title": "Manufacturer Specific",
"name": "manufacturer_specific",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "0",
"value_type": [
"0x10",
"Bool",
"Discrete"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"manf_id": 4476,
"attribute_value": 1
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "2",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"manf_id": 4476,
"attribute_value": 60
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "4",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"manf_id": 4476,
"attribute_value": 60
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "65533",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"manf_id": 4476,
"attribute_value": 1
}
},
"commands_received": {},
"commands_generated": {}
}
},
"out_clusters": {
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "identify_query_response",
"command_args": "<class 'zigpy.zcl.foundation.identify_query_response'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "1",
"command_args": "not_in_zcl"
},
"0x40": {
"command_id": "0x40",
"command_name": "64",
"command_args": "not_in_zcl"
}
}
},
"0x0004": {
"cluster_id": "0x0004",
"title": "Groups",
"name": "groups",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
}
},
"commands_received": {},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "add_response",
"command_args": "<class 'zigpy.zcl.foundation.add_response'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "view_response",
"command_args": "<class 'zigpy.zcl.foundation.view_response'>"
},
"0x02": {
"command_id": "0x02",
"command_name": "get_membership_response",
"command_args": "<class 'zigpy.zcl.foundation.get_membership_response'>"
},
"0x03": {
"command_id": "0x03",
"command_name": "remove_response",
"command_args": "<class 'zigpy.zcl.foundation.remove_response'>"
},
"0x04": {
"command_id": "0x04",
"command_name": "4",
"command_args": "not_in_zcl"
},
"0x05": {
"command_id": "0x05",
"command_name": "5",
"command_args": "not_in_zcl"
}
}
},
"0x0006": {
"cluster_id": "0x0006",
"title": "On/Off",
"name": "on_off",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {
"0x42": {
"command_id": "0x42",
"command_name": "66",
"command_args": "not_in_zcl"
}
}
},
"0x0019": {
"cluster_id": "0x0019",
"title": "Ota",
"name": "ota",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "upgrade_server_id",
"value_type": [
"0xf0",
"EUI64",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": [
3,
12,
29,
254,
255,
141,
121,
224
]
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "file_offset",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 4294967295
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "current_file_version",
"value_type": [
"0x23",
"uint32_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 16777316
},
"0x0006": {
"attribute_id": "0x0006",
"attribute_name": "image_upgrade_status",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0007": {
"attribute_id": "0x0007",
"attribute_name": "manufacturer_id",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 4476
},
"0x0008": {
"attribute_id": "0x0008",
"attribute_name": "image_type_id",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 65535
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 4
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "0",
"command_arguments": "not_in_zcl"
},
"0x02": {
"command_id": "0x02",
"command_name": "2",
"command_arguments": "not_in_zcl"
},
"0x05": {
"command_id": "0x05",
"command_name": "5",
"command_arguments": "not_in_zcl"
},
"0x07": {
"command_id": "0x07",
"command_name": "7",
"command_arguments": "not_in_zcl"
}
},
"commands_generated": {
"0x01": {
"command_id": "0x01",
"command_name": "1",
"command_args": "not_in_zcl"
},
"0x03": {
"command_id": "0x03",
"command_name": "3",
"command_args": "not_in_zcl"
},
"0x06": {
"command_id": "0x06",
"command_name": "6",
"command_args": "not_in_zcl"
}
}
},
"0x1000": {
"cluster_id": "0x1000",
"title": "LightLink",
"name": "lightlink",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "65533",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
}
},
"commands_received": {
"0x01": {
"command_id": "0x01",
"command_name": "1",
"command_arguments": "not_in_zcl"
},
"0x03": {
"command_id": "0x03",
"command_name": "3",
"command_arguments": "not_in_zcl"
},
"0x11": {
"command_id": "0x11",
"command_name": "17",
"command_arguments": "not_in_zcl"
},
"0x13": {
"command_id": "0x13",
"command_name": "19",
"command_arguments": "not_in_zcl"
},
"0x15": {
"command_id": "0x15",
"command_name": "21",
"command_arguments": "not_in_zcl"
},
"0x40": {
"command_id": "0x40",
"command_name": "64",
"command_arguments": "not_in_zcl"
},
"0x41": {
"command_id": "0x41",
"command_name": "get_group_identifiers",
"command_arguments": "<class 'zigpy.zcl.foundation.get_group_identifiers'>"
},
"0x42": {
"command_id": "0x42",
"command_name": "get_endpoint_list",
"command_arguments": "<class 'zigpy.zcl.foundation.get_endpoint_list'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "0",
"command_args": "not_in_zcl"
},
"0x02": {
"command_id": "0x02",
"command_name": "2",
"command_args": "not_in_zcl"
},
"0x06": {
"command_id": "0x06",
"command_name": "6",
"command_args": "not_in_zcl"
},
"0x07": {
"command_id": "0x07",
"command_name": "7",
"command_args": "not_in_zcl"
},
"0x10": {
"command_id": "0x10",
"command_name": "16",
"command_args": "not_in_zcl"
},
"0x12": {
"command_id": "0x12",
"command_name": "18",
"command_args": "not_in_zcl"
},
"0x14": {
"command_id": "0x14",
"command_name": "20",
"command_args": "not_in_zcl"
},
"0x16": {
"command_id": "0x16",
"command_name": "22",
"command_args": "not_in_zcl"
},
"0x41": {
"command_id": "0x41",
"command_name": "get_group_identifiers_rsp",
"command_args": "<class 'zigpy.zcl.foundation.get_group_identifiers_rsp'>"
},
"0x42": {
"command_id": "0x42",
"command_name": "get_endpoint_list_rsp",
"command_args": "<class 'zigpy.zcl.foundation.get_endpoint_list_rsp'>"
}
}
}
}
},
{
"id": 2,
"device_type": "0x0107",
"profile": "0x0104",
"in_clusters": {
"0x0000": {
"cluster_id": "0x0000",
"title": "Basic",
"name": "basic",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "zcl_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 8
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "app_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "stack_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 114
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "hw_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "manufacturer",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "IKEA of Sweden"
},
"0x0005": {
"attribute_id": "0x0005",
"attribute_name": "model",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "VALLHORN Wireless Motion Sensor"
},
"0x0006": {
"attribute_id": "0x0006",
"attribute_name": "date_code",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "20240123"
},
"0x0007": {
"attribute_id": "0x0007",
"attribute_name": "power_source",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
},
"0x0008": {
"attribute_id": "0x0008",
"attribute_name": "generic_device_class",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0009": {
"attribute_id": "0x0009",
"attribute_name": "generic_device_type",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 227
},
"0x000a": {
"attribute_id": "0x000a",
"attribute_name": "product_code",
"value_type": [
"0x41",
"LVBytes",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "E2134"
},
"0x000b": {
"attribute_id": "0x000b",
"attribute_name": "product_url",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "www.ikea.com"
},
"0x4000": {
"attribute_id": "0x4000",
"attribute_name": "sw_build_id",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "1.0.64"
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "reset_fact_default",
"command_arguments": "<class 'zigpy.zcl.foundation.reset_fact_default'>"
}
},
"commands_generated": {}
},
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "identify_time",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "identify_query",
"command_arguments": "<class 'zigpy.zcl.foundation.identify_query'>"
},
"0x40": {
"command_id": "0x40",
"command_name": "trigger_effect",
"command_arguments": "<class 'zigpy.zcl.foundation.trigger_effect'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "identify_query_response",
"command_args": "<class 'zigpy.zcl.foundation.identify_query_response'>"
}
}
},
"0x0406": {
"cluster_id": "0x0406",
"title": "Occupancy Sensing",
"name": "occupancy",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "occupancy",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "occupancy_sensor_type_bitmap",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "2",
"value_type": [
"0x18",
"bitmap8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0010": {
"attribute_id": "0x0010",
"attribute_name": "pir_o_to_u_delay",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 20
},
"0x0011": {
"attribute_id": "0x0011",
"attribute_name": "pir_u_to_o_delay",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 0
},
"0x0012": {
"attribute_id": "0x0012",
"attribute_name": "pir_u_to_o_threshold",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 1
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {}
}
},
"out_clusters": {
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "identify_query_response",
"command_args": "<class 'zigpy.zcl.foundation.identify_query_response'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "1",
"command_args": "not_in_zcl"
},
"0x40": {
"command_id": "0x40",
"command_name": "64",
"command_args": "not_in_zcl"
}
}
}
}
},
{
"id": 3,
"device_type": "0x0106",
"profile": "0x0104",
"in_clusters": {
"0x0000": {
"cluster_id": "0x0000",
"title": "Basic",
"name": "basic",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "zcl_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 8
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "app_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "stack_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 114
},
"0x0003": {
"attribute_id": "0x0003",
"attribute_name": "hw_version",
"value_type": [
"0x20",
"uint8_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "manufacturer",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "IKEA of Sweden"
},
"0x0005": {
"attribute_id": "0x0005",
"attribute_name": "model",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "VALLHORN Wireless Motion Sensor"
},
"0x0006": {
"attribute_id": "0x0006",
"attribute_name": "date_code",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "20240123"
},
"0x0007": {
"attribute_id": "0x0007",
"attribute_name": "power_source",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
},
"0x0008": {
"attribute_id": "0x0008",
"attribute_name": "generic_device_class",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0009": {
"attribute_id": "0x0009",
"attribute_name": "generic_device_type",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 227
},
"0x000a": {
"attribute_id": "0x000a",
"attribute_name": "product_code",
"value_type": [
"0x41",
"LVBytes",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "E2134"
},
"0x000b": {
"attribute_id": "0x000b",
"attribute_name": "product_url",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "www.ikea.com"
},
"0x4000": {
"attribute_id": "0x4000",
"attribute_name": "sw_build_id",
"value_type": [
"0x42",
"CharacterString",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": "1.0.64"
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 3
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "reset_fact_default",
"command_arguments": "<class 'zigpy.zcl.foundation.reset_fact_default'>"
}
},
"commands_generated": {}
},
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "identify_time",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|WRITE|REPORT",
"access_acl": 7,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "identify_query",
"command_arguments": "<class 'zigpy.zcl.foundation.identify_query'>"
},
"0x40": {
"command_id": "0x40",
"command_name": "trigger_effect",
"command_arguments": "<class 'zigpy.zcl.foundation.trigger_effect'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "identify_query_response",
"command_args": "<class 'zigpy.zcl.foundation.identify_query_response'>"
}
}
},
"0x0400": {
"cluster_id": "0x0400",
"title": "Illuminance Measurement",
"name": "illuminance",
"attributes": {
"0x0000": {
"attribute_id": "0x0000",
"attribute_name": "measured_value",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0x0001": {
"attribute_id": "0x0001",
"attribute_name": "min_measured_value",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 1
},
"0x0002": {
"attribute_id": "0x0002",
"attribute_name": "max_measured_value",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 28750
},
"0x0004": {
"attribute_id": "0x0004",
"attribute_name": "light_sensor_type",
"value_type": [
"0x30",
"enum8",
"Discrete"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 0
},
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {},
"commands_generated": {}
}
},
"out_clusters": {
"0x0003": {
"cluster_id": "0x0003",
"title": "Identify",
"name": "identify",
"attributes": {
"0xfffd": {
"attribute_id": "0xfffd",
"attribute_name": "cluster_revision",
"value_type": [
"0x21",
"uint16_t",
"Analog"
],
"access": "READ|REPORT",
"access_acl": 5,
"attribute_value": 2
}
},
"commands_received": {
"0x00": {
"command_id": "0x00",
"command_name": "identify",
"command_arguments": "<class 'zigpy.zcl.foundation.identify'>"
}
},
"commands_generated": {
"0x00": {
"command_id": "0x00",
"command_name": "identify_query_response",
"command_args": "<class 'zigpy.zcl.foundation.identify_query_response'>"
},
"0x01": {
"command_id": "0x01",
"command_name": "1",
"command_args": "not_in_zcl"
},
"0x40": {
"command_id": "0x40",
"command_name": "64",
"command_args": "not_in_zcl"
}
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment