From 0e0482ea20bb3aa622bbda8e8f2deff1db725511 Mon Sep 17 00:00:00 2001 From: Bob Eckhoff Date: Wed, 11 Oct 2023 10:34:55 -0400 Subject: [PATCH] feat(config): add Neo repeaters as separate devices Per your suggestion. I do agree that neo has issues with correct manuals. Two devices will make future corrections easier. Signed-off-by: Bob Eckhoff --- .../0x0258/{nas-rp01.json => nas-rp01z1.json} | 6 +- .../config/devices/0x0258/nas-wr02zu.json | 144 ++++++++++++++++++ 2 files changed, 145 insertions(+), 5 deletions(-) rename packages/config/config/devices/0x0258/{nas-rp01.json => nas-rp01z1.json} (97%) create mode 100644 packages/config/config/devices/0x0258/nas-wr02zu.json diff --git a/packages/config/config/devices/0x0258/nas-rp01.json b/packages/config/config/devices/0x0258/nas-rp01z1.json similarity index 97% rename from packages/config/config/devices/0x0258/nas-rp01.json rename to packages/config/config/devices/0x0258/nas-rp01z1.json index 97b696e07138..0a28be446920 100644 --- a/packages/config/config/devices/0x0258/nas-rp01.json +++ b/packages/config/config/devices/0x0258/nas-rp01z1.json @@ -1,13 +1,9 @@ { "manufacturer": "Shenzhen Neo Electronics Co., Ltd", "manufacturerId": "0x0258", - "label": "NAS-RP01", + "label": "NAS-RP01Z1", "description": "Neo Coolcam Repeater", "devices": [ - { - "productType": "0x0010", - "productId": "0x0722" - }, { "productType": "0x0010", "productId": "0x0716" diff --git a/packages/config/config/devices/0x0258/nas-wr02zu.json b/packages/config/config/devices/0x0258/nas-wr02zu.json new file mode 100644 index 000000000000..7b79c55a319e --- /dev/null +++ b/packages/config/config/devices/0x0258/nas-wr02zu.json @@ -0,0 +1,144 @@ +{ + "manufacturer": "Shenzhen Neo Electronics Co., Ltd", + "manufacturerId": "0x0258", + "label": "NAS-WR02ZU", + "description": "Neo Coolcam Repeater", + "devices": [ + { + "productType": "0x0010", + "productId": "0x0722" + } + ], + "firmwareVersion": { + "min": "0.0", + "max": "255.255" + }, + "associations": { + "1": { + "label": "Lifeline", + "maxNodes": 5 + }, + "2": { + "label": "Low Temperature Basic Set", + "maxNodes": 5 + }, + "3": { + "label": "High (?) Temperature Basic Set", + "maxNodes": 5 + }, + "4": { + "label": "Low Humidity Basic Set", + "maxNodes": 5 + }, + "5": { + "label": "High (?) Humidity Basic Set", + "maxNodes": 5 + } + }, + "paramInformation": [ + { + "#": "1", + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Red LED blink when measuring", + "defaultValue": 1 + }, + { + "#": "2", + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Yellow LED blink during OTA", + "defaultValue": 1 + }, + { + "#": "3", + "label": "Temperature Offset Value", + "description": "[Value] * 0.1 Degree Celsius / Fahrenheit (US)", + "valueSize": 1, + "minValue": -120, + "maxValue": 120, + "defaultValue": 0, + "unsigned": false + }, + { + "#": "4", + "label": "Humidity Offset Value", + "description": "[Value] * 0.1 RH%", + "valueSize": 1, + "minValue": -120, + "maxValue": 120, + "defaultValue": 0, + "unsigned": false + }, + { + "#": "5", + "$import": "templates/shenzhen_neo_template.json#temperature_report_threshold", + "description": "[Value] * 0.1 Degree Celsius / Fahrenheit (US)", + "maxValue": 100, + "defaultValue": 10 + }, + { + "#": "6", + "label": "Humidity D-Value (report threshold) Setting", + "description": "[Value] * 0.1 RH%", + "valueSize": 1, + "minValue": 0, + "maxValue": 100, + "defaultValue": 20 + }, + { + "#": "7", + "label": "Low Temperature Alarm Value", + "description": "[Value] * 0.1 Degree Celsius / Fahrenheit (US)", + "valueSize": 2, + "minValue": -200, + "maxValue": 600, + "defaultValue": 180, + "unsigned": false + }, + { + "#": "8", + "label": "High Temperature Alarm Value", + "description": "[Value] * 0.1 Degree Celsius / Fahrenheit (US)", + "valueSize": 2, + "minValue": -200, + "maxValue": 600, + "defaultValue": 300, + "unsigned": false + }, + { + "#": "9", + "label": "Low Humidity Alarm Value", + "description": "[Value] * 0.1 RH%", + "valueSize": 2, + "minValue": 200, + "maxValue": 850, + "defaultValue": 400 + }, + { + "#": "10", + "label": "High Humidity Alarm Value", + "description": "[Value] * 0.1 RH%", + "valueSize": 2, + "minValue": 200, + "maxValue": 850, + "defaultValue": 400 + }, + { + "#": "11", + "label": "Sensor Measuring Interval", + "valueSize": 2, + "unit": "Seconds", + "minValue": 0, + "maxValue": 30000, + "defaultValue": 10 + }, + { + "#": "12", + "label": "Heartbeat Time", + "valueSize": 2, + "unit": "Second", + "minValue": 0, + "maxValue": 30000, + "defaultValue": 3600 + } + ] +}