@SamBGB I’m using the Tahoma box.
Thats what I figured thanks.
Hi, I am facing the redirect uri error :
{“error”:“redirect_uri_mismatch”,“error_description”:“The redirect URI provided does not match registered URI(s).”}
when trying to link my HA with Somfy API.
I tried al to, but still stuck.
Would appreciate some help there
Did you compare the url you set in the developer portal and the one you see as parameter in the adress bar in your browser when you see the Somfy authentication page?
If there are the same, try to create another app.
Hi,
Super nice to help me so fast.thanks a lot.
Actually, I did compare the url I provided in Somfy:
http://192.168.1.60:8123/auth/somfy/callback
and the one I get when decoding the link:
redirect_uri=http://192.168.1.60:8123/auth/somfy/callback&state=077c850bd5834afcb76c5c62d1cb896d
It looks pretty much the same.
Hi
I also try to make the somfy api work, and I also have problems with authentication. Error message: {“error”: “redirect_uri_mismatch”, “error_description”: “The redirect URI provided does not match registered URI (s).”}
Have already tried with http://192.168.1.181:8123/auth/somfy/callback and https: //xxxxxx.duckdnsd.org:8123/auth/somfy/callback
1 / Should the local address be preceded by http or httpS? I use https://xxx.duckdns.org:8123, but with the local adres, the https certificate seems not valid…
2 / Every time I try again with other callback url I see that the used callback from HA is actually always the “old”, despite using other browsers or clearing cache. Is that link stored somewhere in HA?
Thx for suggestions or answers!
Hello
Today i tryed again, without any changes and it worked.
Out of the blue…
FYI with callback: https://xxxxxxx.duckdns.org:8123/auth/somfy/callback
Sorry for the delay. Apparently, in some cases wait is the solution indeed. It’s due to synchronization between somfy servers.
Hello,
I really enjoying your passion for making Somfy products work in HA! Great work!
I have a Connexoon IO device which is connected to my router and controls a Sunilus IO motor as well as Light VAR IO, both located in my pergola construction. As far as I can see, it is listed in the supported devices.
Everything works well via Connexoon Terrace App but of course, I am here for the HA integration.
I have successfully add the Somfy integration to my HA but I can not understand the next step.
What piece of code should I add in my config file for the Connexoon to be discovered?
Hi, did you follow the documentation?
Hi guys! I’m currently helping @balloob to have a one click installation of the Somfy component. It means HA will discover automagically our Tahoma or Connexoon and ask if we want to enable the component. No update of the configuration.yaml file will be required (no secret, no callback url).
I need a help to confirm a theory I have.
It seems that all the Tahoma have a MAC address starting with f8:81:1a:04 and all the Connexoon have a MAC address starting with f8:81:1a:03. Can you check on your router if the case for you?
Hi @tetienne sorry but my Tahoma box (maybe an old one) is starting with
f8:81:1a:00
Hope this can help you
You own the Tahoma v1? At least the three first group are the same. (you were pretty fast :o)
My Tahoma box starts with f8:81:1a:04
Hello tetienne and thank you for your reply!
Yes, I have followed this documentation and I have successfully, added Somfy in my integrations of my HA.
I have also tried the Somfy API documentation and I successfully get the relevant responses.
My HA though does not prompt me for any new devices or sth, except for the very first time when I added the code on my config file:
somfy:
client_id: CONSUMER_KEY
client_secret: CONSUMER_SECRET
What’s the next step from here?
Ok, I see that I am missing the whole Python part (install and everything).
Are there any detailed steps about this section?
The component is official, so you don’t need to do anything with Python. Just enable the Somfy integration like you already did. If your covers/blind are supported, you will be able to see them.
Hello, my tahoma’s mac@ starts with f8:81:1a:52
Well, after some digging with the help of @tetienne, I think I am in the same situation.
Here is the response on the GetDevicesBySiteId from Somfy dev site.
[
{
"id": "some id here - replaced",
"type": "hub_connexoon",
"categories": [
"hub"
],
"states": [],
"capabilities": [],
"site_id": "my site id here - replaced",
"available": true,
"version": "2019.3.4-7"
}
]
It seems that no devices are listed, despite the fact that Connexoon is being listed as a supported one.
I have already reported this issue to Somfy. Let’s hope for a positive feedback.
I will let you know accordingly.