New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BadCredentialsException while using correct credentials #278
Comments
Hey man, it's me again. I'm seeing the same issue since yesterday. I can see an update on the TaHoma box that happened yesterday. Anything I can do to help? |
I've also seen this a couple of times for a week (or so) |
This comment has been minimized.
This comment has been minimized.
Could you check via tahomalink.com which firmware you are running? I am running Currently there is not much you can do to help.. @tetienne has reached out to his contacts at Somfy to understand if we need to lower our polling interval. However, I believe that our default of 30 is a pretty decent interval and that there could be other issues at Somfy's side. Try lowering the update interval or removing the integration for a while. Afterwards you can add it back, and try to set the update interval to 60 seconds for example. @vdheidenet just to be sure, are you using Home Assistant with this plugin or are you using homebridge? I see that you posted in the homebridge issue as well. |
Of course. I am running the same version 4.4-16. Interval is currently at 1200 seconds which had worked fine the last few weeks. I'll set it down to 30 and reset the HASS |
An interval of 1200 is fine as well, that should even be better than 30! Are you facing this error all the time, or does it just show up in your log a few times? |
Hey, since it started I haven't been able to move a single cover via HASS, so basically all the time. Neither via direct control nor via automation nor via calling a scene. |
Strange! After the reboot just now I was able to establish a connection and move a cover for the first time since yesterday. Let's see if it stays like that. |
@iMicknl, darn you're absolutely correct. I experience the same issue with a similar Homebridge Plugin. But nevertheless, this problem is not specific for this HA-plugin, but also for HomeBridge plugins. So it looks like Somfy has changed the website/API (again). |
had/ have the same issue. |
Unfortunately We are working on #280 to make sure that we stop calling the Somfy server when they throw 'Bad Credentials'. After some hours the user could reauth in Home Assistant, which should fix the issue. I will put an update here when #280 is ready for a beta test. In case you have issues at the moment, it would be good to understand the update interval set via |
Hi, I just had a noteworthy moment. So I think there is something on their server not working well and nothing related to this component |
Interesting! My error may have gone away yesterday after I logged into their web interface as well... |
I see that I faced it once again in my log, however the event listener was able to recover from it.
|
I haven't seen this in the past few days. I also did a lot of restarts as I did a lot of improvements to my setup (adding sensors and improving UI's). |
I've had this start happening with my Australian Connexion unit. Occasionally it would happen once or twice a day and no issue, the integration would still work fine. However tonight, I'm not able to use it anymore, with the error '[custom_components.tahoma] invalid_auth' on HA start. I did get a couple of the 'pyhoma.exceptions.BadCredentialsException: Bad credentials' prior to the blinds stop working. My update interval was set at 60 seconds, even though these blinds are stateless so just show up as unknown. |
@callifo I would advise for now to keep your update_interval on a high value (for example weekly). We need to have a look if we can set / disable the update interval for user with only RTS devices (and thus for users with the Connexoon RTS hub). Are you still blocked, or does it work already? |
It came back after about 24 hours, I did not have to get a new IP or anything. Is this some form of blocking due to constant polling? I have set it to weekly and will see how it goes again. I have still be getting these irregularly at the time when I set HA to open my blinds in the morning, it opens four blinds,
However the blinds open fine. |
Describe the bug
Currently the coordinator is failing on
BadCredentialsException
for some users, which is not caused by bad credentials...I have seen the situation myself, however it only happened 5 times.
Another user on the community forum has the same issues, where it looks like his IP is blocked.
Both of them started September 28 at 20:27, which could be a coincidence or caused by an update on Somfy's side.
To Reproduce
Not sure how to reproduce...
Environment (please complete the following information):
Additional context
homebridge-tahoma mentions the same issue: dubocr/homebridge-tahoma#204
The text was updated successfully, but these errors were encountered: