From 969e9a7abab3875fe19c7081ac7e964acba4f0c9 Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Tue, 8 Aug 2023 16:44:14 +0200 Subject: [PATCH 1/2] feat(config): add Zooz ZAC38 Range Extender --- .../config/config/devices/0x027a/zac38.json | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 packages/config/config/devices/0x027a/zac38.json diff --git a/packages/config/config/devices/0x027a/zac38.json b/packages/config/config/devices/0x027a/zac38.json new file mode 100644 index 000000000000..e714444ccb73 --- /dev/null +++ b/packages/config/config/devices/0x027a/zac38.json @@ -0,0 +1,60 @@ +{ + "manufacturer": "Zooz", + "manufacturerId": "0x027a", + "label": "ZAC38", + "description": "Range Extender", + "devices": [ + { + "productType": "0x0004", + "productId": "0x0510" + } + ], + "firmwareVersion": { + "min": "0.0", + "max": "255.255" + }, + "paramInformation": [ + { + "#": "1", + "$import": "templates/zooz_template.json#low_battery_alarm_threshold", + "defaultValue": 10 + }, + { + "#": "2", + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Enable Battery Threshold Reports", + "defaultValue": 1 + }, + { + "#": "3", + "$import": "templates/zooz_template.json#battery_report_threshold", + "minValue": 5 + }, + { + "#": "4", + "label": "Battery Report Interval Below Threshold", + "valueSize": 2, + "unit": "seconds", + "minValue": 1, + "maxValue": 65535, + "defaultValue": 600, + "unsigned": true + }, + { + "#": "5", + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Enable Timed Battery Reports", + "defaultValue": 1 + }, + { + "#": "6", + "label": "Battery Report Interval", + "valueSize": 2, + "unit": "seconds", + "minValue": 30, + "maxValue": 65535, + "defaultValue": 3600, + "unsigned": true + } + ] +} From fed79db5a32251a97f95f6a1ef3da96f210a646d Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Fri, 6 Oct 2023 11:41:27 +0200 Subject: [PATCH 2/2] fix: param 4 label and description --- packages/config/config/devices/0x027a/zac38.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/config/config/devices/0x027a/zac38.json b/packages/config/config/devices/0x027a/zac38.json index e714444ccb73..ad268305e513 100644 --- a/packages/config/config/devices/0x027a/zac38.json +++ b/packages/config/config/devices/0x027a/zac38.json @@ -32,7 +32,8 @@ }, { "#": "4", - "label": "Battery Report Interval Below Threshold", + "label": "Battery Check Interval", + "description": "How often the device checks the battery level.", "valueSize": 2, "unit": "seconds", "minValue": 1,