Bonjour,
J’ai installé le plugin Gardena-Husqvarna et ses dépendances avec succès.
J’ai bien copié/collé les Application Clé et Secret de mon compte sur le site Husqvarna Developper Portal et connecté les 3 API dont celle d’authentication.
J’ai bien coché Gardena Smart System et écrit dans le port : 55070
Le Démon s’arrête après quelques secondes avec le log indiqué ci-après.
Que puis-je faire pour que cela fonctionne ? Merci d’avance pour votre aide.
======================================================================
== 21/03/2025 19:06:14 == Dependencies installation for gardena
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 29% ] : Init python3 & prerequisites : [ OK ]
[ 30% ] : Init PyEnv...
** PyEnv not required: 3.9.2 >= 3.9 **
** python3 path: python3 **
[ 39% ] : Init PyEnv : [ OK ]
[ 40% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.2
[ 69% ] : Setting up virtual environment : [ OK ]
[ 70% ] : Install the required python packages...
[ 79% ] : Install the required python packages : [ OK ]
[ 80% ] : Restoring folders and files rights...
[ 89% ] : Restoring folders and files rights : [ OK ]
[ 90% ] : Summary of installed packages...
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
anyio==4.9.0
async-timeout==5.0.1
attrs==25.3.0
Authlib==1.5.1
certifi==2025.1.31
cffi==1.17.1
cryptography==44.0.2
exceptiongroup==1.2.2
frozenlist==1.5.0
h11==0.14.0
httpcore==1.0.7
httpx==0.28.1
idna==3.10
jeedomdaemon==1.2.9
multidict==6.2.0
oauthlib==3.2.2
pkg_resources==0.0.0
propcache==0.3.0
pycparser==2.22
sniffio==1.3.1
typing_extensions==4.12.2
websockets==15.0.1
yarl==1.18.3
[ 99% ] : Summary of installed packages : [ OK ]
[100% ] : Finished !
======================================================================
==OK== Installation Successful
======================================================================
[2025-03-21 19:26:04] INFO : Starting daemon (lib version 1.2.9) with log level: info
[2025-03-21 19:26:04] INFO : Listening on 127.0.0.1:55070
[2025-03-21 19:26:05] INFO : HTTP Request: POST https://api.authentication.husqvarnagroup.dev/v1/oauth2/token "HTTP/1.1 200 OK"
[2025-03-21 19:26:05] INFO : get new token: eyJhbGciOi...
[2025-03-21 19:26:05] INFO : Authentication done
[2025-03-21 19:26:05] INFO : updating locations
[2025-03-21 19:26:06] INFO : HTTP Request: GET https://api.smart.gardena.dev/v1/locations "HTTP/1.1 429 "
[2025-03-21 19:26:06] ERROR : 429 : User is not authorized to access this resource with an explicit deny
[2025-03-21 19:26:06]WARNING : Exception occurred when calling on_start_cb: Client error '429 ' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
[2025-03-21 19:26:06] INFO : Listening cancelled
[2025-03-21 19:26:06] INFO : Shutdown