Soucis avec objet wifi dans xiaomi home

Bonjour depuis quelque temps mes objets wifi ne fonctionnent plus depuis jeedom
notamment mon aspi
en fait fait si mais 4 ou 5 minutes après je dois relancer les dépendances.
je ne comprend pas trop pourquoi j’ai cette erreur

[ERROR] : SOCKET-READ------Exception on socket : ‹ result ›

j’ai le plugin xiaomi

2021-07-27 18:34:51

mon jeedom

log xiomihome

[2021-08-31 22:11:38][INFO] : Début d'activation du plugin
[2021-08-31 22:11:39][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2021-08-31 22:11:45][INFO] : Lancement démon xiaomihome : /usr/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel info --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey *********************** --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2021-08-31 22:11:45.909][INFO] : Start xiaomihomed
[2021-08-31 22:11:45.909][INFO] : Log level : info
[2021-08-31 22:11:45.909][INFO] : Socket port : 55019
[2021-08-31 22:11:45.909][INFO] : Socket host : 127.0.0.1
[2021-08-31 22:11:45.910][INFO] : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2021-08-31 22:11:45.910][INFO] : Apikey : sZU3Z6GVRWGhrMxXAw4DvCNeTnK3Ipkl
[2021-08-31 22:11:45.910][INFO] : Callback : http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2021-08-31 22:11:45.910][INFO] : Cycle : 0.05
[2021-08-31 22:11:45.945][INFO] : Start listening...
[2021-08-31 22:15:07.178][ERROR] : SOCKET-READ------Exception on socket : 'result'
[2021-08-31 22:15:07.841][ERROR] : SOCKET-READ------Exception on socket : 'result'

