BLEA - 1 antenne sur 3, le demon ne démarre pas => les divoom****.py crash le demon

Bonjour à tous,
mon souci en 2 mots

Jeedom en V4.1.27 sur Freebox DELTA
blea en dernière version évidemment
antenne locale SENA en usb
Antennes:

  • blea1 : 1 antenne sur PI Zero V1 avec BT de base, installé il y a longtemps en duster : OK
  • blea3 : 1 antenne sur PI Zero V2 + SENA, fraichement installée Bullseye : OK
  • blea2 : 1 antenne sur PI Zero V1 + BT de base, fraichement installée Bullseye : KO

antenne

la même procédure a été appliqué pour les 2 antennes blea3 et blea2 :

voir sarakha63
Procédure adaptée car depuis, avec PI IMAGER, l’image SD intègre directement les accès SSH et le WIFI et adaptée pour ouvrir le root au ssh

Résumé de mes actions sur les PI :

Init de la SD avec PI IMAGER

  • SSH activé
  • WIFI paramétré
  • Hostname changé
  • User pi => « MonPasswd habituel »

Booter
S’identifie en pi / MonPasswd habituel
Exécutez ensuite les commandes :

  • sudo su
  • raspi-config
    Dans raspi-config :
    choix localisation fr _ utf 8.0
    modifiez le mappage du clavier en FR
    étendez le file system et renommez votre Pi…

Reboot
PUTTY, connecté en pi, exécuter les commandes :

  • sudo su
  • apt-get update && apt-get -y dist-upgrade && apt-get -y upgrade
  • nano /etc/ssh/sshd_config
    Chercher:
    #PermitRootLogin without-password
    Ajouter ligne suivante :
    PermitRootLogin yes
    Sauver (ctrl X + Y + enter)
  • sudo /etc/init.d/ssh restart
  • adduser blea
    saisir 2x le nouveau « MonPasswd habituel »
  • adduser blea sudo
  • visudo
    modifier le fichier comme suit :
# User privilege specification
root ALL=(ALL:ALL) ALL
blea ALL=(ALL) NOPASSWD: ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL) NOPASSWD: ALL
  • hciconfig
    vérifier que l’identifiant du dongle Bluetooth est hci0
  • passwd root
    saisir 2x le nouveau « MonPasswd habituel »
  • exit (du sudo)
  • exit (de putty)

Sous JEEDOM Paramétrage de l’antenne KO :
config blea2

L’installation des dépendances s’est bien passé :

