[beta] Xiaomihome : évolutions importantes

Attendre on est devenu des spécialistes à ce niveau là :wink:

Bref, le but n’est pas d’entrer dans une nouvelle polémique mais tout simplement d’obtenir des infos afin de savoir si ça vaut encore la peine ou pas de continuer à tester, d’avoir des retours sur les besoins ou l’aide qu’on pourrait apporter pour résoudre ce bug de longue date…

Il y a une nouvelle beta :wink:
Je vais tester voir…

La mise à jour ne corrige pas les problèmes avec les appliances wifi. J’ai vu le soucis mais ile me faut encore du temps

2 « J'aime »

Merci pour ce point, ça confirme mon bug :wink:

Fais-nous un signe dès que tu as pu traiter et publié une beta, comme ça on pourra tester et te faire des retours ok ? Merci

Hello Lunarok,

Merci pour cette nouvelle beta, je confirme que de mon coté pas de différence avec la béta précédente (toujours pas de purificateur fonctionnel).

Pas de souci, fait nous signe, je reste à disposition :wink:

Hello Lunarock,

Béta du jour installé, Gateway OK, Yeelight et autres capteurs OK, purificateur OK
N’ayant pas d’aspirateur, prise ou autre produits utilisant les appliances wifi je ne saurait dire si le reste fonctionne en tout cas belle avancé :+1:

Edit après 2h de fonctionnement:
J’ai le massage suivant qui apparait dans les notifications:
2021-07-15 09:50:19 xiaomihome Erreur sur la fonction cron5 du plugin : Call to a member function getConfiguration() on null
le log à ce moment là:
xiaomihome.txt (10,3 Ko)

Précision:
Dépendances réinstallé, Jeedom 4.1.24, debian buster x32_x64 image officielle Jeedom

Si tu as besoin d’autre chose fait moi signe Lunarok

Suite au poste de @iPapy ci-dessus, je viens d’installer et de tester la nouvelle beta. Il y a toujours le même problème que j’ai déjà soulevé précédemment, les Plug Aquara Zigbee ne répondent toujours pas → retour à la version stable et à la modification de la ligne.

Je viens d’installer la beta sur la dernière jeedom stable

Relancé les dependances, j’ai toujours cela a la fin sans savoir si c’est grave ou pas

ERROR: Invalid requirement: '_thread'
********************************************************
*             Installation terminée                    *
********************************************************

mes yeelights et mon aspi ne sont pas fonctionnelles

J’ai indiqué que j’avai corrigé le refresh sur les wifi (et depuis j’ai fait aussi le bouton discovery)
D’ailleurs y compris robot au moins la v1, le viomi pose un soucis
J’ai pas toucher aux aqara vu que tu es le seul à en parler, là j’ai fait ca sera demain

Hello prfalken,

J’ai fouiller l’installation de mes dépendances j’ai pas ton message, bizarre :thinking:

Pareil que @iPapy, relance de mes dépendances et rien. @anon53349806 et les logs ?

Ok, si je te comprends bien, on fait des tests de la beta mais tu me dit que vu que je suis le seul pour qui ça ne fonctionne pas, tu ne vas pas investiguer le problème ?..

La question serait de savoir si d’autres ont des Aquara Zigbee du même modèle que moi déjà ? Je suis peut-être le seul finalement :wink: mais il y a quand même un souci qqpart étant donné qu’avec la V stable ça fonctionne.

Voici l’installation des dépendances

Résumé

