Pb prise aqara Zigbee chinoise plugin Xiaomihome

salut Akenad, si je comprends bien ca veut dire que tout le monde n’est pas impacté par le passage en MIIO ? on devrait peut etre trouver quoi faire chez les impactés pour avoir la dernière version fonctionnelle ?

A la base, je m’étais dis que le plugin allait etre corrigé, mais si on est une minorité a avoir le probleme, il faudrait plutôt trouver les actions que nous devrions suivre pour corriger ce probleme.

perso j’ai des erreurs d’installation des dépendances, vous avez pareil?

  Running setup.py bdist_wheel for cryptography: finished with status 'error'
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-84r4jucz/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-a3tkqi0q --python-tag cp37:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography
  creating build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  running egg_info
  writing src/cryptography.egg-info/PKG-INFO
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
  adding license file 'LICENSE.BSD' (matched pattern 'LICEN[CS]E*')
  adding license file 'LICENSE.APACHE' (matched pattern 'LICEN[CS]E*')
  adding license file 'LICENSE.PSF' (matched pattern 'LICEN[CS]E*')
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files matching '*' found under directory '.github'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  warning: no previously-included files matching '*' found under directory '.zuul.d'
  warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography
  running build_ext
  generating cffi module 'build/temp.linux-x86_64-3.7/_padding.c'
  creating build/temp.linux-x86_64-3.7
  generating cffi module 'build/temp.linux-x86_64-3.7/_openssl.c'
  running build_rust
  
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation.html for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq.html
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation.html#rust
      5) If you are experiencing issues with Rust for *this release only* you may
         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
      =============================DEBUG ASSISTANCE=============================
  
  error: can't find Rust compiler
  
  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  
  To update pip, run:
  
      pip install --upgrade pip
  
  and then retry package installation.
  
  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  
  This package requires Rust >=1.41.0.
  
  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-84r4jucz/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  running clean
  removing 'build/temp.linux-x86_64-3.7' (and everything under it)
  removing 'build/lib.linux-x86_64-3.7' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.7' does not exist -- can't clean it
  removing 'build'
  running clean_rust
  
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation.html for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq.html
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation.html#rust
      5) If you are experiencing issues with Rust for *this release only* you may
         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
      =============================DEBUG ASSISTANCE=============================
  
  error: can't find Rust compiler
  
  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  
  To update pip, run:
  
      pip install --upgrade pip
  
  and then retry package installation.
  
  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  
  This package requires Rust >=1.41.0.
  
  ----------------------------------------
  Failed cleaning build dir for cryptography
Failed to build cryptography
Installing collected packages: tqdm, construct, netifaces, click, natsort, six, python-dateutil, croniter, PyYAML, attrs, pycparser, cffi, cryptography, defusedxml, zipp, importlib-metadata, android-backup, pytz, appdirs, ifaddr, zeroconf, python-miio
  Running setup.py install for cryptography: started
    Running setup.py install for cryptography: finished with status 'error'
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-84r4jucz/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5nemd0lb/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/cryptography
    copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography
    copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography
    copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography
    copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography
    copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography
    creating build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509
    creating build/lib.linux-x86_64-3.7/cryptography/hazmat
    copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
    copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
    copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
    copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
    creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
    copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
    copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
    creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
    creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
    copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
    creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
    creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
    copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-
....

xiaomihome_dep.txt (42,5 Ko)

apres la mise à jour ou apres repassage en version antérieur ?
de mon coté depuis le rollback aucun probleme de dépendance

non, sur la derniere version.

Bonjour,
Meme problème sur plusieurs appareils en wifi, (aspirateur, mi plug…)
La seule solution temporaire pour le moment c’est de repartir d’une sauvegarde du plugin Xiaomi Home.

