From 3dc6d830d25cb263e0c33ad1d234235c0418c2dc Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 9 Aug 2023 14:57:29 -0400 Subject: [PATCH 1/2] Updating the matter device types with scope, class and superset meta data Github: ZAP#1090 --- .../zcl/data-model/chip/matter-devices.xml | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml index 350a52ca1c0277..7ce3ca6d9b89ae 100644 --- a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml +++ b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml @@ -35,6 +35,8 @@ limitations under the License. Matter Root Node 0x0103 0x0016 + Node + Node ACL @@ -90,6 +92,8 @@ limitations under the License. Matter Power Source 0x0103 0x0011 + Utility + Node DEVICE_TYPE_LIST @@ -106,6 +110,8 @@ limitations under the License. Matter OTA Requestor 0x0103 0x0012 + Utility + Node DEVICE_TYPE_LIST @@ -123,6 +129,8 @@ limitations under the License. Matter OTA Provider 0x0103 0x0014 + Utility + Node DEVICE_TYPE_LIST @@ -140,6 +148,8 @@ limitations under the License. Matter Aggregator 0x0103 0x000e + Dynamic Utility + Endpoint DEVICE_TYPE_LIST @@ -176,6 +186,8 @@ limitations under the License. Matter On/Off Light 0x0103 0x0100 + Simple + Endpoint IDENTIFY_TIME @@ -259,6 +271,9 @@ limitations under the License. Matter Dimmable Light 0x0103 0x0101 + Simple + Endpoint + Matter On/Off Light IDENTIFY_TIME @@ -345,6 +360,9 @@ limitations under the License. Matter Color Temperature Light 0x0103 0x010C + Simple + Endpoint + Matter Dimmable Light IDENTIFY_TIME @@ -477,6 +495,9 @@ limitations under the License. Matter Extended Color Light 0x0103 0x010D + Simple + Endpoint + Matter Color Temperature Light IDENTIFY_TIME @@ -619,6 +640,8 @@ limitations under the License. Matter On/Off Plug-in Unit 0x0103 0x010A + Simple + Endpoint IDENTIFY_TIME @@ -701,6 +724,8 @@ limitations under the License. Matter Dimmable Plug-in Unit 0x0103 0x010B + Simple + Endpoint IDENTIFY_TIME @@ -783,6 +808,8 @@ limitations under the License. Matter Pump 0x0999 0x0303 + Simple + Endpoint IDENTIFY_TIME @@ -861,6 +888,8 @@ limitations under the License. Matter On/Off Light Switch 0x0103 0x0103 + Simple + Endpoint IDENTIFY_TIME @@ -920,6 +949,9 @@ limitations under the License. Matter Dimmer Switch 0x0103 0x0104 + Simple + Endpoint + Matter On/Off Light Switch IDENTIFY_TIME @@ -980,6 +1012,9 @@ limitations under the License. Matter Color Dimmer Switch 0x0103 0x0105 + Simple + Endpoint + Matter Dimmer Switch IDENTIFY_TIME @@ -1041,6 +1076,8 @@ limitations under the License. Matter Control Bridge 0x0103 0x0840 + Simple + Endpoint IDENTIFY_TIME @@ -1075,6 +1112,8 @@ limitations under the License. Matter Pump Controller 0x0999 0x0304 + Simple + Endpoint IDENTIFY_TIME @@ -1141,6 +1180,8 @@ limitations under the License. Matter Generic Switch 0x0103 0x000f + Simple + Endpoint IDENTIFY_TIME @@ -1166,6 +1207,8 @@ limitations under the License. Matter Contact Sensor 0x0103 0x0015 + Simple + Endpoint IDENTIFY_TIME @@ -1191,6 +1234,8 @@ limitations under the License. Matter Light Sensor 0x0103 0x0106 + Simple + Endpoint IDENTIFY_TIME @@ -1222,6 +1267,8 @@ limitations under the License. Matter Occupancy Sensor 0x0103 0x0107 + Simple + Endpoint IDENTIFY_TIME @@ -1252,6 +1299,8 @@ limitations under the License. Matter Temperature Sensor 0x0103 0x0302 + Simple + Endpoint IDENTIFY_TIME @@ -1275,6 +1324,8 @@ limitations under the License. Matter Pressure Sensor 0x0103 0x0305 + Simple + Endpoint IDENTIFY_TIME @@ -1298,6 +1349,8 @@ limitations under the License. Matter Flow Sensor 0x0103 0x0306 + Simple + Endpoint IDENTIFY_TIME @@ -1321,6 +1374,8 @@ limitations under the License. Matter Humidity Sensor 0x0103 0x0307 + Simple + Endpoint IDENTIFY_TIME @@ -1344,6 +1399,8 @@ limitations under the License. Matter On/Off Sensor 0x0103 0x0850 + Simple + Endpoint IDENTIFY_TIME @@ -1374,6 +1431,8 @@ limitations under the License. Matter Door Lock 0x0103 0x000A + Simple + Endpoint IDENTIFY_TIME @@ -1401,6 +1460,8 @@ limitations under the License. Matter Door Lock Controller 0x0103 0x000B + Simple + Endpoint DEVICE_TYPE_LIST @@ -1421,6 +1482,8 @@ limitations under the License. Matter Window Covering 0x0103 0x0202 + Simple + Endpoint IDENTIFY_TIME @@ -1477,6 +1540,8 @@ limitations under the License. Matter Window Covering Controller 0x0103 0x0203 + Simple + Endpoint IDENTIFY_TIME @@ -1505,6 +1570,8 @@ limitations under the License. Matter Heating/Cooling Unit 0x0103 0x0300 + Simple + Endpoint IDENTIFY_TIME @@ -1567,6 +1634,8 @@ limitations under the License. Matter Thermostat 0x0103 0x0301 + Simple + Endpoint IDENTIFY_TIME @@ -1632,6 +1701,8 @@ limitations under the License. Matter Fan 0x0103 0x002B + Simple + Endpoint IDENTIFY_TIME @@ -1667,6 +1738,8 @@ limitations under the License. Matter Casting Video Player 0x0103 0x0023 + Simple + Endpoint DEVICE_TYPE_LIST @@ -1694,6 +1767,8 @@ limitations under the License. Matter Basic Video Player 0x0103 0x0028 + Simple + Endpoint DEVICE_TYPE_LIST @@ -1718,6 +1793,8 @@ limitations under the License. Matter Casting Video Client 0x0103 0x0029 + Simple + Endpoint DEVICE_TYPE_LIST @@ -1750,6 +1827,8 @@ limitations under the License. Matter Video Remote Control 0x0103 0x002A + Simple + Endpoint DEVICE_TYPE_LIST @@ -1781,6 +1860,8 @@ limitations under the License. Matter Speaker 0x0103 0x0022 + Simple + Endpoint IDENTIFY_TIME @@ -1805,6 +1886,8 @@ limitations under the License. Matter Content App 0x0103 0x0024 + Simple + Endpoint IDENTIFY_TIME @@ -1835,6 +1918,8 @@ limitations under the License. Matter Mode Select 0x0103 0x0027 + Simple + Endpoint IDENTIFY_TIME From 4864273751ce341f967ed0b39789155b5600e89b Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 23 Aug 2023 09:35:55 -0400 Subject: [PATCH 2/2] Adding scope and class to all the device types as per the latest data model specification Github: ZAP#1090 --- .../zcl/data-model/chip/matter-devices.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml index 7ce3ca6d9b89ae..38b30a0fa68e2b 100644 --- a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml +++ b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml @@ -166,6 +166,8 @@ limitations under the License. Matter Bridged Device 0x0103 0x0013 + Utility + Endpoint DEVICE_TYPE_LIST @@ -1943,6 +1945,8 @@ limitations under the License. Matter Room Air Conditioner 0x0103 0x0072 + Simple + Endpoint IDENTIFY_TIME @@ -1970,6 +1974,8 @@ limitations under the License. Matter Smoke CO Alarm 0x0103 0x0076 + Simple + Endpoint IDENTIFY_TIME @@ -1990,6 +1996,8 @@ limitations under the License. Matter Air Purifier 0x0103 0x002D + Simple + Endpoint @@ -2009,6 +2017,8 @@ limitations under the License. Matter Air Quality Sensor 0x0103 0x002C + Simple + Endpoint @@ -2037,6 +2047,8 @@ limitations under the License. Matter Dishwasher 0x0103 0x0075 + Simple + Endpoint @@ -2053,6 +2065,8 @@ limitations under the License. Matter Refrigerator 0x0103 0x0070 + Simple + Endpoint @@ -2066,6 +2080,8 @@ limitations under the License. Matter Laundry Washer 0x0103 0x0073 + Simple + Endpoint @@ -2082,6 +2098,8 @@ limitations under the License. Matter Robotic Vacuum Cleaner 0x0103 0x0074 + Simple + Endpoint @@ -2097,6 +2115,8 @@ limitations under the License. Matter Temperature Controlled Cabinet 0x0103 0x0071 + Simple + Endpoint