Aiohttp 3.7.4.post0 requires async-timeout<4.0,>=3.0, but you have async-timeout 4.0.2 which is incompatible

Bonjour,

Roborock V7 sous le sapin cet année.

Jeedom v4.3.10 et xiaomihome version stable
Debian Buster sur VM

J’ai récupéré le token via la version 5.4.49

J’ai choisi le modèle V2 et il communique apparemment correctement d’un point de vue IP
image

Mais le plugin n’arrive pas à récupérer les informations :
J’ai remplacé l’API Key et le token dans ces logs :

[2022-12-26 14:30:04.855]DEBUG : refreshing {'apikey': '9BHdrY---XZEd7a', 'type': 'wifi', 'cmd': 'refresh', 'model': 'vacuum2', 'dest': '10.0.6.55', 'token': '6b---e53', 'devtype': '', 'serial': ''}
[2022-12-26 14:30:09.858]DEBUG : Timeout
[2022-12-26 14:30:09.858]ERROR : SOCKET-READ------Exception on socket : 'NoneType' object has no attribute 'setPlainData'

Mon réseau wifi est séparé du réseau sur lequel se trouve Jeedom mais le firewall autorise la communication entre les 2 et je ne pense pas que le problème de base vienne de là puisque l’installation des dépendances ne semble pas avoir été jusqu’au bout.

J’ai lu un sujet similaire sur KLF mais si Lunarok ou autre pouvait me confirmer les manips à essayer dans ce cas avant de relancer les dépendances ?

