Thanks for the tip. Still not working for me though… I don’t understand how they can be so poorly reactive… I guess I just need to wait a bit more.
The unofficial API is used by the Tahoma component. Basically, the dev looks at the requests sent by the Tahoma website.
@tetienne Thanks a lot! I didnt know i could use that one! Works like a charm. Ill report back when Somfy replies about the official API!
Still not working for me yet after recreating the app. I use local Callback URL as suggested above:
http://192.168.1.27:8123/auth/somfy/callback
After restarting HA and clicking “Configure”:
Thanks for all the much work everybody who has worked on this! I use the Tahoma app a lot and my rolling shutters I can set them to Dicrete mode so they go very quiet up and down. Is it possible to also do this with the API?
What you ask is indeed possible through the API: https://github.com/tetienne/somfy-open-api/blob/d9189e0c4f1537851fc93b681b579bac4d0891c5/pymfy/api/devices/roller_shutter.py#L14
However, it’s not yet implemented in HA. If we want it within HA, we have to know how to expose it. For the moment, only solutions I see are to create a service (for instance set_position_at_low_speed) where you give the position, the entity id or permanently setup a cover to be in discrete mode using the configuration file.
@dwains Can you show me in the Tahoma UI how you update the state of your cover, but in discrete mode?
Still not working:
And I don’t have any API key/token on: https://accounts.somfy.com/oauth_client
No answer from the Somfy support. Buy somfy products? Worst idea ever, tons of issue from any side.
And I don’t have any API key/token on: https://accounts.somfy.com/oauth_client
Indeed when I clicked on the Create button on the page you link I got an error too.
Did you try to create an app from here: https://developer.somfy.com/user/me/apps
Hi, sure:
I also tried for the url with every combination of: Nabu.casa, local IP http, local IP https, local IP http without port, local IP https without port. I have tested it also from url string with a url encrypt/decript function in PHP. No lucky
Same issue here.
@blackskull182 @thorsten Did you send an email to the Somfy support? I think this is the only solution we have to show them we need this API.
Not send any e-mail, but it worked now. But I got this error:
{
error: "redirect_uri_mismatch",
error_description: "The redirect URI provided does not match registered URI(s)."
}
It worked now with the IP instead of my domain, but I still have a Somfy entry under “Integrations”. When I click on “configure”, the server responses with a 500.
Hi.
Im having the same issue.
Could I ask you to do a screendump of your current configuration?
both in configuration.yaml and somfy app?
Thanks.
Mvh
Bjørn
Did you restart your home assistant?
yes, several times
After 3 days from the mail sent to the support (with no answer), magically the integration connect successfully, I just tried again without any change…
Now I have another issue, I don’t see any Somfy device in Home Assistant and if I click again on the Somfy integration I see: “This integration has no devices”.
That’s half a good news What are the device you own?