Demon erreur

Tags: #<Tag:0x00007f3852d20870>

Bonjour,
je viens d’acheter le plugin et malheureusement même après avoir suivi scrupuleusement les différentes étapes. je me retrouve avec un demon en erreur.

si vous avez une idée
merci

[2020-10-23 09:57:11][ERROR] : Fatal error : 'str' object has no attribute 'toJson'
[2020-10-23 09:57:11][INFO] : Shuting down
[2020-10-23 09:57:11][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2020-10-23 09:57:11][DEBUG] : Exit 0

Salut!

Quelle version d’OS ?
Quelle version Jeedom ?
Quelle version plugin beta ou stable ?

Tout cela est évident pour toi qui est devant ton Jeedom, mais pour nous…
Pour être aidé il faut donner un peu d’infos quand même.

1 J'aime

Désolé voici les infos,
Raspbian GNU/Linux 10 (buster)
Jeedom 4.0.40
plugin stable

Ton OS est a jour ?
apt-get update
apt-get upgrade

Jeedom a mettre en jour en dernière version aussi peut être.
La page santé est OK ?

Peux-tu montrer la page santé stp?
Ce genre d’erreur c’est que tu as un environnement python qui est cassé à priori, quel autre plugin utilises-tu?
ce plugin utilise python3
peux-tu executer en ssh ceci

/usr/bin/python3 --version
pip3 --version

+ log des dépendances stp

python 3.7.3 (default, Dec 20 2019, 18:57:59) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
pip3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'pip3' is not defined

c’est le résultat de pip3 --version ?
parce que ton message n’est pas clair

Et puis-je avoir la réponse aux autres questions?
pour rappel:

  • page sante?
  • autre plugin?
  • log des dépendances?

oui c’est la réponse à pip3
IMG_20201023_110322
IMG_20201023_110723
désolé je suis un peut newbee …

j’ai réinstallé python et relancé la commande pip 3 (mais le demon démarre et s’arrete au bout de 3 secondes…)

pi@raspberrypi:~ $ /usr/bin/python3 --version
Python 3.7.3
pi@raspberrypi:~ $ pip3 --version
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)

tu as fait ce que j’ai dit ?

Je n’ai toujours pas les logs des dépendances

euhhh je les trouves ou les logs dépendances …? désolé de cette question bête

Au même endroit que celui du démon et celui du plugin, dans la page de config du plugin, c’est le log gardena_update

*************************************
*   Launch install of dependencies  *
*************************************
Fri Oct 23 11:36:59 CEST 2020
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://deb.nodesource.com/node_8.x buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists...
*****************************
Install modules using apt-get
*****************************
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
python3-requests is already the newest version (2.21.0-1).
python3-setuptools is already the newest version (40.8.0-1).
python3-pip is already the newest version (18.1-5+rpt1).
The following packages were automatically installed and are no longer required:
alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base
libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libllvm8 libva-wayland2
libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 pimixer
point-rpi python-bcrypt python-fasteners python-lockfile python-monotonic
python-nacl python-paramiko python-pexpect python-ptyprocess python-pyasn1
xfconf
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
*************************************
Install the required python libraries
*************************************
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: requests>=2.20.0 in /usr/lib/python3/dist-packages (2.21.0)
Requirement already satisfied: oauthlib in /usr/lib/python3/dist-packages (2.1.0)
Requirement already satisfied: requests_oauthlib in /usr/lib/python3/dist-packages (1.0.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (0.57.0)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from websocket-client) (1.12.0)
Fri Oct 23 11:37:23 CEST 2020
***************************
*      Install ended      *
***************************

Attention de penser à utiliser la balise Texte préformaté </> pour mettre des logs sinon c’est illisible

les dépendances ont l’air ok.
je peux voir le log du démon maintenant suite à la ré-install de python?