le log des dépendances

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
Get:3 https://deb.nodesource.com/node_14.x buster InRelease [4584 B]
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Hit:5 http://deb.debian.org/debian buster-backports InRelease
Get:6 https://deb.nodesource.com/node_14.x buster/main amd64 Packages [768 B]
Fetched 5352 B in 2s (2548 B/s)
Reading package lists...
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:13
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:17
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:21
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:13
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:17
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:16
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:21
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:20
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-9).
python3-cryptography is already the newest version (2.6.1-3+deb10u2).
python3-pip is already the newest version (18.1-5).
python3-setuptools is already the newest version (40.8.0-1).
python3-dev is already the newest version (3.7.3-1).
libssl-dev is already the newest version (1.1.1d-0+deb10u7).
The following package was automatically installed and is no longer required:
libjsoncpp1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting construct
Using cached construct-2.10.67-py3-none-any.whl
Installing collected packages: construct
Successfully installed construct-2.10.67
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting pyudev
Using cached pyudev-0.22.0-py3-none-any.whl
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, pyudev
Successfully installed pyudev-0.22.0 six-1.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting requests
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting idna<4,>=2.5
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Successfully installed certifi-2021.5.30 charset-normalizer-2.0.4 idna-3.2 requests-2.26.0 urllib3-1.26.6
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting pyserial
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Installing collected packages: pyserial
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Installing collected packages: future
Successfully installed future-0.18.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting pycrypto
Using cached pycrypto-2.6.1-cp37-cp37m-linux_x86_64.whl
Installing collected packages: pycrypto
Successfully installed pycrypto-2.6.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting cryptography
Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Collecting cffi>=1.12
Using cached cffi-1.14.6-cp37-cp37m-manylinux1_x86_64.whl (402 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: pycparser, cffi, cryptography
Successfully installed cffi-1.14.6 cryptography-3.4.8 pycparser-2.20
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting enum34
Using cached enum34-1.1.10-py3-none-any.whl (11 kB)
Installing collected packages: enum34
Successfully installed enum34-1.1.10
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting enum-compat
Using cached enum_compat-0.0.3-py3-none-any.whl (1.3 kB)
Installing collected packages: enum-compat
Successfully installed enum-compat-0.0.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting wheel
Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.37.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting yeelight
Using cached yeelight-0.7.4-py3-none-any.whl (34 kB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting ifaddr
Using cached ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Installing collected packages: ifaddr, future, yeelight
Successfully installed future-0.18.2 ifaddr-0.1.7 yeelight-0.7.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Collecting python-miio
Using cached python_miio-0.5.7-py3-none-any.whl (300 kB)
Collecting importlib_metadata<2,>=1
Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting zeroconf<1,>=0
Using cached zeroconf-0.36.2-py3-none-any.whl (93 kB)
Collecting tqdm<5,>=4
Using cached tqdm-4.62.2-py2.py3-none-any.whl (76 kB)
Collecting defusedxml<1,>=0
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting netifaces<1,>=0
Using cached netifaces-0.11.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (32 kB)
Collecting appdirs<2,>=1
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting PyYAML<6,>=5
Using cached PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636 kB)
Collecting croniter<1,>=0
Using cached croniter-0.3.37-py2.py3-none-any.whl (13 kB)
Collecting cryptography<4,>=3
Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Collecting pytz
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting construct<3.0.0,>=2.10.56
Using cached construct-2.10.67-py3-none-any.whl
Collecting android_backup<1,>=0
Using cached android_backup-0.2.0-py3-none-any.whl
Collecting click<8,>=7
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting python-dateutil
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting natsort
Using cached natsort-7.1.1-py3-none-any.whl (35 kB)
Collecting cffi>=1.12
Using cached cffi-1.14.6-cp37-cp37m-manylinux1_x86_64.whl (402 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting zipp>=0.5
Using cached zipp-3.5.0-py3-none-any.whl (5.7 kB)
Collecting ifaddr>=0.1.7
Using cached ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, pycparser, zipp, python-dateutil, natsort, ifaddr, cffi, zeroconf, tqdm, PyYAML, pytz, netifaces, importlib-metadata, defusedxml, cryptography, croniter, construct, click, attrs, appdirs, android-backup, python-miio
Successfully installed PyYAML-5.4.1 android-backup-0.2.0 appdirs-1.4.4 attrs-21.2.0 cffi-1.14.6 click-7.1.2 construct-2.10.67 croniter-0.3.37 cryptography-3.4.8 defusedxml-0.7.1 ifaddr-0.1.7 importlib-metadata-1.7.0 natsort-7.1.1 netifaces-0.11.0 pycparser-2.20 python-dateutil-2.8.2 python-miio-0.5.7 pytz-2021.1 six-1.16.0 tqdm-4.62.2 zeroconf-0.36.2 zipp-3.5.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
ERROR: Invalid requirement: '_thread'
********************************************************
*             Installation terminée                    *

j’ai epluché le forum, il y’a bien des soucis similaires resolut par des maj de pip et pip3
mais ca ne semble pas changer grand choses à mon soucis.
si vous avez une piste je vous en remerci d’avance.

Bonjour,

Quel type d’objets ?

Quelle est votre version de Jeedom, quel matériel utilisez vous avec quel version de Buster, avez vous relancé l’installation des dépendances suite à l’installation de cette version du plugin ?

Bonjour iPapy, merci de votre réponse ma version de jeedom est 4.1.25 (dites moi si ce n’est pas la bonne info qui se trouve dans le screen shoot au dessus) c’est un z81 avec un debian 4.19.1.18

j’ ai en effet réinstaller plusieurs fois les dépendances, mis a jour Debian, ce jeedom tourne depuis 3 an et le plugin aussi.

ne fonctionne pas , un aspi xiaomi v2, une lampe wifi yeelight.

si je relance le demon ça re-fonctionne environ 5 minutes et des l’apparition dans le log du message [ERROR] : SOCKET-READ------Exception on socket : ‹ result ›
ca ne fonctionne plus.

petit retour, j’ai réussi a faire disparaitre le message
[ERROR] : SOCKET-READ------Exception on socket : ‹ result ›
c’était dû a un équipement wifi un purificateur, je l’ai supprimé et re-inclus.
depuis plus de message
par contre toujours mon aspirateur qui ne répond plus au bout de 5 minutes, si relance les dépendance ça refonctionne 5 minutes
je sèche un peu.

pb résolut

Bonjour,

Donc tout fonctionne y compris votre aspirateur qui posait encore problème?

Si oui quel a été la solution si d’aventure d’autres utilisateurs rencontrait le même problème que vous car pb résolut n’est pas une solution :wink:

Bonjour, j’ai migré ma domotique sur eedomus.
tout fonctionne :slightly_smiling_face: