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

Hi Adrian, the problem came back today with test version 4.0.158. I sent a report from the app around 08:40 Danish time, before restarting the app, so it should show the error while it was happening. Restarting the app fixed it again.

Sorry, I can’t find any log, but I have found a potential race condition when a token expires and a device tries to get a device status.
I will be testing the fix and then publish an update, hopefully today.

Hello Adrian,

noticed that my roller shutter were not open this morning and I’ve noticed that I the Homey app was not anymore connected to Somfy. Trying to reconnect is raising the following error message:

Error: Cannot read properties of null (reading ‘authenticated’)

Any idea? I have not touched the Somfy/Tahoma app, configuration, and flows for some time. Everything was running very smoothly in the past.

Have you tried restarting the app or rebooting Homey?

Which version of the app are you using?

That is emabarsassing
 A restart of Homey made it possible to me to log in again.

Still weird as I’ve restartet the app before. Additionally, I’ve placed my Homey elsewhere in the house so it was restarted the day before a few times due to the fact that it was without power.

Anyhow, thanks for looking at my post.

If it happens again, send a log from the app settings as soon as you notice and I will see if I can spot the cause.

The problem came back this morning. My Homey auto-updated to test version 4.0.163 yesterday at 13:29 Danish time, so it was already running that version when the blinds didn’t open.

Can you send the log from the app settings page as soon as you notice it has happened.

OK, I’ll send the information log from the app settings as soon as it happens again. Last time I used the diagnostic report in the Homey app instead, which is probably why you couldn’t find anything.

Yes, the Homey diagnostic log is very limited if the app hasn’t actually crashed.

I have the same login problem. And the blinds are nor responding. I will try to restart homey

Edit. Restarting homey and login again in the app has worked.

Hi Adrian,

The blinds still don’t open reliably with the latest test version. I tried to send the information log from the app settings as you asked, but it says there is no log to send, even though logging is enabled.

I hope you can find out what’s wrong, because it’s quite impractical not to know whether the blinds have actually opened or closed on a given day.

Was logging enabled all the time or did you turn it on and then click Send?

When I have the log enabled it starts filling up straight away, so if your was empty that is very strange.

Could you make sure the Log enabled option is set and then wait for the issue to occur again. The log is self limiting on a first-in-first-out loop, so it won’t keep consuming memeory.

Logging was enabled, and I could see text in the log last Sunday. I haven’t changed anything, but my Homey reboots every night as part of my setup. Could the reboot reset the log or the setting? If so, maybe the app could keep the log after a restart, or send it automatically when the connection to Somfy fails. That would make it much easier for me, as the settings page is hard to use with a screen reader.

The log does reset when the app restarts. This is a safety measure in case the memory is low and the size of the log is causing the app to restart.

I like the idea of an option to automatically send the log if there is an error, so I will look in to an option for that as it needs to opt-in.