Les modules switchbot ne remontent pas dans Jeedom

Bonjour,
mes modules switchbot ne remontent pas dans Jeedom…

j’ai bien configuré l’API token + secret, j’ai coché les webhooks et renseigné l’URL externe de mon Jeedom…
je ne vois pas d’où vient le problème.

Pouvez-vous m’aider ?


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : Switchbotcloud
Version : 2025-01-23 01:08:53 (stable)

J’ai mis les logs en « debug ». J’ai lancé la régénération de la config des webhooks et voici la log :

[2025-02-04 15:21:14] DEBUG  : ################################## AJAX #############################################
[2025-02-04 15:21:14] DEBUG  : cmd webhooks : /usr/bin/python3 /var/www/html/plugins/switchbotcloud/core/ajax/../../resources/switchbotcloud//switchbotcloud.py  --loglevel=debug --type=webhooksReconfig --callback=http://127.0.0.1:80/plugins/switchbotcloud/core/php/switchbotcloud.php --apikey=KdGUX3AeWJ8QRzQm4VIPOA10IECgGlEaQvExd2ppstBxzVhxsS6LXSOjn9tWXDm6 --token=x --logpath=/var/www/html/plugins/switchbotcloud/core/ajax/../../../../log/switchbotcloud --secret=x --urlwebhook=xxxx.xxxx.fr
[2025-02-04 15:21:14] DEBUG  : Préparation commande API
[2025-02-04 15:21:14] DEBUG  : token: 
[2025-02-04 15:21:14] DEBUG  : secret: 
[2025-02-04 15:21:14] DEBUG  : _type = webhooksReconfig
[2025-02-04 15:21:14] DEBUG  : _commande =
[2025-02-04 15:21:14] DEBUG  : ReConfiguration du lien webhook sur l'API
[2025-02-04 15:21:14] DEBUG  : Starting new HTTPS connection (1): api.switch-bot.com:443
[2025-02-04 15:21:15] DEBUG  : https://api.switch-bot.com:443 "POST /v1.1/webhook/queryWebhook HTTP/11" 200 41
[2025-02-04 15:21:15] DEBUG  : urlwebhook: https://xxxx.xxxx.fr/plugins/switchbotcloud/core/php/webHooks.php?apikey=KdGUX3AeWJ8QRzQm4VIPOA10IECgGlEaQvExd2ppstBxzVhxsS6LXSOjn9tWXDm6
[2025-02-04 15:21:15] DEBUG  : status_code: 200
Traceback (most recent call last):
File "/var/www/html/plugins/switchbotcloud/core/ajax/../../resources/switchbotcloud//switchbotcloud.py", line 195, in <module>
main()
File "/var/www/html/plugins/switchbotcloud/core/ajax/../../resources/switchbotcloud//switchbotcloud.py", line 64, in main
datas = _init.setWebhooksReconfig() #lancement requete API et recupération des donnees
File "/var/www/html/plugins/switchbotcloud/resources/switchbotcloud/switchbotcloud/switchbotcloud.py", line 103, in setWebhooksReconfig
url_existante=donnees.get('body').get('urls')[0]
TypeError: 'NoneType' object is not subscriptable

Personne n’a eu de souci avec ce plugin ? :smiling_face_with_tear: