Crash demon Blea local ou antenne

Tags: #<Tag:0x00007f384e09aaa0>

Bonjour,

Je rencontre un problème avec le plugin Blea.
Le demon crash juste après s’être lancé.
Je suis en version 4.0.61 de Jeedom, version Blea : 2020-06-22 10:24:24, bluepy en version 1.1.4.
Mon Jeedom est installé sur un Proxmox en VM KVM.
J’ai le même problème est le même log, que je mette l’antenne en déporté sur le Proxmox ou en passthrough sur le VM Jeedom.
L’adapter Bluetooth est celui intégré a mon NUC 10, chipset Intel Bluetooth v5.
Voici le log du crash juste après s’être lancé :

[2020-09-30 19:46:26.279][DEBUG] : Daemon is ready
[2020-09-30 19:46:30.683][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 11): Failed to execute management command 'pasvend'
[2020-09-30 19:46:31.100][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 12): Failed to execute management command 'pasvend'
[2020-09-30 19:46:31.515][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 13): Failed to execute management command 'pasvend'
[2020-09-30 19:46:31.932][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 14): Failed to execute management command 'pasvend'
[2020-09-30 19:46:32.348][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 15): Failed to execute management command 'pasvend'
[2020-09-30 19:46:32.765][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 16): Failed to execute management command 'pasvend'
[2020-09-30 19:46:33.182][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 17): Failed to execute management command 'pasvend'
[2020-09-30 19:46:33.599][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 18): Failed to execute management command 'pasvend'
[2020-09-30 19:46:34.014][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 19): Failed to execute management command 'pasvend'
[2020-09-30 19:46:34.430][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 20): Failed to execute management command 'pasvend'
[2020-09-30 19:46:34.846][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'pasvend'
[2020-09-30 19:46:34.846][INFO] : GLOBAL------Shutting down due to errors

Les commandes hcitool scan, blescan par contre fonctionnent très bien.

J’ai cru lire que certain ont résolu ce genre de problème en passant par une clé externe.
J’aimerais votre retour d’expérience et savoir si vous avez une solution avant de passer à la caisse (je n’ai pas spécialement besoin d’une grande portée).

Merci d’avance de votre aide

Et ton antenne c’est une vm sous proxmox aussi donc ?
Version Linux ?
Version python ?
Log des dépendances ?
Il me semble qu’il y avait eu un soucis avec le multi core sous vm pour bluepy à un moment, je ne sais pas si c’est encore le cas.

J’utilise des pi0w comme antennes et j’en suis satisfait même si manifestement certains ont des crashs

1 J'aime

Bonjour Mips,
Merci pour ton retour

Pour l’antenne je l’ai monté directement sur l’OS Proxmox pour limiter au maximum les interférences et être au plus près du Hard.
Il s’agit d’un Debian 10, kernel 5.4.65
python --version = Python 2.7.16 mais il y a aussi la version 3.7 qui est installée.
Concernant les log dépendances de l’antenne, on retrouve exactement le même comportement avec le même crash et le même message d’erreur.
Si j’ai mal compris quelque choses, n’hésite pas je peux fournir toute info nécessaire

Bonne soirée

En relisant je me suis dit que j’avais peut-être pas bien compris ta demande.
Je joins donc les logs des dépendances de l’Antenne qui est directement sous Proxmox.
Merci

Preparing to unpack .../07-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../08-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../09-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../10-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../11-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../12-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../13-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../14-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../15-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../16-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../17-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libstdc++-8-dev:amd64.
Preparing to unpack .../18-libstdc++-8-dev_8.3.0-6_amd64.deb ...
Unpacking libstdc++-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package g++-8.
Preparing to unpack .../19-g++-8_8.3.0-6_amd64.deb ...
Unpacking g++-8 (8.3.0-6) ...
Selecting previously unselected package g++.
Preparing to unpack .../20-g++_4%3a8.3.0-1_amd64.deb ...
Unpacking g++ (4:8.3.0-1) ...
Selecting previously unselected package make.
Preparing to unpack .../21-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../22-libdpkg-perl_1.19.7_all.deb ...
Unpacking libdpkg-perl (1.19.7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../23-dpkg-dev_1.19.7_all.deb ...
Unpacking dpkg-dev (1.19.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../24-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../25-python3-lib2to3_3.7.3-1_all.deb ...
Unpacking python3-lib2to3 (3.7.3-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../26-python3-distutils_3.7.3-1_all.deb ...
Unpacking python3-distutils (3.7.3-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../27-dh-python_3.20190308_all.deb ...
Unpacking dh-python (3.20190308) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../28-libfakeroot_1.23-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.23-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../29-fakeroot_1.23-1_amd64.deb ...
Unpacking fakeroot (1.23-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../30-libalgorithm-diff-perl_1.19.03-2_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-2) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../31-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../32-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libatlas3-base:amd64.
Preparing to unpack .../33-libatlas3-base_3.10.3-8_amd64.deb ...
Unpacking libatlas3-base:amd64 (3.10.3-8) ...
Selecting previously unselected package libatlas-base-dev:amd64.
Preparing to unpack .../34-libatlas-base-dev_3.10.3-8_amd64.deb ...
Unpacking libatlas-base-dev:amd64 (3.10.3-8) ...
Selecting previously unselected package libbluetooth3:amd64.
Preparing to unpack .../35-libbluetooth3_5.50-1.2~deb10u1_amd64.deb ...
Unpacking libbluetooth3:amd64 (5.50-1.2~deb10u1) ...
Selecting previously unselected package libbluetooth-dev:amd64.
Preparing to unpack .../36-libbluetooth-dev_5.50-1.2~deb10u1_amd64.deb ...
Unpacking libbluetooth-dev:amd64 (5.50-1.2~deb10u1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../37-libexpat1-dev_2.2.6-2+deb10u1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.2.6-2+deb10u1) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../38-libffi-dev_3.2.1-9_amd64.deb ...
Unpacking libffi-dev:amd64 (3.2.1-9) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../39-libfile-fcntllock-perl_0.22-3+b5_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b5) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../40-libjbig0_2.1-3.1+b2_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1+b2) ...
Selecting previously unselected package libopenjp2-7:amd64.
Preparing to unpack .../41-libopenjp2-7_2.3.0-2+deb10u1_amd64.deb ...
Unpacking libopenjp2-7:amd64 (2.3.0-2+deb10u1) ...
Selecting previously unselected package libpython3.7-dev:amd64.
Preparing to unpack .../42-libpython3.7-dev_3.7.3-2+deb10u2_amd64.deb ...
Unpacking libpython3.7-dev:amd64 (3.7.3-2+deb10u2) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../43-libpython3-dev_3.7.3-1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.7.3-1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../44-libssl-dev_1.1.1d-0+deb10u3_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1d-0+deb10u3) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../45-libwebp6_0.6.1-2_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../46-libtiff5_4.1.0+git191117-2~deb10u1_amd64.deb ...
Unpacking libtiff5:amd64 (4.1.0+git191117-2~deb10u1) ...
Selecting previously unselected package python3.7-dev.
Preparing to unpack .../47-python3.7-dev_3.7.3-2+deb10u2_amd64.deb ...
Unpacking python3.7-dev (3.7.3-2+deb10u2) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../48-python3-dev_3.7.3-1_amd64.deb ...
Unpacking python3-dev (3.7.3-1) ...
Selecting previously unselected package python3-pyudev.
Preparing to unpack .../49-python3-pyudev_0.21.0-1_all.deb ...
Unpacking python3-pyudev (0.21.0-1) ...
Selecting previously unselected package python3-serial.
Preparing to unpack .../50-python3-serial_3.4-4_all.deb ...
Unpacking python3-serial (3.4-4) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../51-python3-setuptools_40.8.0-1_all.deb ...
Unpacking python3-setuptools (40.8.0-1) ...
Selecting previously unselected package rfkill.
Preparing to unpack .../52-rfkill_2.33.1-0.1_amd64.deb ...
Unpacking rfkill (2.33.1-0.1) ...
Setting up libatlas3-base:amd64 (3.10.3-8) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
update-alternatives: using /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
Setting up libfile-fcntllock-perl (0.22-3+b5) ...
Setting up libalgorithm-diff-perl (1.19.03-2) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libffi-dev:amd64 (3.2.1-9) ...
Setting up libjbig0:amd64 (2.1-3.1+b2) ...
Setting up libatlas-base-dev:amd64 (3.10.3-8) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/atlas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
update-alternatives: using /usr/lib/x86_64-linux-gnu/atlas/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
Setting up libfakeroot:amd64 (1.23-1) ...
Setting up python3-serial (3.4-4) ...
Setting up fakeroot (1.23-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libexpat1-dev:amd64 (2.2.6-2+deb10u1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up rfkill (2.33.1-0.1) ...
Setting up libssl-dev:amd64 (1.1.1d-0+deb10u3) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libwebp6:amd64 (0.6.1-2) ...
Setting up libdpkg-perl (1.19.7) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up libbluetooth3:amd64 (5.50-1.2~deb10u1) ...
Setting up libopenjp2-7:amd64 (2.3.0-2+deb10u1) ...
Setting up libtiff5:amd64 (4.1.0+git191117-2~deb10u1) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up python3-pyudev (0.21.0-1) ...
Setting up python3-lib2to3 (3.7.3-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up bluetooth (5.50-1.2~deb10u1) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up python3-distutils (3.7.3-1) ...
Setting up dh-python (3.20190308) ...
Setting up python3-setuptools (40.8.0-1) ...
Setting up libpython3.7-dev:amd64 (3.7.3-2+deb10u2) ...
Setting up python3.7-dev (3.7.3-2+deb10u2) ...
Setting up dpkg-dev (1.19.7) ...
Setting up libbluetooth-dev:amd64 (5.50-1.2~deb10u1) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up libstdc++-8-dev:amd64 (8.3.0-6) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up libpython3-dev:amd64 (3.7.3-1) ...
Setting up gcc (4:8.3.0-1) ...
Setting up python3-dev (3.7.3-1) ...
Setting up g++-8 (8.3.0-6) ...
Setting up g++ (4:8.3.0-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.6) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  pve-kernel-5.4.44-2-pve pve-kernel-5.4.55-1-pve
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  python-pip-whl python3-asn1crypto python3-cffi-backend python3-crypto
  python3-cryptography python3-entrypoints python3-keyring
  python3-keyrings.alt python3-secretstorage python3-wheel python3-xdg
Suggested packages:
  python-crypto-doc python-cryptography-doc python3-cryptography-vectors
  gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0
  python-secretstorage-doc
The following NEW packages will be installed:
  python-pip-whl python3-asn1crypto python3-cffi-backend python3-crypto
  python3-cryptography python3-entrypoints python3-keyring
  python3-keyrings.alt python3-pip python3-secretstorage python3-wheel
  python3-xdg
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,537 kB of archives.
After this operation, 7,353 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian buster/main amd64 python-pip-whl all 18.1-5 [1,591 kB]
Get:2 http://ftp.fr.debian.org/debian buster/main amd64 python3-asn1crypto all 0.24.0-1 [78.2 kB]
Get:3 http://ftp.fr.debian.org/debian buster/main amd64 python3-cffi-backend amd64 1.12.2-1 [79.7 kB]
Get:4 http://ftp.fr.debian.org/debian buster/main amd64 python3-crypto amd64 2.6.1-9+b1 [263 kB]
Get:5 http://ftp.fr.debian.org/debian buster/main amd64 python3-cryptography amd64 2.6.1-3+deb10u2 [219 kB]
Get:6 http://ftp.fr.debian.org/debian buster/main amd64 python3-entrypoints all 0.3-1 [5,508 B]
Get:7 http://ftp.fr.debian.org/debian buster/main amd64 python3-secretstorage all 2.3.1-2 [14.2 kB]
Get:8 http://ftp.fr.debian.org/debian buster/main amd64 python3-keyring all 17.1.1-1 [43.1 kB]
Get:9 http://ftp.fr.debian.org/debian buster/main amd64 python3-keyrings.alt all 3.1.1-1 [18.2 kB]
Get:10 http://ftp.fr.debian.org/debian buster/main amd64 python3-pip all 18.1-5 [171 kB]
Get:11 http://ftp.fr.debian.org/debian buster/main amd64 python3-wheel all 0.32.3-2 [19.4 kB]
Get:12 http://ftp.fr.debian.org/debian buster/main amd64 python3-xdg all 0.25-5 [35.9 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 2,537 kB in 3s (897 kB/s)
Selecting previously unselected package python-pip-whl.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 76276 files and directories currently installed.)
Preparing to unpack .../00-python-pip-whl_18.1-5_all.deb ...
Unpacking python-pip-whl (18.1-5) ...
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack .../01-python3-asn1crypto_0.24.0-1_all.deb ...
Unpacking python3-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../02-python3-cffi-backend_1.12.2-1_amd64.deb ...
Unpacking python3-cffi-backend (1.12.2-1) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../03-python3-crypto_2.6.1-9+b1_amd64.deb ...
Unpacking python3-crypto (2.6.1-9+b1) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../04-python3-cryptography_2.6.1-3+deb10u2_amd64.deb ...
Unpacking python3-cryptography (2.6.1-3+deb10u2) ...
Selecting previously unselected package python3-entrypoints.
Preparing to unpack .../05-python3-entrypoints_0.3-1_all.deb ...
Unpacking python3-entrypoints (0.3-1) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../06-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../07-python3-keyring_17.1.1-1_all.deb ...
Unpacking python3-keyring (17.1.1-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../08-python3-keyrings.alt_3.1.1-1_all.deb ...
Unpacking python3-keyrings.alt (3.1.1-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../09-python3-pip_18.1-5_all.deb ...
Unpacking python3-pip (18.1-5) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../10-python3-wheel_0.32.3-2_all.deb ...
Unpacking python3-wheel (0.32.3-2) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../11-python3-xdg_0.25-5_all.deb ...
Unpacking python3-xdg (0.25-5) ...
Setting up python3-entrypoints (0.3-1) ...
Setting up python3-xdg (0.25-5) ...
Setting up python3-wheel (0.32.3-2) ...
Setting up python3-crypto (2.6.1-9+b1) ...
Setting up python-pip-whl (18.1-5) ...
Setting up python3-asn1crypto (0.24.0-1) ...
Setting up python3-cffi-backend (1.12.2-1) ...
Setting up python3-cryptography (2.6.1-3+deb10u2) ...
Setting up python3-pip (18.1-5) ...
Setting up python3-keyrings.alt (3.1.1-1) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up python3-keyring (17.1.1-1) ...
Processing triggers for man-db (2.8.5-2) ...
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/44/a6/7fb6e8b3f4a6051e72e4e2218889351f0ee484b9ee17e995f5ccff780300/setuptools-50.3.0-py3-none-any.whl (785kB)
Installing collected packages: setuptools
  Found existing installation: setuptools 40.8.0
    Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'setuptools'. No files were found to uninstall.
Successfully installed setuptools-50.3.0
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  pve-kernel-5.4.44-2-pve pve-kernel-5.4.55-1-pve
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  git-man libblkid-dev liberror-perl libglib2.0-dev-bin libmount-dev
  libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libselinux1-dev
  libsepol1-dev pkg-config uuid-dev zlib1g-dev
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libglib2.0-doc libgdk-pixbuf2.0-bin
  | libgdk-pixbuf2.0-dev libxml2-utils
The following NEW packages will be installed:
  git git-man libblkid-dev liberror-perl libglib2.0-dev libglib2.0-dev-bin
  libmount-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
  libselinux1-dev libsepol1-dev pkg-config uuid-dev zlib1g-dev
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 57.0 MB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:2 http://ftp.fr.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1,620 kB]
Get:3 http://ftp.fr.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5,633 kB]
Get:4 http://ftp.fr.debian.org/debian buster/main amd64 uuid-dev amd64 2.33.1-0.1 [93.6 kB]
Get:5 http://ftp.fr.debian.org/debian buster/main amd64 libblkid-dev amd64 2.33.1-0.1 [225 kB]
Get:6 http://ftp.fr.debian.org/debian buster/main amd64 libglib2.0-dev-bin amd64 2.58.3-2+deb10u2 [157 kB]
Get:7 http://ftp.fr.debian.org/debian buster/main amd64 libmount-dev amd64 2.33.1-0.1 [232 kB]
Get:8 http://ftp.fr.debian.org/debian buster/main amd64 libpcre16-3 amd64 2:8.39-12 [259 kB]
Get:9 http://ftp.fr.debian.org/debian buster/main amd64 libpcre32-3 amd64 2:8.39-12 [250 kB]
Get:10 http://ftp.fr.debian.org/debian buster/main amd64 libpcrecpp0v5 amd64 2:8.39-12 [152 kB]
Get:11 http://ftp.fr.debian.org/debian buster/main amd64 libpcre3-dev amd64 2:8.39-12 [650 kB]
Get:12 http://ftp.fr.debian.org/debian buster/main amd64 libsepol1-dev amd64 2.8-1 [338 kB]
Get:13 http://ftp.fr.debian.org/debian buster/main amd64 libselinux1-dev amd64 2.8-1+b1 [169 kB]
Get:14 http://ftp.fr.debian.org/debian buster/main amd64 pkg-config amd64 0.29-6 [63.5 kB]
Get:15 http://ftp.fr.debian.org/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1 [214 kB]
Get:16 http://ftp.fr.debian.org/debian buster/main amd64 libglib2.0-dev amd64 2.58.3-2+deb10u2 [1,483 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 11.6 MB in 10s (1,212 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 76886 files and directories currently installed.)
Preparing to unpack .../00-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../01-git-man_1%3a2.20.1-2+deb10u3_all.deb ...
Unpacking git-man (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package git.
Preparing to unpack .../02-git_1%3a2.20.1-2+deb10u3_amd64.deb ...
Unpacking git (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../03-uuid-dev_2.33.1-0.1_amd64.deb ...
Unpacking uuid-dev:amd64 (2.33.1-0.1) ...
Selecting previously unselected package libblkid-dev:amd64.
Preparing to unpack .../04-libblkid-dev_2.33.1-0.1_amd64.deb ...
Unpacking libblkid-dev:amd64 (2.33.1-0.1) ...
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack .../05-libglib2.0-dev-bin_2.58.3-2+deb10u2_amd64.deb ...
Unpacking libglib2.0-dev-bin (2.58.3-2+deb10u2) ...
Selecting previously unselected package libmount-dev:amd64.
Preparing to unpack .../06-libmount-dev_2.33.1-0.1_amd64.deb ...
Unpacking libmount-dev:amd64 (2.33.1-0.1) ...
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack .../07-libpcre16-3_2%3a8.39-12_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.39-12) ...
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack .../08-libpcre32-3_2%3a8.39-12_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.39-12) ...
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack .../09-libpcrecpp0v5_2%3a8.39-12_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.39-12) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../10-libpcre3-dev_2%3a8.39-12_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.39-12) ...
Selecting previously unselected package libsepol1-dev:amd64.
Preparing to unpack .../11-libsepol1-dev_2.8-1_amd64.deb ...
Unpacking libsepol1-dev:amd64 (2.8-1) ...
Selecting previously unselected package libselinux1-dev:amd64.
Preparing to unpack .../12-libselinux1-dev_2.8-1+b1_amd64.deb ...
Unpacking libselinux1-dev:amd64 (2.8-1+b1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../13-pkg-config_0.29-6_amd64.deb ...
Unpacking pkg-config (0.29-6) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../14-zlib1g-dev_1%3a1.2.11.dfsg-1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ...
Selecting previously unselected package libglib2.0-dev:amd64.
Preparing to unpack .../15-libglib2.0-dev_2.58.3-2+deb10u2_amd64.deb ...
Unpacking libglib2.0-dev:amd64 (2.58.3-2+deb10u2) ...
Setting up libpcrecpp0v5:amd64 (2:8.39-12) ...
Setting up libglib2.0-dev-bin (2.58.3-2+deb10u2) ...
Setting up libpcre16-3:amd64 (2:8.39-12) ...
Setting up libsepol1-dev:amd64 (2.8-1) ...
Setting up liberror-perl (0.17027-2) ...
Setting up uuid-dev:amd64 (2.33.1-0.1) ...
Setting up libpcre32-3:amd64 (2:8.39-12) ...
Setting up pkg-config (0.29-6) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ...
Setting up git-man (1:2.20.1-2+deb10u3) ...
Setting up libblkid-dev:amd64 (2.33.1-0.1) ...
Setting up libpcre3-dev:amd64 (2:8.39-12) ...
Setting up git (1:2.20.1-2+deb10u3) ...
Setting up libmount-dev:amd64 (2.33.1-0.1) ...
Setting up libselinux1-dev:amd64 (2.8-1+b1) ...
Setting up libglib2.0-dev:amd64 (2.58.3-2+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libglib2.0-0:amd64 (2.58.3-2+deb10u2) ...
No schema files found: doing nothing.
Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages (0.21.0)
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (3.4)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0)
Collecting pybluez
  Downloading https://files.pythonhosted.org/packages/08/9f/e9d93b266d2d1ea988780a52a696073ba0a65df65a532165fdf6ff90d0ed/PyBluez-0.23.tar.gz (97kB)
Building wheels for collected packages: pybluez
  Running setup.py bdist_wheel for pybluez: started
  Running setup.py bdist_wheel for pybluez: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/c8/09/d3/94417fa65febe1baaa97a7152e6a0a53a446aee33efaf9e6f9
Successfully built pybluez
Installing collected packages: pybluez
Successfully installed pybluez-0.23
Collecting pillow
  Downloading https://files.pythonhosted.org/packages/e8/f2/6722dd0c22e3a143ac792ccb2424924ac72af4adea756b1165b4cad50da7/Pillow-7.2.0-cp37-cp37m-manylinux1_x86_64.whl (2.2MB)
Installing collected packages: pillow
Successfully installed pillow-7.2.0
Collecting numpy
  Downloading https://files.pythonhosted.org/packages/d6/2e/a2dbcff6f46bb65645d18538d67183a1cf56b006ba96a12575c282a976bc/numpy-1.19.2-cp37-cp37m-manylinux1_x86_64.whl (13.4MB)
Installing collected packages: numpy
Successfully installed numpy-1.19.2
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/uuids.json -> build/lib/bluepy
copying bluepy/bluez-src.tgz -> build/lib/bluepy
copying bluepy/bluepy-helper.c -> build/lib/bluepy
copying bluepy/Makefile -> build/lib/bluepy
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
running build
running build_py
copying bluepy/bluepy-helper -> build/lib/bluepy
running install_lib
creating /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/blescan.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/sensortag.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/scan_fuzz.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/get_services.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/local/lib/python3.7/dist-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/local/lib/python3.7/dist-packages/bluepy
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/__init__.py to __init__.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/blescan.py to blescan.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/sensortag.py to sensortag.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/scanner.py to scanner.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/thingy52.py to thingy52.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/get_services.py to get_services.cpython-37.pyc
byte-compiling /usr/local/lib/python3.7/dist-packages/bluepy/btle.py to btle.cpython-37.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
Copying bluepy.egg-info to /usr/local/lib/python3.7/dist-packages/bluepy-1.1.4-py3.7.egg-info
running install_scripts
Installing blescan script to /usr/local/bin
Installing sensortag script to /usr/local/bin
Installing thingy52 script to /usr/local/bin
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (2.6.1)
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
********************************************************
*			 Installation terminée					*
********************************************************

Bonjour,

Personne n’a rencontré de problème similaire sur un chipset Intel de NUC ?
Vous pensez que je suis obligé de passer par un clé externe ? Pourtant la carte actuelle semble être bien fonctionnelle en usage directe.

Merci d’avance

Je ne sais pas dire, jamais essayé.
Tu as bien mis un seul coeur sur ton antenne ?

Bonjour Mips,

Tu veux dire qu’il est préconisé que la machine gérant l’antenne soit sur un CPU mono core ?
Si c’est le cas, effectivement je n’ai pas essayé, la VM Jeedom et le serveur Proxmox sont tout deux multi-core. Ça pourrait influer sur la stabilité ?
Si tel est le cas je peux monter une VM Monocore avec un passthrough pour essayer d’y déporter l’antenne BT.

Merci

C’est un problème qui existait dans le passé, j’ignore si c’est encore le cas mais ca vaut la peine d’essayer.

D’accord, merci pour le retour.

Je vais faire des essais lorsque j’aurais un peu de temps, pour faire tourner une antenne sur une machine mono-core. J’en profiterais pour faire les tests sur une VM Ubuntu qui a peut être des drivers plus à jour/propriétaire (j’ai actuellement fait tous mes tests sur Debian) la carte est quand même très récente.

Je reviendrais vers la communauté une fois que j’aurais fait ces tests.

Bonjour à tous, bonjour Mips,

J’ai trouvé le temps de faire mes tests sur une machine virtuelle Ubuntu Mono-core, je viens faire mon retour à la communauté.
Aucune amélioration, le comportement est exactement le même, le log est identique.

Je m’en remet à votre expérience, si vous avez des idées. Merci

Bonjour,

Pour info complémentaire, j’ai essayé sur une VM Debian 10 mono-core, même symptômes, même logs.
J’ai essayé d’appairer et connecter mon NUT au même Proxmox NUC à l’aide de la commande bluetoothctl, il s’est visiblement bien connecté, j’ai essayé de laisser tourner la connexion pendant 12h avec un check toutes les 2 secondes; visiblement aucune déconnexion.

Je ne sais plus trop ou chercher.

Apparemment le chipset fonctionne bien, connexion stable, mais via l’usage de blead, bluepy?, ça crash. Possiblement un histoire de fréquence de check ? De fonctionnement en démon ? D’incompatibilité ?

Si quelqu’un à une piste je prend.

Merci à vous

J’ai pour le moment trouvé une solution de contournement :
La commande /usr/local/lib/python3.7/dist-packages/bluepy/bluepy-helper 0 puis pasv retourne :
rsp=$mgmtcode=$badstate

J’ai donc essayé de changé la config du plugin en scan mode actif au lieu de passif.
Cela semble fonctionner. Je ne sais pas si c’est une limitation de mon chipset de faire uniquement de l’actif.

Ça parle à quelqu’un ?
Merci