I use an RFlink to control my 3 curtains. If I close (or open) them one by one everything works fine. Yesterday I set a timer for each curtain to close at sundown. The problem is that only ONE curtain will respond and the others will remain in the state that they are in. I would like to close and open them all at once but I can't get them to do that. I even created a group, added the three curtains and set an delay for each curtain, each 1 second after the previous. This does not help either... could anyone help?? Id really appreciate it!
(I use Domoticz (latest stable function) my Rpi3 and an RFlink (latest version v46).
Timer for multiple Somfy curtains
Moderators: leecollings, remb0
-
- Posts: 102
- Joined: Thursday 28 January 2016 22:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: NL
- Contact:
Re: Timer for multiple Somfy curtains
Putting devices in a Domoticz group should be a sure way to control all. But maybe not, if they are curtains, instead of lights. I'd test in a Blockly or LUA script. In a script, make sure that you use the commandArray correctly:
commandArray[1]={['Curtain1']='<action>'}
commandArray[2]={['Curtain2']='<action>'}
commandArray[3]={['Curtain3']='<action>'}
<action> would be 'On' / 'Off' or 'Open' / 'Closed'
Did you try this with scenes, too? (create two scenes, one for 'all open', one for 'all closed')
Depending on what equipment you use: if it is 3 curtain motors on one DC power supply, be aware that motors will introduce interference on your power supply. Your RF receiver(s) might be unable to receive commands for other curtains if one of the motors is running.
commandArray[1]={['Curtain1']='<action>'}
commandArray[2]={['Curtain2']='<action>'}
commandArray[3]={['Curtain3']='<action>'}
<action> would be 'On' / 'Off' or 'Open' / 'Closed'
Did you try this with scenes, too? (create two scenes, one for 'all open', one for 'all closed')
Depending on what equipment you use: if it is 3 curtain motors on one DC power supply, be aware that motors will introduce interference on your power supply. Your RF receiver(s) might be unable to receive commands for other curtains if one of the motors is running.
-
- Posts: 139
- Joined: Tuesday 06 September 2016 20:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: L stab
- Location: Belgium
- Contact:
Re: Timer for multiple Somfy curtains
Hi,
I think the RFlink can only send 1 command on 1 channel.
You need to create on your remote a new channel that controls your 3 curtains at the same time an then add that channel to your RFlink.
Our you can delay your command with 1 second for each curtain
Kind regards,
Koen
I think the RFlink can only send 1 command on 1 channel.
You need to create on your remote a new channel that controls your 3 curtains at the same time an then add that channel to your RFlink.
Our you can delay your command with 1 second for each curtain
Kind regards,
Koen
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Who is online
Users browsing this forum: No registered users and 1 guest