Somfy Sunscreen status

Moderator: leecollings

Post Reply
SteGe
Posts: 40
Joined: Saturday 02 July 2016 13:54
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Netherlands
Contact:

Somfy Sunscreen status

Post by SteGe »

Hi all,

Maybe this isn't the right sub-forum which I posted it into, so moderators please feel free to modify it.

I'm struggeling with this question. I have a somfy RFY motorized sunscreen and have it connected to my Domoticz by a RFXcom. So far, so good! It is working quite well and I have already some logic to shut the sunscreen (or is it to open it ;-) ) when it is raining or to windy.

But, the problem is the remote of Somfy itself. My girlfriend/wife2be isn't always using the Domoticz app to close the sunscreen and will use the remote of Somfy occasionally. At that moment Domoticz doesn't recognized the "closed" state of the sunscreen.

Is there a solution for it? I know the RfxCom has some reasons not to implement the incoming messages of the original remote, but how are others doing this? Because "opening" it when it is already opened isn't quite sorrow, but if it is "closed" (in dutch I would say the sunscreen is opengevouwen) when Domoticz doesn't know then it would be a pain in the ass when I'm relying on the logic for wind/rain....

I was thinking about a sensor on the sunscreen to check if it is open or not, but then I would like to have a contact sensor which also sends a open and a close signal, which I haven't found yet (and no place to connect it on a proper way to the sunscreen).

So please help me out!
Synology DS3615xs | Raspberry pi 3b |
RFXtrx433E | MySensors | Z-wave | Philips Hue | Ikea Tradfri |
Sunscreen | Power switches | Toon | Harmony | UE Smartradio |
Weatherstation | Doorbell | Letterbox reader | Lux | Temp | Humidity | Motion |
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Somfy Sunscreen status

Post by Egregius »

You can't receive the commands from the remote. Remove the remote from the wall and learn your girlfriend to use domoticz.
What I do as a secondary safety is sending the close command every hour (if rain or wind is to high). Or every hour the open command if there's to much sun and my living room is to warm.
In my pass2php script that looks like this:

Code: Select all

$zonopen=2500;
$zontoe=200;
$luifel=apcu_fetch('sluifel');
$buien=apcu_fetch('buien');
$maxbuien=20;
$wind=apcu_fetch('wind');
$winddir=apcu_fetch('wind_dir');
if($winddir='W')$maxwind=6;
elseif($winddir='S')$maxwind=5;
elseif($winddir='SE')$maxwind=5;
else $maxwind=8;

if($luifel!='Closed'&&($wind>=$maxwind||$buien>=$maxbuien||$zon<$zontoe)){
    sw('luifel','Off');
    if(apcu_fetch('tluifel')<time-3598)sw('luifel','Off');
}elseif($luifel!='Open'&&time>strtotime('10:25')&&$wind<$maxwind&&$buien<$maxbuien&&apcu_fetch('living_temp')>22&&$zon>$zonopen&&apcu_fetch('tluifel')<time-598){
    sw('luifel','On',$msg);
    if(apcu_fetch('tluifel')<time-3598)sw('luifel','On');
}
b_weijenberg
Posts: 521
Joined: Friday 12 July 2013 18:13
Target OS: -
Domoticz version:
Location: Netherlands
Contact:

Re: Somfy Sunscreen status

Post by b_weijenberg »

Maybe you can use a Kerui D026 sensor. In Ext2 firmware select Lighting4 and X10, the sensor is decoded as alarm sensor with alert/normal status.
RFX-433, RFX-433EMC, RFX-868
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest