Overkiz API and Somfy API

What is the correct way to try the local mode integration ? Is it as outlined here: Overkiz API and Somfy API - #1829 by Mariusthvdb or is there another method ?

Thanks all for your donations. I was able to purchase the Somfy TaHoma Switch and add it to my Home Assistant. No devices yet, but I will have a look at Marktplaats/Ebay for a cheap Somfy Power Plug.

Having a hub will help at least for the development, since I don’t have to use VPN’s to remote places anymore, or borrow credentials.


I am thinking about creating a separate topic for this, to split the discussion and testing. There are still some design decisions that have to be taken, since my initial PR does not support all scenarios.

In this issue there is also a method where the pull request custom component is used, but the way of @Mariusthvdb will work as well.

1 Like

I’ve tried to use your update from here by upgrading pyoverkiz. I’m still stucked with token

Error setting up entry gateway-2203-3375-0092.local:8443 for overkiz
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/overkiz/__init__.py", line 64, in async_setup_entry
    token = entry.data[CONF_TOKEN]
KeyError: 'token

I don’t know how to deal with it!
Tried to rollback to older version but still not working.
By the way, I tried to activate on somfy connect but I can’t activate my product : tahoma.pin.wrong_product_V2_RAIL_DIN

I have this Tahoma hub: Tahoma | Somfy

I have followed the instructions in Overkiz API and Somfy API - #1829 by Mariusthvdb

But I receive the same error as seen in: Overkiz API and Somfy API - #1879 by HpNoTiQ

KeyError: 'token'

Please use the core integration for now, which uses the cloud API.

We will be creating a separate topic to discuss the local API soon.

1 Like

@HpNoTiQ @robjameslee since you are testing the local API (which is in a very early release). Can you perhaps add your context here: Implement Somfy local API in Overkiz integration · Issue #69558 · home-assistant/core (github.com).

Please share logs + diagnostics + what you face.

Added my observations as requested.

Have a look at the issue on github, I was able to make this work by changing a check in the config_flow.py file.

Works like charm. thanks for this! Looking forward to have it inside the default Overkiz.

Today I tried to upgrade to 2022.11 beta but the new local Somfy api (still in alpha) gave errors. Where do I report such errors ?

Best is to do this in the GitHub issue. For more slow chat we can create another community topic or handle this on Discord.

Edit: Found answer among the replies above in the thread. For anyone else that missed:

In the api.py file line 330, change to “async with async_timeout.timeout(TIMEOUT):”
After that the pull request link works.

////////////// Orginal msg:
I tried following the steps, installing the pr_custom_component which seems successful, however when I move on to step two entering the link https://github.com/home-assistant/core/pull/71644 within the PR custom component integration I get the following error: “Unable to process pull request link”

Log says:
“2022-11-04 20:37:56.253 ERROR (MainThread) [custom_components.pr_custom_component] Error parsing information from https://api.github.com/repos/home-assistant/core/pulls/71644 - timeout() got an unexpected keyword argument ‘loop’”

Any ideas to what could be wrong?

So I managed to install the local api overkiz mod.

My gateway gets detected among integrations. When I press configure I do not at any point get to choose Hub / local API. I just get to enter my credentials and password and then all my devices are detected.

How do I know if it uses the local API or the cloud? I saw in one of the pictures that the “connected via” is a number for your local one while it says Tahoma on the cloud one.
Mine says TaHoma Switch, which makes me think that I am still using the cloud even though I made the custom install? If so how do I switch over to local?

Same here, integration detects gateway, but offers only username/password. No selection box for anything local.

Let’s discuss the local API in another topic, to not spam this topic with development / testing messages :).


Overkiz integration - Local API [Development / Testers topic] - Home Assistant Community (home-assistant.io)

Hello!

Few days ago the integration Tahoma Overkiz (by Somfy) stoped working and I’ve install the integration Overkiz. I have a Hitachi Yutaki heat pump witch work with Hi-Kumo. The new intergration by Overkiz is connected to server but I don’t have all the entitis that I had on Tahoma Overkiz. I don’t have the temperatures from the Hitachi pump (air temperature and hot water temperature). Can you help me with this? What I do wrong?

For now you can just use the custom component (ha-tahoma). Can you share which device is not supported in Overkiz in core?

You can install ha-TaHoma and look up your device, and share the hardware info of that device here.

Hi community,

I’m totally new in the home assistant community, so I’m really sorry in advance if I do thinks the wrong way.

I have several Thermor air heaters at home and I have bought the Thermor Cozytouch Bridge (from Thermor shop). I have added my devices on the Thermor Cozytouch Android/IOS app, and I can also see the same devices configuration in the Atlantic Cozytouch app with the same credential (it looks like it is exactly the same backend).

My Homeassistant is a core version running on a python venv (2022.11.2/20221108.0) and I tried to configure the native Overkiz integration and also the HACS Overkiz integration (v2.14.0).
For both integration, when trying to configure/login to the Atlantic Cozytouch Hub, I have these errors when providing my email/password: “Mot de passe ou nom d’utilisateur incorrect” (Native Integration) & “Authentification non valide” (HACS).

I’m not familiar with homeassistant debugging, do you know if some logs are generated somewhere to investigate the issue? Should I open an issue in the HA (Issues · home-assistant/core · GitHub) or Overkiz github (Issues · iMicknl/ha-tahoma · GitHub)?

Thanks a lot for your kind advices,
Regards,
Jrant2k

If it doesn’t work in both, I would create an issue in core integration. However, errors around invalid authentication are hard to debug for us, since we cannot generate a log.

For that case, if you have created an issue, you can also contact us on Discord and we can see if we can debug it on our side.

Thanks!

Now it is OK. I don’t know why it stopped working though. That’s what I had until now and it was ok, until it told me that the integration is outdated.

I have attached what I have now as devices, what is circled in red does not appear in Overkiz in core.