`

********************************************************
*             Installation des dépendances             *
********************************************************
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Get:5 http://security.debian.org/debian-security buster/updates/main Sources [188 kB]
Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [293 kB]
Fetched 599 kB in 1s (517 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-9).
libssl-dev is already the newest version (1.1.1d-0+deb10u6).
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).
0 upgraded, 0 newly installed, 0 to remove and 57 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 root will break packages and permissions. You should install packages reliably by using venv: 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 root will break packages and permissions. You should install packages reliably by using venv: 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
Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0
Downloading charset_normalizer-2.0.2-py3-none-any.whl (35 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting idna<4,>=2.5
Downloading idna-3.2-py3-none-any.whl (59 kB)
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Successfully installed certifi-2021.5.30 charset-normalizer-2.0.2 idna-3.2 requests-2.26.0 urllib3-1.26.6
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: 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 root will break packages and permissions. You should install packages reliably by using venv: 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 root will break packages and permissions. You should install packages reliably by using venv: 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 root will break packages and permissions. You should install packages reliably by using venv: 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.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting cffi>=1.12
Downloading 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.7 pycparser-2.20
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: 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 root will break packages and permissions. You should install packages reliably by using venv: 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 root will break packages and permissions. You should install packages reliably by using venv: 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.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: 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.6.3-py3-none-any.whl (28 kB)
Collecting ifaddr
Using cached ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Installing collected packages: ifaddr, future, yeelight
Successfully installed future-0.18.2 ifaddr-0.1.7 yeelight-0.6.3
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: 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.6-py3-none-any.whl (268 kB)
Collecting pytz
Using cached pytz-2021.1-py2.py3-none-any.whl (510 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 cryptography<4,>=3
Using cached cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting click<8,>=7
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting defusedxml<0.7,>=0.6
Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting construct<3.0.0,>=2.10.56
Using cached construct-2.10.67-py3-none-any.whl
Collecting importlib_metadata<2,>=1
Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting android_backup<1,>=0
Using cached android_backup-0.2.0-py3-none-any.whl
Collecting PyYAML<6,>=5
Using cached PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636 kB)
Collecting tqdm<5,>=4
Downloading tqdm-4.61.2-py2.py3-none-any.whl (76 kB)
Collecting croniter<1,>=0
Using cached croniter-0.3.37-py2.py3-none-any.whl (13 kB)
Collecting zeroconf<1,>=0
Downloading zeroconf-0.32.1-py3-none-any.whl (102 kB)
Collecting appdirs<2,>=1
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting natsort
Using cached natsort-7.1.1-py3-none-any.whl (35 kB)
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 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
Downloading 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.7 defusedxml-0.6.0 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.6 pytz-2021.1 six-1.16.0 tqdm-4.61.2 zeroconf-0.32.1 zipp-3.5.0
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: 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                    *
********************************************************`

Si je rescanne les yeelights, il me trouve mes yeelights et les nouveaux detectés sont fonctionnels.
Pour l"aspirateur xiaomi, j’ai une croix sur le périphérique
Les commande ne fonctionnent pas

Les logs du démon, pas les logs de dépendances. Ceux qui sont remplis par les commandes qui marchent pas.

viomi corrigé aussi, plus d’erreurs généralisées de mon côté

0484|[2021-07-16 07:44:23]DEBUG : execute : action wifi home
0485|[2021-07-16 07:44:23]DEBUG : Offline Wifi : RobAspi
0486|[2021-07-16 07:44:23]DEBUG : Offline Wifi : RobAspi
0487|[2021-07-16 07:44:23]DEBUG : Offline Wifi : RobAspi

tout fonctionne sous le robot aspi. j’ai juste cela dans les logs…

Well done ! je viens de refaire un test avec ta nouvelle beta et bingo ! les Plug Zigbee répondent parfaitement bien. Merci pour le job. Du coup je laisse la beta pour la tester sur la longueur et je reviens ici si je découvre un bug.

Bonjour Lunarok,

Plus d’erreur non plus de mon coté sur Erreur sur la fonction cron5 du plugin avec la dernière beta du jour.
Merci

Vu le log, le ping ne passe pas sur le robot, donc pas d’action lancée dessus

Punaise je n’aurai jamais déduis cela sans toi !
Effectivement mon jeedom beta ne ping pas le robot !!
Alors que ma prod le ping !

Merci à toi car du coup j’ai trouvé une belle couille dans ma config sur la beta et sur mon FW !!

Tout est ok pour moi avec cette béta !