********************************************************
*			 Installation des dépendances			 *
********************************************************
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.5 kB]
Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [243 kB]
Fetched 282 kB in 3s (86.6 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9).
libtiff5 is already the newest version (4.2.0-1).
libtiff5 set to manually installed.
python3-requests is already the newest version (2.25.1+dfsg-2).
python3-requests set to manually installed.
rfkill is already the newest version (2.36.1-8).
rfkill set to manually installed.
The following additional packages will be installed:
gir1.2-glib-2.0 javascript-common libatlas3-base libbluetooth3 libexpat1-dev
libgfortran5 libgirepository-1.0-1 libjs-jquery libjs-sphinxdoc
libjs-underscore libpython3-dev libpython3.9-dev python3-distutils
python3-gi python3-lib2to3 python3.9-dev
Suggested packages:
bluez-cups bluez-obexd bluez-meshd apache2 | lighttpd | httpd libatlas-doc
liblapack-doc libssl-doc python3-wxgtk3.0 | python3-wxgtk
python-setuptools-doc
The following NEW packages will be installed:
bluetooth gir1.2-glib-2.0 javascript-common libatlas-base-dev libatlas3-base
libbluetooth-dev libbluetooth3 libexpat1-dev libffi-dev libgfortran5
libgirepository-1.0-1 libjs-jquery libjs-sphinxdoc libjs-underscore
libopenjp2-7 libpython3-dev libpython3.9-dev libssl-dev python3-dev
python3-distutils python3-gi python3-lib2to3 python3-pyudev python3-serial
python3-setuptools python3.9-dev
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.9 MB of archives.
After this operation, 56.6 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf bluetooth all 5.55-3.1+rpt1 [44.8 kB]
Get:2 http://archive.raspberrypi.org/debian bullseye/main armhf libbluetooth3 armhf 5.55-3.1+rpt1 [106 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf libbluetooth-dev armhf 5.55-3.1+rpt1 [221 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libgirepository-1.0-1 armhf 1.66.1-1+b1 [82.6 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf gir1.2-glib-2.0 armhf 1.66.1-1+b1 [151 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf javascript-common all 11+nmu1 [6,260 B]
Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libgfortran5 armhf 10.2.1-6+rpi1 [232 kB]
Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libatlas3-base armhf 3.10.3-10+rpi1 [2,454 kB]
Get:10 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian bullseye/main armhf libexpat1-dev armhf 2.2.10-2 [121 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libatlas-base-dev armhf 3.10.3-10+rpi1 [2,601 kB]
Get:11 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/raspbian/raspbian bullseye/main armhf libffi-dev armhf 3.3-6 [58.2 kB]
Get:13 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-underscore all 1.9.1~dfsg-3 [100 kB]
Get:15 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian bullseye/main armhf libopenjp2-7 armhf 2.4.0-3 [150 kB]
Get:16 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpython3.9-dev armhf 3.9.2-1+rpi1 [3,055 kB]
Get:17 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/raspbian/raspbian bullseye/main armhf libpython3-dev armhf 3.9.2-3 [21.7 kB]
Get:18 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libssl-dev armhf 1.1.1k-1+deb11u1 [1,579 kB]
Get:21 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian bullseye/main armhf python3-distutils all 3.9.2-1 [143 kB]
Get:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [315 kB]
Get:14 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf libjs-sphinxdoc all 3.4.3-2 [127 kB]
Get:19 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3.9-dev armhf 3.9.2-1+rpi1 [501 kB]
Get:20 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf python3-lib2to3 all 3.9.2-1 [77.8 kB]
Get:22 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf python3-dev armhf 3.9.2-3 [24.8 kB]
Get:23 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf python3-gi armhf 3.38.0-2 [215 kB]
Get:24 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf python3-pyudev all 0.22.0-2 [37.0 kB]
Get:25 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3-serial all 3.5~b0-1 [88.8 kB]
Get:26 http://mirrors.ircam.fr/pub/raspbian/raspbian bullseye/main armhf python3-setuptools all 52.0.0-4 [366 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 12.9 MB in 7s (1,851 kB/s)
Selecting previously unselected package bluetooth.
(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 ... 40823 files and directories currently installed.)
Preparing to unpack .../00-bluetooth_5.55-3.1+rpt1_all.deb ...
Unpacking bluetooth (5.55-3.1+rpt1) ...
Selecting previously unselected package libgirepository-1.0-1:armhf.
Preparing to unpack .../01-libgirepository-1.0-1_1.66.1-1+b1_armhf.deb ...
Unpacking libgirepository-1.0-1:armhf (1.66.1-1+b1) ...
Selecting previously unselected package gir1.2-glib-2.0:armhf.
Preparing to unpack .../02-gir1.2-glib-2.0_1.66.1-1+b1_armhf.deb ...
Unpacking gir1.2-glib-2.0:armhf (1.66.1-1+b1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../03-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libgfortran5:armhf.
Preparing to unpack .../04-libgfortran5_10.2.1-6+rpi1_armhf.deb ...
Unpacking libgfortran5:armhf (10.2.1-6+rpi1) ...
Selecting previously unselected package libatlas3-base:armhf.
Preparing to unpack .../05-libatlas3-base_3.10.3-10+rpi1_armhf.deb ...
Unpacking libatlas3-base:armhf (3.10.3-10+rpi1) ...
Selecting previously unselected package libatlas-base-dev:armhf.
Preparing to unpack .../06-libatlas-base-dev_3.10.3-10+rpi1_armhf.deb ...
Unpacking libatlas-base-dev:armhf (3.10.3-10+rpi1) ...
Selecting previously unselected package libbluetooth3:armhf.
Preparing to unpack .../07-libbluetooth3_5.55-3.1+rpt1_armhf.deb ...
Unpacking libbluetooth3:armhf (5.55-3.1+rpt1) ...
Selecting previously unselected package libbluetooth-dev:armhf.
Preparing to unpack .../08-libbluetooth-dev_5.55-3.1+rpt1_armhf.deb ...
Unpacking libbluetooth-dev:armhf (5.55-3.1+rpt1) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../09-libexpat1-dev_2.2.10-2_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.10-2) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../10-libffi-dev_3.3-6_armhf.deb ...
Unpacking libffi-dev:armhf (3.3-6) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../11-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ...
Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../12-libjs-underscore_1.9.1~dfsg-3_all.deb ...
Unpacking libjs-underscore (1.9.1~dfsg-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../13-libjs-sphinxdoc_3.4.3-2_all.deb ...
Unpacking libjs-sphinxdoc (3.4.3-2) ...
Selecting previously unselected package libopenjp2-7:armhf.
Preparing to unpack .../14-libopenjp2-7_2.4.0-3_armhf.deb ...
Unpacking libopenjp2-7:armhf (2.4.0-3) ...
Selecting previously unselected package libpython3.9-dev:armhf.
Preparing to unpack .../15-libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ...
Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../16-libpython3-dev_3.9.2-3_armhf.deb ...
Unpacking libpython3-dev:armhf (3.9.2-3) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../17-libssl-dev_1.1.1k-1+deb11u1_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.1k-1+deb11u1) ...
Selecting previously unselected package python3.9-dev.
Preparing to unpack .../18-python3.9-dev_3.9.2-1+rpi1_armhf.deb ...
Unpacking python3.9-dev (3.9.2-1+rpi1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../19-python3-lib2to3_3.9.2-1_all.deb ...
Unpacking python3-lib2to3 (3.9.2-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../20-python3-distutils_3.9.2-1_all.deb ...
Unpacking python3-distutils (3.9.2-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../21-python3-dev_3.9.2-3_armhf.deb ...
Unpacking python3-dev (3.9.2-3) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../22-python3-gi_3.38.0-2_armhf.deb ...
Unpacking python3-gi (3.38.0-2) ...
Selecting previously unselected package python3-pyudev.
Preparing to unpack .../23-python3-pyudev_0.22.0-2_all.deb ...
Unpacking python3-pyudev (0.22.0-2) ...
Selecting previously unselected package python3-serial.
Preparing to unpack .../24-python3-serial_3.5~b0-1_all.deb ...
Unpacking python3-serial (3.5~b0-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../25-python3-setuptools_52.0.0-4_all.deb ...
Unpacking python3-setuptools (52.0.0-4) ...
Setting up javascript-common (11+nmu1) ...
Setting up libffi-dev:armhf (3.3-6) ...
Setting up python3-serial (3.5~b0-1) ...
Setting up libexpat1-dev:armhf (2.2.10-2) ...
Setting up libssl-dev:armhf (1.1.1k-1+deb11u1) ...
Setting up libgfortran5:armhf (10.2.1-6+rpi1) ...
Setting up libbluetooth3:armhf (5.55-3.1+rpt1) ...
Setting up libopenjp2-7:armhf (2.4.0-3) ...
Setting up libgirepository-1.0-1:armhf (1.66.1-1+b1) ...
Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ...
Setting up python3-pyudev (0.22.0-2) ...
Setting up python3-lib2to3 (3.9.2-1) ...
Setting up bluetooth (5.55-3.1+rpt1) ...
Setting up libjs-underscore (1.9.1~dfsg-3) ...
Setting up python3-distutils (3.9.2-1) ...
Setting up libatlas3-base:armhf (3.10.3-10+rpi1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode
update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode
Setting up python3-setuptools (52.0.0-4) ...
Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
Setting up libatlas-base-dev:armhf (3.10.3-10+rpi1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode
update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode
Setting up libbluetooth-dev:armhf (5.55-3.1+rpt1) ...
Setting up gir1.2-glib-2.0:armhf (1.66.1-1+b1) ...
Setting up libjs-sphinxdoc (3.4.3-2) ...
Setting up python3.9-dev (3.9.2-1+rpi1) ...
Setting up libpython3-dev:armhf (3.9.2-3) ...
Setting up python3-dev (3.9.2-3) ...
Setting up python3-gi (3.38.0-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
python-pip-whl python3-wheel
The following NEW packages will be installed:

.
.
**IMPOSSIBE DE METTRE LE FICHIER EN ENTIER A CAUSE DES LIMITATION DE TAILLE**
.
.
.
.
.

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 12.5 MB in 10s (1,300 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 ... 42278 files and directories currently installed.)
Preparing to unpack .../00-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../01-git-man_1%3a2.30.2-1_all.deb ...
Unpacking git-man (1:2.30.2-1) ...
Selecting previously unselected package git.
Preparing to unpack .../02-git_1%3a2.30.2-1_armhf.deb ...
Unpacking git (1:2.30.2-1) ...
Selecting previously unselected package uuid-dev:armhf.
Preparing to unpack .../03-uuid-dev_2.36.1-8_armhf.deb ...
Unpacking uuid-dev:armhf (2.36.1-8) ...
Selecting previously unselected package libblkid-dev:armhf.
Preparing to unpack .../04-libblkid-dev_2.36.1-8_armhf.deb ...
Unpacking libblkid-dev:armhf (2.36.1-8) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../05-libglib2.0-data_2.66.8-1_all.deb ...
Unpacking libglib2.0-data (2.66.8-1) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../06-libglib2.0-bin_2.66.8-1_armhf.deb ...
Unpacking libglib2.0-bin (2.66.8-1) ...
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack .../07-libglib2.0-dev-bin_2.66.8-1_armhf.deb ...
Unpacking libglib2.0-dev-bin (2.66.8-1) ...
Selecting previously unselected package libsepol1-dev:armhf.
Preparing to unpack .../08-libsepol1-dev_3.1-1_armhf.deb ...
Unpacking libsepol1-dev:armhf (3.1-1) ...
Selecting previously unselected package libpcre2-16-0:armhf.
Preparing to unpack .../09-libpcre2-16-0_10.36-2_armhf.deb ...
Unpacking libpcre2-16-0:armhf (10.36-2) ...
Selecting previously unselected package libpcre2-32-0:armhf.
Preparing to unpack .../10-libpcre2-32-0_10.36-2_armhf.deb ...
Unpacking libpcre2-32-0:armhf (10.36-2) ...
Selecting previously unselected package libpcre2-dev:armhf.
Preparing to unpack .../11-libpcre2-dev_10.36-2_armhf.deb ...
Unpacking libpcre2-dev:armhf (10.36-2) ...
Selecting previously unselected package libselinux1-dev:armhf.
Preparing to unpack .../12-libselinux1-dev_3.1-3_armhf.deb ...
Unpacking libselinux1-dev:armhf (3.1-3) ...
Selecting previously unselected package libmount-dev:armhf.
Preparing to unpack .../13-libmount-dev_2.36.1-8_armhf.deb ...
Unpacking libmount-dev:armhf (2.36.1-8) ...
Selecting previously unselected package libpcre16-3:armhf.
Preparing to unpack .../14-libpcre16-3_2%3a8.39-13_armhf.deb ...
Unpacking libpcre16-3:armhf (2:8.39-13) ...
Selecting previously unselected package libpcre32-3:armhf.
Preparing to unpack .../15-libpcre32-3_2%3a8.39-13_armhf.deb ...
Unpacking libpcre32-3:armhf (2:8.39-13) ...
Selecting previously unselected package libpcrecpp0v5:armhf.
Preparing to unpack .../16-libpcrecpp0v5_2%3a8.39-13_armhf.deb ...
Unpacking libpcrecpp0v5:armhf (2:8.39-13) ...
Selecting previously unselected package libpcre3-dev:armhf.
Preparing to unpack .../17-libpcre3-dev_2%3a8.39-13_armhf.deb ...
Unpacking libpcre3-dev:armhf (2:8.39-13) ...
Selecting previously unselected package libglib2.0-dev:armhf.
Preparing to unpack .../18-libglib2.0-dev_2.66.8-1_armhf.deb ...
Unpacking libglib2.0-dev:armhf (2.66.8-1) ...
Setting up libpcrecpp0v5:armhf (2:8.39-13) ...
Setting up libglib2.0-dev-bin (2.66.8-1) ...
Setting up libpcre16-3:armhf (2:8.39-13) ...
Setting up libsepol1-dev:armhf (3.1-1) ...
Setting up libpcre2-16-0:armhf (10.36-2) ...
Setting up liberror-perl (0.17029-1) ...
Setting up libpcre2-32-0:armhf (10.36-2) ...
Setting up libglib2.0-data (2.66.8-1) ...
Setting up uuid-dev:armhf (2.36.1-8) ...
Setting up libpcre32-3:armhf (2:8.39-13) ...
Setting up git-man (1:2.30.2-1) ...
Setting up libblkid-dev:armhf (2.36.1-8) ...
Setting up libpcre2-dev:armhf (10.36-2) ...
Setting up libselinux1-dev:armhf (3.1-3) ...
Setting up libpcre3-dev:armhf (2:8.39-13) ...
Setting up libglib2.0-bin (2.66.8-1) ...
Setting up git (1:2.30.2-1) ...
Setting up libmount-dev:armhf (2.36.1-8) ...
Setting up libglib2.0-dev:armhf (2.66.8-1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libglib2.0-0:armhf (2.66.8-1) ...
No schema files found: doing nothing.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages (0.22.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (3.5b0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.25.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pybluez
Downloading https://www.piwheels.org/simple/pybluez/PyBluez-0.23-cp39-cp39-linux_armv6l.whl (128 kB)
Installing collected packages: pybluez
Successfully installed pybluez-0.23
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pillow
Downloading https://www.piwheels.org/simple/pillow/Pillow-8.4.0-cp39-cp39-linux_armv6l.whl (1.1 MB)
Installing collected packages: pillow
Successfully installed pillow-8.4.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting numpy
Downloading https://www.piwheels.org/simple/numpy/numpy-1.21.5-cp39-cp39-linux_armv6l.whl (12.2 MB)
Installing collected packages: numpy
Successfully installed numpy-1.21.5
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting bluepy
Downloading https://www.piwheels.org/simple/bluepy/bluepy-1.3.0-cp39-cp39-linux_armv6l.whl (537 kB)
Installing collected packages: bluepy
Successfully installed bluepy-1.3.0
Cloning into 'bluepy'...
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/sensortag.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
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running install
/usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
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/lib/python3.9/site-packages
creating /usr/lib/python3.9/site-packages/bluepy
byte-compiling /usr/lib/python3.9/site-packages/bluepy/get_services.py to get_services.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/blescan.py to blescan.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/scanner.py to scanner.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/__init__.py to __init__.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/thingy52.py to thingy52.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/sensortag.py to sensortag.cpython-39.pyc
byte-compiling /usr/lib/python3.9/site-packages/bluepy/btle.py to btle.cpython-39.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing manifest file 'bluepy.egg-info/SOURCES.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
Copying bluepy.egg-info to /usr/lib/python3.9/site-packages/bluepy-1.1.4-py3.9.egg-info
running install_scripts
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography
Downloading https://www.piwheels.org/simple/cryptography/cryptography-36.0.1-cp39-cp39-linux_armv6l.whl (2.7 MB)
Collecting cffi>=1.12
Downloading https://www.piwheels.org/simple/cffi/cffi-1.15.0-cp39-cp39-linux_armv6l.whl (369 kB)
Collecting pycparser
Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
Installing collected packages: pycparser, cffi, cryptography
Successfully installed cffi-1.15.0 cryptography-36.0.1 pycparser-2.21
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pycrypto
Downloading https://www.piwheels.org/simple/pycrypto/pycrypto-2.6.1-cp39-cp39-linux_armv6l.whl (526 kB)
Installing collected packages: pycrypto
Successfully installed pycrypto-2.6.1
********************************************************
*			 Installation terminée					*
********************************************************

Le log de blea qui tourne en boucle sur le restart l’antenne :

[2021-12-23 14:17:48][INFO] : This is a heartbeat from antenna local
[2021-12-23 14:18:03][INFO] : This is a heartbeat from antenna BLEA1
[2021-12-23 14:18:04][INFO] : Restarting daemon on remote Blea2
[2021-12-23 14:18:04][INFO] : Lancement du démon distant
[2021-12-23 14:18:04][INFO] : Arret du démon distant
[2021-12-23 14:18:07][INFO] : Commande par SSH fuser -k 55008/tcp >> /dev/null 2>&1 & sur 192.168.0.115
[2021-12-23 14:18:07][INFO] : This is a heartbeat from antenna BLEA3
[2021-12-23 14:18:14][INFO] : Lancement du démon distant /usr/bin/python3 /home/blea/blead/resources/blead/blead.py --loglevel info --device hci0 --socketport 55008 --sockethost "" --callback http://192.168.0.126/plugins/blea/core/php/jeeBlea.php --apikey XXXXXXXXMONAPIl --daemonname "Blea2" --noseeninterval 4 --scaninterval 29 --scanmode passive >> /tmp/blea 2>&1 &
[2021-12-23 14:18:17][INFO] : Commande par SSH /usr/bin/python3 /home/blea/blead/resources/blead/blead.py --loglevel info --device hci0 --socketport 55008 --sockethost "" --callback http://192.168.0.126/plugins/blea/core/php/jeeBlea.php --apikey XXXXXXXXMONAPIl --daemonname "Blea2" --noseeninterval 4 --scaninterval 29 --scanmode passive >> /tmp/blea 2>&1 & sur 192.168.0.115
[2021-12-23 14:18:44][INFO] : This is a heartbeat from antenna local
[2021-12-23 14:18:59][INFO] : This is a heartbeat from antenna BLEA1
[2021-12-23 14:19:03][INFO] : This is a heartbeat from antenna BLEA3
[2021-12-23 14:19:04][INFO] : Restarting daemon on remote Blea2
[2021-12-23 14:19:04][INFO] : Lancement du démon distant
[2021-12-23 14:19:04][INFO] : Arret du démon distant
[2021-12-23 14:19:07][INFO] : Commande par SSH fuser -k 55008/tcp >> /dev/null 2>&1 & sur 192.168.0.115
[2021-12-23 14:19:14][INFO] : Lancement du démon distant /usr/bin/python3 /home/blea/blead/resources/blead/blead.py --loglevel info --device hci0 --socketport 55008 --sockethost "" --callback http://192.168.0.126/plugins/blea/core/php/jeeBlea.php --apikey XXXXXXXXMONAPIl--daemonname "Blea2" --noseeninterval 4 --scaninterval 29 --scanmode passive >> /tmp/blea 2>&1 &
[2021-12-23 14:19:17][INFO] : Commande par SSH /usr/bin/python3 /home/blea/blead/resources/blead/blead.py --loglevel info --device hci0 --socketport 55008 --sockethost "" --callback http://192.168.0.126/plugins/blea/core/php/jeeBlea.php --apikey XXXXXXXXMONAPIl--daemonname "Blea2" --noseeninterval 4 --scaninterval 29 --scanmode passive >> /tmp/blea 2>&1 & sur 192.168.0.115
[2021-12-23 14:19:40][INFO] : This is a heartbeat from antenna local

le log de l’antenne qui tourne en boucle

[2021-12-23 14:13:21.572][INFO] : GLOBAL------Start blead
[2021-12-23 14:13:21.574][INFO] : GLOBAL------Log level : info
[2021-12-23 14:13:21.575][INFO] : GLOBAL------Socket port : 55008
[2021-12-23 14:13:21.577][INFO] : GLOBAL------Socket host :
[2021-12-23 14:13:21.578][INFO] : GLOBAL------Device : hci0
[2021-12-23 14:13:21.579][INFO] : GLOBAL------PID file : /tmp/blead.pid
[2021-12-23 14:13:21.581][INFO] : GLOBAL------Apikey : XXXXXXXXMONAPIl
[2021-12-23 14:13:21.582][INFO] : GLOBAL------Callback : http://192.168.0.126/plugins/blea/core/php/jeeBlea.php
[2021-12-23 14:13:21.583][INFO] : GLOBAL------Cycle : 0.3
[2021-12-23 14:13:21.584][INFO] : GLOBAL------Scan interval  : 29
[2021-12-23 14:13:21.586][INFO] : GLOBAL------Number for no seen : 4
[2021-12-23 14:13:21.587][INFO] : GLOBAL------Scan Mode : passive
[2021-12-23 14:13:21.754][INFO] : LOADER------Import de la configuration devices.amazfitgtr
[2021-12-23 14:13:21.761][INFO] : LOADER------Import de la configuration devices.aqualin
[2021-12-23 14:13:21.777][INFO] : LOADER------Import de la configuration devices.awoxmesh
[2021-12-23 14:13:21.815][INFO] : LOADER------Import de la configuration devices.beagle
[2021-12-23 14:13:21.821][INFO] : LOADER------Import de la configuration devices.beewismartdoor
[2021-12-23 14:13:21.830][INFO] : LOADER------Import de la configuration devices.beewismartlite
[2021-12-23 14:13:21.836][INFO] : LOADER------Import de la configuration devices.blpnr
[2021-12-23 14:13:21.842][INFO] : LOADER------Import de la configuration devices.divoompixoo
[2021-12-23 14:14:20.585][INFO] : GLOBAL------Start blead
[2021-12-23 14:14:20.587][INFO] : GLOBAL------Log level : info
[2021-12-23 14:14:20.588][INFO] : GLOBAL------Socket port : 55008
[2021-12-23 14:14:20.589][INFO] : GLOBAL------Socket host :
[2021-12-23 14:14:20.590][INFO] : GLOBAL------Device : hci0
[2021-12-23 14:14:20.592][INFO] : GLOBAL------PID file : /tmp/blead.pid
[2021-12-23 14:14:20.593][INFO] : GLOBAL------Apikey : XXXXXXXXMONAPIl
[2021-12-23 14:14:20.594][INFO] : GLOBAL------Callback : http://192.168.0.126/plugins/blea/core/php/jeeBlea.php
[2021-12-23 14:14:20.596][INFO] : GLOBAL------Cycle : 0.3
[2021-12-23 14:14:20.597][INFO] : GLOBAL------Scan interval  : 29
[2021-12-23 14:14:20.598][INFO] : GLOBAL------Number for no seen : 4
[2021-12-23 14:14:20.599][INFO] : GLOBAL------Scan Mode : passive
[2021-12-23 14:14:20.764][INFO] : LOADER------Import de la configuration devices.amazfitgtr
[2021-12-23 14:14:20.771][INFO] : LOADER------Import de la configuration devices.aqualin
[2021-12-23 14:14:20.787][INFO] : LOADER------Import de la configuration devices.awoxmesh
[2021-12-23 14:14:20.824][INFO] : LOADER------Import de la configuration devices.beagle
[2021-12-23 14:14:20.830][INFO] : LOADER------Import de la configuration devices.beewismartdoor
[2021-12-23 14:14:20.839][INFO] : LOADER------Import de la configuration devices.beewismartlite
[2021-12-23 14:14:20.845][INFO] : LOADER------Import de la configuration devices.blpnr
[2021-12-23 14:14:20.851][INFO] : LOADER------Import de la configuration devices.divoompixoo

Sur le pi,

  • avec htop on voit bien que le demon ne tourne pas.
  • avant de lancer le demon j’ai bien attendu la fin des dépendance en surveillant par un « tail »
  • l’antenne BT est bien hci0 confirmé par la commande hciconfig
  • les fichiers ont bien été transférés et l’arborescence créée

J’ai fait 3 réinstallation from scratch pour être certain.
les résultats sont toujours les mêmes.
le plus intrigant est l’absence de message d’erreur.

Si vous avez des idées je suis preneur.
:+1:

Bonjour,
L’installation est très longue sur les PIW0.

Oui, j’ai attendu la fin de l’installation des dépendances en surveillant par un tail le fichier de log des dépendances.
après les dépendances, plus rien ne se passe et on peut démarrer en théorie.

j’ai malgré tout fait un reboot et attendu encore.
Là, cela fait 14h que j’ai terminé la dernière réinstallation et les symptômes perdurent.

Bonjour,

Le BT est bien running dans hciconfig ?
Que donne rfkill list ?

tout semble OK

blea@BLEA2:~ $ hciconfig
hci0:   Type: Primary  Bus: UART
        BD Address: B8:27:EB:9F:7E:60  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:1468 acl:0 sco:0 events:88 errors:0
        TX bytes:2534 acl:0 sco:0 commands:88 errors:0

blea@BLEA2:~ $ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
blea@BLEA2:~ $

Je viens de noter que l’antenne qui démarre mal à le log suivant

[2021-12-23 14:14:20.599][INFO] : GLOBAL------Scan Mode : passive
[2021-12-23 14:14:20.764][INFO] : LOADER------Import de la configuration devices.amazfitgtr
[2021-12-23 14:14:20.771][INFO] : LOADER------Import de la configuration devices.aqualin
[2021-12-23 14:14:20.787][INFO] : LOADER------Import de la configuration devices.awoxmesh
[2021-12-23 14:14:20.824][INFO] : LOADER------Import de la configuration devices.beagle
[2021-12-23 14:14:20.830][INFO] : LOADER------Import de la configuration devices.beewismartdoor
[2021-12-23 14:14:20.839][INFO] : LOADER------Import de la configuration devices.beewismartlite
[2021-12-23 14:14:20.845][INFO] : LOADER------Import de la configuration devices.blpnr
[2021-12-23 14:14:20.851][INFO] : LOADER------Import de la configuration devices.divoompixoo

alors que l’antenne qui démarre correctement :

[2021-12-23 15:23:53.232][INFO] : GLOBAL------Scan Mode : passive
[2021-12-23 15:23:53.287][INFO] : LOADER------Import de la configuration devices.amazfitgtr
[2021-12-23 15:23:53.289][INFO] : LOADER------Import de la configuration devices.aqualin
[2021-12-23 15:23:53.294][INFO] : LOADER------Import de la configuration devices.awoxmesh
[2021-12-23 15:23:53.305][INFO] : LOADER------Import de la configuration devices.beagle
[2021-12-23 15:23:53.307][INFO] : LOADER------Import de la configuration devices.beewismartdoor
[2021-12-23 15:23:53.309][INFO] : LOADER------Import de la configuration devices.beewismartlite
[2021-12-23 15:23:53.311][INFO] : LOADER------Import de la configuration devices.blpnr
[2021-12-23 15:23:53.313][INFO] : LOADER------Import de la configuration devices.divoompixoo
[2021-12-23 15:23:53.889][INFO] : LOADER------Import de la configuration devices.divoomtimeboxmini
[2021-12-23 15:23:53.897][INFO] : LOADER------Import de la configuration devices.dotti
[2021-12-23 15:23:53.899][INFO] : LOADER------Import de la configuration devices.dreamscreen
[2021-12-23 15:23:53.901][INFO] : LOADER------Import de la configuration devices.fitbit
[2021-12-23 15:23:53.903][INFO] : LOADER------Import de la configuration devices.gigaset
[2021-12-23 15:23:53.905][INFO] : LOADER------Import de la configuration devices.hector
[2021-12-23 15:23:53.906][INFO] : LOADER------Import de la configuration devices.ibbq4
[2021-12-23 15:23:53.908][INFO] : LOADER------Import de la configuration devices.ibbq6
[2021-12-23 15:23:53.910][INFO] : LOADER------Import de la configuration devices.itag
[2021-12-23 15:23:53.912][INFO] : LOADER------Import de la configuration devices.jinlin
[2021-12-23 15:23:53.913][INFO] : LOADER------Import de la configuration devices.kst1
[2021-12-23 15:23:53.916][INFO] : LOADER------Import de la configuration devices.logiswitch
[2021-12-23 15:23:53.918][INFO] : LOADER------Import de la configuration devices.lywsd02
[2021-12-23 15:23:53.920][INFO] : LOADER------Import de la configuration devices.lywsd03 copy 1
[2021-12-23 15:23:53.922][INFO] : LOADER------Import de la configuration devices.lywsd03
[2021-12-23 15:23:53.924][INFO] : LOADER------Import de la configuration devices.meyerdom2analog
[2021-12-23 15:23:53.925][INFO] : LOADER------Import de la configuration devices.meyerdom4contacts
[2021-12-23 15:23:53.927][INFO] : LOADER------Import de la configuration devices.meyerdomcontactvocal
[2021-12-23 15:23:53.929][INFO] : LOADER------Import de la configuration devices.miband
[2021-12-23 15:23:53.934][INFO] : LOADER------Import de la configuration devices.miband2
[2021-12-23 15:23:53.936][INFO] : LOADER------Import de la configuration devices.miband3
[2021-12-23 15:23:53.938][INFO] : LOADER------Import de la configuration devices.miband4
[2021-12-23 15:23:53.940][INFO] : LOADER------Import de la configuration devices.miflora
[2021-12-23 15:23:53.942][INFO] : LOADER------Import de la configuration devices.miscale
[2021-12-23 15:23:53.944][INFO] : LOADER------Import de la configuration devices.miscale2
[2021-12-23 15:23:53.947][INFO] : LOADER------Import de la configuration devices.myfox
[2021-12-23 15:23:53.949][INFO] : LOADER------Import de la configuration devices.niu
[2021-12-23 15:23:53.951][INFO] : LOADER------Import de la configuration devices.noke
[2021-12-23 15:23:53.952][INFO] : LOADER------Import de la configuration devices.nut
[2021-12-23 15:23:53.954][INFO] : LOADER------Import de la configuration devices.parrotplant
[2021-12-23 15:23:53.957][INFO] : LOADER------Import de la configuration devices.pixoo
[2021-12-23 15:23:53.958][INFO] : LOADER------Import de la configuration devices.pixoo.divoom_image
[2021-12-23 15:23:53.959][INFO] : LOADER------Import de la configuration devices.pixoo.messages
[2021-12-23 15:23:53.960][INFO] : LOADER------Import de la configuration devices.pixoo.timebox
[2021-12-23 15:23:53.960][INFO] : LOADER------Import de la configuration devices.pixoo.timeboximage
[2021-12-23 15:23:53.961][INFO] : LOADER------Import de la configuration devices.playbulb
[2021-12-23 15:23:53.962][INFO] : LOADER------Import de la configuration devices.ropot
[2021-12-23 15:23:53.964][INFO] : LOADER------Import de la configuration devices.ruuvi
[2021-12-23 15:23:53.966][INFO] : LOADER------Import de la configuration devices.smartplug
[2021-12-23 15:23:53.968][INFO] : LOADER------Import de la configuration devices.tb05
[2021-12-23 15:23:53.970][INFO] : LOADER------Import de la configuration devices.ticatag
[2021-12-23 15:23:53.972][INFO] : LOADER------Import de la configuration devices.tile
[2021-12-23 15:23:53.974][INFO] : LOADER------Import de la configuration devices.timebox
[2021-12-23 15:23:53.975][INFO] : LOADER------Import de la configuration devices.timebox.divoom_image
[2021-12-23 15:23:53.977][INFO] : LOADER------Import de la configuration devices.timebox.messages
[2021-12-23 15:23:53.977][INFO] : LOADER------Import de la configuration devices.timebox.timebox
[2021-12-23 15:23:53.977][INFO] : LOADER------Import de la configuration devices.timebox.timeboximage
[2021-12-23 15:23:53.978][INFO] : LOADER------Import de la configuration devices.wistiki
[2021-12-23 15:23:53.979][INFO] : LOADER------Import de la configuration devices.xiaomiht
[2021-12-23 15:23:53.981][INFO] : LOADER------Import de la configuration devices.yeelight
[2021-12-23 15:23:53.983][INFO] : LOADER------Import de la configuration devices.yeelightcandela
[2021-12-23 15:23:54.097][INFO] : GLOBAL------Start listening...
[2021-12-23 15:23:54.097][INFO] : GLOBAL------Preparing Scanner...

la liste des imports est bien plus longue, comme si le demon se plante en chargeant les devices

Bonjour, @csercl

Ton problème est assez simple

blea pour des antennes envoie un script python2 sur celle-ci

dans ton cas les pi0w sont en bullseye qui n’installe plus python2

solution sois tu repasse tes piw0 en buster

soit tu ajoute un python2 dans tes PI0W

sudo apt install python

sudo apt install curl
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py

Non blea est passé en python3

Je pensais que c’était p-e un problème de dépendances sur bullseye mais il a une antenne qui tourne dessus déjà.

1 « J'aime »

Bonjour,

Son antenne Blea 3 est en Debian 11 + SENA et ça fonctionne.
Est ce compatible avec ta réponse ?

j’avais ce problème sur mon proxmox 7 en bullseyes il y a quelque jours avec blea a jour
remettre python2 sur la machine distante a résolu le problème …

Le début de la fonction qui lance l’antenne:

	public static function launchremote($_remoteId) {
		log::add('blea','info',__('Lancement du démon distant',__FILE__));
		$remoteObject = blea_remote::byId($_remoteId);
		$last = $remoteObject->getCache('lastupdate','0');
		blea::stopremote($_remoteId);
		sleep(5);
		$user=$remoteObject->getConfiguration('remoteUser');
		$device=$remoteObject->getConfiguration('remoteDevice');
		$script_path = '/home/'.$user.'/blead/resources/blead';
		$cmd = '/usr/bin/python3 ' . $script_path . '/blead.py';

la commande exécutée est bien /usr/bin/python3

j’ai absolument pas regarder le code je l’ait fait par instinct … et ça a fonctionner :slight_smile:

Merci pour vos réponses.

j’avais compris que python3 était utilisé, j’ai tenté de vérifier si il était opérationnel en lançant à la main la commande :

/usr/bin/python3 /home/blea/blead/resources/blead/blead.py --loglevel info --device hci0 --socketport 55008 --sockethost "" --callback http://192.168.0.126/plugins/blea/core/php/jeeBlea.php --apikey XXXXXXXXMONAPIl--daemonname "Blea2" --noseeninterval 4 --scaninterval 29 --scanmode passive >> /tmp/blea 2>&1 &

Résultat non probant. je suis trop débutant pour être pertinent.

Il y a une différence entre mes 2 antennes BLEA2 et BLEA3, le hardware du pi ; celle qui marche est avec un PI 2 Zero.

Par acquis de conscience je vais tenter les 2 choses :

  1. installer python 2 au « cazou »… il n’est pas improbable que cela induise l’installation d’autre chose qui interagisse…
  2. reflasher la SD avec Buster.

On verra ce que ca donne.

1 « J'aime »

Bon, à priori j’ai trouvé !!!

Alors,

  1. j’ai fait un check complet de ma SD avec H2TESTW => carte OK
  2. Sur le PI en Bullseye, j’ai forcé l’installation de python 2 (cf post plus haut de olive) => KO
  3. J’ai refait une (4eme :crazy_face:) installation from scratch du PI mais en Buster (choisir l’image LEGACY sous PI IMAGER) => KO

Au passage, créer et supprimer des antennes sur Jeedom a fini par me générer des PB sur le plugin BLEA
[ERROR] : Erreur sur la fonction cron15 du plugin : Call to a member function getRemoteName() on bool
et un crash Jeedom avec perte de la base mySQL :face_with_symbols_over_mouth:
Une restauration de VM plus tard avec une copie datant de 3 jours heureusement, je me retrouve au point de départ.

puis brusquement IDEEEEEEEE !!! :exploding_head:

Les 2 logs de démarrage de mes antenne montrent clairement que celle qui se crash ne va pas au bout du chargement des devices… et si le pb venait du fichier codé en python ???

Donc je passe en root et je supprime carrément le fichier qui bloque et le suivant dans la liste en supposant que c’est lui qui merde…
Répertoire home/blea/blead/ressources/blead/devices
Fichier divoompixoo.py
et
Fichier divoomtimeboxmini.py

Sur le pi je surveille les processus avec htop
En parallèle sur Jeedom je restart l’antenne … et MIRACLE !!!
=> tous les devices se chargent et le demon démarre.
le petit cœur vert palpite :heart_eyes: :heart_eyes: :heart_eyes:

CONCLUSION :
il y a un truc dans les divoomXXXXXXX.py qui fait planter le démarrage du demon.

  • C’est indépendant de la version de l’OS puis que les symptômes sont les même en buster et bullseye
  • C’est indépendant de la présence ou non de python2
  • C’est (indirectement?) lié au hard puisque cela fonctionne sur PIZero 2W et pas sur PI Zero W.

Voila ! si cela vous arrive, vérifiez la log de démarrage et virez le fichier bloquant.

A confirmer que cela soit suffisant

5 « J'aime »

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