[APP][Cloud & Pro] Somfy Tahoma & Connexoon (v4.0.106, test v4.0.122)

As the Homey (cloud) user base expands, and if Athom uses just a small range of IP addresses, then it stands to reason that DDOS protection/prevention will kick in for multiple vendors. Athom should probably get their IP ranges whitelisted with providers that provide cloud/API access.

Hi Adrian,

Is there a way (like the somfy rts app) to tilt my Venetian blinds just x positions? If I press the ‘window coverings down’ button it is also a much larger step than with the somfy rts app.

Also, is there a way to use the two buttons on the ‘Tahoma switch’ in the if part of a flow?

Thanks for the app!

Unfortunately, the latency in the communications makes it impossible to have any fine control.
The API only has move to top, bottom or MY position commands. So to go anywhere between requires a move followed by a stop.

Could you send the Device log to me so I can see if the Switch buttons are exposed?

My Homey is able to connect OK today so could you see if yours is OK now?

Sent you the device log a few minutes ago (I deleted all devices, to make it a little cleaner). Hopefully the buttons are there somewhere :slight_smile:

Yep, I can see the buttons so should be able to add them.
One thing to note is it could take up to 30 seconds for Homey to be notified.

Hi Adrian,

Sorry for the long response time, I was very busy today. I’ve checked and am able to reconnect my devices. Thanks for your great work.

Jan-Pier

I had a response for my contact at Somfy and he says that failed login attempts would be the only cause for an IP to be blacklisted. The problem is that many Homey users that are using the same IP could then be blocked. I might therefore have to put a limit on the number of failed login attempts and then prevent more attempts for a period of time. I am trying to find out how many attempts would be allowed and how long to wait but I think it might be 2 attempts and then block for 15 minutes.

Hello,
Bridge has not connected to Connexoon for a few days; the flows no longer work; switching to manual displays this message: “failed to authenticate: Error: Far too many login attemps (blocked for 15 minutes)”.
Do you have a solution other than dismantling / reassembling the app?
Thank’s

I just understood that you were dealing with the problem, by reading the last posts 
 Thank you for your research!

Yep, still pondering on that one. Somfy won’t change their policy as it is one of there security measures against brute force attacks and Athom can’t provide a unique IP to every Homey user.
For Homey Pro it is not such a big issue as each user has their own home IP address so the only one to be locked out is oneself.

Just to ensure there is no confusion, the bridge is not involved. The connection is cloud-to-cloud for Homey, so the app running on the Homey server talks to the account running on the Somfy server.
Therefore, a bridge is not required for the Somfy app.

Tu penses donc que l’app Tahoma&connexoon ne pourra jamais fonctionner correctement sur le Bridge, de façon fiable ?

So you think that the Tahoma&connexoon app will never be able to work properly on the Bridge, reliably?

Your Homey is running in the Athom cloud and the bridge is not necessary to use the app. You only need a Homey Bridge for other 433MHz , Zigbee or Z-Wave devices.

So I guess depending on Somfy cloud and your local Tahoma or Connexoon it should work.

I might have to be very strict on retrying failed login attempts.
At the moment I don’t know if it’s a user getting credentials wrong or a Somfy server issue causing a number of clients to fail on the same IP. I know Somfy have had problems with failed logins causing clients to be locked out, hence adding the current backoff feature. That system works when it is one client per IP but probably not when there are multiple clients failing on the same IP.
Unfortunately I don’t have access to any logs on Homey like I do on the Homey Pro.
I’m not ready to give up on Homey yet but it’s going to be a challenge.

@dijker, my roller shutters are in io protocol and not rts. a connexoon bridge is therefore necessary

Thank you @Adrian_Rockall
The development of your app decided me to keep my Homey Bridge. I understand that the multiplication of users brings other constraints. if Homey Bridge does not allow you to order Somfy io shutters, this will discourage it from many potential buyers, Somfy shutters being very widespread.

@Dijker is correct and is referring to the Homey bridge not being required.
The Connexoon bridge sends the commands to the devices and the Somfy cloud.
Homey cloud talks to the Somfy cloud directly. So the Homey bridge is not required for Somfy Tahoma or Connexoon.

1 Like

@Dijker @Adrian_Rockall
my English is far away, I did not understand the answer. The advantage of the Homey bridge is to make other connected objects interact to control the shutters with the flows. Without the interface between Homey and connexoon, Homey loses its interest, and we could be many to regret it.
thank you

2 Likes