From f0072447158af7a745221748fd9048743f7181fa Mon Sep 17 00:00:00 2001 From: Udo Date: Mon, 30 Aug 2021 16:54:51 +0200 Subject: [PATCH] new protocol 115 for Bresser 6-in-1 and new 5-in-1 Comfort Wetter Center (#1010) * 00_SIGNALduino.pm - add rfmode Bresser_6in1 * 14_SD_WS.pm - add protocol 115 * SD_ProtocolData.pm - add definition for protocol 115 * SD_Protocols.pm - add check for Bresser 6-in-1 * README.md - add entry for Bresser 6-in-1 Comfort Wetter Center Co-authored-by: sidey79 <7968127+sidey79@users.noreply.github.com> * 02_ConvBresser_6in1.t - Added test for new sub * SD_Protocols.pm - Error messaage adapted like other subs * SD_Protocolst - Testdata corrected --- CHANGED | 19 ++---- FHEM/00_SIGNALduino.pm | 18 +++++- FHEM/14_SD_WS.pm | 92 ++++++++++++++++++++++++++-- FHEM/lib/SD_ProtocolData.pm | 27 ++++++-- FHEM/lib/SD_Protocols.pm | 35 +++++++++++ README.md | 2 +- controls_signalduino.txt | 8 +-- t/SD_Protocols/02_ConvBresser_6in1.t | 48 +++++++++++++++ 8 files changed, 217 insertions(+), 32 deletions(-) create mode 100644 t/SD_Protocols/02_ConvBresser_6in1.t diff --git a/CHANGED b/CHANGED index d20be6987..c67640f46 100644 --- a/CHANGED +++ b/CHANGED @@ -1,46 +1,37 @@ -2021-08-18 - Update protocol 64 for sensor WH2A (#1009) +2021-08-18 - Update protocol 64 for sensor WH2A (#1009) SD_ProtocolData.pm - correction length_max 14_SD_WS.pm - fix sub SD_WS_Parse, changes due to perlcritic README.md - change of entry WH2 2021-08-14 - SIGNALduino_calcRSSI check input parameter (#1007) - * 02_SIGNALduino_calcRSSI.t: - - Test extended - Bug reproduced - * 00_SIGNALduino.pm - - SIGNALduino_calcRSSI Check input parameters + 2021-08-13 - Fixes perlcritic return undef in 14_SD_WS (#1006) -2021-08-11 - Fixes perlcritic return undef; (#979) +2021-08-11 - Fixes perlcritic return undef; (#979) 14_BresserTemeo.pm: Fixes perlcritic return undef; - 14_SD_RSL.pm: Fixes perlcritic return undef; - 14_SD_WS.pm: Fixes perlcritic return undef; - 14_SD_WS09.pm: Fixes perlcritic return undef; - 41_OREGON.pm: Fixes perlcritic return undef; -2021-08-08 - new protocol 114 for TR401 (#1002) - -2021-08-06 - new protocol 114 for TR401 ( #1002 ) +2021-08-08 - new protocol 114 for TR401 (#1002) * 00_SIGNALduino.pm: added protocol 114 to SD_UT match * SD_ProtocolData.pm: added protocol 114 * 14_SD_UT.pm: added model TR401 * README.md: Updated -2021-08-08 - new protocol 113 for GFGT 433 B1 Wireless Grill Thermometer (#1003) +2021-08-08 - new protocol 113 for GFGT 433 B1 Wireless Grill Thermometer (#1003) * SD_ProtocolData.pm - Definition for protocol 113 added * 14_SD_WS.pm - Demodulation for protocol 113 added * README.md - Entry for GFGT 433 B1 added diff --git a/FHEM/00_SIGNALduino.pm b/FHEM/00_SIGNALduino.pm index 60c4562c9..1800ac05f 100644 --- a/FHEM/00_SIGNALduino.pm +++ b/FHEM/00_SIGNALduino.pm @@ -1,4 +1,4 @@ -# $Id: 00_SIGNALduino.pm v3.5.2 2021-08-13 20:19:26Z sidey79 $ +# $Id: 00_SIGNALduino.pm v3.5.2 2021-08-29 21:54:48Z elektron-bbs $ # # v3.5.2 - https://github.com/RFD-FHEM/RFFHEM/tree/master # The module is inspired by the FHEMduino project and modified in serval ways for processing the incoming messages @@ -39,7 +39,7 @@ use List::Util qw(first); use constant { - SDUINO_VERSION => '3.5.2+20210813', # Datum wird automatisch bei jedem pull request aktualisiert + SDUINO_VERSION => '3.5.2+20210829', # Datum wird automatisch bei jedem pull request aktualisiert SDUINO_INIT_WAIT_XQ => 1.5, # wait disable device SDUINO_INIT_WAIT => 2, SDUINO_INIT_MAXRETRY => 3, @@ -272,7 +272,7 @@ my %matchListSIGNALduino = ( my %symbol_map = (one => 1 , zero =>0 ,sync => '', float=> 'F', 'start' => ''); ## rfmode for attrib & supported rfmodes -my @rfmode = ('Avantek','Bresser_5in1','KOPP_FC','Lacrosse_mode1','Lacrosse_mode2','Lacrosse_mode4','PCA301','SlowRF'); +my @rfmode = ('Avantek','Bresser_5in1','Bresser_6in1','KOPP_FC','Lacrosse_mode1','Lacrosse_mode2','Lacrosse_mode4','PCA301','SlowRF'); ############################# package main sub SIGNALduino_Initialize { @@ -4756,6 +4756,12 @@ USB-connected devices (SIGNALduino):
  • rfmode
    Configures the RF transceiver of the SIGNALduino (CC1101). The available arguments: