HTTP Error switchbot

Bonjour,
j’ai ce log quand je fais un scan pour ajouter des switch bot avec la 4.1.17 :

Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/switchbot/core/class/../../resources/switchbot//switchbot_py3.py", line 264, in _sendcommand
return self._sendcommand(act, retry - 1)
File "/var/www/html/plugins/switchbot/core/class/../../resources/switchbot//switchbot_py3.py", line 250, in _sendcommand
self._launchcmd(act)
File "/var/www/html/plugins/switchbot/core/class/../../resources/switchbot//switchbot_py3.py", line 233, in _launchcmd
item['batt'] = int(result[2:4], 16)
ValueError: invalid literal for int() with base 16: ''
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/switchbot/core/class/../../resources/switchbot//switchbot_py3.py", line 250, in _sendcommand
self._launchcmd(act)
File "/var/www/html/plugins/switchbot/core/class/../../resources/switchbot//switchbot_py3.py", line 233, in _launchcmd
item['batt'] = int(result[2:4], 16)
ValueError: invalid literal for int() with base 16: ''

Impossible d’ajouter mes bots.

Par avance merci de votre aide.

PS Mon Matériel :
Système à jour OK Cron actif OK
Scénario actif OK Démarré OK 2021-01-15 16:09:54
Date système (dernière heure enregistrée) OK 2021-01-15 16:14:17 (2021-01-15 16:31:02 UTC) Droits sudo OK
Version Jeedom 4.1.17 Version PHP 7.3.19-1~deb10u1
Apache 14 Version OS Linux Jeedom 5.10.5-v8+ #1392 SMP PREEMPT Sat Jan 9 18:56:30 GMT 2021 aarch64 GNU/Linux [10.7]
Version database 10.3.27-MariaDB-0+deb10u1 Espace disque libre 42 %
Espace disque libre tmp 96 % Mémoire disponible 47 % (Total 7812 Mo)
Mémoire suffisante 0 Erreur I/O 0
Swap disponible 100 % (Total 2048 Mo) Swapiness 60 %
Charge 3.28 - 1.96 - 0.86 Configuration réseau interne OK
Configuration réseau externe OK Persistance du cache OK (2021-01-15 16:08:38)
Apache private tmp OK
Plugins OK

Log du Scan :

[2021-01-15 16:13:07][DEBUG] : launch remote cmd local
[2021-01-15 16:13:07][DEBUG] : Start switchbot : hci config
[2021-01-15 16:13:18][DEBUG] : []
[2021-01-15 16:13:18][DEBUG] : set_devices : Array ( )
[2021-01-15 16:13:18][DEBUG] : ########## Commande getInfos KO pour : WoCurtain_f1:12:ce:cb:b4:06 ################### pour
[2021-01-15 16:13:18][DEBUG] : launch getInfos cmd local
[2021-01-15 16:13:18][DEBUG] : Start switchbot : hci config
[2021-01-15 16:13:18][DEBUG] : Sending action : Getinfos
[2021-01-15 16:13:18][DEBUG] : Connecting to Switchbot...
[2021-01-15 16:13:19][DEBUG] : Error talking to Switchbot.
[2021-01-15 16:13:19][DEBUG] : Failed connecting to Switchbot: f1:12:ce:cb:b4:06
[2021-01-15 16:13:19][DEBUG] : Cannot connect to Switchbot. Retrying remaining 4
[2021-01-15 16:13:20][DEBUG] : Sending action : Getinfos
[2021-01-15 16:13:20][DEBUG] : Connecting to Switchbot...
[2021-01-15 16:13:20][DEBUG] : Connected to Switchbot.
[2021-01-15 16:13:22][DEBUG] : Disconnecting
[2021-01-15 16:13:22][DEBUG] : launch cmd local :
[2021-01-15 16:13:22][DEBUG] : ########## Commande getInfos KO pour : Rideau D ################### pour
[2021-01-15 16:13:22][DEBUG] : launch getInfos cmd local
[2021-01-15 16:13:22][DEBUG] : Start switchbot : hci config
[2021-01-15 16:13:22][DEBUG] : Connecting to Switchbot...
[2021-01-15 16:13:22][DEBUG] : Sending action : Getinfos
[2021-01-15 16:13:23][DEBUG] : Cannot connect to Switchbot. Retrying remaining 4
[2021-01-15 16:13:23][DEBUG] : Error talking to Switchbot.
[2021-01-15 16:13:23][DEBUG] : Failed connecting to Switchbot: eb:13:f3:b8:82:ea
[2021-01-15 16:13:24][DEBUG] : Sending action : Getinfos
[2021-01-15 16:13:24][DEBUG] : Connecting to Switchbot...
[2021-01-15 16:13:24][DEBUG] : Connected to Switchbot.
[2021-01-15 16:13:27][DEBUG] : Disconnecting
[2021-01-15 16:13:27][DEBUG] : launch cmd local :
[2021-01-15 16:13:27][DEBUG] : ########## Commande getInfos KO pour : Rideau G ################### pour
[2021-01-15 16:13:27][DEBUG] : Aucune Antenne trouvée

Bonsoir.

Quels équipements ? Que des curtains ? En les ajoutant manuellement , les commandes fonctionnent?

Les Curtains fonctionnent bien. Si j’ajoute le Switchbot « bot » manuellement, je n’ai pas de commandes…

Bonjour,
problème résolu avec la dernière version du plugin. Merci.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.