Le logs des dépendances complet :

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_xiaomihome
+ echo 1
+ echo 2
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
ERROR: unknown command "cache" - maybe you meant "check"
+ echo 4
+ sudo pip3 install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl (2.1MB)
Installing collected packages: pip
Found existing installation: pip 18.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pip'. No files were found to uninstall.
Successfully installed pip-22.3.1
+ echo 5
+ sudo pip3 install --force-reinstall --upgrade construct
Collecting construct
Downloading construct-2.10.68.tar.gz (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.9/57.9 kB 2.6 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: construct
Building wheel for construct (setup.py): started
Building wheel for construct (setup.py): finished with status 'done'
Created wheel for construct: filename=construct-2.10.68-py3-none-any.whl size=59226 sha256=94a1081a085a9515b4905990b5bdb44bb09c7f988650f5c7699948d2b96c4efc
Stored in directory: /root/.cache/pip/wheels/37/27/e3/ebee993c1fbc7837cc7729f5005881cb2ecb8c5478dbe5b0f1
Successfully built construct
Installing collected packages: construct
Successfully installed construct-2.10.68
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
+ echo 6
+ sudo pip3 install --force-reinstall --upgrade future
Collecting future
Using cached future-0.18.2.tar.gz (829 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: future
Building wheel for future (setup.py): started
Building wheel for future (setup.py): finished with status 'done'
Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491070 sha256=92a96147206113a0b646441184c9b777203ec71e723781187e1da65f4fc337d8
Stored in directory: /root/.cache/pip/wheels/3e/3c/b4/7132d27620dd551cf00823f798a7190e7320ae7ffb71d1e989
Successfully built future
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
+ echo 7
+ sudo pip3 install --force-reinstall --upgrade enum34
Collecting enum34
Downloading 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
+ echo 8
+ sudo pip3 install --force-reinstall --upgrade enum-compat
Collecting enum-compat
Downloading 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
+ echo 9
+ sudo pip3 install --force-reinstall --upgrade yeelight
Collecting yeelight
Downloading yeelight-0.7.10-py3-none-any.whl (39 kB)
Collecting ifaddr
Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Installing collected packages: ifaddr, future, yeelight
Attempting uninstall: future
Found existing installation: future 0.18.2
Uninstalling future-0.18.2:
Successfully uninstalled future-0.18.2
Successfully installed future-0.18.2 ifaddr-0.2.0 yeelight-0.7.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
+ echo 10
+ sudo pip3 install --force-reinstall --upgrade python-miio
Collecting python-miio
Downloading python_miio-0.5.12-py3-none-any.whl (330 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 331.0/331.0 kB 7.6 MB/s eta 0:00:00
Collecting netifaces<1,>=0
Downloading netifaces-0.11.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (32 kB)
Collecting tqdm<5,>=4
Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 6.8 MB/s eta 0:00:00
Collecting croniter>=1
Downloading croniter-1.3.8-py2.py3-none-any.whl (18 kB)
Collecting defusedxml<1,>=0
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting importlib_metadata<2,>=1
Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting micloud
Downloading micloud-0.6.tar.gz (9.4 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting pytz
Downloading pytz-2022.7-py2.py3-none-any.whl (499 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 499.4/499.4 kB 19.8 MB/s eta 0:00:00
Collecting appdirs<2,>=1
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting click>=8
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 8.2 MB/s eta 0:00:00
Collecting attrs
Downloading attrs-22.2.0-py3-none-any.whl (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.0/60.0 kB 2.9 MB/s eta 0:00:00
Collecting zeroconf<1,>=0
Downloading zeroconf-0.47.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 24.0 MB/s eta 0:00:00
Collecting PyYAML<7,>=5
Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.3/596.3 kB 15.2 MB/s eta 0:00:00
Collecting construct<3.0.0,>=2.10.56
Using cached construct-2.10.68-py3-none-any.whl
Collecting android_backup<1,>=0
Downloading android_backup-0.2.0.tar.gz (6.1 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cryptography>=35
Downloading cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 25.7 MB/s eta 0:00:00
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 12.6 MB/s eta 0:00:00
Collecting cffi>=1.12
Downloading cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.9/427.9 kB 15.8 MB/s eta 0:00:00
Collecting zipp>=0.5
Downloading zipp-3.11.0-py3-none-any.whl (6.6 kB)
Collecting async-timeout>=3.0.0
Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting ifaddr>=0.1.7
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting requests
Downloading requests-2.28.1-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 6.2 MB/s eta 0:00:00
Collecting tzlocal
Downloading tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting pycryptodome
Downloading pycryptodome-3.16.0-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 23.1 MB/s eta 0:00:00
Collecting typing-extensions>=3.6.5
Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 4.7 MB/s eta 0:00:00
Collecting six>=1.5
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 7.7 MB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 6.0 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 2.7 MB/s eta 0:00:00
Collecting charset-normalizer<3,>=2
Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting backports.zoneinfo
Downloading backports.zoneinfo-0.2.1-cp37-cp37m-manylinux1_x86_64.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.7/70.7 kB 3.6 MB/s eta 0:00:00
Collecting pytz-deprecation-shim
Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting tzdata
Downloading tzdata-2022.7-py2.py3-none-any.whl (340 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 340.1/340.1 kB 12.5 MB/s eta 0:00:00
Building wheels for collected packages: android_backup, micloud
Building wheel for android_backup (setup.py): started
Building wheel for android_backup (setup.py): finished with status 'done'
Created wheel for android_backup: filename=android_backup-0.2.0-py3-none-any.whl size=7631 sha256=8fba0a0eb8f588b03bd34dce92acf4b48b30d0c464e0896a510cf4fdc9b6a69c
Stored in directory: /root/.cache/pip/wheels/07/e6/b4/33e56a5de663e2c3f13db7365219a9b9c83b2a52db9608ab3c
Building wheel for micloud (setup.py): started
Building wheel for micloud (setup.py): finished with status 'done'
Created wheel for micloud: filename=micloud-0.6-py3-none-any.whl size=9986 sha256=0e6ef0150b16ca677ed78819414d254817a2246f4d6a1d9ca73813d7960f4b27
Stored in directory: /root/.cache/pip/wheels/14/06/43/cca28699c6ac5b6442495f1a6470fe1380717cfe7d0c1c0e36
Successfully built android_backup micloud
Installing collected packages: pytz, netifaces, ifaddr, appdirs, android_backup, zipp, urllib3, tzdata, typing-extensions, tqdm, six, PyYAML, pycryptodome, pycparser, idna, defusedxml, construct, charset-normalizer, certifi, backports.zoneinfo, attrs, requests, pytz-deprecation-shim, python-dateutil, importlib_metadata, cffi, async-timeout, zeroconf, tzlocal, cryptography, croniter, click, micloud, python-miio
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: zipp
Found existing installation: zipp 3.5.0
Uninstalling zipp-3.5.0:
Successfully uninstalled zipp-3.5.0
Attempting uninstall: urllib3
Found existing installation: urllib3 1.24.1
Uninstalling urllib3-1.24.1:
Successfully uninstalled urllib3-1.24.1
Attempting uninstall: typing-extensions
Found existing installation: typing-extensions 3.7.4.3
Uninstalling typing-extensions-3.7.4.3:
Successfully uninstalled typing-extensions-3.7.4.3
Attempting uninstall: six
Found existing installation: six 1.15.0
Uninstalling six-1.15.0:
Successfully uninstalled six-1.15.0
Attempting uninstall: pycryptodome
Found existing installation: pycryptodome 3.10.1
Uninstalling pycryptodome-3.10.1:
Successfully uninstalled pycryptodome-3.10.1
Attempting uninstall: idna
Found existing installation: idna 2.6
Uninstalling idna-2.6:
Successfully uninstalled idna-2.6
Attempting uninstall: construct
Found existing installation: construct 2.10.68
Uninstalling construct-2.10.68:
Successfully uninstalled construct-2.10.68
Attempting uninstall: certifi
Found existing installation: certifi 2018.8.24
Uninstalling certifi-2018.8.24:
Successfully uninstalled certifi-2018.8.24
Attempting uninstall: attrs
Found existing installation: attrs 20.3.0
Uninstalling attrs-20.3.0:
Successfully uninstalled attrs-20.3.0
Attempting uninstall: requests
Found existing installation: requests 2.21.0
Uninstalling requests-2.21.0:
Successfully uninstalled requests-2.21.0
Attempting uninstall: importlib_metadata
Found existing installation: importlib-metadata 4.8.1
Uninstalling importlib-metadata-4.8.1:
Successfully uninstalled importlib-metadata-4.8.1
Attempting uninstall: async-timeout
Found existing installation: async-timeout 3.0.1
Uninstalling async-timeout-3.0.1:
Successfully uninstalled async-timeout-3.0.1
Attempting uninstall: cryptography
Found existing installation: cryptography 2.6.1
Uninstalling cryptography-2.6.1:
Successfully uninstalled cryptography-2.6.1
Attempting uninstall: click
Found existing installation: click 7.1.2
Uninstalling click-7.1.2:
Successfully uninstalled click-7.1.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aiohttp 3.7.4.post0 requires async-timeout<4.0,>=3.0, but you have async-timeout 4.0.2 which is incompatible.
Successfully installed PyYAML-6.0 android_backup-0.2.0 appdirs-1.4.4 async-timeout-4.0.2 attrs-22.2.0 backports.zoneinfo-0.2.1 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-2.1.1 click-8.1.3 construct-2.10.68 croniter-1.3.8 cryptography-38.0.4 defusedxml-0.7.1 idna-3.4 ifaddr-0.2.0 importlib_metadata-1.7.0 micloud-0.6 netifaces-0.11.0 pycparser-2.21 pycryptodome-3.16.0 python-dateutil-2.8.2 python-miio-0.5.12 pytz-2022.7 pytz-deprecation-shim-0.1.0.post0 requests-2.28.1 six-1.16.0 tqdm-4.64.1 typing-extensions-4.4.0 tzdata-2022.7 tzlocal-4.2 urllib3-1.26.13 zeroconf-0.47.1 zipp-3.11.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
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome
+ rm /tmp/jeedom_install_in_progress_xiaomihome
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Je verrais bien un soucis à ce niveau et probablement qu’il manque des éléments pour finaliser ensuite ?

aiohttp 3.7.4.post0 requires async-timeout<4.0,>=3.0, but you have async-timeout 4.0.2 which is incompatible.

Merci :slight_smile:

Bonsoir,

Je parlais de ce post, histoire de faire remonter le sujet…

Bon et bien comme je n’aurais pas de réponse du développeur faut se débrouiller :

  • Création d’une VM « Jeedom secodnaire » sur mon QNAP à partir de l’image pour « virtualbox » : pas de problème avec l’installation des dépendances

  • Connexion de la VM sur le réseau réservé au WIFI, sinon effectivement les paquets broadcast ne sont pas reçus et ça ne fonctionne pas

  • Utilisation de JeeLink pour renvoyer l’équipement Roborock sur « Jeedom Principal »

La belle petite usine à gaz :disappointed:

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