Overkiz API and Somfy API

Hello, ok, but do you know where I can find the details? I searched along this forum and other forum but this looks like the place where most of the knowledge is.

Many thanks!!

I don’t see why not: but can you have multiple Somfy Switch’s all in local api mode, work with home assistant (I would need two because upstairs won’t be reachable otherwise probably)

(btw @hspjanssen best to just make a separate issue about it. And provide more info in there; such as the exact box you have and what the brand and model type of your boiler is)

Also I donated 15 euro’s to each of you. I know it’s not much. But I’m very excited to have my Somfy/Velux devices locally controlled

1 Like

I am afraid that you will need two Somfy accounts for this, since I don’t think you can link two Somfy hubs to the same account… Are you sure that you need two hubs? The coverage of IO is pretty good in my situation, so I would first give it a try.

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.