Author Topic: Somfy ST30 RS485 Integration  (Read 1993 times)

Offline maja

  • Full Member
  • ***
  • Posts: 194
  • Karma: +1/-0
Somfy ST30 RS485 Integration
« on: November 11, 2015, 12:42:49 am »
I saw the plugin for integrating the Somfy RS485 motors with vera. However, I cannot find anywhere what interface is being used to do so. The only item I could find is from SomfyPro (see first link below) but that seems some custom solution (based on the second link), hence I assume that is not what this plugin is made for. So what do I need to interface my RS485 motors with vera?

https://www.somfypro.com/documents/531668/15106514/USB+RS485+Converter.pdf
https://www.somfypro.com/documents/531668/15106514/RS485+converters+%26+pinout_BB.pdf

Offline shady

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1327
  • Karma: +11/-0
  • This monkey knows his Window Coverings!
Re: Somfy ST30 RS485 Integration
« Reply #1 on: November 30, 2015, 02:50:32 pm »
It should be a USB to RS485 converter as shown by Somfy Pro.  But I have one that Vera recognizes and one that Vera doesn't, by different suppliers.  It may be safer to use a USB to RS232 cable that you know works with Vera and then use an inline 232 to 485 converter to convert to RS485.(links below)

On an older Vera2, the newer Win8 compatible CommFront USB-485-1 cable I plugged into Vera didn't get recognized (it has an FTDI chipset).  But the older HXSP-2108G USB to 485/422 converter I have appears in Vera's serial devices (it has a Prolific Chipset).  The older one is one like this although I can't guarantee it works with Vera since I didn't test completely:
http://www.ebay.com/itm/Hexin-USB-2-0-to-RS422-RS-422-RS485-Converter-Adapter-Serial-Win7-64-Mac-PL-2-DG-/261665210024

I have a 3rd no-name USB to RS485 adapter that shows a FTDI chipset but is recognized by Vera.  So it may be the difference of converters that were made to be compatible with Windows 8 and up may not be compatible with Vera's drivers and anything Windows 7 and down may work with Vera's serial drivers.  Or it may be possible to update the serial drivers in Vera, but someone else will have to chime in on that. 

The most compatible way I think is USB to RS232: (this works with Vera and is cheap)
http://www.monoprice.com/product?c_id=103&cp_id=10311&cs_id=1031104&p_id=3726&seq=1&format=2
Then use an inline RS232 to RS485 converter (these require no drivers)
http://www.commfront.net/index.php?main_page=product_info&cPath=1_6&products_id=1&_ga=1.228503645.1356419678.1447455129

Although I apologize, I have not tested the Somfy Plug-ins in a while and I don't have time to test the RS485 transmission right now.  But hopefully this helps you in some way.
« Last Edit: November 30, 2015, 02:52:10 pm by shady »
Vera3 1.5.346, Schlage (3)DB (2)Lever, Kwikset (1)Lever, RCS TZ43 Thermo, (2) Vizia RZI06-1LX 600W Dimmers, (17) Monster (Leviton) Dimmers (6) Monster (Leviton) IWC Scene Controllers (1) Etherrain-8, (3) HSM 100's (1)GE 3-Way set

Offline mattfam0914

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: Somfy ST30 RS485 Integration
« Reply #2 on: April 21, 2016, 10:09:09 pm »
RS485 needs to be hardwired both power and communication. You will wire them back to a somfy power/data panel. So there for you need 16/2 at the window for power and a cat5e cable for comm. All wires going back to the panel. From the panel you will run another cat5e to your Vera unit where you will need a usb to rs485 adapter. Make sure your keeping pin 1 as 485A and pin 2 as 485B and pin 7/8 as your ground for comm. You'll be able to set each shade to specific levels ie 50%, 72% and so on. You will want to download the st30 config tool to set limits and set groups. You can at that point incorporate wunderground for Sun tracking like the Somfy Animeo system does.

Offline maja

  • Full Member
  • ***
  • Posts: 194
  • Karma: +1/-0
