Skip to content

Commit 5a07259

Browse files
committed
RFLink: Support for new devices added
1 parent 39120e9 commit 5a07259

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

hardware/RFLinkBase.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#include "stdafx.h"
23
#include "RFLinkBase.h"
34
#include "../main/Logger.h"
@@ -90,6 +91,9 @@ const _tRFLinkStringIntHelper rfswitches[] =
9091
{ "Funkbus", sSwitchTypeFunkbus }, // NA
9192
{ "Nice", sSwitchTypeNice }, // NA
9293
{ "Forest", sSwitchTypeForest }, // NA
94+
{ "MC145026", sSwitchMC145026 }, // NA
95+
{ "Lobeco", sSwitchLobeco }, // NA
96+
{ "Friedland", sSwitchFriedland }, // NA
9397
{ "", -1 }
9498
};
9599

hardware/hardwaretypes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@
139139
#define sSwitchTypeNice 0x4d
140140
#define sSwitchTypeForest 0x4e
141141
#define sSwitchBlindsT1 0x4f
142+
#define sSwitchMC145026 0x50
143+
#define sSwitchLobeco 0x51
144+
#define sSwitchFriedland 0x52
142145

143146
//Switch commands
144147
#define gswitch_sOff 0x00

main/RFXNames.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,9 @@ const char *RFX_Type_SubType_Desc(const unsigned char dType, const unsigned char
781781
{ pTypeGeneralSwitch, sSwitchTypeNice, "Nice" },
782782
{ pTypeGeneralSwitch, sSwitchTypeForest, "Forest" },
783783
{ pTypeGeneralSwitch, sSwitchBlindsT1, "Legrand MyHome" },
784+
{ pTypeGeneralSwitch, sSwitchMC145026, "MC145026" },
785+
{ pTypeGeneralSwitch, sSwitchLobeco, "Lobeco" },
786+
{ pTypeGeneralSwitch, sSwitchFriedland, "Friedland" },
784787
{ 0,0,NULL }
785788
};
786789
return findTableID1ID2(Table, dType, sType);

0 commit comments

Comments
 (0)