[2020-10-23 13:02:10][INFO] : Connected to Gardena API
[2020-10-23 13:02:11][DEBUG] : https://api.smart.gardena.dev:443 "GET /v1/locations/cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f HTTP/1.1" 200 4295
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE', 'relationships': {'location': {'data': {'id': 'cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f', 'type': 'LOCATION'}}, 'services': {'data': [{'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'VALVE_SET'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:1', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:2', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:3', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:4', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:5', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:6', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'COMMON'}]}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'VALVE_SET', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'state': {'value': 'OK', 'timestamp': '2020-10-23T07:54:29.288+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:29.288+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:1', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Début '}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.613+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.868+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:2', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Milieu '}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.631+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.883+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:3', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Fin'}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.655+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.897+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:4', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Microdrip jardin'}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.684+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.922+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:5', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Microdrip terrasse '}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.720+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.938+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:6', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Valve 6'}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.749+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.960+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'COMMON', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Arrosage automatique'}, 'batteryState': {'value': 'NO_BATTERY'}, 'rfLinkLevel': {'value': 60, 'timestamp': '2020-10-23T10:56:04.641+0000'}, 'serial': {'value': '00018752'}, 'modelType': {'value': 'GARDENA smart Irrigation Control'}, 'rfLinkState': {'value': 'ONLINE'}}}
[2020-10-23 13:02:11][INFO] : Syncing known devices with jeedom
[2020-10-23 13:02:11][DEBUG] : Send to jeedom :  {'smartsystem_location': {'id': 'cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f', 'name': 'My Garden'}}
[2020-10-23 13:02:11][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-10-23 13:02:11][DEBUG] : http://127.0.0.1:80 "POST /plugins/gardena/core/php/jeegardena.php?apikey=CFe4T1gsnbsbN9pL5ckkmD94ylZCTIDS HTTP/1.1" 200 2
[2020-10-23 13:02:11][ERROR] : Fatal error : 'str' object has no attribute 'toJson'
[2020-10-23 13:02:11][INFO] : Shuting down
[2020-10-23 13:02:11][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2020-10-23 13:02:11][DEBUG] : Exit 0

Qu’as-tu comme appareil en fait? un smart irrigation control?

oui c’est ça.

voici le log complet

