Somfy overkiz intergration

Fellow experts here,

Need a help on somfy integration. I wasn’t able to understand by following the instructions below

" By activating the Developer Mode of your TaHoma box, you can authorize third-party software (like Home Assistant) to connect to it via your local network.

After activation, enter your application credentials and change the host to include your gateway-pin or enter the IP address of your gateway."

Particularly, at the host entry upon configuration, what do i enter? Nothing seems to work. I’ve already enabled developer mode at somfy portal. Keep getting this error message

“Cannot connect to host, certificate verify failed.”

What did you enter in the configuration screen?

same here. hope someone can helps, tried the local ip and get the same error:
Cannot connect to host, certificate verify failed.

docs say:
To avoid security issues, add the following authority to your HTTPS client trust store: https://ca.overkiz.com/overkiz-root-ca-2048.crt
how do we do this for homeassistant (running in docker…)
unchecking the box Verify SSL certificate results in a simpler “Failed to connect” warning.
When checking the available tokens with the api I now have more than a dozen keys for home assistant…

You don’t need to add the certificate, we do this already. If you connect to your IP, uncheck ‘Verify SSL’ because this only works for the hostname.

If you still get “Failed to connect”, it means your Home Assistant instance cannot connect to your hostname / IP. Double check if you set it up correctly + the right port.

Hi @imick, trying again to get this working. I have dev mode enabled for my somfy switch.
Do I need to do anything else?
I have HA running in docker on my unraid server. It cannot ping the gateway-[pin].local but I can directly ping the ip address.

If I try to setup overkiz with:
[TAHOMA SWITCH IP]:8443 with ssl disabled, and providing my somfy.nl username and password I get a “Unexpected error”.

update: cloud integration works fine by the way.

You can create a new issue on GitHub and we will have a look. Unexpected error means that something is written in your log.

ok! ill create a issue. thanks!

edit: ok, while writing up my new github issue and recreating all the steps I took to get the unexpected error I first had to remove the cloud integration for my overkiz tahoma switch integration. Now, when I try to setup the localAPI I got in without issues…
Not sure why, I did exactly the same… Perhaps the cloud integration triggered something that was required to get my local setup working…

Anyways, I’m happy that it know works without cloud integration. Now I can create better/smarter automations than the ones we can create using the tahoma app.

Please help - I’m freaking out trying to understand why my automation is not triggered/working.

Whenever I create an automation with Somy shutters - the automation isn’t triggered/run. All other automations are executed correctly. I’m using connectivity kit via cloud.

  1. I can manually set the position of the electronic shutters in Home Assistant, also all actions like close or open work.

  2. If I change the position with Tahoma app, then click on the shutter in the dashboard - it shows the correct position.

  3. If I change the position via io remote - then click on the shutter in dashboard - the position is also correctly shown. However in Tahoma app it’s not updated.

  4. If I run the automation via Developer Settings → Trigger Automation
    It is alway run even if the conditions aren’t met (skip conditions is not activated)

— WTF is going on? Why are the automations not triggered? I made automations based on the same sensors - and they are run.

The log shows nothing/nor does the history. It’s as if those automations do not exist as soon as I add the shutters into them.

Below are my automations (all created with UI so there cannot be punctuation/spelling mistakes):

a)

alias: Open all Shutters when above 19° in sleeping room
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.aqara_bedroom_temperature
    above: 19
condition:
  - condition: numeric_state
    entity_id: sensor.aqara_balcony_temperature
    below: 19
action:
  - device_id: 3c583c127b6c06d78cbe714c7f18fe12
    domain: cover
    entity_id: 78645528e308ea3681783d8771ce137d
    type: open
  - device_id: 0700782fa48091326aa7a40beb6be712
    domain: cover
    entity_id: f4c4cecb73bc1ea850c29317ff2ad2d8
    type: open
mode: single

b)

alias: 18-19° - Set shutter to 50%
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.aqara_bedroom_temperature
    above: 18
    below: 19
condition:
  - condition: numeric_state
    entity_id: sensor.aqara_balcony_temperature
    below: 18
action:
  - device_id: 0700782fa48091326aa7a40beb6be712
    domain: cover
    entity_id: f4c4cecb73bc1ea850c29317ff2ad2d8
    type: open
  - device_id: 3c583c127b6c06d78cbe714c7f18fe12
    domain: cover
    entity_id: 78645528e308ea3681783d8771ce137d
    type: set_position
    position: 50
mode: single

c)

alias: Close Shutter when outside over 20°
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.aqara_balcony_temperature
    above: 20
condition: []
action:
  - device_id: 3c583c127b6c06d78cbe714c7f18fe12
    domain: cover
    entity_id: 78645528e308ea3681783d8771ce137d
    type: set_position
    position: 1
  - device_id: 0700782fa48091326aa7a40beb6be712
    domain: cover
    entity_id: f4c4cecb73bc1ea850c29317ff2ad2d8
    type: close
mode: single

d)

alias: Close Shutters when below 18°
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.aqara_bedroom_temperature
    below: 18
condition: []
action:
  - device_id: 0700782fa48091326aa7a40beb6be712
    domain: cover
    entity_id: f4c4cecb73bc1ea850c29317ff2ad2d8
    type: close
  - device_id: 3c583c127b6c06d78cbe714c7f18fe12
    domain: cover
    entity_id: 78645528e308ea3681783d8771ce137d
    type: close
mode: single

e)

alias: Open all Shutters when above 19° in sleeping room
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.aqara_bedroom_temperature
    above: 19
condition:
  - condition: numeric_state
    entity_id: sensor.aqara_balcony_temperature
    below: 19
action:
  - device_id: 3c583c127b6c06d78cbe714c7f18fe12
    domain: cover
    entity_id: 78645528e308ea3681783d8771ce137d
    type: open
  - device_id: 0700782fa48091326aa7a40beb6be712
    domain: cover
    entity_id: f4c4cecb73bc1ea850c29317ff2ad2d8
    type: open
mode: single

Oh yeah , and is there any chance of having an automation that tries to hold a certain temperature. If outside is colder , and inside is over the expected temperature - open shuter by 10% then wait 10 minutes… if Inside is too cold - close shutter by 10%. Do that check every 10 minutes.

I installed Home Assistant and all those sensors/raspberry pi 5 because I was thinking such a simple task should be possible. If not it seems I need to get an aircon because very aircon can do what that tahoma crap doesn’t manage right now (the tahoma app is completely stupid, cannot integrate any sensors - so only time based automation possbile).