Comments (10)
HA restarted?
from hass-gardena-smart-system.
Yes, multiple times.
from hass-gardena-smart-system.
Which HA installation?
Older Gardena installation in parallel?
Really „Connect new API“ pressed ?
from hass-gardena-smart-system.
HA Install: Supervised HA on Ubuntu
Older: no
Really: yes, if I'm not misunderstanding anything:
Checked logs again:
Logger: gardena.smart_system
Source: custom_components/gardena_smart_system/config_flow.py:133
First occurred: 14:54:37 (2 occurrences)
Last logged: 14:56:16
403 : {'message': 'Forbidden'}
also this:
Logger: custom_components.gardena_smart_system.config_flow
Source: custom_components/gardena_smart_system/config_flow.py:133
Integration: Gardena Smart System (documentation)
First occurred: 14:54:37 (3 occurrences)
Last logged: 15:01:24
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 133, in try_connection
smart_system.update_locations()
File "/usr/local/lib/python3.7/site-packages/gardena/smart_system.py", line 157, in update_locations
if len(response_data["data"]) < 1:
KeyError: 'data'
I copy/paste all details, and even retried via curl (still works that way) - I don't get it :-/
from hass-gardena-smart-system.
Could you try to reconnect the api? Delete the actual one and create a new?
from hass-gardena-smart-system.
For application key/client ID, did you copy and use the application key or the application secret? The correct one is application key, the one you can also see here: https://developer.husqvarnagroup.cloud/apps
from hass-gardena-smart-system.
I'm getting the same error:
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 133, in try_connection
smart_system.update_locations()
File "/usr/local/lib/python3.7/site-packages/gardena/smart_system.py", line 157, in update_locations
if len(response_data["data"]) < 1:
KeyError: 'data'
from hass-gardena-smart-system.
@osks yes, using key not secret
@thecem did you mean disconnecting the api's from the app? Did that now, also updated to current version of the integration, HA reboot, again an issue, but a new one:
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: 12:40:42 (1 occurrences)
Last logged: 12:40:42
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 441, in validate_token_parameters
raise MissingTokenError(description="Missing access token parameter.")
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.
from hass-gardena-smart-system.
Could you open an issue in the new repository (py-smart-gardena/hass-gardena-smart-system) and continue there please?
from hass-gardena-smart-system.
Will do - and also reinstall/resetup everything before that. Thank you.
from hass-gardena-smart-system.
Related Issues (17)
- Testing HOT 11
- Full set of mower commands HOT 10
- Missing Error status for Gardena Mower HOT 4
- Version in HACS is a littlebit curious HOT 6
- Wrong translation or status „cleaning“ HOT 2
- Can't start the mower HOT 5
- RFC: Additional attribute for mower devices HOT 3
- Can´t find the Integration HOT 12
- Support for official HA Integration HOT 1
- Problem with the Integration HOT 17
- Moving this repository HOT 2
- Gardena
- Irrigation Control: Switch doesn't represent valve status. HOT 14
- Battery sensor: not added as sensor HOT 1
- Serial missing HOT 5
- Unable to add Integration (version f1d5810) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-gardena-smart-system.