Overkiz API and Somfy API

Just today…and not much information:

We are facing sync issues at the moment, we try to fix this issue as soon as possible.

Cordialement / Best Regards,

@tetienne
Any updates on your pull request?

I will relaunch @balloob nextweek. Currently my code is over but he suggested me to use a code he created on an other branch. Issue is I don’t know how to plug it correctly.

When I click the link in the “Authenticate Somfy” I am getting the same error as mention earlier “The redirect URI provided does not match registered URI(s).”. Does someone know the solution for this problem?

My redirect url is http://192.168.2.94:8123/auth/somfy/callback

Thanks!

Just found out that the Australian Version of Connexoon is blocked from accessing the open api Somfy Provides. Can anyone from Oz confirm that?

If that is the case - Thank you Somfy Australia :rage:

Can you retry, sometimes is due to the Somfy Server. Have you also double check what you type in Somfy App is exactly http://192.168.2.94:8123/auth/somfy/callback?

Seriously? Event when you try from their website?

Ik misread your question so now a correct answer:

redirect_uri=http%3A%2F%2F192.168.2.94%3A8123%2Fauth%2Fsomfy%2Fcallback

Decoded=http://192.168.2.94:8123/auth/somfy/callback

Created a new app, tried again and now it works.

Thanks @tetienne for the work you are doing!

Glad to see it works for you too. It’s also good to know create a new app can solve some issues.

Hi @tetienne - when I call the GET “api.somfy.com/api/v1/site” - from the developer site developer.somfy.com/somfy-open-api/apis/get/site-0 - I get the following response. The only thing missing is the site_id. So without the site_id I cannot do anything else. This tells me that my registered Connexoon device is NOT valid for the public Api.

 HTTP/1.1 200 OK
 Access-Control-Allow-Credentials: true
 Access-Control-Allow-Origin: *
 Connection: keep-alive
 Content-Length: 2
 Content-Type: application/json; charset=utf-8
 Date:Mon, 08 Apr 2019 12:06:28 GMT
 Etag:W/"2-l9Fw4VUO7kr8CvBlt4zaMCqXZ0w"
 
[]

It seems your devices are not yet supported by their API. What kind of devices have you?

Connexoon RTS… controlling Roman Blinds.

Try to contact the Somfy support, but I don’t think it’s supported yet.

Has anyone with an Australian Somfy account managed to get this working? I followed all the steps and configured the component but my two blinds do not show up.

I rang Somfy Au (after trying a few things - thanks for all the help @tetienne) and according to the person I spoke to - its not supported for Australian version. I will be returning my Connexoon next week and will use RFlink or similar solution.

2 Likes

Sad to see this is not supported world wide. Here we clearly see a stupid limitation due to the cloud.

1 Like

I’ve contacted the Somfy Support about some bug I reported them few month ago. Here in French their answer:

  • Nous travaillons toujours sur un correctif pour le stop du RTS mais notre protocole historique nous donne du fil à retordre.
  • Le bug du enpoint /device/<device_id> a été corrigé et mis en prod
  • Le bug de la position quand la value était égale à 0 a été corrigé et mis en prod
  • Le bug sur la capability position_low_speed également

That can be translated as:

  • We are still working on a fix for the stop of the RTS devices. But our legacy protocol give us some difficulties.
  • The end point /device/<device_id> has been fixed and loaded in prod. (state was not refreshed)
  • The position state bug when value was 0 has been fixed and loaded in prod.
  • The capability position_low_speed has been fixed.

@gieljnssns As you can see, they confirm the bug you met on your side. So you are not alone anymore :wink:

Hello, i have new internet provider and i have no public IP address. Is there any solution for connecting with api? Can i use Remote Control from Nabu Casa?

And second problem, if i try Authenticate Somfy by “Link”. “An error has occurred
Please try again. If the problem persists, please contact our technical support team.”

Thanks for your post, I am also from Australia and you just saved me hours and hours of messing around trying to get mine working.