# \[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:** 15

<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 12, 2020, 4:57pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/284 "2020-10-12T16:57:10Z")

</div>

> [@rvdeijk](#):
>
> When I press Voorkeuren opslaan (Save preferences) I’m not seeing a feedback message like: The preferences have been saved. So I think that feedback message is broken?

It looks like there is a bug in the Homey app. Even the alert message is not showing in the app, but it does work in the dev portal. Also, the setting is being saved so the button click is working.  
It looks like a problem when the screen must scroll down to see the button.  
I will report it to Athom to see what they say.

---

<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 12, 2020, 6:22pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/285 "2020-10-12T18:22:53Z")

</div>

> [@Adrian\_Rockall](#):
>
> Even the alert message is not showing in the app

I do see an alert message when I fill something in that is less than 10 seconds:

 ![Screenshot_20201012-202016_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0e3c4f616b8b7856a4ab0364c923ef8aaf0e9ca3.jpeg)

I just don’t get a confirmation that the preferences are saved when I fill something in that is higher than 10 seconds.

---

<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 12, 2020, 7:10pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/286 "2020-10-12T19:10:15Z")

</div>

That’s even more strange as the code for both is the same. I will take another look to be sure.

---

<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 12, 2020, 9:16pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/287 "2020-10-12T21:16:45Z")

</div>

Version 2.1.0 is now in test and submitted for release.  
Athom don’t like long change logs so it is summarised as:

> “Reduced the load on the Somfy servers as per the email from Somfy. Added an option for new login method to fix issues with logging into some accounts. Added extra log tabs for diagnostics.”

Now just to wait for the flak as nearly 2000 user update 🥴

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [October 13, 2020, 9:33am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/288 "2020-10-13T09:33:04Z")

</div>

I have a Connexoon-box which controls 6 Velux IO roof windows and 10 Velux IO blinds.  
Updated to 2.1.0, restarted app - that’s it. Everything works perfect! 😀

Adrian - Thanks for a tremendous work! 👏

---

<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 13, 2020, 9:45am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/289 "2020-10-13T09:45:25Z")

</div>

> [@Adrian\_Rockall](#):
>
> The message also mentioned that they only sent emails to the to ~1200 heaviest users.

I received the e-mail, but only have 6 Somfy / Velux IO-devices  
3 windows like these:

 ![Schermafbeelding 2020-10-13 om 11.42.47](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/5/f598163f6d4ab7970c2672966c90c9cd3aaa2eb0.png)

and 3 sunblocking curtains inside them:

 ![Schermafbeelding 2020-10-13 om 11.43.00](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/553bf7a86412f97fa83f54604786b3b697e8f571.jpeg)

How is it possible that I created that much traffic on their server?

---

<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 13, 2020, 10:00am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/290 "2020-10-13T10:00:20Z")

</div>

> [@Eternity](#):
>
> How is it possible that I created that much traffic on their server?

It’s the way the old app worked. It would grab a huge JSON object that contained every device and for each it had a lot of information such as the current values (all that we actually needed), a list of the possible commands that could be sent and the format of the values that can be retrieved, etc. That data could be in the region of 1MB. If you had a sync setting of 10 seconds then it would be fetching that every 10 seconds.

The new method fetches just the current values when the app starts up (around 1 KB) and then just the changes that have occured since the last request. Most of the time nothing has changed so that just take about 100 bytes to communicate. When something does change the packet is about 500 bytes. So the new method sees a huge reduction in the amount of data.

---

<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 13, 2020, 10:12am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/291 "2020-10-13T10:12:07Z")

</div>

> [@Adrian\_Rockall](#):
>
> If you had a sync setting of 10 seconds then it would be fetching that every 10 seconds.

I only have roller shutters, so I increased the sync setting to 600 seconds (10 minutes). Then probably Im not an heavy user anymore, beside the huge reduction in the amount of data.  
When I control the covers outside homey (remote or connexoon) then in the worst case it takes 10 minutes before the state is known in homey. It’s a roller shutter, so not a big deal in my case.  
When I control the shutters inside homey, then it would be nice that homey do some fetch after X seconds. not sure if that would be possible?

I also tried 2.1.0 (I had 2.0.17) and the first time I moved the roller shutter I got a quick 401 error message, the second time I moved the same device it went well. So not sure what exactly happened. This is the info log when I receive that error:

```
[
  {
    "time": "2020-10-13T10:13:15.519Z",
    "source": "post",
    "data": {
      "message": "Request failed with status code 401",
      "stack": "/exec/apply"
    }
  }
]

```

---

<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 13, 2020, 10:18am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/292 "2020-10-13T10:18:55Z")

</div>

The 2.1.0 not work !

Error not be found…?

---

<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 13, 2020, 10:22am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/293 "2020-10-13T10:22:31Z")

</div>

Try to restart the app, it looks like there is an issue after the update.

