From e653f0371bef51938674c111b4fa50fd5d6383d8 Mon Sep 17 00:00:00 2001 From: Martynas Zilinskas Date: Sat, 16 Nov 2024 22:49:00 +0200 Subject: [PATCH] feat(config): add param 50,51,52,70,71,72,73,74 to Qubino Smart Plug 16A --- .../config/devices/0x0159/smart_plug_16a.json | 134 ++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/packages/config/config/devices/0x0159/smart_plug_16a.json b/packages/config/config/devices/0x0159/smart_plug_16a.json index 22ff317b695d..349baf700880 100644 --- a/packages/config/config/devices/0x0159/smart_plug_16a.json +++ b/packages/config/config/devices/0x0159/smart_plug_16a.json @@ -66,6 +66,140 @@ "minValue": 0, "maxValue": 32535, "defaultValue": 0 + }, + { + "#": "50", + "label": "Down Value", + "valueSize": 2, + "unit": "W", + "minValue": 0, + "maxValue": 4000, + "defaultValue": 30 + }, + { + "#": "51", + "label": "Up Value", + "valueSize": 2, + "unit": "W", + "minValue": 0, + "maxValue": 4000, + "defaultValue": 50 + }, + { + "#": "52", + "label": "Action in Case of Exceeding Defined Power Values Parameters", + "valueSize": 1, + "defaultValue": 6, + "allowManualEntry": false, + "options": [ + { + "label": "Function inactive", + "value": 0 + }, + { + "label": "Turn the associated devices on once the power drops below down value", + "value": 1 + }, + { + "label": "Turn the associated devices off once the power drops below down value", + "value": 2 + }, + { + "label": "Turn the associated devices on once the power rises above up value", + "value": 3 + }, + { + "label": "Turn the associated devices off once the power rises above up value", + "value": 4 + }, + { + "label": "1 and 4 combined", + "value": 5 + }, + { + "label": "2 and 3 combined", + "value": 6 + } + ] + }, + { + "#": "70", + "label": "Overload Safety Switch", + "valueSize": 2, + "unit": "W", + "minValue": 0, + "maxValue": 4000, + "defaultValue": 0, + "options": [ + { + "label": "Function not active", + "value": 0 + } + ] + }, + { + "#": "71", + "label": "Power Threshold", + "valueSize": 2, + "unit": "W", + "minValue": 0, + "maxValue": 4000, + "defaultValue": 0, + "options": [ + { + "label": "Function not active", + "value": 0 + } + ] + }, + { + "#": "72", + "label": "Time Interval", + "valueSize": 1, + "unit": "minutes", + "minValue": 0, + "maxValue": 125, + "defaultValue": 0, + "options": [ + { + "label": "Immediate sending of notification when active power drops bellow power threshold", + "value": 0 + } + ] + }, + { + "#": "73", + "label": "Turn Smart Plug Off", + "valueSize": 1, + "defaultValue": 0, + "allowManualEntry": false, + "options": [ + { + "label": "Function disabled", + "value": 0 + }, + { + "label": "Turn off relay once the notification program completed is sent", + "value": 1 + } + ] + }, + { + "#": "74", + "label": "Enable Disable LED", + "valueSize": 1, + "defaultValue": 1, + "allowManualEntry": false, + "options": [ + { + "label": "LED is disabled", + "value": 0 + }, + { + "label": "LED is enabled", + "value": 1 + } + ] } ] }