Skip to content

Commit

Permalink
Added PLUGIN_DESC_xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
couin3 committed Apr 22, 2020
1 parent 364084d commit 4e066b4
Show file tree
Hide file tree
Showing 47 changed files with 231 additions and 44 deletions.
124 changes: 124 additions & 0 deletions RFLink/5_Plugin.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion RFLink/Plugins/Plugin_001.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
* So we break, filter and convert the Home Confort RF packets in this plugin
\*********************************************************************************************/
#define P001_PLUGIN_ID 001
#define PLUGIN_DESC_001 "Long Packet Translation and debugging"
#define OVERSIZED_LIMIT 291 // longest packet is handled by plugin 48

#define PULSE500 500 / RAWSIGNAL_SAMPLE_RATE
Expand All @@ -86,7 +87,6 @@
#ifdef PLUGIN_001
#include "../4_Display.h"

String PLUGIN_DESC_001 = "Long Packet Translation and debugging";
boolean Plugin_001(byte function, char *string)
{
// byte HEconversiontype = 1; // 0=No conversion, 1=conversion to Elro 58 pulse protocol (same as FA500R Method 1)
Expand Down
4 changes: 2 additions & 2 deletions RFLink/Plugins/Plugin_002.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-41 LaCrosse ##
//## Plugin-002: LaCrosse V2 ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of decoding LaCrosse weatherstation outdoor sensors
Expand Down Expand Up @@ -57,6 +57,7 @@
* 20;E1;DEBUG;Pulses=102;Pulses(uSec)=1425,1275,1325,1275,1325,1275,1350,1150,225,1275,1350,1275,1350,1275,250,1275,1350,1275,225,1275,225,1275,250,1275,1350,1275,225,1300,225,1275,1325,1275,1350,1300,225,1275,225,1275,1350,1275,1325,1300,225,1275,1350,1275,250,1275,225,1275,225,1275,250,1275,1325,1275,1350,1275,1325,1275,1325,1275,1325,1275,1350,1275,1350,1275,1325,1300,1325,1275,250,1275,1325,1275,1325,1275,225,1275,250,1275,225,1275,250,1275,225,1300,225,1275,225,1275,225,1300,225,1275,1350,1275,250,1275,225;
\*********************************************************************************************/
#define LACROSSE_PLUGIN_ID 002
#define PLUGIN_DESC_002 "LaCrosse V2"
#define LACROSSE_PULSECOUNT 104 // also handles 102 pulses!

#define LACROSSE_MIDLO 1100 / RAWSIGNAL_SAMPLE_RATE
Expand All @@ -67,7 +68,6 @@
#ifdef PLUGIN_002
#include "../4_Display.h"

String PLUGIN_DESC_002 = "LaCrosseV2";
boolean Plugin_002(byte function, char *string)
{
if ((RawSignal.Number != LACROSSE_PULSECOUNT) && (RawSignal.Number != (LACROSSE_PULSECOUNT - 2)))
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_003.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-03: Kaku (ARC) ##
//## Plugin-003: Kaku (ARC) ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of sending and receiving the ARC protocol known from Klik-Aan-Klik-Uit (KAKU)
Expand Down Expand Up @@ -217,6 +217,7 @@
* 20;54;DEBUG;Pulses=50;Pulses(uSec)=1410,390,1350,360,1350,360,1380,360,1350,360,1380,360,1380,360,1380,360,1350,360,1350,360,1350,360,1380,360,1380,360,1380,360,1350,360,1380,360,1350,360,1350,360,390,1350,390,1350,390,1320,390,1320,420,1320,420,1320,390,6990;
\*********************************************************************************************/
#define KAKU_PLUGIN_ID 003
#define PLUGIN_DESC_003 "Kaku / AB400D / Impuls / PT2262 / Sartano / Tristate"
#define KAKU_CodeLength 12 // number of data bits
#define KAKU_R 300 / RAWSIGNAL_SAMPLE_RATE //360 // 300 // 370? 350 us
#define KAKU_PULSEMID 600 / RAWSIGNAL_SAMPLE_RATE // (17) 510 = KAKU_R*2 not sufficient!
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_004.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-04: NewKAKU ##
//## Plugin-004: NewKAKU ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of receiving from and transmitting to "Klik-Aan-Klik-Uit" devices
Expand Down Expand Up @@ -44,6 +44,7 @@
* 20;06;DEBUG;Pulses=132;Pulses(uSec)=175,2575,150,200,150,1200,150,200,150,1200,150,1200,150,200,125,1200,150,200,125,200,150,1200,125,200,150,1200,150,1200,150,200,150,200,150,1225,150,1200,125,225,150,200,125,1200,150,1200,150,200,150,1200,150,200,150,200,125,1225,125,200,150,1200,125,200,150,1200,125,200,150,1200,150,200,150,1200,150,1200,125,200,150,200,125,1200,150,1200,125,225,150,200,125,1200,150,200,150,1200,150,200,150,1200,150,200,150,1225,125,1200,150,200,125,200,150,1200,150,200,125,1200,150,200,150,1200,150,200,150,1200,150,200,125,1225,125,200,125,1200,150,200,150,1200,150
\*********************************************************************************************/
#define NewKAKU_PLUGIN_ID 004
#define PLUGIN_DESC_004 "NewKaku"
#define NewKAKU_RawSignalLength 132 // regular KAKU packet length
#define NewKAKUdim_RawSignalLength 148 // KAKU packet length including DIM bits
#define NewKAKU_mT 650 / RAWSIGNAL_SAMPLE_RATE // us, approx. in between 1T and 4T
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_005.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-03: Intertek Eurodomest 972080 ##
//## Plugin-005: Intertek Eurodomest 972080 ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of sending and receiving the Intertek Eurodomest 972080 protocol.
Expand Down Expand Up @@ -39,6 +39,7 @@
* 20;9D;DEBUG;Pulses=50;Pulses(uSec)=1250,200,750,175,200,750,200,750,750,200,200,750,200,750,750,200,200,750,750,200,750,200,200,750,750,200,200,750,200,750,750,200,200,750,750,200,200,750,200,750,750,200,750,200,750,200,750,200,200;
\*********************************************************************************************/
#define EURODOMEST_PLUGIN_ID 005
#define PLUGIN_DESC_005 "Eurodomest"
#define EURODOMEST_PulseLength 50

#define EURODOMEST_PULSEMID 400 / RAWSIGNAL_SAMPLE_RATE
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_006.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-006 Blyss & Avidsen ##
//## Plugin-006: Blyss & Avidsen ##
//#######################################################################################################
/*********************************************************************************************\
* This Plugin takes care of receiving of the Blyss protocol
Expand Down Expand Up @@ -36,6 +36,7 @@
* 20;0C;Blyss;ID=ff98;SWITCH=A1;CMD=OFF;
\*********************************************************************************************/
#define BLYSS_PLUGIN_ID 006
#define PLUGIN_DESC_006 "Blyss / Avidsen"
#define BLYSS_PULSECOUNT 106
#define BLYSS_PULSEMID 500 / RAWSIGNAL_SAMPLE_RATE

Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_007.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-007 CONRAD RSL2 ##
//## Plugin-007: CONRAD RSL2 ##
//#######################################################################################################
/*********************************************************************************************\
* This Plugin takes care of receiving of the Conrad RSL2 protocol
Expand Down Expand Up @@ -43,6 +43,7 @@
\*********************************************************************************************/
#define CONRADRSL2_PLUGIN_ID 007
#define PLUGIN_DESC_007 "Conrad"
#define CONRADRSL2_PULSECOUNT 66

#define CONRADRSL2_PULSEMID 600 / RAWSIGNAL_SAMPLE_RATE
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_008.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-008 Kambrook ##
//## Plugin-008: Kambrook ##
//#######################################################################################################
/*********************************************************************************************\
* This Plugin takes care of receiving of the Kambrook protocol
Expand Down Expand Up @@ -32,6 +32,7 @@
* 20;33;DEBUG;Pulses=96;Pulses(uSec)=270,180,600,180,210,180,600,180,210,180,600,180,210,180,600,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,600,180,210,180,210,180,210,180,210,180,210,180,210,180,210,180,600,180,600,180,600,180,600,180,600,180,600,180,600,180,600,180,600,6990;
\*********************************************************************************************/
#define KAMBROOK_PLUGIN_ID 008
#define PLUGIN_DESC_008 "Kambrook"
#define KAMBROOK_PULSECOUNT 96

#define KAMBROOK_PULSEMID 400 / RAWSIGNAL_SAMPLE_RATE
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_009.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-06: X10 RF ##
//## Plugin-009: X10 RF ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of sending and receiving the X10 RF protocol.
Expand Down Expand Up @@ -44,6 +44,7 @@
* 20;20;DEBUG;Pulses=66;Pulses(uSec)=425,350,375,1300,375,1300,375,1350,375,375,375,1350,375,375,375,375,375,1350,375,375,375,375,375,375,400,1350,375,375,400,1350,375,1350,400,1325,400,375,400,375,400,375,400,375,400,375,400,375,400,375,400,375,400,1325,400,1325,400,1325,400,1325,400,1325,400,1350,375,1350,375;
\*********************************************************************************************/
#define X10_PLUGIN_ID 009
#define PLUGIN_DESC_009 "X10"
#define X10_PulseLength 66

#define X10_PULSEMID 600 / RAWSIGNAL_SAMPLE_RATE
Expand Down
5 changes: 3 additions & 2 deletions RFLink/Plugins/Plugin_010.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-10 TRC02 RGB Controller ##
//## Plugin-010: TRC02 RGB Controller ##
//#######################################################################################################
/*********************************************************************************************\
* Decodes signals from a wireless RGB TRC02 controller remote control
Expand Down Expand Up @@ -46,6 +46,7 @@
* 20;01;TRC02;ID=03023c;SWITCH=00;CMD=ON;
\*********************************************************************************************/
#define RGB_PLUGIN_ID 010
#define PLUGIN_DESC_010 "TRC02RGB"
#define RGB_MIN_PULSECOUNT 180
#define RGB_MAX_PULSECOUNT 186

Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_011.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-11 Home Confort Smart Home - TEL-010 ##
//## Plugin-011: Home Confort Smart Home - TEL-010 ##
//#######################################################################################################
/*********************************************************************************************\
* Decodes signals from a Home Confort Smart Home - TEL-010
Expand Down Expand Up @@ -55,6 +55,7 @@
* 2675,200,600,200,600,700,100,700,100,200,600,700,100,700,100,200,600,700,100,225,600,725,75,225,600,225,575,725,75,225,575,225,575,225,575,725,75,725,75,725,75,725,75,225,575,725,75,225,575,225,575,225,575,225,575,225,575,250,575,250,575,250,575,250,575,250,550,250,550,250,550,250,550,250,550,250,550,250,550,250,575,725,75,250,550,250,550,250,550,250,550,250,550,250,550,750,50,250,50
\*********************************************************************************************/
#define HC_PLUGIN_ID 011
#define PLUGIN_DESC_011 "HomeConfort"
#define HC_PULSECOUNT 100

#ifdef PLUGIN_011
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_012.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-03: FA500R ##
//## Plugin-012: FA500R ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of sending and receiving the Elro Flamingo FA500 protocol.
Expand Down Expand Up @@ -77,6 +77,7 @@
\*********************************************************************************************/
#define FA500_PLUGIN_ID 012
#define PLUGIN_DESC_012 "FA500"
#define FA500RM3_PulseLength 26
#define FA500RM1_PulseLength 58

Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_013.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-13: Powerfix RCB-i 3600 ##
//## Plugin-013: Powerfix RCB-i 3600 ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of sending and receiving the Powerfix RCB-i 3600 protocol
Expand Down Expand Up @@ -89,6 +89,7 @@
* 0101010110010101010101011001010101011001
\*********************************************************************************************/
#define POWERFIX_PLUGIN_ID 013
#define PLUGIN_DESC_013 "Powerfix"
#define POWERFIX_PulseLength 42

#define POWEFIX_PULSEMID 900 / RAWSIGNAL_SAMPLE_RATE
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_014.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-14: Ikea Koppla ##
//## Plugin-014: Ikea Koppla ##
//#######################################################################################################
/*********************************************************************************************\
* This plugin takes care of sending and receiving the Ikea Koppla protocol
Expand Down Expand Up @@ -34,6 +34,7 @@
* 20;08;DEBUG;Pulses=40;Pulses(uSec)=925,775,750,775,750,775,1600,1625,1600,775,750,775,750,1625,1600,1625,1600,1625,1625,1625,1600,1625,750,775,1600,775,750,1625,750,750,1625,775,750,775,750,1625,1600,750,750;
\*********************************************************************************************/
#define KOPPLA_PLUGIN_ID 014
#define PLUGIN_DESC_014 "Ikea Koppla"
#define KOPPLA_PulseLength_MIN 36
#define KOPPLA_PulseLength_MAX 52

Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_015.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-15: HomeEasy EU ##
//## Plugin-015: HomeEasy EU ##
//#######################################################################################################
/*********************************************************************************************\
* Dit protocol zorgt voor ontvangst en verzending HomeEasy EU zenders
Expand Down Expand Up @@ -48,6 +48,7 @@
* Command 150,1175,150,200,150,200,125,200,150,1175,150,1175,150,1175,150,1175,125,200,150,200,125,1175,125,200,125,1175,150,1150, - 125;
\*********************************************************************************************/
#define HomeEasy_PLUGIN_ID 015
#define PLUGIN_DESC_015 "HomeEasy"
#define HomeEasy_PulseLength 116

#define HomeEasy_PULSEMID 500 / RAWSIGNAL_SAMPLE_RATE
Expand Down
3 changes: 2 additions & 1 deletion RFLink/Plugins/Plugin_029.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#######################################################################################################
//## This Plugin is only for use with the RFLink software package ##
//## Plugin-029 DKW2012/ACH2010 ##
//## Plugin-029: DKW2012/ACH2010 ##
//#######################################################################################################

/*********************************************************************************************\
Expand Down Expand Up @@ -50,6 +50,7 @@
* M = Checksum
\*********************************************************************************************/
#define DKW2012_PLUGIN_ID 029
#define PLUGIN_DESC_029 "Alecto V2 / DKW2012"

#define ACH2010_MIN_PULSECOUNT 160 // reduce this value (144?) in case of bad reception
#define ACH2010_MAX_PULSECOUNT 160
Expand Down
Loading

0 comments on commit 4e066b4

Please sign in to comment.