Pour info j’ai fait :

  • Télécharger la derniere archive de Jeedom sur son PC.
  • Décompresser l’archive.
  • Dans l’archive décompressé aller dans « \plugins ».
  • Copier le répertoire « xiaomihome ».
  • Lancer le plugin « Jeexpolorer ».
  • Aller dans « html/plugins/ ».
  • Supprimer le répertoire « xiaomihome ».
  • Coller le répertoire « xiaomihome » de l’archive.
  • Aller dans « Plugins » « Gestion des plugins » « Xiaomi Home ».
  • Désactiver puis activer le plugin.
  • (Re)Démarrer le demon.
3 « J'aime »

Cet extrait de ta log debug, « DEBUG ASSISTANCE » dit que tu as un problème pour installer le module python3 cryptography
pour y remédier :

tu peux essayer :
sudo pip3 install cryptography==3.3.1

ou plus risqué :
sudo python3 -m pip install -U pip
Mais /!\ ATTENTION ensuite pip ne pointe plus sur python2 mais python3, peut avoir un impact sur les plugins encore en python2.

Pour plus de détails sur le pourquoi de cette commande, voir ici : Broadlink - Dépendances Dead après maj vers Buster - module python3 cryptography - #21 par akenad

akenad :slight_smile:

Faux, la gateway est toujours en API locale et ca ne changera pas pour elle.
Le début de support miio et passage en python 3 date de février.

Avril c’est un ajout du spot wifi yeelight

1 « J'aime »

Bonjour lunarok,

oui, février en beta :

akenad :slight_smile:

1 « J'aime »

Et donc le problème que beaucoup de personnes on suite a la mise a jour et dû ?

2 « J'aime »

@lunarok c’est tout ce que l’on va avoir comme explication sur l’erreur suite à la mise à jour de ce matin ?

1 « J'aime »

Avec les infos que je lis, je vois pas ce que je peux faire (comme d’hab)
Sinon vous pouvez dire merci à tous ceux en beta qui n’ont remonté 0 soucis

les erreurs ci-dessous ont l’air d’etre sur un cron5:

[2021-04-26 16:20:03.233][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:20:03.534][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:25:03.322][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:25:03.622][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:25:04.524][ERROR] : SOCKET-READ------Exception on socket : 'str' object has no attribute 'decode'

je viens de passer en debug pour avoir plus de détail, je mettrai les détails.

je ne sais pas du tout si c’est lié a mon erreur d’installation des dépendances au dessus…

Oui en effet après la réinstallation des dépendances le daemon est ok.
J’ai rebooté mon PI4 et voici avec mes équipements le bilan :

  • Yeelight : OK
  • Ventilateurs Xiaomi : HS
  • Aspirateur STYJ02YM : HS

J’avais mis mon fichier en debug sur un autre topic que je recolle ici :