[2020-10-23 13:02:08][INFO] : Starting daemon
[2020-10-23 13:02:08][INFO] : Log level : debug
[2020-10-23 13:02:08][DEBUG] : Socket port : 55070
[2020-10-23 13:02:08][DEBUG] : Socket host : localhost
[2020-10-23 13:02:08][DEBUG] : PID file : /tmp/jeedom/gardena/deamon.pid
[2020-10-23 13:02:08][DEBUG] : Writing PID 4140 to /tmp/jeedom/gardena/deamon.pid
[2020-10-23 13:02:08][DEBUG] : Init request module v2.21.0
[2020-10-23 13:02:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-10-23 13:02:08][DEBUG] : http://127.0.0.1:80 "GET /plugins/gardena/core/php/jeegardena.php?test=1&apikey=CFe4T1gsnbsbN9pL5ckkmD94ylZCTIDS HTTP/1.1" 200 2
[2020-10-23 13:02:08][DEBUG] : Encoding client_id "04d1e225-4475-4237-8f3b-465853844518" with client_secret as Basic auth credentials.
[2020-10-23 13:02:08][DEBUG] : Requesting url https://api.authentication.husqvarnagroup.dev/v1/oauth2/token using method POST.
[2020-10-23 13:02:08][DEBUG] : Supplying headers {'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'} and data {'grant_type': 'password', 'username': 'xxx', 'password': 'xxx', 'client_id': '04d1e225-4475-4237-8f3b-465853844518'}
[2020-10-23 13:02:08][DEBUG] : Passing through key word arguments {'json': None, 'timeout': None, 'auth': <requests.auth.HTTPBasicAuth object at 0x74eefb90>, 'verify': True, 'proxies': None}.
[2020-10-23 13:02:08][DEBUG] : Starting new HTTPS connection (1): api.authentication.husqvarnagroup.dev:443
[2020-10-23 13:02:09][DEBUG] : https://api.authentication.husqvarnagroup.dev:443 "POST /v1/oauth2/token HTTP/1.1" 200 1298
[2020-10-23 13:02:09][DEBUG] : Prepared fetch token request body grant_type=password&username=chaudun%40free.fr&password=E65210123e&client_id=04d1e225-4475-4237-8f3b-465853844518
[2020-10-23 13:02:09][DEBUG] : Request to fetch token completed with status 200.
[2020-10-23 13:02:09][DEBUG] : Request headers were {'User-Agent': 'python-requests/2.21.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', 'Content-Length': '113', 'Authorization': 'Basic MDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4Og=='}
[2020-10-23 13:02:09][DEBUG] : Request body was grant_type=password&username=chaudun%40free.fr&password=E65210123e&client_id=04d1e225-4475-4237-8f3b-465853844518
[2020-10-23 13:02:09][DEBUG] : Response headers were {'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '1298', 'Connection': 'keep-alive', 'Date': 'Fri, 23 Oct 2020 11:02:09 GMT', 'x-amzn-RequestId': 'dd4732c6-560b-4763-9ce8-deb55873f5b5', 'X-DNS-Prefetch-Control': 'off', 'X-XSS-Protection': '1; mode=block', 'Access-Control-Allow-Origin': '*', 'Surrogate-Control': 'no-store', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'x-amzn-Remapped-Content-Length': '1298', 'X-Frame-Options': 'SAMEORIGIN', 'Access-Control-Allow-Headers': 'Origin,X-Requested-With,X-Internal-Request-Id,X-External-Request-Id,Content-Type,Accept,X-IAM-Session,Authorization,Authorization-Provider', 'x-amzn-Remapped-Connection': 'keep-alive', 'x-amz-apigw-id': 'U3G3oHToDoEFsZw=', 'Cache-Control': 'no-store, no-cache, must-revalidate, proxy-revalidate', 'Expires': '0', 'X-Internal-Request-Id': '601680702', 'X-Content-Type-Options': 'nosniff', 'ETag': 'W/"512-6/TDCT5ZLfpC9zZq/ZfrmqWK6/U"', 'Access-Control-Allow-Methods': 'GET, POST, OPTIONS, PUT, PATCH, DELETE', 'Pragma': 'no-cache', 'x-amzn-Remapped-Date': 'Fri, 23 Oct 2020 11:02:09 GMT', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 97b63effdcb60825f821df922441529d.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'CDG50-C2', 'X-Amz-Cf-Id': 'IRJ8U1QQqeZOthNnxsdf_dTymdcIm9-bdfRjyjz1Z9mO0K9EVXK_mw=='} and content {"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg","scope":"sg-integration-api:read iam:read sg-integration-api:write","expires_in":86399,"refresh_token":"1739c63c-a58f-46a2-b129-64ae2ab314ed","provider":"husqvarna","user_id":"de9bdd32-5fe5-41e9-b1b7-176baa77f866","token_type":"Bearer"}.
[2020-10-23 13:02:09][DEBUG] : Invoking 0 token response hooks.
[2020-10-23 13:02:09][DEBUG] : Obtained token {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg', 'scope': ['sg-integration-api:read', 'iam:read', 'sg-integration-api:write'], 'expires_in': 86399, 'refresh_token': '1739c63c-a58f-46a2-b129-64ae2ab314ed', 'provider': 'husqvarna', 'user_id': 'de9bdd32-5fe5-41e9-b1b7-176baa77f866', 'token_type': 'Bearer', 'expires_at': 1603537328.9601054}.
[2020-10-23 13:02:09][INFO] : Authentication done
[2020-10-23 13:02:09][INFO] : updating locations
[2020-10-23 13:02:09][DEBUG] : Invoking 0 protected resource request hooks.
[2020-10-23 13:02:09][DEBUG] : Adding token {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg', 'scope': ['sg-integration-api:read', 'iam:read', 'sg-integration-api:write'], 'expires_in': 86399, 'refresh_token': '1739c63c-a58f-46a2-b129-64ae2ab314ed', 'provider': 'husqvarna', 'user_id': 'de9bdd32-5fe5-41e9-b1b7-176baa77f866', 'token_type': 'Bearer', 'expires_at': 1603537328.9601054} to request.
[2020-10-23 13:02:09][DEBUG] : Requesting url https://api.smart.gardena.dev/v1/locations using method GET.
[2020-10-23 13:02:09][DEBUG] : Supplying headers {'Authorization-Provider': 'husqvarna', 'X-Api-Key': '04d1e225-4475-4237-8f3b-465853844518', 'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg'} and data None
[2020-10-23 13:02:09][DEBUG] : Passing through key word arguments {'allow_redirects': True}.
[2020-10-23 13:02:09][DEBUG] : Starting new HTTPS connection (1): api.smart.gardena.dev:443
[2020-10-23 13:02:10][DEBUG] : https://api.smart.gardena.dev:443 "GET /v1/locations HTTP/1.1" 200 108
[2020-10-23 13:02:10][DEBUG] : opening websocket for location My Garden
[2020-10-23 13:02:10][DEBUG] : Invoking 0 protected resource request hooks.
[2020-10-23 13:02:10][DEBUG] : Adding token {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg', 'scope': ['sg-integration-api:read', 'iam:read', 'sg-integration-api:write'], 'expires_in': 86399, 'refresh_token': '1739c63c-a58f-46a2-b129-64ae2ab314ed', 'provider': 'husqvarna', 'user_id': 'de9bdd32-5fe5-41e9-b1b7-176baa77f866', 'token_type': 'Bearer', 'expires_at': 1603537328.9601054} to request.
[2020-10-23 13:02:10][DEBUG] : Requesting url https://api.smart.gardena.dev/v1/websocket using method POST.
[2020-10-23 13:02:10][DEBUG] : Supplying headers {'Authorization-Provider': 'husqvarna', 'X-Api-Key': '04d1e225-4475-4237-8f3b-465853844518', 'Content-Type': 'application/vnd.api+json', 'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg'} and data {"data": {"type": "WEBSOCKET", "attributes": {"locationId": "cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f"}, "id": "does-not-matter"}}
[2020-10-23 13:02:10][DEBUG] : Passing through key word arguments {'json': None}.
[2020-10-23 13:02:10][DEBUG] : Starting new HTTPS connection (1): api.smart.gardena.dev:443
[2020-10-23 13:02:10][DEBUG] : https://api.smart.gardena.dev:443 "POST /v1/websocket HTTP/1.1" 201 1858
[2020-10-23 13:02:10][INFO] : updating devices for location My Garden
[2020-10-23 13:02:10][DEBUG] : Invoking 0 protected resource request hooks.
[2020-10-23 13:02:10][DEBUG] : Adding token {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg', 'scope': ['sg-integration-api:read', 'iam:read', 'sg-integration-api:write'], 'expires_in': 86399, 'refresh_token': '1739c63c-a58f-46a2-b129-64ae2ab314ed', 'provider': 'husqvarna', 'user_id': 'de9bdd32-5fe5-41e9-b1b7-176baa77f866', 'token_type': 'Bearer', 'expires_at': 1603537328.9601054} to request.
[2020-10-23 13:02:10][DEBUG] : Requesting url https://api.smart.gardena.dev/v1/locations/cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f using method GET.
[2020-10-23 13:02:10][DEBUG] : Supplying headers {'Authorization-Provider': 'husqvarna', 'X-Api-Key': '04d1e225-4475-4237-8f3b-465853844518', 'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imh1c3F2YXJuYSJ9.eyJpc3MiOiJodXNxdmFybmEiLCJyb2xlcyI6W10sImdyb3VwcyI6WyJkZXZlbG9wZXItcG9ydGFsIiwiZ2FyZGVuYS1lY29tIiwiZ2FyZGVuYS1teWFjY291bnQiLCJnYXJkZW5wbGFubmVyIiwic21hcnRnYXJkZW4iXSwic2NvcGVzIjpbInNnLWludGVncmF0aW9uLWFwaTpyZWFkIiwiaWFtOnJlYWQiLCJzZy1pbnRlZ3JhdGlvbi1hcGk6d3JpdGUiXSwiY2xpZW50X2lkIjoiMDRkMWUyMjUtNDQ3NS00MjM3LThmM2ItNDY1ODUzODQ0NTE4IiwidXNlciI6eyJmaXJzdF9uYW1lIjoiRW5ndWVycmFudCIsImxhc3RfbmFtZSI6IkNoYXVkdW4iLCJjdXN0b21fYXR0cmlidXRlcyI6eyJnYXJkZW5wbGFubmVyX2FjY2VwdGVkX3Rlcm1zIjoiMjAxOS0xMC0wMyAxNToyMzo0OSJ9LCJjdXN0b21lcl9pZCI6IiJ9LCJpYXQiOjE2MDM0NTA5MjksImV4cCI6MTYwMzUzNzMyOSwic3ViIjoiZGU5YmRkMzItNWZlNS00MWU5LWIxYjctMTc2YmFhNzdmODY2In0.oUZ9FPkiQTtaiPX7XQafSHJq-xIRiJ6sixFDHqKngZJcF9sl_M76LuqYDGcmtqV-7KEEzqtSRwGrebM6AlEvvS6iZXijQYRBd06innB1RYTDbAbHHXLy1qj2dpTwKyQSj4Cb9Qqco4j7dE7l-avNu-yx2Sh0SzpYSel2bBqftv5_mb48651MZKhy8X5cOrCbLYAgi8C3WUzikLRshktguMFUoPQRIMDyHz523nLhc-6RgrHkPXEusO87uJul-Zr4E-FS2AM6oDrhDAkzR0qLn4plBwNlyvv-adLzxbh2PZ_NLI3YzPKyj_gKMW7hp-nMHAD2EFnyh_WSmyvdqoe-Pg'} and data None
[2020-10-23 13:02:10][DEBUG] : Passing through key word arguments {'allow_redirects': True}.
[2020-10-23 13:02:10][DEBUG] : Starting new HTTPS connection (1): api.smart.gardena.dev:443
[2020-10-23 13:02:10][INFO] : Connected to Gardena API
[2020-10-23 13:02:11][DEBUG] : https://api.smart.gardena.dev:443 "GET /v1/locations/cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f HTTP/1.1" 200 4295
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE', 'relationships': {'location': {'data': {'id': 'cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f', 'type': 'LOCATION'}}, 'services': {'data': [{'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'VALVE_SET'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:1', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:2', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:3', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:4', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:5', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:6', 'type': 'VALVE'}, {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'COMMON'}]}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'VALVE_SET', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'state': {'value': 'OK', 'timestamp': '2020-10-23T07:54:29.288+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:29.288+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:1', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Début '}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.613+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.868+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:2', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Milieu '}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.631+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.883+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:3', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Fin'}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.655+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.897+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:4', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Microdrip jardin'}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.684+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.922+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:5', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Microdrip terrasse '}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.720+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.938+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf:6', 'type': 'VALVE', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Valve 6'}, 'activity': {'value': 'CLOSED', 'timestamp': '2020-10-23T07:54:28.749+0000'}, 'state': {'value': 'UNAVAILABLE', 'timestamp': '2020-10-23T07:54:30.002+0000'}, 'lastErrorCode': {'value': 'NO_MESSAGE', 'timestamp': '2020-10-23T07:54:28.960+0000'}}}
[2020-10-23 13:02:11][DEBUG] : {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'COMMON', 'relationships': {'device': {'data': {'id': 'fb9b8a4f-dfe1-43cb-bd66-4670e2e58ebf', 'type': 'DEVICE'}}}, 'attributes': {'name': {'value': 'Arrosage automatique'}, 'batteryState': {'value': 'NO_BATTERY'}, 'rfLinkLevel': {'value': 60, 'timestamp': '2020-10-23T10:56:04.641+0000'}, 'serial': {'value': '00018752'}, 'modelType': {'value': 'GARDENA smart Irrigation Control'}, 'rfLinkState': {'value': 'ONLINE'}}}
[2020-10-23 13:02:11][INFO] : Syncing known devices with jeedom
[2020-10-23 13:02:11][DEBUG] : Send to jeedom :  {'smartsystem_location': {'id': 'cdc3f54a-9e57-4f61-93fe-3b9ba93cfc9f', 'name': 'My Garden'}}
[2020-10-23 13:02:11][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-10-23 13:02:11][DEBUG] : http://127.0.0.1:80 "POST /plugins/gardena/core/php/jeegardena.php?apikey=CFe4T1gsnbsbN9pL5ckkmD94ylZCTIDS HTTP/1.1" 200 2
[2020-10-23 13:02:11][ERROR] : Fatal error : 'str' object has no attribute 'toJson'
[2020-10-23 13:02:11][INFO] : Shuting down
[2020-10-23 13:02:11][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2020-10-23 13:02:11][DEBUG] : Exit 0

Pour les logs, lis l’explication ici (point 11) pour savoir comment les formater parce que c’est pas encore ça :wink: : Comment nous aider à vous aider - ou Comment poser une bonne question?

pour le problème, ca te dérangerait de me donner ton login et pass en message direct que je me connecte de chez moi pour arriver à reproduire parce que je crains qu’on ne va pas s’en sortir via le forum là?

Bonne nouvelle j’ai pu reproduire et donc j’ai pu fixer.
Peux-tu installer la version beta du plugin (il faut avoir activer l’accès aux plugins beta dans ton profile market avant) et me confirmer si cela fonctionne pour toi?

Il faudra supprimer l’équipement s’il a été créé et refaire une synchronisation pour que les commandes soient créées convenablement.