Falmec fan using RFXCOM

Moderator: leecollings

Post Reply
Pregabaline
Posts: 6
Joined: Tuesday 08 January 2019 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Falmec fan using RFXCOM

Post by Pregabaline »

Hi all,

I have a Falmec fan which is supported by the RFXCOM and I can switch the device using RFXmngr but it is not supported by Domoticz (but other fans are). Does anybody know what I or where I can hange the source code to add the device to Domoticz? Where should I start? Any ideas or tips?
Pregabaline
Posts: 6
Joined: Tuesday 08 January 2019 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Falmec fan using RFXCOM

Post by Pregabaline »

What I've found so far:

In the main/RFXnames.cpp it appears that a Falmec fan is already added. Line 792: { pTypeFan, sTypeFalmec, "Falmec" }.

In the file main/RFXtrx.h the Falmec options are added in lines 759 to 769:

#define fan_FalmecPower 0x1
#define fan_FalmecSpeed1 0x2
#define fan_FalmecSpeed2 0x3
#define fan_FalmecSpeed3 0x4
#define fan_FalmecSpeed4 0x5
#define fan_FalmecTimer1 0x6
#define fan_FalmecTimer2 0x7
#define fan_FalmecTimer3 0x8
#define fan_FalmecTimer4 0x9
#define fan_FalmecLightOn 0xA
#define fan_FalmecLightOff 0xB

So it appears that Domoticz supports the Falmec fan, but when I want to manually add it (it cannot be discovered because the RFXcom doesn't receive the signal) I cannot select a type "Fan". Any ideas how to do this?
Pregabaline
Posts: 6
Joined: Tuesday 08 January 2019 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Falmec fan using RFXCOM

Post by Pregabaline »

So far no luck yet. I got it to work using the normal RFXmngr but no support from Domoticz so far. Any way how to add a fan switch in the source code?
Pregabaline
Posts: 6
Joined: Tuesday 08 January 2019 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Falmec fan using RFXCOM

Post by Pregabaline »

Bump*

Does anybody know how to add a RFXCOM device in Domoticz that is already in part of the source code?
Pregabaline
Posts: 6
Joined: Tuesday 08 January 2019 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Falmec fan using RFXCOM

Post by Pregabaline »

Very happy with the addition of the Falmec fan now in the manual switch options, but I still feel like a noob. Primarily because I still can't get it to work. In the RFXmnger program the RFXCOM works and I can transmit on/off and the various speed signals. The only selectable unit code (04) is selectable. In Domoticz I use that unit code as well as the two other drop down codes that correspond to the raw signal code that was seen in RFXmngr. But no joy from Domoticz. I went through the tedious job in trying out all different values but nothing works. It there something different that I must do to get it to work?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest