AdyRock / com.somfy.tahoma

Somfy TaHoma app for Homey
GNU General Public License v3.0
7 stars 3 forks source link

somfy Tahoma switch not working anymore with this app. #130

Open Koen89 opened 1 year ago

Koen89 commented 1 year ago

goodday!

i came home last week and found all my somfy equipment not working anymore in homey Pro(early 2023). Tahoma

Screenshot_20230723-112158

this is for for everything connected to the tahoma switch. If i use the Tahoma app itself, there is not any problem controlling the sun screens or blinds.

50f64fa9-0db1-494a-80ad-5b30622393a6

i hope you can have a look at this.

kind regards Koen

runely commented 1 year ago

I had the same exact problem with a screen. The device worked as intended through the TaHoma app from Somfy but not from the homey app.

I haven’t changed my login info.

After logging out and back in again in the homey app it works again.

This is from the Information Log tab in the Homey app before it worked:

[
  {
    "time": "2023-07-19T10:26:04.684Z",
    "elapsed": 32331.037,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:26:34.936Z",
    "elapsed": 30.252,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:27:05.162Z",
    "elapsed": 30.226,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:27:35.393Z",
    "elapsed": 30.231,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:28:05.648Z",
    "elapsed": 30.255,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:28:35.883Z",
    "elapsed": 30.235,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:29:06.145Z",
    "elapsed": 30.262,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:29:36.376Z",
    "elapsed": 30.231,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:30:06.604Z",
    "elapsed": 30.228,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:30:36.844Z",
    "elapsed": 30.24,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:31:07.102Z",
    "elapsed": 30.258,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:31:37.357Z",
    "elapsed": 30.255,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:32:07.607Z",
    "elapsed": 30.25,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:32:37.852Z",
    "elapsed": 30.245,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:33:08.094Z",
    "elapsed": 30.242,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:33:38.329Z",
    "elapsed": 30.235,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:34:08.610Z",
    "elapsed": 30.281,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:34:38.874Z",
    "elapsed": 30.264,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:35:09.107Z",
    "elapsed": 30.233,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:35:39.359Z",
    "elapsed": 30.252,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:36:09.609Z",
    "elapsed": 30.25,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:36:39.836Z",
    "elapsed": 30.227,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:37:10.093Z",
    "elapsed": 30.257,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:37:40.446Z",
    "elapsed": 30.353,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:38:10.694Z",
    "elapsed": 30.248,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:38:40.937Z",
    "elapsed": 30.243,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:39:11.212Z",
    "elapsed": 30.275,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:39:41.411Z",
    "elapsed": 30.199,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:40:11.652Z",
    "elapsed": 30.241,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:40:41.897Z",
    "elapsed": 30.245,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:41:12.116Z",
    "elapsed": 30.219,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:41:42.395Z",
    "elapsed": 30.279,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:42:12.613Z",
    "elapsed": 30.218,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:42:42.863Z",
    "elapsed": 30.25,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:43:13.067Z",
    "elapsed": 30.204,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:43:43.311Z",
    "elapsed": 30.244,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:44:13.556Z",
    "elapsed": 30.245,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:44:43.815Z",
    "elapsed": 30.259,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:45:14.057Z",
    "elapsed": 30.242,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:45:44.315Z",
    "elapsed": 30.258,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:46:14.568Z",
    "elapsed": 30.253,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:46:44.882Z",
    "elapsed": 30.314,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:47:15.126Z",
    "elapsed": 30.244,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:47:45.366Z",
    "elapsed": 30.24,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:48:15.629Z",
    "elapsed": 30.263,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:48:45.866Z",
    "elapsed": 30.237,
    "source": "Register Events",
    "data": "Parse Error: Invalid header value char"
  },
  {
    "time": "2023-07-19T10:49:22.015Z",
    "elapsed": 36.149,
    "source": "Tahoma OAuth Login",
    "data": "Error: Request failed with status code 401"
  },
  {
    "time": "2023-07-19T10:49:22.019Z",
    "elapsed": 0.004,
    "source": "Register Events",
    "data": "Request failed with status code 401"
  },
  {
    "time": "2023-07-19T10:51:15.695Z",
    "elapsed": 113.676,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-19T10:51:15.699Z",
    "elapsed": 0.004,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-19T12:46:36.036Z",
    "elapsed": 6920.337,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-19T12:46:36.041Z",
    "elapsed": 0.005,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-20T12:19:38.753Z",
    "elapsed": 84782.712,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-20T12:19:38.764Z",
    "elapsed": 0.011,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-21T05:57:41.228Z",
    "elapsed": 63482.464,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-21T05:57:41.236Z",
    "elapsed": 0.008,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-21T12:52:36.204Z",
    "elapsed": 24894.968,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-21T12:52:36.212Z",
    "elapsed": 0.008,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-22T10:35:48.513Z",
    "elapsed": 78192.301,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-22T10:35:48.520Z",
    "elapsed": 0.007,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T12:38:38.581Z",
    "elapsed": 93770.061,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T12:38:38.590Z",
    "elapsed": 0.009,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T19:53:10.467Z",
    "elapsed": 26071.877,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsSet",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T19:53:10.474Z",
    "elapsed": 0.007,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T19:55:15.507Z",
    "elapsed": 125.033,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsState",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T19:55:15.517Z",
    "elapsed": 0.01,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T20:02:55.610Z",
    "elapsed": 460.093,
    "source": "Screen - TV-stue: onCapabilityWindowcoveringsSet",
    "data": "Failed to send command"
  },
  {
    "time": "2023-07-23T20:02:55.620Z",
    "elapsed": 0.01,
    "source": "Screen - TV-stue",
    "data": "Failed to send command"
  }
]
AdyRock commented 1 year ago

@runely thanks for the update as that one was baffling me.

runely commented 1 year ago

Oh, and I had an update waiting for the connexoon box in the TaHoma app. Not sure if that had any thing to do with it.

I had to log out and back in on the homey app after the update anyway

Koen89 commented 1 year ago

ok, so i logged out and in. tried to move it with homey, still got the error. but curtain was going. now it is working with out error messages again... very strange but so happy i can control them again! 🗡️ this was the solution :) also i never changed log in info. so this comes out of nothing @runely thanks alot!

AdyRock commented 1 year ago

Thanks for the update. I'm still trying to work out where it's going wrong and I have added more information to the Log, so if it happens again it might show me what part of the code is wrong.

JiWo77 commented 1 year ago

Hello, I have the same issue, I have had this multiple times already. I just tried the solution of logging out and relogging in, but it doesn't work for me. I logged out from three devices that were switched on at that moment, and waited for 15 minutes before I logged back in again. This is 10 minutes ago, but I see from my Somfy sun sensor that there still is no connection, since it shows the same light intensity as the past two weeks or so. Adrian: should I log out at a certain time, so that I will be put on a different server of Homey? You told me the similarity of the problem whith a traffic jam of cars in a ringformed road a while ago.

Koen89 commented 1 year ago

i also had the issue again yesterday, because of installation of a charger for electric car mains power had to be switched off. after installation i had to log out and log in again.

Maybe it has to do something with a black out? it must be something like this.

AdyRock commented 1 year ago

Could you enable the log then install the latest test version and then send me the log after the app has started up.

JiWo77 commented 1 year ago

Dear Adrian,

I cannot find a test version of the Tahoma app. Concerning a log: do you mean a diagnostics report? If the procedure with a test version would be a bit time consuming or is not very stable, I rather wait until I receive the new Homey Pro within a couple of days, if that would also solve my problem.

Verzonden vanuit Outlook voor iOShttps://aka.ms/o0ukef


Van: Adrian Rockall @.> Verzonden: Friday, July 28, 2023 5:23:32 PM Aan: AdyRock/com.somfy.tahoma @.> CC: JiWo77 @.>; Comment @.> Onderwerp: Re: [AdyRock/com.somfy.tahoma] somfy Tahoma switch not working anymore with this app. (Issue #130)

Could you enable the log then install the latest test version and then send me the log after the app has started up.

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.somfy.tahoma/issues/130#issuecomment-1655880906, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAVWPJSMRPHL3FSDHFSDYCTXSPKPJANCNFSM6AAAAAA2UMVANQ. You are receiving this because you commented.Message ID: @.***>

AdyRock commented 1 year ago

Sorry, my error. I thought I had published it but obviously not. I will publish it as soon as I get home.

JiWo77 commented 1 year ago

I think I found a solution lately: I pressed the 'install' button of the Somfy Tahoma app web page (on the Homey web page), although I already had installed the app of course. Suddenly the problem was solved, and all Somfy devices are still responding in Homey for at least a week. In the meantime I also received the Homey pro 2023 and the somfy devices also work without a problem on the pro.