Comments (24)
Hi,
Gardena renew the Portal.
You have to Login to the dev Portal of Gardena and autorize the App to communicate with API. You get the Question by Login.
After that i have deleted the old API cretentials and create new cretentials with New Application Key / Client ID and Application secret / client secret.
At the end i deleted the integration in Home Assistant and Install it New with the New cretentials.
And now it works again in Home Assistant ;-).
Good luck.
from hass-gardena-smart-system.
Same problem here:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: gardena.smart_system Source: custom_components/gardena_smart_system/init.py:86 Integration: Gardena Smart System integration (documentation, issues) First occurred: 15:02:03 (10 occurrences) Last logged: 15:06:34
403 : {'Message': 'User is not authorized to access this resource with an explicit deny'}I get the same message. Tried all suggestions but it simple does not work.
Are you sure about that? At first I thought adding the new APIs is enough but that didn't work for me.
Delete the Application, click on "NEW APPLICATION" fill out the information and connect the "Authentication API" and "GARDENA smart system API".
After that connect the integration in HA again.
from hass-gardena-smart-system.
Same here. It works again.
from hass-gardena-smart-system.
You can use "http://localhost:8080" for redirect url
from hass-gardena-smart-system.
Just a note: I didn't have to create new application. Only went to My Applications -> SHOW MORE on my application -> CONNECT NEW API and added all available APIs. After that I simply restarted Home Assistant and everything works again.
from hass-gardena-smart-system.
Same problem here, 1.0.0 as well as recent 1.0.1 has the same problem.
2023-05-03 14:22:06.599 ERROR (MainThread) [gardena.smart_system] 403 : {'Message': 'User is not authorized to access this resource with an explicit deny'}
2023-05-03 14:22:06.600 INFO (MainThread) [gardena.smart_system] Backing off __call_smart_system_get(...) for 3.4s (httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://httpstatuses.com/403)
from hass-gardena-smart-system.
Same problem here:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: gardena.smart_system
Source: custom_components/gardena_smart_system/init.py:86
Integration: Gardena Smart System integration (documentation, issues)
First occurred: 15:02:03 (10 occurrences)
Last logged: 15:06:34
403 : {'Message': 'User is not authorized to access this resource with an explicit deny'}
from hass-gardena-smart-system.
Same problem here: Home Assistant 2023.3.6
gardena.smart_system 1.0.1
from hass-gardena-smart-system.
Same problem here
from hass-gardena-smart-system.
Same problem here (HA: 2023.2.2)
from hass-gardena-smart-system.
Same problem here
Home Assistant 2023.4.0
OS 10.1
from hass-gardena-smart-system.
Hi,
Gardena renew the Portal.
You have to Login to the dev Portal of Gardena and autorize the App to communicate with API. You get the Question by Login.
After that i have deleted the old API cretentials and create new cretentials with New Application Key / Client ID and Application secret / client secret.
At the end i deleted the integration in Home Assistant and Install it New with the New cretentials.
And now it works again in Home Assistant ;-).
Good luck.
from hass-gardena-smart-system.
@sashgithub Thank you it works again.
from hass-gardena-smart-system.
I cannot get it to work again, what am i doing wrong.......
Do I need to cfreate an new app, and if so what is the redirect url?
from hass-gardena-smart-system.
Tnx!!!!!
from hass-gardena-smart-system.
Thanks @sashgithub for the reactivity on solving the issue !
Awesome <3
from hass-gardena-smart-system.
fixed by authorizing after login.
deleting the app in HA
setting it up again.
Same secret etc. from developer husqvarna.
from hass-gardena-smart-system.
Same issues, same fix , Thanks !
from hass-gardena-smart-system.
Hi,
Gardena renew the Portal. You have to Login to the dev Portal of Gardena and autorize the App to communicate with API. You get the Question by Login.
After that i have deleted the old API cretentials and create new cretentials with New Application Key / Client ID and Application secret / client secret.
At the end i deleted the integration in Home Assistant and Install it New with the New cretentials.
And now it works again in Home Assistant ;-).
Good luck.
Thank you, this works again for me.
from hass-gardena-smart-system.
Same problem here:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: gardena.smart_system Source: custom_components/gardena_smart_system/init.py:86 Integration: Gardena Smart System integration (documentation, issues) First occurred: 15:02:03 (10 occurrences) Last logged: 15:06:34
403 : {'Message': 'User is not authorized to access this resource with an explicit deny'}
I get the same message. Tried all suggestions but it simple does not work.
from hass-gardena-smart-system.
Same problem here:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: gardena.smart_system Source: custom_components/gardena_smart_system/init.py:86 Integration: Gardena Smart System integration (documentation, issues) First occurred: 15:02:03 (10 occurrences) Last logged: 15:06:34
403 : {'Message': 'User is not authorized to access this resource with an explicit deny'}I get the same message. Tried all suggestions but it simple does not work.
Are you sure about that? At first I thought adding the new APIs is enough but that didn't work for me.
Delete the Application, click on "NEW APPLICATION" fill out the information and connect the "Authentication API" and "GARDENA smart system API".
After that connect the integration in HA again.
Golden tip .TNX got it working.
from hass-gardena-smart-system.
Hello.
This seems completely broken at the moment. I tried all the suggestions above but when I enter my credentials, I get this:
2023-05-06 20:20:56.299 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration gardena_smart_system which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-05-06 20:30:58.347 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for gardena_smart_system
File "/config/custom_components/gardena_smart_system/__init__.py", line 49, in async_setup_entry
File "/config/custom_components/gardena_smart_system/__init__.py", line 86, in start
2023-05-06 20:33:24.227 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for gardena_smart_system
File "/config/custom_components/gardena_smart_system/__init__.py", line 49, in async_setup_entry
File "/config/custom_components/gardena_smart_system/__init__.py", line 86, in start
2023-05-06 20:36:04.264 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for gardena_smart_system
File "/config/custom_components/gardena_smart_system/__init__.py", line 49, in async_setup_entry
File "/config/custom_components/gardena_smart_system/__init__.py", line 86, in start
2023-05-06 20:40:35.859 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for gardena_smart_system
File "/config/custom_components/gardena_smart_system/__init__.py", line 49, in async_setup_entry
File "/config/custom_components/gardena_smart_system/__init__.py", line 86, in start
2023-05-06 20:41:34.178 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for gardena_smart_system
File "/config/custom_components/gardena_smart_system/__init__.py", line 49, in async_setup_entry
File "/config/custom_components/gardena_smart_system/__init__.py", line 86, in start
from hass-gardena-smart-system.
m33ts4k0z
Have you tried reinstalling the Gardena HACS Integration or maybe there is an update available for you?
Looks like everyone (?) else got it working again.
from hass-gardena-smart-system.
Same problem, "Gardena smart system connection - disconnected". So I just restarted Home Assistant and then it worked again, no need to reconfigure keys. Maybe there is need for some kind of keep-alive or refresh token/connection functionality?
from hass-gardena-smart-system.
Related Issues (20)
- Values which will be removed in HA Core 2025.1 HOT 2
- Gardena integration not available/loaded HOT 22
- The method for providing platform translations has changed in Home Assistant Core HOT 2
- Invalid flow specified HOT 5
- Gardena - Needs attention HOT 13
- Supported Feature will be removed in 2025.1 HOT 7
- Need possibility to start stop mower with or not schedule HOT 1
- Initialization failed
- Added and installed integration, but no setup or Gardena available HOT 2
- How to install v. 1.10 or beta? HOT 3
- Not refreshing values on humidity sensor HOT 10
- Please update version number.
- Error starting integration HOT 1
- Randomly stops updating? HOT 9
- Gardena sensor wrong device class humidity instead of moisture
- ReadTimeout Error while running automation HOT 18
- Integration still maintained? HOT 9
- Detected that custom integration 'gardena_smart_system' calls async_forward_entry_setup HOT 2
- Integration stopped working HOT 1
- Error by Setup Client id
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.