From 39d9ae5b34f768ddf09ef9e1474cb6dbc9f508aa Mon Sep 17 00:00:00 2001 From: xyanide Date: Sat, 7 Dec 2024 15:57:24 +0100 Subject: [PATCH 1/3] Update fgms001.json to conform to Fibaro official documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://manuals.fibaro.com/motion-sensor/ Group information: 1st Association Group – “Lifeline” reports the device status and allows for assigning single device only (main controller by default). 2nd Association Group – “Motion” is assigned to the motion sensor – sends motion detection and alarm cancellation frames to the associated devices. 3rd Association Group – “Tamper” is assigned to the tamper – sends tamper alarm and alarm cancellation frames to the associated devices. 4th Association Group – “Motion BC” is assigned to the motion sensor – sends motion detection and alarm cancellation frames to the associated devices. Provides backward compatibility with controllers not supporting Z-Wave+ protocol. 5th Association Group – “Tamper BC” is assigned to the tamper – sends tamper alarm and alarm cancellation frames to the associated devices. Provides backward compatibility with controllers not supporting Z-Wave+ protocol. --- .../config/config/devices/0x010f/fgms001.json | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/packages/config/config/devices/0x010f/fgms001.json b/packages/config/config/devices/0x010f/fgms001.json index d95cb0c6f88e..11ef7d392a75 100644 --- a/packages/config/config/devices/0x010f/fgms001.json +++ b/packages/config/config/devices/0x010f/fgms001.json @@ -67,18 +67,25 @@ }, "associations": { "1": { - "label": "Motion Sensor Status", - "maxNodes": 16 - }, - "2": { - "label": "Tamper Alarm", - "maxNodes": 16, + "label": "Lifeline", + "maxNodes": 1, "isLifeline": true }, + "2": { + "label": "Motion", + "maxNodes": 5 + }, "3": { - "label": "Controller Updates", - "maxNodes": 1, - "isLifeline": true + "label": "Tamper", + "maxNodes": 5 + }, + "4": { + "label": "Motion BC", + "maxNodes": 5, + }, + "5": { + "label": "Tamper BC", + "maxNodes": 5, } }, "paramInformation": [ From 56ec63f2127f90f7a8b3c06520ea55777d9f4d1a Mon Sep 17 00:00:00 2001 From: xyanide Date: Sat, 7 Dec 2024 16:15:08 +0100 Subject: [PATCH 2/3] Updated for linting --- packages/config/config/devices/0x010f/fgms001.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/config/config/devices/0x010f/fgms001.json b/packages/config/config/devices/0x010f/fgms001.json index 11ef7d392a75..34f30bce4ef2 100644 --- a/packages/config/config/devices/0x010f/fgms001.json +++ b/packages/config/config/devices/0x010f/fgms001.json @@ -74,18 +74,18 @@ "2": { "label": "Motion", "maxNodes": 5 - }, + }, "3": { "label": "Tamper", "maxNodes": 5 }, "4": { "label": "Motion BC", - "maxNodes": 5, + "maxNodes": 5 }, "5": { "label": "Tamper BC", - "maxNodes": 5, + "maxNodes": 5 } }, "paramInformation": [ From d81f352b9ba47b412a5658d42df1b00ed837db7a Mon Sep 17 00:00:00 2001 From: xyanide Date: Sat, 7 Dec 2024 16:28:49 +0100 Subject: [PATCH 3/3] Added descriptions to the available associations --- packages/config/config/devices/0x010f/fgms001.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/config/config/devices/0x010f/fgms001.json b/packages/config/config/devices/0x010f/fgms001.json index 34f30bce4ef2..41c9b51e6884 100644 --- a/packages/config/config/devices/0x010f/fgms001.json +++ b/packages/config/config/devices/0x010f/fgms001.json @@ -68,23 +68,28 @@ "associations": { "1": { "label": "Lifeline", + "description": "Reports the device status and allows for assigning single device only (main controller by default).", "maxNodes": 1, "isLifeline": true }, "2": { "label": "Motion", + "description": "Sends motion detection and alarm cancellation frames to the associated devices.", "maxNodes": 5 }, "3": { "label": "Tamper", + "description": "Sends tamper alarm and alarm cancellation frames to the associated devices.", "maxNodes": 5 }, "4": { "label": "Motion BC", + "description": "Sends motion detection and alarm cancellation frames to the associated devices. Provides backward compatibility with controllers not supporting Z-Wave+ protocol.", "maxNodes": 5 }, "5": { "label": "Tamper BC", + "description": "Sends tamper alarm and alarm cancellation frames to the associated devices. Provides backward compatibility with controllers not supporting Z-Wave+ protocol.", "maxNodes": 5 } },