[OBSOLETE] Blinds Sync

For folks who have Somfy blinds where you have multiple channels on your Somfy controller, this app will synchronize the status of your desired channel to the rest of the other channels on your Somfy controller. It does not actually send the zWave commends to the other channels, but rather just retrieves the master blind status and replicates it across the other channels to maintain an accurate state of all of your blinds. This is needed since the Somfy controller ZRTSI does not inform ST about it’s state and some people will have an all blinds channel which controls multiple blinds.

It will only work with @E_Sch’s Somfy Device Handler which can be found at

Device Handler

Eventually, I will get this on GitHub and figure that out. Special thanks to @tgauchat who provided guidance here.

/**

  • Copyright 2015 SmartThings
  • Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at:
  •  http://www.apache.org/licenses/LICENSE-2.0
    
  • Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
  • on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
  • for the specific language governing permissions and limitations under the License.
  • This app is intended to be used for Somfy blind installs where you want to synchronize multiple channels using a
  • master/replica setup. This smartapp must be used with a Device Handler that supports sync capabilities
    */

definition(
name: “Blinds Sync”,
namespace: “mbhforum”,
author: “mbhforum”,
description: “Syncs blind status with other blinds”,
category: “My Apps”,
iconUrl: “http://cdn.device-icons.smartthings.com/alarm/beep/beep@2x.png”,
iconX2Url: “http://cdn.device-icons.smartthings.com/alarm/beep/beep@2x.png”
)

preferences {
page(name: “mainPage”, title: “Blind Sync Setup”, install: true, uninstall:true) {
section(“Blind Sync Setup” )
{
input(“MasterBlind”, “capability.windowShade”, title: “Pick the master blind”, multiple: false)
input(“ReplicaBlind”, “capability.windowShade”, title: “Pick your replica blind(s)”, multiple: true)
}
}

}

def installed() {
initialize()
}

def updated() {
unsubscribe()
initialize()
}

def initialize() {
subscribe(MasterBlind, “windowShade”, shadestate)
}

def shadestate(evt) {
if (evt.value == “open”) {
log.debug “Blinds are open!”
ReplicaBlind.OpenSync()
}
else {
if (evt.value == “closed”) {
log.debug “Blinds are closed!”
ReplicaBlind.CloseSync()
}
else {
if (evt.value == “partially open”) {
log.debug “Blinds are titled”
ReplicaBlind.TiltSync()
}

}
  		}
     }    

def OpenSync() {
sendEvent (name:“windowShade”, value: “open”)
}

def CloseSync() {
sendEvent (name:“windowShade”, value: “closed”)
}

def TiltSync() {
sendEvent(name:“windowShade”, value: “partially open”)
}

4 Likes

Here is github for the shades/blinds DTH with updated instructions:

I just installed ZRTS today.
I am using the updated device handler.
is it possible to use the level (%) feature to set the shades to a specific point ?
Also , what is the “preset” for ?

is there anyone using this with Amazon Alexa ? What commands are possible ?

The zrtsII only supports up, down, preset, stop

So the % number does a simple map to one of up, down or preset.

The device does not support different levels for 80% vs. 60% vs. 40% etc…

This is the shades themselves - that is all they support.

1 Like

ok. what is the “preset” for ?
on my shades , it just does a “stop” , not going to a preset value.
maybe it’s because a “preset” is not set on my shades. how can I set ?

Likely so. The instructions for your shade should describe this, otherwise somfy support is good to help with this.

1 Like

thanks. I made the preset setting and now I am able to set to that position using Smartthings.
and that is good for me. I don’t need a level setting.
thx

is there a way to clear/remove the RTS channel program of s specific channel on ZRTSI ?
or a total RTS reset ?

May need to ask Somfy support.

weird that nobody has required it…

appears the device handler link no longer works. Anyone know where I can find it?

this is not working with new ST app and also on old St app we can’t make change to the smart app.
why ?

edit: solved
I had forgotten that I modified the DTH to remove window shade feature.
of course like that it doesn’t find the shades.