From 0bd2ca98f249dc8200ea7aab52e4bc5ebea08e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Pruvost?= Date: Fri, 25 Sep 2020 10:04:10 +0200 Subject: [PATCH] Add SmartWares protocol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 0 is 275µs high, 240µs low - 1 is 275µs high, 1330µs low - Needs a sync bit of 275µs high and 2550µs low - Requires at least 10000µs low between repeats Signed-off-by: Cilyan Olowen --- src/RCSwitch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RCSwitch.cpp b/src/RCSwitch.cpp index 876bc2f..39d3657 100644 --- a/src/RCSwitch.cpp +++ b/src/RCSwitch.cpp @@ -126,7 +126,8 @@ static const RCSwitch::Protocol PROGMEM proto[] = { { 400, 0, { 0, 0 }, 1, { 1, 1 }, { 1, 2 }, { 2, 1 }, false, 43 }, // 31 (Mertik Maxitrol G6R-H4T1) { 365, 0, { 0, 0 }, 1, { 18, 1 }, { 3, 1 }, { 1, 3 }, true, 0 }, // 32 (1ByOne Doorbell) from @Fatbeard https://github.com/sui77/rc-switch/pull/277 { 340, 0, { 0, 0 }, 1, { 14, 4 }, { 1, 2 }, { 2, 1 }, false, 0 }, // 33 (Dooya Control DC2708L) - { 120, 0, { 0, 0 }, 1, { 1, 28 }, { 1, 3 }, { 3, 1 }, false, 0 } // 34 DIGOO SD10 + { 120, 0, { 0, 0 }, 1, { 1, 28 }, { 1, 3 }, { 3, 1 }, false, 0 }, // 34 DIGOO SD10 + { 275, 0, { 0, 0 }, 1, { 1, 10 }, { 1, 1 }, { 1, 5 }, false, 37 } // 35 (SmartWares/HomeEasy) }; enum {