Re: Somfy ST30 RS485 Integration
« Reply #3 on: April 22, 2016, 01:02:09 am »
Thanks for the replies. What mattfam0914 describes is pretty much what I did. I ran a 16/4 and an Ethernet to each window (you only need 16/2 and 4/21) so I could accommodate up to 2 motors (independent up/down + tilt or backup) per window. These cables were home-run to the power/communication panel. I was able to control them from my PC using a serial to USB cable. I used the Baitaihem USB to RS485 with CH340 chip. It's not the best quality (I had to re-solder the connectors) but it worked fine after that. Having said that, my main question was about integrating it with vera. What plugin works and what are the settings? Btw, I am probably going to move to HomeSeer but maybe it helps others.

Offline Fred Dart

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Somfy ST30 RS485 Integration
« Reply #4 on: November 01, 2016, 01:54:12 am »
Try this USB to RS485 converter. It's based on a FTDI chip and has convenient screw terminals to wire up RS485 A,B and GND
http://www.easysync-ltd.com/product/666/es-u-2001-stb.html

Offline LindsiWains

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-39
Somfy ST30 RS485 Integration
« Reply #5 on: November 12, 2016, 10:39:39 pm »
Does anyone have experience integrating this with AMX home automation software and can offer any advice?  Thanks in advance

Offline shady

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1327
  • Karma: +11/-0
  • This monkey knows his Window Coverings!
Re: Somfy ST30 RS485 Integration
« Reply #6 on: November 21, 2016, 02:00:24 pm »
Somfy RS485 motor have a 6 digit Hex address as their individual address and can also be programmed with custom group addresses.  AMX should have a module for Somfy motors to make integration easier, but you can always just send the RS485 Hex commands via a serial port on AMX to the shades.  You can generate the Somfy commands using the Somfy Command Calculator where you put in the hex address (check either individual or group address) and it will spit out the hexadecimal command string for you to copy/paste into the AMX code.  Then the Up button on an AMX interface will send a UP commands string to a particular motor or group address and that shade or shades will move UP.
Vera3 1.5.346, Schlage (3)DB (2)Lever, Kwikset (1)Lever, RCS TZ43 Thermo, (2) Vizia RZI06-1LX 600W Dimmers, (17) Monster (Leviton) Dimmers (6) Monster (Leviton) IWC Scene Controllers (1) Etherrain-8, (3) HSM 100's (1)GE 3-Way set

Offline zedrally

  • Hero Member
  • *****
  • Posts: 742
  • Karma: +0/-0
  • Black Cat Controllers & Control Systems
    • Black Cat Control Systems
Re: Somfy ST30 RS485 Integration
« Reply #7 on: November 21, 2016, 06:17:03 pm »
Shady, do you know if it's possible "piggy back" a Zwave blind controller onto Somfy tubular motors?
All of mine are controlled by Telios RTS, I have access to plenty of ZWave controllers at the right price and wonder if this could be an option?
Living in the Land of Oz, give me a vegemite sandwich. Home Seer, Vera Lite & Edge, Popp, Black Cat Smart Hub & Vera G, Black Cat Lite 1 & 2's a Black Cat Dimmer or 2, then some  Black Cat Cat's Eye PIR's & Door-Window Sensors plus a Z-UNO or 2.

Offline dbmccallum

  • Jr. Member
  • **
  • Posts: 71
  • Karma: +0/-0
Re: Somfy ST30 RS485 Integration
« Reply #8 on: January 31, 2017, 09:58:13 pm »
I have had good success withe the somfy rts to zwave bridge
Vera Edge (1.7.2406), (56) GE/Jasco ON/OFF switches, (18) GE dimmers, (8 GE Outdoor modules, (4) 4-1 Aeotech Multisensor, (7) 6-1 Aeotech Multisensor, (1) Siren WA105DBZ, (2) Liftmaster Garage Doors,Vera 3 (1.7.830), 2 GE Outdoor Modules,Vera Lite (1.7.902) RTS Bridge, 14 Somphy Blinds, Homewave