> [@Krisstenswe](#):
>
> Updated to 2.1.0, restarted app - that’s it. Everything works perfect!

I did a restart and my 401 error is gone from my previous post. I try some more.

Edit2: I reproduced the issue

 ![20201013_133351](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/b/eb7b1ba27f92b2195d9cafd18ece4982cbf3a1d4.jpeg)  
Same log:

```
[ 
 {
    "time": "2020-10-13T11:27:12.003Z",
    "source": "Fetch Events",
    "data": {
      "message": "Complete",
      "stack": []
    }
  },
  {
    "time": "2020-10-13T11:32:02.202Z",
    "source": "post",
    "data": {
      "message": "Request failed with status code 401",
      "stack": "/exec/apply"
    }
  }
]

```

It seems to happen after being idle for a while. Immediately after the error and I press the device tile again the cover move. Maybe related that I switched from 10sec sync speed to 600sec sync speed?

---

<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 13, 2020, 10:23am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/294 "2020-10-13T10:23:17Z")

</div>

I think there might be an issue with Homey’s on 4.1 and lower firmware.  
It appears I have used a feature that is not available on the old Node.js.

I am fixing it now and will get a ne version out ASAP.

---

<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 13, 2020, 10:25am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/295 "2020-10-13T10:25:28Z")

</div>

> [@Adrian\_Rockall](#):
>
> issue with Homey’s on 4.1 and lower firmware.

I have 4.2.0? 🤔 but maybe another error then Andreas (Shadow)

---

<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 13, 2020, 10:32am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/296 "2020-10-13T10:32:11Z")

</div>

I have 4.2.0 on Homey.

Restart Homey, restart the app…The login and passwort is not registrated when i clos the app and return in the app.  
On page with apps on Homey, the Somfy app has a signe with “II” (paused)!

excuse me for me english…

 ![Screenshot_20201013-124803](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/1/4102f347224840d0b8e856df2eb00a565aebbeeb.png) ![Screenshot_20201013-124911](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/4560c2e34bd0f1d3e265da8f1b8604f463dd2514.png)

---

<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 13, 2020, 10:55am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/297 "2020-10-13T10:55:26Z")

</div>

Could it be that you saw this after you restarted homey? Cause then the apps are still loading / starting. The II sign should disappear within a minute. Or there is an error and @Adrian_Rockall can maybe help, then it looks like the app crashed?

I also see you aren’t logged in. Fill in your credentials (username/password), use default server and OAuth off and log in. If it does not work then try with OAuth on.

---

<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 13, 2020, 11:00am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/298 "2020-10-13T11:00:30Z")

</div>

The pictures are after we restart homey and app.

I have deactivated the app for few minutes, when i restart the app i have the same problems.

When i fil the username and password with wnd without the oAuth a have the error : failed to login and error not found.  
D’ont fil the username and password the same errors

---

<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 13, 2020, 11:09am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/299 "2020-10-13T11:09:16Z")

</div>

Maybe you can have a look at the logs if you see some error over there that can help. And otherwise I suggest to create a diagnostic report and send the code to Adrian. Maybe the app crashes somehow on your homey. or @Adrian_Rockall is a diagnostic report not needed and if it crashes you would have got a crash report automatically?

---

<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 13, 2020, 11:11am UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/300 "2020-10-13T11:11:11Z")

</div>

I have uninstall the Somfy app and install the app, the login is good but i must integrated all my blinds and Velux…

---

<div class="post-metadata">

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

</div>

I also have Homey version 4.2.0.  
The reason I restarted the app after updating to 2.1.0, is that I always restart an app after install/upgrade - something I have learned is a good thing to do over the last 4 years running Homey. 😇

---

<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 13, 2020, 12:02pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/302 "2020-10-13T12:02:44Z")

</div>

So far I have 10 crash reports, all on 4.1 or lower and all with the same thing:

> /lib/Tahoma.js:13  
> static loginAttempts = 0;  
> ^
> 
> SyntaxError: Unexpected token =

I didn’t realise the static keyword was introduced on the Homey 4.2 update with Node.js 12.  
There is a new test version now and waiting for it to be published.

Hopefully there is nothing else that the earlier Homey’s don’t like as they won’t show up until it can get past this problem.

---

<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 13, 2020, 12:38pm UTC](https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-124-test-v4-0-152/35206/303 "2020-10-13T12:38:48Z")

</div>

But how backwards compatible do you need to be as a developer?  
At the end people should upgrade to at least 4.2.0 if they are still on 4.1.0.  
Or do I say something strange.

Any idea why I got [401 error messages](https://community.homey.app/t/somfy-tahoma-connexoon-v2-0-3-test-v2-1-0/35206/293)?  
It seems to be related when I switched from 10 to 600 sync speed.  
Cause when I switch back from 600 to 10, then the 401 message do not appear anymore. (for now)

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

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