[RELEASE] Somfy Z-Wave to RTS Interface II driver

I tried using a Virtual Device but unfortunately couldn't keep everything in-sync w.r.t. all the statuses and position.

I modified the driver to include the reverse direction option. Much easier that way.

@dennypage. I added the code to github and created a pull request in case you'd like to include it.

The node driver has been updated to version 1.2.0. This version adds support for reversing the motor direction.

@joehuntley, I appreciate the PR, but in the end I felt a simplistic approach would suffice. Please let me know if this works for you.

@joehuntley, did you have a chance to test the motor reverse in 1.2.0?

I was able to test it today. It works as expected. Thank you.

One more item. I also included the device into homebridge. For some reason, homebridge homebridge sends setPosition(null) instead of setPosition(0) as you would normally expect. In this case, it throws a java exception. Would it make sense to interpret null as zero in this instance?

That's strange. I have my shades, draperies, and a door controller set up in Homebridge. When I do a close from Home I receive a set of position of 0, and when I do an open in Home I receive a set position 100.

Are you using danTapps' Maker API for Homebridge? What version of Homebridge are you running? I'm running Homebridge 1.2.3 with 0.4.11 of the Homebridge Hubitat Makerapi.

Also, are you running the current Somfy version that has the switch removed? If not, you may want to exclude the switch capabilities and properties using the Homebridge configuration.

The driver has been updated to support Somfy's "My Position." My Position allows you to set a favorite position between fully open and fully closed that can be returned to with high accuracy.

To use this feature, first set the desired position using the Somfy handheld controller (google "Somfy My Position" for instructions). Once the position has been set, go to device Preferences and enter the corresponding percentage in the Somfy My Position field.

To access My Position, you use Stop while the shades are not moving, just like the Somfy handheld controller. Alternatively if Set Position is used with the value set in Preferences, My Position will be used as an optimization for high accuracy.

1 Like

@672southmain, I want to thank you for the education on Somfy My Position. Incredibly helpful. Greatly appreciated.

It’s truly the worst command API I have ever seen.

1 Like

I have this all working nicely now. I have my awning exported through the Alexa app as well. Does anyone know how to get Alexa to open and close the awning through this driver via the hubitat alexa app?

OK, nevermind! I guess it just took a little time to propagate. "Alexa close awning" just worked.

1 Like

I was just going to reply with that because we use a similar phrase for our drapes.

Can you post a picture of the z-wave controller this works with? I see a couple and am not sure which is the version 2. I have a myLink now in ST, but no one has a driver for it in Hubitat.

The device the driver is designed for and tested with can be found here.

It may (or may not) work with the prior gen device. I don’t know anyone who has tested with it.

I have a copy of the myLink API, which Somfy pulled from their website about a year ago. At a low priority, I have been working on a myLink Hubitat driver. A problem is that Somfy has been changing things up because they want a walled garden, which might make a purely-local driver difficult if Somfy changes the API to prevent it, and a cloud-based version difficult if Somfy wants to prevent it.

Until then, Alexa talks to our drapes using myLink and Hubitat uses Justin Walker’s (@augoisms’s) ZRTSI II driver. Denny Page has an equally good driver that has a few more features added at the request of users in the forum.

I put in an offer on a ZRTSI, if I can get it for a good price, I’ll move to z-wave. I need a virtual ST location to use my Ring Floodlight and Spotlight cams, and to get switches back into my Harmony Remote, but I’d really like to take down my physical ST hub.

I have Hubitat talking directly to MyLink over local LAN connection, details here: Integrate Somfy in Hubitat. The code is all in github but I haven't done a proper release with installations instructions. If I can find a few volunteers to test installation instructions, I'd be happy to package it up.

1 Like

Thanks for the great drivers! I was nervous to port over my ZRTSII and shades from SmartThings, but your code was perfect. Thank you so much!!

Quick question, I am trying to run a custom action in Rule Machine to access the “stop” functionality. However, I can’t seem to find the shades anywhere under Custom Actions. What device type would they show under there?

Actually I went in and edited the code to include:

        capability "Actuator"

It worked like a charm for what I needed. Hope that’s okay...

I recently bought a new home and found a funky looking remote. It controlled a deck awning. I’d like to use a Luton pico, is this possible?

Is the funky looking remote a Z-Wave to RTS Interface? Plugs into the wall and looks like this:

1 Like