Giter Club home page Giter Club logo

Comments (24)

sashgithub avatar sashgithub commented on August 16, 2024 7

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.

Reudo avatar Reudo commented on August 16, 2024 4

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.

Reudo avatar Reudo commented on August 16, 2024 2

Same here. It works again.

from hass-gardena-smart-system.

guennikasse avatar guennikasse commented on August 16, 2024 2

You can use "http://localhost:8080" for redirect url

from hass-gardena-smart-system.

leppa avatar leppa commented on August 16, 2024 1

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.

pduchnovsky avatar pduchnovsky commented on August 16, 2024

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.

mxkissnr avatar mxkissnr commented on August 16, 2024

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.

hegart avatar hegart commented on August 16, 2024

Same problem here: Home Assistant 2023.3.6
gardena.smart_system 1.0.1

from hass-gardena-smart-system.

vedette15 avatar vedette15 commented on August 16, 2024

Same problem here

from hass-gardena-smart-system.

tanderloco avatar tanderloco commented on August 16, 2024

Same problem here (HA: 2023.2.2)

from hass-gardena-smart-system.

guennikasse avatar guennikasse commented on August 16, 2024

Same problem here
Home Assistant 2023.4.0
OS 10.1

from hass-gardena-smart-system.

sashgithub avatar sashgithub commented on August 16, 2024

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.

mxkissnr avatar mxkissnr commented on August 16, 2024

@sashgithub Thank you it works again.

from hass-gardena-smart-system.

vedette15 avatar vedette15 commented on August 16, 2024

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.

vedette15 avatar vedette15 commented on August 16, 2024

Tnx!!!!!

from hass-gardena-smart-system.

grm avatar grm commented on August 16, 2024

Thanks @sashgithub for the reactivity on solving the issue !
Awesome <3

from hass-gardena-smart-system.

Symbiot78 avatar Symbiot78 commented on August 16, 2024

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.

Robbe-B avatar Robbe-B commented on August 16, 2024

Same issues, same fix , Thanks !

from hass-gardena-smart-system.

nopbop avatar nopbop commented on August 16, 2024

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.

Aham330 avatar Aham330 commented on August 16, 2024

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.

Aham330 avatar Aham330 commented on August 16, 2024

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.

m33ts4k0z avatar m33ts4k0z commented on August 16, 2024

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.

Reudo avatar Reudo commented on August 16, 2024

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.

MrBean2016 avatar MrBean2016 commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.