-
Notifications
You must be signed in to change notification settings - Fork 11
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
Authentication #9
Comments
any update? |
It seems indeed that Somfy changed the API a bit. It is unfortunately a major risk when using undocumented APIs. I am currently investigating and trying to find a workaround. OK, this is confirmed. Somfy implemented a request limit to its login API. The logic of the module must be reviewed so it doesn't trigger a new login before every call. I will work on that. |
I have pushed a fix for that "Too many requests" error. This is also published on NPM. Please update the plugin. |
I still get this error (Too many requests, try again later : login with) after the update. I think the login of a node like this must now be done as follows (Somfy API Docs):
|
I seem to be having an issue since yesterday. I believe its related to authentication.
The module only works every now and then. It seems to no longer authenticate my requests.
For example this morning i opened the blinds and now a few mins later i am unable do open or close anything else. When i check the config no devices are listed in the drop down.
I checked the JavaScript used and created a python script (i don't really know JavaScript) to authenticate.
I found that the first run of the code i get a 200 response, if i run it again i get 401 responses. I am curious if tahome have changed something, or if we should be using some kind of authentication tokens or such.
The text was updated successfully, but these errors were encountered: