yenoiwesa / homebridge-connexoon

A homebridge plugin to integrate Somfy blinds with the Connexoon RTS hub
Apache License 2.0
27 stars 2 forks source link

Connexoon plugin failing out of the blue #75

Closed gagakrimang closed 1 year ago

gagakrimang commented 1 year ago

Been using the Connexoon plugin without issues for the past couple of months. Out of the blue yesterday, it shows no response on my Home app.

Here are the things I did:

  1. Logged out and logged in to controlled my blinds via the Somfy app - Successful
  2. Logged in via www.somfy.com.sg/login - Successful
  3. Restarted Homebridge - failed
  4. Uninstalled Connexoon plugin and reinstalled and putting in all correct credentials - failed

Every time it fails, it shows this error:

[Connexoon] Logged in successfully via Somfy OAuth [1/20/2023, 10:17:47 AM] [Connexoon] Failed to get device list { errorCode: 'RESOURCE_ACCESS_DENIED', error: 'Too many attempts with an invalid token, temporarily banned.' } [1/20/2023, 10:17:47 AM] [Connexoon] Could not initialise platform, will retry in 5 min

yenoiwesa commented 1 year ago

We've seen this in the past. The TL;DR is that the Somfy server probably went down (for maintenance or an incident) and the plugin tried to reconnect while it was down. Eventually the service went back up but Somfy recorded the many login attempts as suspicious and your account got banned (when logging in with the specific access token the plugin uses).

The only option now is to wait a bit before re-enabling the plugin (24 hours or so).

jdebardi commented 1 year ago

Mine is also stuck - it's what prompted me to make this comment https://github.com/yenoiwesa/homebridge-connexoon/issues/74#issuecomment-1397210055 as it would solve Somfy's less than stellar server availability.

ThomasK78 commented 1 year ago

Hello, same problem.

yenoiwesa commented 1 year ago

Yep sorry guys as usual, can't help with that unfortunately. You'll just have to wait.

yenoiwesa commented 1 year ago

Is the issue fixed for you all now? Can I close the issue?

jdebardi commented 1 year ago

Yep, once I disabled the plugin for 24h it all worked again.

yenoiwesa commented 1 year ago

Thanks @jdebardi