J’ai installé Jeedom sur un Rapsberry 3B, avec le pluging BLEA ou j’ai configuré l’antenne interne (hci0) port 22 !
Hors d’après mon log j’ai le démon qui se relance « Attention je pense qu’il y a un soucis avec le démon que j’ai relancé plus de 3 fois consécutivement ».
Je possède des portes clés Somfy Home Alarm qui ne sont pas bien détecté et pourtant je ne possède pas un appartement très grand (36 m²) …
Salut Sylvain,
Si tu fait une recherche ici avec RPI3B et BLEA, tu verra que c’est la loterie!
Ceux qui postent sont ceux qui ont des pbs, certes, mais peu décrivent un fonctionnement OK.
=> les pistes : désactiver le wifi du pi, utiliser un dongle BT, le déporter par rallonge usb, le déporter sur un hub, sur un hub alimenté.
* Installation des dépendances *
********************************************************
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Fetched 25.4 kB in 0s (25.5 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.3).
libatlas-base-dev is already the newest version (3.10.3-1+rpi1).
libffi-dev is already the newest version (3.2.1-6).
libopenjp2-7 is already the newest version (2.1.2-1.1+deb9u4).
libssl-dev is already the newest version (1.1.0l-1~deb9u1).
libtiff5 is already the newest version (4.0.8-2+deb9u5).
python3-dev is already the newest version (3.5.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.12.4-1).
python3-serial is already the newest version (3.2.1-1).
python3-setuptools is already the newest version (33.1.1-1).
rfkill is already the newest version (0.5-1).
bluetooth is already the newest version (5.43-2+rpt2+deb9u2).
libbluetooth-dev is already the newest version (5.43-2+rpt2+deb9u2).
The following packages were automatically installed and are no longer required:
libmicrodns0 python-lockfile python-paramiko
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libmicrodns0 python-lockfile python-paramiko
Use 'sudo apt autoremove' to remove them.
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:
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/142 kB of archives.
After this operation, 0 B of additional disk space will be used.
(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 ... 94352 files and directories currently installed.)
Preparing to unpack .../python3-pip_9.0.1-2+rpt2_all.deb ...
Unpacking python3-pip (9.0.1-2+rpt2) over (9.0.1-2+rpt2) ...
Setting up python3-pip (9.0.1-2+rpt2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Requirement already up-to-date: setuptools in /usr/local/lib/python3.5/dist-packages
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u6).
libglib2.0-dev is already the newest version (2.50.3-2+deb9u2).
The following packages were automatically installed and are no longer required:
libmicrodns0 python-lockfile python-paramiko
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages
Requirement already satisfied: requests in /usr/lib/python3/dist-packages
Requirement already satisfied: pybluez in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: pillow in /usr/lib/python3/dist-packages
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/scanner.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
copying build/lib/bluepy/blescan.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/get_services.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/sensortag.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/scan_fuzz.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/local/lib/python3.5/dist-packages/bluepy
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/blescan.py to blescan.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/thingy52.py to thingy52.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/__init__.py to __init__.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/get_services.py to get_services.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/sensortag.py to sensortag.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/scanner.py to scanner.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/btle.py to btle.cpython-35.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing entry points to bluepy.egg-info/entry_points.txt
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing bluepy.egg-info/PKG-INFO
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
removing '/usr/local/lib/python3.5/dist-packages/bluepy-1.1.4-py3.5.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/local/lib/python3.5/dist-packages/bluepy-1.1.4-py3.5.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
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages
********************************************************
* Installation terminée *
Par contre je t’avoue je ne sais pas ou se trouve la log en mode debug du daemon
Note : C’est la 1ere fois que je vois autant de logs différentes
Si c’est l’antenne interne (ou il y a Jeedom ?)
Pourquoi la log parle de log distante ?
Le port 22, c’est pour le ssh.
C’est une antenne local ou distante ?
Si distance, comment l’avez vous installé ?
Il faut expliquez ce que vous avez fait, car si c’est une antenne distante, le deamon local ne fonctionne pas, c’est normal.
Ca… c’est pour les antennes déportés (ceux qui ne se trouvent pas sur l’appareil qui héberge le Jeedom)
Et je vois le statut vert (c’est donc ok pour moi, si c’est bien une antenne distante=.
En revanche, si c’est une antenne locale, c’est à dire au même emplacement que Jeedom, il faut supprimer l’antenne BLEA (qui est uniquement pour les antennes distante).
Et se concentrer sur l’écran précédent du plugin.
Alors, c’est local ou distant ?
Pour moi, cet écran montre une antenne distante (qui n’est pas sur le même emplacement que Jeedom) et qui fonctionne (coeur vert).
Ah mince ! Je suis vraiment nul ! Non non c’est bien une antenne à l’intérieur du Raspberry Pi 3 Model B. Je n’ai rien du tout en dongle pour l’instant !
Il est mieux que je supprime cette « fausse » antenne ?
Oui, il faut supprimer l’antenne distante (écran d’avant)
Et regarder, plus bas, sur l’écran ci-dessus, il manque une partie de l’écran pour comprendre.
C’est ici qu’il faut sélectionner le port hci0 pour l’antenne local (Port clef bluetooth)