diff --git a/packages/config/config/devices/0x027a/zen04.json b/packages/config/config/devices/0x027a/zen04.json index a26dfa8bf437..372f1b2354de 100644 --- a/packages/config/config/devices/0x027a/zen04.json +++ b/packages/config/config/devices/0x027a/zen04.json @@ -7,13 +7,7 @@ { "manufacturer": "Zooz", "manufacturerId": "0x027a", - "label": [ - { - "$if": "firmwareVersion >= 2.10", - "value": "ZEN04 800LR" - }, - "ZEN04" - ], + "label": "ZEN04", "description": "Indoor Smart Plug", "devices": [ { @@ -76,6 +70,7 @@ }, { "#": "5", + "$if": "firmwareVersion < 2.30", "label": "Power (W) Reporting Threshold", "valueSize": 1, "unit": "W", @@ -83,6 +78,22 @@ "maxValue": 50, "defaultValue": 5 }, + { + "#": "5", + "$if": "firmwareVersion >= 2.30", + "label": "Power (W) Reporting Threshold", + "valueSize": 1, + "unit": "W", + "minValue": 0, + "maxValue": 100, + "defaultValue": 5, + "options": [ + { + "label": "Disabled", + "value": 0 + } + ] + }, { "#": "6", "label": "Power (W) Reporting Interval", @@ -101,6 +112,7 @@ }, { "#": "7", + "$if": "firmwareVersion < 2.30", "label": "Current (A) Reporting Threshold", "valueSize": 1, "unit": "0.1 A", @@ -108,6 +120,22 @@ "maxValue": 10, "defaultValue": 1 }, + { + "#": "7", + "$if": "firmwareVersion >= 2.30", + "label": "Current (A) Reporting Threshold", + "valueSize": 1, + "unit": "0.1 A", + "minValue": 0, + "maxValue": 50, + "defaultValue": 1, + "options": [ + { + "label": "Disabled", + "value": 0 + } + ] + }, { "#": "12", "$if": "firmwareVersion >= 1.30", @@ -120,6 +148,7 @@ }, { "#": "8", + "$if": "firmwareVersion < 2.30", "label": "Energy (kWh) Reporting Threshold", "valueSize": 1, "unit": "0.01 kWh", @@ -127,6 +156,23 @@ "maxValue": 100, "defaultValue": 1 }, + { + "#": "8", + "$if": "firmwareVersion >= 2.30", + "label": "Energy (kWh) Reporting Threshold", + "valueSize": 1, + "unit": "0.01 kWh", + "minValue": 0, + "maxValue": 200, + "defaultValue": 1, + "unsigned": true, + "options": [ + { + "label": "Disabled", + "value": 0 + } + ] + }, { "#": "13", "$if": "firmwareVersion >= 1.30", @@ -142,6 +188,34 @@ "value": 0 } ] + }, + { + "#": "14", + "$if": "firmwareVersion >= 2.30", + "label": "kWh Report Frequency", + "valueSize": 4, + "unit": "minutes", + "minValue": 1, + "maxValue": 65535, + "defaultValue": 60 + }, + { + "#": "15", + "$if": "firmwareVersion >= 2.30", + "label": "Disable kWh Reports", + "valueSize": 1, + "defaultValue": 1, + "allowManualEntry": false, + "options": [ + { + "label": "kWh reports enabled", + "value": 0 + }, + { + "label": "kWh reports disabled", + "value": 1 + } + ] } ] }