From ac8a6ad4282b8aac7cdbc1e066f086520224a5ce Mon Sep 17 00:00:00 2001 From: divadiow Date: Mon, 26 Feb 2024 21:07:08 +0000 Subject: [PATCH 1/3] add Generic 16A DIY Mini Switch --- devices.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/devices.json b/devices.json index c4c58ca..1b6f9eb 100644 --- a/devices.json +++ b/devices.json @@ -21,6 +21,28 @@ }, "image": "https://obrazki.elektroda.pl/5120493600_1650616045.jpg", "wiki": "https://www.elektroda.com/rtvforum/topic3895572.html#20033093" + }, + { + "vendor": "Tuya", + "bDetailed": "0", + "name": "Generic 16A DIY Mini Switch", + "model": "", + "chip": "BK7231N", + "board": "CB2S", + "flags": "1024", + "keywords": [ + "breaker", + "smart life", + ], + "pins": { + "7": "WifiLED_n;0", + "8": "Btn_Tgl_All;0", + "24": "Rel;1", + "26": "TglChanOnTgl;1" + }, + "command": "backlog PowerSave 1", + "image": "https://obrazki.elektroda.pl/4061541000_1708980775.jpg", + "wiki": "https://www.elektroda.com/rtvforum/topic4038842.html" }, { "vendor": "Feit", From 37bdc19f5c9bd72942b3afde7397821322952963 Mon Sep 17 00:00:00 2001 From: divadiow Date: Tue, 27 Feb 2024 06:59:14 +0000 Subject: [PATCH 2/3] update LED temp/hum device --- devices.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/devices.json b/devices.json index 1b6f9eb..9fb31d2 100644 --- a/devices.json +++ b/devices.json @@ -9284,7 +9284,7 @@ { "vendor": "Tuya", "bDetailed": "0", - "name": "Display for Temperature/Pressure/Humidity, USB powered, 5V", + "name": "Display for Temperature/Humidity, USB powered, 5V", "model": "", "chip": "BK7231N", "board": "CBU", @@ -9293,13 +9293,19 @@ "CHT8305", "GN6932", "7-segment", - "5V" + "LED", + "CHT8310", + "micro usb" ], - "pins": { - - }, + "pins": { + "15": "GN6932_DAT;3", + "17": "GN6932_CLK;3", + "20": "CHT8305_SCK;0", + "22": "CHT8305_SDA;1;0", + "28": "GN6932_STB;3" + }, "command": "", - "image": "https://obrazki.elektroda.pl/2853109500_1681248512.jpg", + "image": "https://obrazki.elektroda.pl/3835169900_1709017025.png", "wiki": "https://www.elektroda.com/rtvforum/topic3971252.html" }, { From dcaad508280e095cfc2115ad5354a04c6b27ae81 Mon Sep 17 00:00:00 2001 From: divadiow Date: Tue, 27 Feb 2024 07:02:28 +0000 Subject: [PATCH 3/3] forgotten button --- devices.json | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.json b/devices.json index 9fb31d2..b84414b 100644 --- a/devices.json +++ b/devices.json @@ -9298,6 +9298,7 @@ "micro usb" ], "pins": { + "14": "Btn;4", "15": "GN6932_DAT;3", "17": "GN6932_CLK;3", "20": "CHT8305_SCK;0",