021-04-26 13:37:49.010][DEBUG] : SOCKET-READ------Executing action on : vacuumviomi
[2021-04-26 13:37:49.010][DEBUG] : 'str' object has no attribute 'decode'
[2021-04-26 13:38:04][DEBUG] : Rafraîchissement de Yeelight : Yeelight Lyne
[2021-04-26 13:38:04][DEBUG] : Envoi : {"apikey":"MONAPIKEYxxxxxxxxxxxxxxxxxxxxxxx","type":"yeelight","cmd":"refresh","model":"color","dest":"192.168.0.177","token":"","devtype":"76","serial":"0x00000000035ecc90","id":"192.168.0.177"}
[2021-04-26 13:38:04.515][DEBUG] : Client connected to [127.0.0.1:46622]
[2021-04-26 13:38:04.515][DEBUG] : Message read from socket: b'{"apikey":"MONAPIKEYxxxxxxxxxxxxxxxxxxxxxxx","type":"yeelight","cmd":"refresh","model":"color","dest":"192.168.0.177","token":"","devtype":"76","serial":"0x00000000035ecc90","id":"192.168.0.177"}'
[2021-04-26 13:38:04.516][DEBUG] : Client disconnected from [127.0.0.1:46622]
[2021-04-26 13:38:04][DEBUG] : Rafraîchissement de Yeelight : Yeelight Salon
[2021-04-26 13:38:04][DEBUG] : Envoi : {"apikey":"MONAPIKEYxxxxxxxxxxxxxxxxxxxxxxx","type":"yeelight","cmd":"refresh","model":"color","dest":"192.168.0.169","token":"","devtype":"76","serial":"0x00000000035c1458","id":"192.168.0.169"}
[2021-04-26 13:38:04.551][DEBUG] : Client connected to [127.0.0.1:46624]
[2021-04-26 13:38:04.551][DEBUG] : Message read from socket: b'{"apikey":"MONAPIKEYxxxxxxxxxxxxxxxxxxxxxxx","type":"yeelight","cmd":"refresh","model":"color","dest":"192.168.0.169","token":"","devtype":"76","serial":"0x00000000035c1458","id":"192.168.0.169"}'
[2021-04-26 13:38:04.551][DEBUG] : Client disconnected from [127.0.0.1:46624]
[2021-04-26 13:38:04.629][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 13:38:04.630][DEBUG] : SOCKET-READ------Received command from jeedom : refresh
[2021-04-26 13:38:04.630][DEBUG] : SOCKET-READ------Refreshing : color
[2021-04-26 13:38:04.630][DEBUG] : Bulb<192.168.0.177:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2021-04-26 13:38:04.638][DEBUG] : Bulb<192.168.0.177:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['off', '100', '6500', '16738740', '330', '58', '2', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2021-04-26 13:38:04.677][DEBUG] : Send to jeedom : {'devices': {'yeelight_192.168.0.177': {'ip': '192.168.0.177', 'capabilities': {'id': '192.168.0.177', 'power': 'off', 'bright': '100', 'ct': '6500', 'rgb': '16738740', 'hue': '330', 'sat': '58', 'color_mode': '2', 'flowing': '0', 'delayoff': '0', 'music_on': '0', 'name': None, 'bg_power': None, 'bg_flowing': None, 'bg_ct': None, 'bg_bright': None, 'bg_hue': None, 'bg_sat': None, 'bg_rgb': None, 'nl_br': None, 'active_mode': None, 'current_brightness': '100'}}}}
[2021-04-26 13:38:04.680][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 13:38:04.705][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=MONAPIKEYxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2021-04-26 13:38:04.939][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 13:38:04.940][DEBUG] : SOCKET-READ------Received command from jeedom : refresh
[2021-04-26 13:38:04.940][DEBUG] : SOCKET-READ------Refreshing : color
[2021-04-26 13:38:04.940][DEBUG] : Bulb<192.168.0.169:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'music_on', 'name', 'bg_power', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']}
[2021-04-26 13:38:04.946][DEBUG] : Bulb<192.168.0.169:55443, type=BulbType.Unknown> < {'id': 0, 'result': ['off', '95', '6500', '2717685', '217', '83', '2', '0', '0', '0', '', '', '', '', '', '', '', '', '', '']}
[2021-04-26 13:38:04.958][DEBUG] : Send to jeedom : {'devices': {'yeelight_192.168.0.169': {'ip': '192.168.0.169', 'capabilities': {'id': '192.168.0.169', 'power': 'off', 'bright': '95', 'ct': '6500', 'rgb': '2717685', 'hue': '217', 'sat': '83', 'color_mode': '2', 'flowing': '0', 'delayoff': '0', 'music_on': '0', 'name': None, 'bg_power': None, 'bg_flowing': None, 'bg_ct': None, 'bg_bright': None, 'bg_hue': None, 'bg_sat': None, 'bg_rgb': None, 'nl_br': None, 'active_mode': None, 'current_brightness': '95'}}}}
[2021-04-26 13:38:04.961][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 13:38:04.981][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=MONAPIKEYxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0

Après restauration de ma sauvegarde + 1 reboot de mon PI (obligatoire sinon HS) mes équipements sont tous opérationnels.

idem, meme type d’erreurs

[2021-04-26 16:35:06.616][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 16:35:06.616][DEBUG] : SOCKET-READ------Received command from jeedom : refresh
[2021-04-26 16:35:06.616][DEBUG] : SOCKET-READ------Refreshing : vacuum2
[2021-04-26 16:35:06.616][ERROR] : SOCKET-READ------Exception on socket : 'str' object has no attribute 'decode'

voila plus de logs pour la premiere :

[2021-04-26 16:30:03][DEBUG] : execute : action aquara brightness-set
[2021-04-26 16:30:03][DEBUG] : Envoi : {"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009793,"vol":99}
[2021-04-26 16:30:03.866][DEBUG] : Client connected to [127.0.0.1:39792]
[2021-04-26 16:30:03.867][DEBUG] : Message read from socket: b'{"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009793,"vol":99}'
[2021-04-26 16:30:03.867][DEBUG] : Client disconnected from [127.0.0.1:39792]
[2021-04-26 16:30:03.873][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 16:30:03.874][DEBUG] : SOCKET-READ------Received command from jeedom : send
[2021-04-26 16:30:03.874][DEBUG] : SOCKET-READ------Executing action on : gateway
[2021-04-26 16:30:03.874][DEBUG] : executing {'apikey': 'XXXX', 'type': 'aquara', 'cmd': 'send', 'dest': '192.168.0.4', 'password': '3c4eyy92fk254cb7', 'model': 'gateway', 'sidG': '286c07fa26aa', 'sid': '286c07fa26aa', 'short_id': '0', 'switch': 'rgb', 'request': 1661009793, 'vol': 99}
[2021-04-26 16:30:03.874][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:30:03][DEBUG] : execute : action aquara rgb-set
[2021-04-26 16:30:03][DEBUG] : Envoi : {"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009793,"vol":99}
[2021-04-26 16:30:03.994][DEBUG] : Client connected to [127.0.0.1:39796]
[2021-04-26 16:30:03.996][DEBUG] : Message read from socket: b'{"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009793,"vol":99}'
[2021-04-26 16:30:03.997][DEBUG] : Client disconnected from [127.0.0.1:39796]
[2021-04-26 16:30:04.175][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 16:30:04.175][DEBUG] : SOCKET-READ------Received command from jeedom : send
[2021-04-26 16:30:04.176][DEBUG] : SOCKET-READ------Executing action on : gateway
[2021-04-26 16:30:04.176][DEBUG] : executing {'apikey': 'XXXX', 'type': 'aquara', 'cmd': 'send', 'dest': '192.168.0.4', 'password': '3c4eyy92fk254cb7', 'model': 'gateway', 'sidG': '286c07fa26aa', 'sid': '286c07fa26aa', 'short_id': '0', 'switch': 'rgb', 'request': 1661009793, 'vol': 99}
[2021-04-26 16:30:04.176][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:30:05.632][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c07fa26aa', 'short_id': '0', 'token': 'Bamsjz9dcvnjexnv', 'data': '{"ip":"192.168.0.4"}'}
[2021-04-26 16:30:05.663][DEBUG] : Send to jeedom : {'devices': {'aquara_286c07fa26aa': {'model': 'gateway', 'sid': '286c07fa26aa', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.0.4', 'token': 'Bamsjz9dcvnjexnv', 'data': {'ip': '192.168.0.4'}}}}
[2021-04-26 16:30:05.668][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:05.683][DEBUG] : {'cmd': 'report', 'model': 'motion', 'sid': '158d00015a8794', 'short_id': 54805, 'data': '{"status":"motion"}'}
[2021-04-26 16:30:05.705][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0
[2021-04-26 16:30:05.757][DEBUG] : Send to jeedom : {'devices': {'aquara_158d00015a8794': {'model': 'motion', 'sid': '158d00015a8794', 'cmd': 'report', 'short_id': 54805, 'source': '192.168.0.4', 'token': '', 'data': {'status': 'motion'}}}}
[2021-04-26 16:30:05.760][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:05.773][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0
[2021-04-26 16:30:09][DEBUG] : execute : action aquara brightness-set
[2021-04-26 16:30:09][DEBUG] : Envoi : {"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009793,"vol":99}
[2021-04-26 16:30:09.996][DEBUG] : Client connected to [127.0.0.1:39862]
[2021-04-26 16:30:09.996][DEBUG] : Message read from socket: b'{"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009793,"vol":99}'
[2021-04-26 16:30:09.996][DEBUG] : Client disconnected from [127.0.0.1:39862]
[2021-04-26 16:30:09][DEBUG] : execute : action aquara rgb-set
[2021-04-26 16:30:10][DEBUG] : Envoi : {"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009773,"vol":99}
[2021-04-26 16:30:10.041][DEBUG] : Client connected to [127.0.0.1:39864]
[2021-04-26 16:30:10.041][DEBUG] : Message read from socket: b'{"apikey":"XXXX","type":"aquara","cmd":"send","dest":"192.168.0.4","password":"3c4eyy92fk254cb7","model":"gateway","sidG":"286c07fa26aa","sid":"286c07fa26aa","short_id":"0","switch":"rgb","request":1661009773,"vol":99}'
[2021-04-26 16:30:10.041][DEBUG] : Client disconnected from [127.0.0.1:39864]
[2021-04-26 16:30:10.189][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 16:30:10.189][DEBUG] : SOCKET-READ------Received command from jeedom : send
[2021-04-26 16:30:10.190][DEBUG] : SOCKET-READ------Executing action on : gateway
[2021-04-26 16:30:10.190][DEBUG] : executing {'apikey': 'XXXX', 'type': 'aquara', 'cmd': 'send', 'dest': '192.168.0.4', 'password': '3c4eyy92fk254cb7', 'model': 'gateway', 'sidG': '286c07fa26aa', 'sid': '286c07fa26aa', 'short_id': '0', 'switch': 'rgb', 'request': 1661009793, 'vol': 99}
[2021-04-26 16:30:10.190][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:30:10.490][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 16:30:10.491][DEBUG] : SOCKET-READ------Received command from jeedom : send
[2021-04-26 16:30:10.491][DEBUG] : SOCKET-READ------Executing action on : gateway
[2021-04-26 16:30:10.491][DEBUG] : executing {'apikey': 'XXXX', 'type': 'aquara', 'cmd': 'send', 'dest': '192.168.0.4', 'password': '3c4eyy92fk254cb7', 'model': 'gateway', 'sidG': '286c07fa26aa', 'sid': '286c07fa26aa', 'short_id': '0', 'switch': 'rgb', 'request': 1661009773, 'vol': 99}
[2021-04-26 16:30:10.491][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long
[2021-04-26 16:30:15.616][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c07fa26aa', 'short_id': '0', 'token': 'flDPel5hAGUz6Dla', 'data': '{"ip":"192.168.0.4"}'}
[2021-04-26 16:30:15.665][DEBUG] : Send to jeedom : {'devices': {'aquara_286c07fa26aa': {'model': 'gateway', 'sid': '286c07fa26aa', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.0.4', 'token': 'flDPel5hAGUz6Dla', 'data': {'ip': '192.168.0.4'}}}}
[2021-04-26 16:30:15.674][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:15.686][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0
[2021-04-26 16:30:16][DEBUG] : Offline Wifi : Aspirateur
[2021-04-26 16:30:16][DEBUG] : Rafraîchissement de Aqara : Gateway
[2021-04-26 16:30:25.590][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c07fa26aa', 'short_id': '0', 'token': 'KK9lC8PlKrLbOAUF', 'data': '{"ip":"192.168.0.4"}'}
[2021-04-26 16:30:25.623][DEBUG] : Send to jeedom : {'devices': {'aquara_286c07fa26aa': {'model': 'gateway', 'sid': '286c07fa26aa', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.0.4', 'token': 'KK9lC8PlKrLbOAUF', 'data': {'ip': '192.168.0.4'}}}}
[2021-04-26 16:30:25.631][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:25.641][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0
[2021-04-26 16:30:35.571][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c07fa26aa', 'short_id': '0', 'token': 'arRSwWwqzYRtONzM', 'data': '{"ip":"192.168.0.4"}'}
[2021-04-26 16:30:35.617][DEBUG] : Send to jeedom : {'devices': {'aquara_286c07fa26aa': {'model': 'gateway', 'sid': '286c07fa26aa', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.0.4', 'token': 'arRSwWwqzYRtONzM', 'data': {'ip': '192.168.0.4'}}}}
[2021-04-26 16:30:35.623][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:35.635][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0
[2021-04-26 16:30:45.550][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c07fa26aa', 'short_id': '0', 'token': 'qJJuGS7MtfgjgXyf', 'data': '{"ip":"192.168.0.4"}'}
[2021-04-26 16:30:45.562][DEBUG] : Send to jeedom : {'devices': {'aquara_286c07fa26aa': {'model': 'gateway', 'sid': '286c07fa26aa', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.0.4', 'token': 'qJJuGS7MtfgjgXyf', 'data': {'ip': '192.168.0.4'}}}}
[2021-04-26 16:30:45.573][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:45.584][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0
[2021-04-26 16:30:55.529][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c07fa26aa', 'short_id': '0', 'token': '6fwqpGh7apazOv0s', 'data': '{"ip":"192.168.0.4"}'}
[2021-04-26 16:30:55.548][DEBUG] : Send to jeedom : {'devices': {'aquara_286c07fa26aa': {'model': 'gateway', 'sid': '286c07fa26aa', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.0.4', 'token': '6fwqpGh7apazOv0s', 'data': {'ip': '192.168.0.4'}}}}
[2021-04-26 16:30:55.553][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-04-26 16:30:55.565][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXX HTTP/1.1" 200 0

je pense que c’est les actions sur la luminosité/couleur gateway
donc pas un cron5 (j’ai dit une connerie), mais mis à jour sur refresh de la météo qui elle doit etre sur un cron5…

et pour la 2eme qui est l’aspirateur:

[2021-04-26 16:45:05][DEBUG] : Rafraîchissement de XiaomiWifi : Aspirateur
[2021-04-26 16:45:05][DEBUG] : Envoi : {"apikey":"XXX","type":"wifi","cmd":"refresh","model":"vacuum","dest":"192.168.0.50","token":"6f74344872664930734f76343130754a","devtype":"034e","serial":"04d8"}
[2021-04-26 16:45:05][DEBUG] : Rafraîchissement de Aqara : Gateway
[2021-04-26 16:45:05.029][DEBUG] : Client connected to [127.0.0.1:43228]
[2021-04-26 16:45:05.030][DEBUG] : Message read from socket: b'{"apikey":"XXX","type":"wifi","cmd":"refresh","model":"vacuum","dest":"192.168.0.50","token":"6f74344872664930734f76343130754a","devtype":"034e","serial":"04d8"}'
[2021-04-26 16:45:05.030][DEBUG] : Client disconnected from [127.0.0.1:43228]
[2021-04-26 16:45:05.047][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-04-26 16:45:05.048][DEBUG] : SOCKET-READ------Received command from jeedom : refresh
[2021-04-26 16:45:05.048][DEBUG] : SOCKET-READ------Refreshing : vacuum
[2021-04-26 16:45:05.048][ERROR] : SOCKET-READ------Exception on socket : 'str' object has no attribute 'decode'

dit moi si il te faut d’autres infos (derniere version jeedom V4 stable, buster. je sais pas si ça a un interet)

edit: si tu preferes, je peux aussi créer un ticket avec l’acces support, c’est toi qui vois.

le soucis n’est pas génant chez moi parceque je n’ai presque rien en xiaomi donc pas de roll-back. si un acces peut aider, hésite pas.

Le truc c’est qu’il n’y a pas de message d’erreur dans le log meme en Debug.
De toutes façons j’ai réinstaller l’ancienne version du plugin pour avoir un Jeedom de prod fonctionnel, je vais voir en test si j’ai autre chose.

Bonjour Lunarok,

Voilà mes logs si tu veux autre chose dit nous le.

[2021-04-26 08:38:45][DEBUG] : execute : action aquara on
[2021-04-26 08:38:46][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"rgb","request":838860800,"vol":55}
[2021-04-26 08:38:46.298][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:38:48][DEBUG] : execute : action aquara off
[2021-04-26 08:38:48][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"rgb","request":0,"vol":55}
[2021-04-26 08:38:48.402][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:38:52][DEBUG] : execute : action aquara on
[2021-04-26 08:38:52][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"rgb","request":838860800,"vol":55}
[2021-04-26 08:38:52.909][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:38:57][DEBUG] : execute : action aquara vol-set
[2021-04-26 08:38:57][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"vol","request":"100","vol":100}
[2021-04-26 08:38:58.020][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:00][DEBUG] : execute : action aquara mid-list
[2021-04-26 08:39:00][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"1","vol":100}
[2021-04-26 08:39:00.725][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:01][DEBUG] : execute : action aquara mid-set
[2021-04-26 08:39:01][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"","vol":100}
[2021-04-26 08:39:01.928][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:03][DEBUG] : execute : action aquara mid-set
[2021-04-26 08:39:03][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"","vol":100}
[2021-04-26 08:39:03.739][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:05][DEBUG] : execute : action aquara mid-scenar
[2021-04-26 08:39:05][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"","vol":0}
[2021-04-26 08:39:05.243][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:07][DEBUG] : Rafraîchissement de Yeelight : ceiling10 0x00000000177dafe4
[2021-04-26 08:39:07][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"yeelight","cmd":"refresh","model":"ceiling10","dest":"192.168.1.88","token":"","devtype":"49","serial":"0x00000000177dafe4","id":"192.168.1.88"}
[2021-04-26 08:39:07][DEBUG] : Rafraîchissement de Yeelight : color 0x000000000371f531
[2021-04-26 08:39:07][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"yeelight","cmd":"refresh","model":"color","dest":"192.168.1.85","token":"","devtype":"76","serial":"0x000000000371f531","id":"192.168.1.85"}
[2021-04-26 08:39:07][DEBUG] : Rafraîchissement de Yeelight : color 0x0000000004cae3ee
[2021-04-26 08:39:07][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"yeelight","cmd":"refresh","model":"color","dest":"192.168.1.86","token":"","devtype":"76","serial":"0x0000000004cae3ee","id":"192.168.1.86"}
[2021-04-26 08:39:07][DEBUG] : Rafraîchissement de Yeelight : stripe 0x0000000004575dd2
[2021-04-26 08:39:07][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"yeelight","cmd":"refresh","model":"stripe","dest":"192.168.1.89","token":"","devtype":"50","serial":"0x0000000004575dd2","id":"192.168.1.89"}
[2021-04-26 08:39:13][DEBUG] : execute : action aquara mid-set
[2021-04-26 08:39:14][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"1","vol":100}
[2021-04-26 08:39:14.061][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:16][DEBUG] : execute : action aquara mid-set
[2021-04-26 08:39:17][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"1","vol":100}
[2021-04-26 08:39:17.067][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:18][DEBUG] : execute : action aquara mid-set
[2021-04-26 08:39:18][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"mid","request":"1","vol":100}
[2021-04-26 08:39:18.570][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:22][DEBUG] : execute : action aquara off
[2021-04-26 08:39:22][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"rgb","request":0,"vol":100}
[2021-04-26 08:39:22.778][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code
[2021-04-26 08:39:27][DEBUG] : execute : action aquara on
[2021-04-26 08:39:28][DEBUG] : Envoi : {"apikey":"aypyWRsBb2OIXWgpj9W39ei4lGxxxxxx","type":"aquara","cmd":"send","dest":"192.168.1.80","password":"8DF5C31B581048AD","model":"gateway","sidG":"7811dcb35db6","sid":"7811dcb35db6","short_id":"0","switch":"rgb","request":838860800,"vol":100}
[2021-04-26 08:39:28.487][ERROR] : SOCKET-READ------Exception on socket : Object type <class 'str'> cannot be passed to C code

Raspberry Pi3B+
Rasbian Buster à Jour
Jeedom 4.1.22
Plugin en stable du 2021-04-15 01:01:54

Cdt,

il ne serait pas possible de faire une « mise a jour de retour en arrière », pour ceux qui ont fait cette mise a jour et qui pose problème pour ceux qui ne sont pas en beta?

Solution de contournement :

2 « J'aime »

Ok Merci,
cette manip est opérationnel car plus loin tu dis que tu a réinstallé une sauvegarde ?