-
Notifications
You must be signed in to change notification settings - Fork 2
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
Problem with the Integration #21
Comments
Yes, I have both except Automower Connect. |
Logger: gardena.smart_system 403 : {'message': 'Forbidden'} |
i did the installation manually. Could something have gone wrong there? |
Normaly the installation is only need over the settings -> integration gui in hass normaly you need no manual settings in configuration.yaml if you have settings for gardena please comment it out an make the integration settings direct with the gui |
Thanks for your help. please tell me what to do :) |
I entered the text below. And the only thing that was a little bit strange was the last line. I didn't get answer in the terminal. I don't know if that is normal or not. Anyway.. i can see that i have everthing installed in the folder custom components. cd /// |
My external was already there. I have updated with my internal now, but it doesn't help :( |
Still get this error: Logginformation (ERROR) Unexpected exception |
Why do you have do so much? i‘ve only install it over hacs (You can otherwise copy the Filens manual in the custom_integrations folder) and make the settings over the settings-> integration -> search vor the integration and it works propably. 🤔 |
I have now installed it with HACS. Still doesn't work. Nothing happens after i click OK. I type in mail, pw and token, but nothing happens when i click OK :( |
i get this: Logginformation (ERROR) Unexpected exception |
Did you really enter it like this? |
This exception comes from bad handling of the response, which may hide the real issue. |
Could you open an issue in the new repository (py-smart-gardena/hass-gardena-smart-system) and continue there please? |
Hi,
When i click on the integration "Gardena Smart System" and enter my API key and password, nothing happens.
I get this error message:
Logger: custom_components.gardena_smart_system.config_flow
Source: custom_components/gardena_smart_system/config_flow.py:132
Integration: Gardena Smart System (documentation)
First occurred: 18:05:30 (1 occurrences)
Last logged: 18:05:30
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/gardena_smart_system/config_flow.py", line 70, in async_step_user
user_input[CONF_CLIENT_ID])
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/gardena_smart_system/config_flow.py", line 132, in try_connection
smart_system.authenticate()
File "/usr/local/lib/python3.7/site-packages/gardena/smart_system.py", line 102, in authenticate
client_id=self.client_id,
File "/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 360, in fetch_token
self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
validate_token_parameters(params)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 438, in validate_token_parameters
raise_from_error(params.get('error'), params)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/errors.py", line 405, in raise_from_error
raise cls(**kwargs)
oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant) The provided access grant is invalid, expired, or revoked.
The text was updated successfully, but these errors were encountered: