Faro Barcelona Fan control with RFXCom in Domoticz

Moderator: leecollings

Post Reply
gamel53
Posts: 2
Joined: Saturday 21 July 2018 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Faro Barcelona Fan control with RFXCom in Domoticz

Post by gamel53 »

Hi all,
It is the first posting for me on this forum. My apolagies if I make some mistake by posting my question right here
My configuration:
- Domoticz on Raspberry3
- RFXCOM RFXtrx433 USB 433.92MHz
- Faro Barcelona fan/light with UC7076R receiver and UC7080T remote (433MHz)
- Chacon switches

The fan remote is working on 433MHz. By looking on the web, I found out that the receiver reference was also used by Lucci fans (https://www.beaconlightingtradeclub.com ... -2013_.pdf), so I was hoping that Lucci Air protocol would work. Initially, it was not. I contacted RFXCOM and they provided me right away with a new firmware (Version: Pro1/1016) and now I am able to manually control my fan after configuring a new switch as described below:
viewtopic.php?t=15499
I had then a new switch ('Ventilateur Chambre') that I can control on the Domoticz interface:
Image
So it was quite a good progress, but the whole point of integrating the fan in Domoticz was to allow a Chacon switch to control the light.
I tried using a blocky scheme or a lua script but was not able to make it work.
Here below the script I tried:

Code: Select all

commandArray = {}

if (devicechanged['Plafonnier Chambre Switch'] == 'On') then
    print ("Device based event fired on 'Plafonnier Chambre Switch', value '"..tostring(devicechanged['Plafonnier Chambre Switch']).."'");
    commandArray['Ventilateur Chambre']='Light'
    print(commandArray['Ventilateur Chambre'])
     
elseif (devicechanged['Plafonnier Chambre Switch'] == 'Off') then
    print ("Device based event fired on 'Plafonnier Chambre Switch', value '"..tostring(devicechanged['Plafonnier Chambre Switch']).."'");
    commandArray['Ventilateur Chambre']='Light'
    print(commandArray['Ventilateur Chambre']) 
end

return commandArray
And I got the following result in the logs but nothing happened to the light:

Code: Select all

2018-07-21 19:21:59.262 (RFXtrx433) Lighting 2 (Plafonnier Chambre Switch)
2018-07-21 19:21:59.291 (RFXtrx433) Fan (Ventilateur Chambre)
2018-07-21 19:21:59.268 Status: LUA: Device based event fired on 'Plafonnier Chambre Switch', value 'On'
2018-07-21 19:21:59.268 Status: LUA: Light
2018-07-21 19:21:59.274 Status: EventSystem: Script event triggered: Chambre Toggle
But unfortunatly, nothing happens, whereas when I push the "Light" button of the fan in Domoticz, it works.
Maybe I am missing something.

Thanks you very much for your help.
Regards.
Attachments
Ventilateur Domoticz.png
Ventilateur Domoticz.png (18.09 KiB) Viewed 4358 times
gamel53
Posts: 2
Joined: Saturday 21 July 2018 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Faro Barcelona Fan control with RFXCom in Domoticz

Post by gamel53 »

I am answering to my own question, as I spent a bit more time to solve it.
I figured out that the problem was a case problem: Unlike the labels shown in the picture, each command should be lower case: 'off'', 'low', 'med', 'hi', 'light'. With these modifications, my scripts are working.
The last issue I have is that the fan commands are not display on the map. It is seen as an 'On/Off' switch by Domoticz. Not a bit issue for me.
danielccm
Posts: 7
Joined: Thursday 04 July 2019 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Faro Barcelona Fan control with RFXCom in Domoticz

Post by danielccm »

I'm getting the Faro Lantau fan... It's arriving on Monday... I'm guessing your work will be applicable? 😅

Thanks!!!
clemzclemz
Posts: 1
Joined: Monday 15 June 2020 22:28
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Faro Barcelona Fan control with RFXCom in Domoticz

Post by clemzclemz »

Hello gamel53,

I purchased a Faro Lantau G fan, without light. And so far I cannot set it up in Domoticz, as the link to the thread is dead : https://www.domoticz.com/forum/viewtopic.php?t=15499

Could you post another setup to get the fan setting to work (low, medium, high and off) ? Great work if you succeeded to do that 8-)

Thanks!
danielccm
Posts: 7
Joined: Thursday 04 July 2019 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Faro Barcelona Fan control with RFXCom in Domoticz

Post by danielccm »

clemzclemz wrote: Monday 15 June 2020 22:39 Hello gamel53,

I purchased a Faro Lantau G fan, without light. And so far I cannot set it up in Domoticz, as the link to the thread is dead : https://www.domoticz.com/forum/viewtopic.php?t=15499

Could you post another setup to get the fan setting to work (low, medium, high and off) ? Great work if you succeeded to do that 8-)

Thanks!
Did you get around to setting it up in Domoticz? If so, how? I have just installed the fan... and it works with the remote.. but I can't get it to work with Domoticz....
danielccm
Posts: 7
Joined: Thursday 04 July 2019 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Faro Barcelona Fan control with RFXCom in Domoticz

Post by danielccm »

I have been able to get the fan's buttons (the remotes's buttons at least) identified in Domoticz.. but as a ByronSX chime on/off switch... I have DM setup in a Synology 918+ NAS.... How can I change the identification to whatever is needed for them to work? I can't get them to work correctly... :-(
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest