Overkiz API and Somfy API

You can use this component even if your home assistant is not exposed. In the Somfy developper website, update your application redirect URL to something like http://192.168.1.55. Of course, replace by the local IP uses by your home assistant instance.

Can you retry to authenticate? If you still get the error, can you sent me the exact date and time with your country? I will send this to Somfy support.

EDIT: i downloaded newer version. If i try Authenticate Somfy by ā€œLinkā€. ā€œAn error has occurred
Please try again. If the problem persists, please contact our technical support team.ā€
I try with nabu casa and local ip and nothing.
Last try 26.04.2019 11:52 Czech republic

Before this, can i download any newer version custom component for Home Assistant?

Andā€¦ When it will be official component? :slight_smile:

I contacted the Somfy support. Letā€™s see what they say.
When it will become official? Good question, each time they find me new stuff to update. So I added some modification.
Now I have to update the documentation, and it should be ok.

@tetienne what kind of changes are required to get the custom_component to work with 0.92 ? I tried few things like moving things from cover to somfy folder then remove cover but i must be missing some code changes since i keep getting an error that it canā€™t find the platform. I am pretty sure itā€™s related to this : https://developers.home-assistant.io/blog/2019/04/12/new-integration-structure.html

UPDATE: I figured it out. i just had to move somfy.py to somfy folder and rename the file to cover.py

You got it yes. You can also look at my PR on github to see the new code related to this modification.

@tetienne everything was OK until I used the latest version of the custom component of the somfy.
HA is not starting with the new version generating many errors, also other components were broken.
Now I canā€™t login to official tahoma component too. Any ideas?

Edit - I restored the older version of the custom component and all is OK.

Hum I donā€™t see why my component would break other ones. What version of home assistant are you using? Did you take all the files of my custom components? Their is a manifest.json now.
Have you keep the different errors you got?

I now use the older version of your component. I will try to use the new one again and show you errors.

Thanks a lot. I will stay tuned. :slight_smile: Starting hot in home without automation covers.

Any new information?

Any News please?

Iā€™ve got no update yet. You are still facing the same issue?

still same. I tried older versions, local IP, nabu casa, about 5 new applications for somfy and nothing.

Hi together,

I also tried to use the somfy component, but didnā€™t get it running. I am getting this error message:

Traceback (most recent call last):
File "/config/custom_components/somfy/config_flow.py", line 63, in async_step_auth
url, _ = await self._get_authorization_url()
File "/config/custom_components/somfy/config_flow.py", line 78, in _get_authorization_url
from pymfy.api.somfy_api import SomfyApi
ModuleNotFoundError: No module named 'pymfy'

I have HA running on my NAS using docker and it is reachable from the outside. Any ideas?

Did you also copy the file manifest.json? Whatā€™s your hass version?

Thatā€™s really badā€¦ Try on your side to contact also the Somfy support when you get the error page.

Yes, I did copy everything from your repo. I am on version 0.90.1. Will check again in the evening, maybe I missed something. If not I will contact Somfy.

According to the documentation, you need at least version 0.92 to use the file manifest.json. Itā€™s why the library pymfy is not downloaded.

I wrote to support and they replied ā€œCan you please share with me the request you are posting ?ā€ Do you know what they mean?

Look at the URL in your browser when you got the error and give then that with also the date, time and country. I hope they will find the root cause or at lease enhance their error message. Here we are totally blind.