# \[APP\]\[Cloud & Pro\] Somfy Tahoma & Connexoon (v4.0.124, test v4.0.152)

**URL:** <https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206>\
**Category:** Apps\
**Tags:** official, homey-pro\
**Created:** [September 29, 2020, 3:01pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206 "2020-09-29T15:01:37Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![Maikel\_Van\_de\_Wouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maikel_van_de_wouw/32/29783_2.png) [@Maikel\_Van\_de\_Wouw](https://community.homey.app/u/Maikel_Van_de_Wouw)\
**Post date:** [October 10, 2020, 10:37pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/224 "2020-10-10T22:37:20Z")

</div>

I am new here. Just have a question about the io roller schutters. I have no tahoma system only the io schutters with a hand controller. Can I control the schutters with Homey and your app?  
Otherwise i must buy a Homey and a Tahoma connection Box. That’s a lot of money.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [October 10, 2020, 10:46pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/225 "2020-10-10T22:46:31Z")

</div>

Hi and welcome. Unfortunately you need the Tahoma or Connexoon box as well. This app commincates with the Somfy server on the Internet. So you need the Somfy box to control the shutters and update the server.

---

<div class="post-metadata">

**Author:** ![rvdeijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rvdeijk/32/22542_2.png) [@rvdeijk](https://community.homey.app/u/rvdeijk)\
**Post date:** [October 11, 2020, 6:16am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/226 "2020-10-11T06:16:29Z")

</div>

> [@Adrian\_Rockall](#):
>
> as I am using the unofficial api.

The document of iMick contain info of a full API, is that one not based on the official one? I thought you already moved from the unofficial one to a more official approach? Or am I missing something.

On the home assistant site I read there is a version based on the [tahoma (unofficial)](https://www.home-assistant.io/integrations/tahoma/) and a [Somfy (official)](https://www.home-assistant.io/integrations/somfy) version. Not sure what the differences are. Maybe @iMick can explain.

> [@Adrian\_Rockall](#):
>
> The Somfy API actually seems pretty good

Would it take a full rewrite to switch to the official one? Or can’t you use the official one, cause it lacks a lot of functionality or proper documentation? Maybe the homey owner that works at Somfy can provide the missing parts 🙂

---

<div class="post-metadata">

**Author:** ![Dracoignis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dracoignis/32/17161_2.png) [@Dracoignis](https://community.homey.app/u/Dracoignis)\
**Post date:** [October 11, 2020, 6:50am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/227 "2020-10-11T06:50:35Z")

</div>

I bought my homey and connexoon for exact the same reason as you. Homey+connexoon io ( dont buy the RTS version) costs a bit more then tahoma, but afterwards you can use xiaomi-temperature sensors (you can buy 10 of those for the price of 1 somfysensor) and you have a lot more possibilities then when you just buy the tahoma

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [October 11, 2020, 7:06am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/228 "2020-10-11T07:06:35Z")

</div>

The document is for the unofficial one.  
The official api has very limited support for devices for some reason. Somfy seems to have abandoned it after the second update back in 2018.  
The documentation is available for that here [https://developer.somfy.com/apis-docs](https://developer.somfy.com/apis-docs)  
For me it only provides support to open and shut my camera cover. So no sunis, door contacts, alarm or RTS blinds. I guess that’s why HA still has 2 versions.  
If it supported all the devices I would switch to it in a heartbeat. Yes it would require a rewrite of the app but that’s not a problem.

---

<div class="post-metadata">

**Author:** ![Dracoignis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dracoignis/32/17161_2.png) [@Dracoignis](https://community.homey.app/u/Dracoignis)\
**Post date:** [October 11, 2020, 7:12am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/229 "2020-10-11T07:12:47Z")

</div>

Hi adrian,

Thanks again for your work on the loginproblems. I have not updated since your testversion 2.0.5, but had the firmware update on my brand new connexoon(3days after first use and also firmwareupdate). I read here someone who just had the app installed, but didnt use it also received the mail. I on the other hand havent received anything so far.

One more question. Somfy and homey seem to know the posion of each blind (slider moves when opening/closing). Can i read that value? Would use it to disable a flow 30 minutes.

---

<div class="post-metadata">

**Author:** ![Geurti](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geurti/32/8560_2.png) [@Geurti](https://community.homey.app/u/Geurti)\
**Post date:** [October 11, 2020, 8:42am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/230 "2020-10-11T08:42:37Z")

</div>

I’m still running on version 2.0.3 and the problems are solved since a few days.  
Homey (early 2018)

---

<div class="post-metadata">

**Author:** ![Baldhor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baldhor/32/27028_2.png) [@Baldhor](https://community.homey.app/u/Baldhor)\
**Post date:** [October 11, 2020, 11:11am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/231 "2020-10-11T11:11:07Z")

</div>

I’m not expert of nodejs, I only forked a few apps to adapt them to my need 🙂  
But as I understand it, each device of an app is a different “thread”.  
Now maybe the word thread is not right, not sure, but that lock (mutex) mecanism seems to be the way to handle it when accessing global funtions 🙂

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 11, 2020, 11:12am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/232 "2020-10-11T11:12:53Z")

</div>

Apps are single-threaded (at least the JS-part of an app), no locking required (or available…).

---

<div class="post-metadata">

**Author:** ![Baldhor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baldhor/32/27028_2.png) [@Baldhor](https://community.homey.app/u/Baldhor)\
**Post date:** [October 11, 2020, 11:19am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/233 "2020-10-11T11:19:22Z")

</div>

Installed and tested 2.0.12. Works perfectly!  
However in information log there are many “Unhandled rejection” with message “invalid\_type”.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [October 11, 2020, 11:26am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/234 "2020-10-11T11:26:20Z")

</div>

> [@Baldhor](#):
>
> However in information log there are many “Unhandled rejection” with message “invalid\_type”.

Can you send me the log so I can check them?  
Also try the standard Create Diagnostics Report button to create a crash report.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [October 11, 2020, 11:32am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/235 "2020-10-11T11:32:21Z")

</div>

> [@Dracoignis](#):
>
> One more question. Somfy and homey seem to know the posion of each blind (slider moves when opening/closing). Can i read that value? Would use it to disable a flow 30 minutes.

I have to be honest, I don’t know 😕  
As you might have seen, I only took over the app a few weeks ago and I don’t have any blinds that report their position. When I get back to my PC I will take a look but may be another user has the answer quicker.

---

<div class="post-metadata">

**Author:** ![iMick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/imick/32/29748_2.png) [@iMick](https://community.homey.app/u/iMick)\
**Post date:** [October 11, 2020, 11:57am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/236 "2020-10-11T11:57:27Z")

</div>

> [@Adrian\_Rockall](#):
>
> For me it only provides support to open and shut my camera cover. So no sunis, door contacts, alarm or RTS blinds. I guess that’s why HA still has 2 versions.

> [@rvdeijk](#):
>
> On the home assistant site I read there is a version based on the tahoma (unofficial) and a Somfy (official) version. Not sure what the differences are. Maybe @iMick can explain.

Normally, the official Somfy API would be the best way of controlling your Somfy devices. It provides OAuth for authentication and it has public documentation.

However, the Somfy API is still very limited in terms of device support. Many devices are not supported and the way you can interact with them is limited as well. Still no support for webhooks, or even a basic event fetching mechanism. The roadmap is unclear, but based on the conversations with Somfy that have been shared with me, they don’t invest heavily in their API.

The (internal) API used by tahomalink[.]com offers better device support, is more stable (most of the time…) and has more advanced polling features. I have some devices that are not supported with the official Somfy API, thus that’s why we spend a few months rewriting the tahoma integration by ‘reverse engineering’ tahomalink[.]com. Most of the logic is in their javascript, thus a great source to learn more about the possibilities (and limitations).

**By the way, this will be my last post here. Good luck with rewriting the component using the best practices provided. Apparently the Homey community does see my posts as spam, since almost all my posts here are hidden and marked as spam.**

_Your post was flagged as **spam** : the community feels it is an advertisement, something that is overly promotional in nature instead of being useful or relevant to the topic as expected._

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [October 11, 2020, 12:24pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/237 "2020-10-11T12:24:09Z")

</div>

Thank you so much for your help. The tip about the event endpoint has made a huge difference to the impact on the Somfy servers and given me hope that it will be tolerated.

[@moderators](https://community.homey.app/groups/moderators) is there anything you can do to retrieve / allow the posts for @iMick?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [October 11, 2020, 12:26pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/238 "2020-10-11T12:26:54Z")

</div>

> [@Adrian\_Rockall](#):
>
> [@moderators](https://community.homey.app/groups/moderators) is there anything you can do to retrieve / allow the posts for @iMick?

I’ve already restored his posts (and removed flags), it was just discourse seeing the tohomalink as a real link, and seeing this in 3 posts in a row it thought it was spam.

Have already contacted (send a message to) @iMick too about it.

---

<div class="post-metadata">

**Author:** ![Shadow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shadow/32/23280_2.png) [@Shadow](https://community.homey.app/u/Shadow)\
**Post date:** [October 11, 2020, 3:06pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/239 "2020-10-11T15:06:37Z")

</div>

Hello,

i have installe the version 2.0.13, and have the error “request failed status code 401”  
Have testet all connection url, with the sync speed 10, 15 and 30.

Have changed the password.

I have the conexoon box.

Thanks for help

---

<div class="post-metadata">

**Author:** ![Baldhor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baldhor/32/27028_2.png) [@Baldhor](https://community.homey.app/u/Baldhor)\
**Post date:** [October 11, 2020, 3:08pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/240 "2020-10-11T15:08:22Z")

</div>

did you try the oAuth checkbox with default url ?

---

<div class="post-metadata">

**Author:** ![Shadow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shadow/32/23280_2.png) [@Shadow](https://community.homey.app/u/Shadow)\
**Post date:** [October 11, 2020, 3:17pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/241 "2020-10-11T15:17:21Z")

</div>

When i check the oAuth new login method i have the error code 400…

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [October 11, 2020, 3:27pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/242 "2020-10-11T15:27:38Z")

</div>

I had similar issues. I solved it bij switching the App off for 3 hours. I think too many failed logins blocked something temporarily.

---

<div class="post-metadata">

**Author:** ![Shadow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shadow/32/23280_2.png) [@Shadow](https://community.homey.app/u/Shadow)\
**Post date:** [October 11, 2020, 3:48pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/243 "2020-10-11T15:48:25Z")

</div>

ok turn off

[Previous page](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206.md?page=11)

[Next page](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206.md?page=13)
