Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Répondre
Gsc
Timide
Messages : 46
Inscription : 01 janv. 2016, 18:11

[Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par Gsc » 14 août 2017, 22:49

Bonjour à tous,

J'ai installé le plugin Bluetooth Advertisement (blea) - stable, ainsi que les dépendances mais je n'arrive pas à lancer le démon, quand je clique sur Démarrer le demon, je vois passer le statut en OK 2sec puis il repasse en NOK.

J'ai réinstaller les dépendances plusieurs fois mais rien n'y fait.

Je peux séléctionner mon dongle bluetooth donc il est reconnu.

Si quelqu'un peut me filer un coup de main il est le bienvenue ;-)

Merci

Voici les printScreen et les différents logs :
PrintScreen1.png
PrintScreen1.png (43.45 Kio) Consulté 2337 fois
PrintScreen2.png
PrintScreen2.png (32.86 Kio) Consulté 2337 fois
Log BLEA debug :

Code : Tout sélectionner

[2017-08-14 21:51:29][ERROR] : Attention l'installation des dépendances ont dépassées le temps maximum autorisé : 30min
[2017-08-14 22:00:48][INFO] : Lancement démon blea : sudo /usr/bin/python /var/www/html/plugins/blea/resources/blead/blead.py --loglevel debug --device hci0 --socketport 55008 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php --apikey VKLaY46XM3sqd5DQkSCXaCst0QiFgRZ1 --daemonname local
[2017-08-14 22:01:19][ERROR] : Impossible de lancer le démon blea, vérifiez la log
[2017-08-14 22:01:27][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=blea function=remove callInstallFunction=1
[2017-08-14 22:01:29][DEBUG] : This is a message from antenna local
[2017-08-14 22:01:29][DEBUG] : This is a message from antenna local
[2017-08-14 22:01:29][INFO] : Antenna local alive sending known devices
[2017-08-14 22:01:31][DEBUG] : This is a message from antenna local
[2017-08-14 22:06:08][INFO] : Début d'activation du plugin
[2017-08-14 22:06:09][INFO] : Info sur le démon : Array (     [launchable_message] =>      [launchable] => nok     [state] => nok     [log] => nok     [auto] => 0 )
[2017-08-14 22:06:10][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=blea function=install callInstallFunction=1
[2017-08-14 22:41:17][ERROR] : Attention l'installation des dépendances ont dépassées le temps maximum autorisé : 30min
[2017-08-14 22:44:35][INFO] : Lancement démon blea : sudo /usr/bin/python /var/www/html/plugins/blea/resources/blead/blead.py --loglevel debug --device hci0 --socketport 55008 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php --apikey hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO --daemonname local
[2017-08-14 22:44:46][DEBUG] : This is a message from antenna local
[2017-08-14 22:44:46][DEBUG] : This is a message from antenna local
[2017-08-14 22:44:46][INFO] : Antenna local alive sending known devices
[2017-08-14 22:44:48][DEBUG] : This is a message from antenna local
Logs BLEA_dependancy :

Code : Tout sélectionner

Launch install of blea dependancy
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
Get:3 http://mirrordirector.raspbian.org jessie/main armhf Packages [9535 kB]
Get:4 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
Get:5 http://archive.raspberrypi.org jessie/ui armhf Packages [58.9 kB]
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
Get:7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB]
Get:8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 9930 kB in 4min 15s (38.9 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libglib2.0-dev is already the newest version.
Suggested packages:
gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 2693 kB of archives.
After this operation, 309 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main git armhf 1:2.1.4-2.1+deb8u4 [2693 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 2693 kB in 6s (413 kB/s)
(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 ... 41447 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u4_armhf.deb ...
Unpacking git (1:2.1.4-2.1+deb8u4) over (1:2.1.4-2.1+deb8u3) ...
Setting up git (1:2.1.4-2.1+deb8u4) ...
Requirement already satisfied: pyudev in /usr/lib/python2.7/dist-packages
Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages
Cloning into 'bluepy'...
Checking out files:  32% (35/109)   
Checking out files:  33% (36/109)   
Checking out files:  34% (38/109)   
Checking out files:  35% (39/109)   
Checking out files:  36% (40/109)   
Checking out files:  37% (41/109)   
Checking out files:  38% (42/109)   
Checking out files:  39% (43/109)   
Checking out files:  40% (44/109)   
Checking out files:  41% (45/109)   
Checking out files:  42% (46/109)   
Checking out files:  43% (47/109)   
Checking out files:  44% (48/109)   
Checking out files:  45% (50/109)   
Checking out files:  46% (51/109)   
Checking out files:  47% (52/109)   
Checking out files:  48% (53/109)   
Checking out files:  49% (54/109)   
Checking out files:  50% (55/109)   
Checking out files:  51% (56/109)   
Checking out files:  52% (57/109)   
Checking out files:  53% (58/109)   
Checking out files:  54% (59/109)   
Checking out files:  55% (60/109)   
Checking out files:  56% (62/109)   
Checking out files:  57% (63/109)   
Checking out files:  58% (64/109)   
Checking out files:  59% (65/109)   
Checking out files:  60% (66/109)   
Checking out files:  61% (67/109)   
Checking out files:  62% (68/109)   
Checking out files:  63% (69/109)   
Checking out files:  64% (70/109)   
Checking out files:  65% (71/109)   
Checking out files:  66% (72/109)   
Checking out files:  67% (74/109)   
Checking out files:  68% (75/109)   
Checking out files:  69% (76/109)   
Checking out files:  70% (77/109)   
Checking out files:  71% (78/109)   
Checking out files:  72% (79/109)   
Checking out files:  73% (80/109)   
Checking out files:  74% (81/109)   
Checking out files:  75% (82/109)   
Checking out files:  76% (83/109)   
Checking out files:  77% (84/109)   
Checking out files:  78% (86/109)   
Checking out files:  79% (87/109)   
Checking out files:  80% (88/109)   
Checking out files:  81% (89/109)   
Checking out files:  82% (90/109)   
Checking out files:  83% (91/109)   
Checking out files:  84% (92/109)   
Checking out files:  85% (93/109)   
Checking out files:  86% (94/109)   
Checking out files:  87% (95/109)   
Checking out files:  88% (96/109)   
Checking out files:  89% (98/109)   
Checking out files:  90% (99/109)   
Checking out files:  91% (100/109)   
Checking out files:  92% (101/109)   
Checking out files:  93% (102/109)   
Checking out files:  94% (103/109)   
Checking out files:  95% (104/109)   
Checking out files:  96% (105/109)   
Checking out files:  97% (106/109)   
Checking out files:  98% (107/109)   
Checking out files:  99% (108/109)   
Checking out files: 100% (109/109)   
Checking out files: 100% (109/109), done.
running build
running build_py
creating build
creating build/lib.linux-armv6l-2.7
creating build/lib.linux-armv6l-2.7/bluepy
copying bluepy/sensortag.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/btle.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/get_services.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/__init__.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/blescan.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/uuids.json -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/bluez-src.tgz -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/bluepy-helper.c -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/Makefile -> build/lib.linux-armv6l-2.7/bluepy
running install
Launch install of blea dependancy
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
libglib2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Requirement already satisfied: pyudev in /usr/lib/python2.7/dist-packages
Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib.linux-armv6l-2.7
creating build/lib.linux-armv6l-2.7/bluepy
copying bluepy/sensortag.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/btle.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/get_services.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/__init__.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/blescan.py -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/uuids.json -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/bluez-src.tgz -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/bluepy-helper.c -> build/lib.linux-armv6l-2.7/bluepy
copying bluepy/Makefile -> build/lib.linux-armv6l-2.7/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.linux-armv6l-2.7/bluepy
running install_lib
copying build/lib.linux-armv6l-2.7/bluepy/sensortag.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/bluepy-helper.c -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/btle.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/bluepy-helper -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/uuids.json -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/bluez-src.tgz -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/Makefile -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/get_services.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/__init__.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv6l-2.7/bluepy/blescan.py -> /usr/local/lib/python2.7/dist-packages/bluepy
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/sensortag.py to sensortag.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/btle.py to btle.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/get_services.py to get_services.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/blescan.py to blescan.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing top-level names to bluepy.egg-info/top_level.txt
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.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'
removing '/usr/local/lib/python2.7/dist-packages/bluepy-1.1.1.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/local/lib/python2.7/dist-packages/bluepy-1.1.1.egg-info
running install_scripts
Installing blescan script to /usr/local/bin
Installing sensortag script to /usr/local/bin
Everything is successfully installed!
Logs BLEA_Local :

Code : Tout sélectionner

[2017-08-14 22:01:26][INFO] : Start blead
[2017-08-14 22:01:26][INFO] : Log level : debug
[2017-08-14 22:01:26][INFO] : Socket port : 55008
[2017-08-14 22:01:26][INFO] : Socket host : 127.0.0.1
[2017-08-14 22:01:26][INFO] : Device : hci0
[2017-08-14 22:01:26][INFO] : PID file : /tmp/blead.pid
[2017-08-14 22:01:26][INFO] : Apikey : VKLaY46XM3sqd5DQkSCXaCst0QiFgRZ1
[2017-08-14 22:01:26][INFO] : Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2017-08-14 22:01:26][INFO] : Cycle : 0.3
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.dotti
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.fitbit
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.gigaset
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.hector
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.itag
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.jinlin
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.logiswitch
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.miband
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.miband2
[2017-08-14 22:01:27][DEBUG] : No crypto ignoring it
[2017-08-14 22:01:27][INFO] : Import de la configuration devices.miflora
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.miscale
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.myfox
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.niu
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.noke
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.nut
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.playbulb
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.smartplug
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.tb05
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.ticatag
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.wistiki
[2017-08-14 22:01:28][INFO] : Import de la configuration devices.yeelight
[2017-08-14 22:01:28][DEBUG] : Writing PID 3078 to /tmp/blead.pid
[2017-08-14 22:01:28][DEBUG] : Init request module v2.18.3
[2017-08-14 22:01:28][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:01:28][DEBUG] : http://127.0.0.1:80 "GET /plugins/blea/core/php/jeeBlea.php?apikey=VKLaY46XM3sqd5DQkSCXaCst0QiFgRZ1 HTTP/1.1" 200 0
[2017-08-14 22:01:28][DEBUG] : Socket interface started
[2017-08-14 22:01:28][DEBUG] : LoopNetServer Thread started
[2017-08-14 22:01:28][INFO] : Start listening...
[2017-08-14 22:01:28][INFO] : Preparing Scanner...
[2017-08-14 22:01:28][DEBUG] : Listening on: [127.0.0.1:55008]
[2017-08-14 22:01:28][DEBUG] : Read Socket Thread Launched
[2017-08-14 22:01:28][DEBUG] : Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2017-08-14 22:01:28][DEBUG] : Read Device Thread Launched
[2017-08-14 22:01:28][DEBUG] : Heartbeat Thread Launched
[2017-08-14 22:01:28][DEBUG] : Send to jeedom :  {'started': 1, 'source': 'local'}
[2017-08-14 22:01:28][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:01:28][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:01:29][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=VKLaY46XM3sqd5DQkSCXaCst0QiFgRZ1 HTTP/1.1" 200 0
[2017-08-14 22:01:29][WARNING] : Exception on scanner (trying to resolve by myself 6): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:01:30][WARNING] : Exception on scanner (trying to resolve by myself 7): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:01:30][WARNING] : Exception on scanner (trying to resolve by myself 8): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:01:30][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=VKLaY46XM3sqd5DQkSCXaCst0QiFgRZ1 HTTP/1.1" 200 0
[2017-08-14 22:01:30][ERROR] : Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'
[2017-08-14 22:01:31][INFO] : Shutting down due to errors
[2017-08-14 22:01:31][DEBUG] : Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2017-08-14 22:01:31][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:01:32][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=VKLaY46XM3sqd5DQkSCXaCst0QiFgRZ1 HTTP/1.1" 200 0
[2017-08-14 22:01:33][DEBUG] : Shutdown
[2017-08-14 22:01:33][DEBUG] : Removing PID file /tmp/blead.pid
[2017-08-14 22:01:33][DEBUG] : Closing all potential bluetooth connection
[2017-08-14 22:01:33][DEBUG] : LoopNetServer Thread stopped
[2017-08-14 22:01:33][DEBUG] : Exit 0
[2017-08-14 22:06:48][ERROR] : Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'
[2017-08-14 22:44:44][INFO] : Start blead
[2017-08-14 22:44:44][INFO] : Log level : debug
[2017-08-14 22:44:44][INFO] : Socket port : 55008
[2017-08-14 22:44:44][INFO] : Socket host : 127.0.0.1
[2017-08-14 22:44:44][INFO] : Device : hci0
[2017-08-14 22:44:44][INFO] : PID file : /tmp/blead.pid
[2017-08-14 22:44:44][INFO] : Apikey : hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO
[2017-08-14 22:44:44][INFO] : Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2017-08-14 22:44:44][INFO] : Cycle : 0.3
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.dotti
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.fitbit
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.gigaset
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.hector
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.itag
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.jinlin
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.logiswitch
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.miband
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.miband2
[2017-08-14 22:44:45][DEBUG] : No crypto ignoring it
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.miflora
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.miscale
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.myfox
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.niu
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.noke
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.nut
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.playbulb
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.smartplug
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.tb05
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.ticatag
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.wistiki
[2017-08-14 22:44:45][INFO] : Import de la configuration devices.yeelight
[2017-08-14 22:44:45][DEBUG] : Writing PID 12915 to /tmp/blead.pid
[2017-08-14 22:44:45][DEBUG] : Init request module v2.18.3
[2017-08-14 22:44:45][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:44:45][DEBUG] : http://127.0.0.1:80 "GET /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:44:45][DEBUG] : Socket interface started
[2017-08-14 22:44:45][INFO] : Start listening...
[2017-08-14 22:44:45][INFO] : Preparing Scanner...
[2017-08-14 22:44:45][DEBUG] : Read Socket Thread Launched
[2017-08-14 22:44:45][DEBUG] : Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2017-08-14 22:44:45][DEBUG] : LoopNetServer Thread started
[2017-08-14 22:44:45][DEBUG] : Read Device Thread Launched
[2017-08-14 22:44:45][DEBUG] : Heartbeat Thread Launched
[2017-08-14 22:44:45][DEBUG] : Listening on: [127.0.0.1:55008]
[2017-08-14 22:44:45][DEBUG] : Send to jeedom :  {'started': 1, 'source': 'local'}
[2017-08-14 22:44:45][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:44:46][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:44:46][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:44:46][WARNING] : Exception on scanner (trying to resolve by myself 6): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:44:47][WARNING] : Exception on scanner (trying to resolve by myself 7): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:44:47][WARNING] : Exception on scanner (trying to resolve by myself 8): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:44:47][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:44:48][ERROR] : Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'
[2017-08-14 22:44:48][INFO] : Shutting down due to errors
[2017-08-14 22:44:48][DEBUG] : Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2017-08-14 22:44:48][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:44:49][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:44:50][DEBUG] : Shutdown
[2017-08-14 22:44:50][DEBUG] : Removing PID file /tmp/blead.pid
[2017-08-14 22:44:50][DEBUG] : Closing all potential bluetooth connection
[2017-08-14 22:44:50][DEBUG] : LoopNetServer Thread stopped
[2017-08-14 22:44:50][DEBUG] : Exit 0
[2017-08-14 22:45:53][INFO] : Start blead
[2017-08-14 22:45:53][INFO] : Log level : debug
[2017-08-14 22:45:53][INFO] : Socket port : 55008
[2017-08-14 22:45:53][INFO] : Socket host : 127.0.0.1
[2017-08-14 22:45:53][INFO] : Device : hci0
[2017-08-14 22:45:53][INFO] : PID file : /tmp/blead.pid
[2017-08-14 22:45:53][INFO] : Apikey : hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO
[2017-08-14 22:45:53][INFO] : Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2017-08-14 22:45:53][INFO] : Cycle : 0.3
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.dotti
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.fitbit
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.gigaset
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.hector
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.itag
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.jinlin
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.logiswitch
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.miband
[2017-08-14 22:45:53][INFO] : Import de la configuration devices.miband2
[2017-08-14 22:45:54][DEBUG] : No crypto ignoring it
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.miflora
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.miscale
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.myfox
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.niu
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.noke
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.nut
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.playbulb
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.smartplug
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.tb05
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.ticatag
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.wistiki
[2017-08-14 22:45:54][INFO] : Import de la configuration devices.yeelight
[2017-08-14 22:45:54][DEBUG] : Writing PID 13760 to /tmp/blead.pid
[2017-08-14 22:45:54][DEBUG] : Init request module v2.18.3
[2017-08-14 22:45:55][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:45:55][DEBUG] : http://127.0.0.1:80 "GET /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:45:55][DEBUG] : Socket interface started
[2017-08-14 22:45:55][DEBUG] : LoopNetServer Thread started
[2017-08-14 22:45:55][INFO] : Start listening...
[2017-08-14 22:45:55][INFO] : Preparing Scanner...
[2017-08-14 22:45:55][DEBUG] : Read Socket Thread Launched
[2017-08-14 22:45:55][DEBUG] : Listening on: [127.0.0.1:55008]
[2017-08-14 22:45:55][DEBUG] : Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2017-08-14 22:45:55][DEBUG] : Read Device Thread Launched
[2017-08-14 22:45:55][DEBUG] : Heartbeat Thread Launched
[2017-08-14 22:45:55][DEBUG] : Send to jeedom :  {'started': 1, 'source': 'local'}
[2017-08-14 22:45:56][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:45:56][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:45:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:45:58][WARNING] : Exception on scanner (trying to resolve by myself 6): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:45:58][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:45:58][WARNING] : Exception on scanner (trying to resolve by myself 7): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:45:59][WARNING] : Exception on scanner (trying to resolve by myself 8): Failed to execute mgmt cmd 'le on'
[2017-08-14 22:45:59][ERROR] : Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'
[2017-08-14 22:45:59][INFO] : Shutting down due to errors
[2017-08-14 22:45:59][DEBUG] : Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2017-08-14 22:45:59][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-14 22:46:00][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=hXAgpKrqgpbOZPCJwHMKwiXuk9sKrEcO HTTP/1.1" 200 0
[2017-08-14 22:46:01][DEBUG] : Shutdown
[2017-08-14 22:46:01][DEBUG] : Removing PID file /tmp/blead.pid
[2017-08-14 22:46:01][DEBUG] : Closing all potential bluetooth connection
[2017-08-14 22:46:01][DEBUG] : LoopNetServer Thread stopped
[2017-08-14 22:46:01][DEBUG] : Exit 0

Anonyme
Actif
Messages : 10082
Inscription : 09 août 2014, 12:15

Re: Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par Anonyme » 14 août 2017, 23:19

Contenu supprimé à la demande de son auteur

Gsc
Timide
Messages : 46
Inscription : 01 janv. 2016, 18:11

Re: Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par Gsc » 14 août 2017, 23:37

Salut,

Oui

Dans les logs blea_local j'ai cette ligne qui revient toutes les 5 min

[2017-08-14 23:40:50][ERROR] : Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'

Gsc
Timide
Messages : 46
Inscription : 01 janv. 2016, 18:11

Re: Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par Gsc » 16 août 2017, 19:40

Bonjour,

Je viens de résoudre mon problème, mon dongle était trop vieux et donc non compatible.

BrunoL
Timide
Messages : 44
Inscription : 30 janv. 2016, 11:24

Re: Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par BrunoL » 01 janv. 2018, 20:53

Bonsoir

J’ai le même soucis, comment savoir si le Asus BT211 est pris en charge ?
___________________________________________________
Bruno, geek et bidouilleur a ses heures perdues

FireMan
Timide
Messages : 12
Inscription : 29 déc. 2017, 09:34

Re: Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par FireMan » 02 janv. 2018, 07:01

Bonjour,

votre clé est en norme Bluetooth 2.1 donc non compatible.

BrunoL
Timide
Messages : 44
Inscription : 30 janv. 2016, 11:24

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par BrunoL » 02 janv. 2018, 21:15

Merci. J'achète une nouvelle génération de ce pas.
___________________________________________________
Bruno, geek et bidouilleur a ses heures perdues

Avatar de l’utilisateur
iPapy
Timide
Messages : 263
Inscription : 12 mars 2017, 16:58
Localisation : Bobigny

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par iPapy » 14 janv. 2018, 11:19

Bonjour,

J'ai aussi le même type de souci et je voudrais savoir si mon dongle Bluetooth est compatible?

Bus 001 Device 008: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

Merci d'avance pour pour votre réponse.

Avatar de l’utilisateur
pinault22
Timide
Messages : 144
Inscription : 05 nov. 2015, 15:23

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par pinault22 » 14 mars 2018, 21:12

Le Bluetooth interne du raspi3 est bien compatible ?

Avatar de l’utilisateur
iPapy
Timide
Messages : 263
Inscription : 12 mars 2017, 16:58
Localisation : Bobigny

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par iPapy » 23 mars 2018, 16:41

pinault22 a écrit :
14 mars 2018, 21:12
Le Bluetooth interne du raspi3 est bien compatible ?
Bonsoir Pinault22

Oui il l'est car sur un de mes RPI j'utilise le Bluetooth interne avec Bluetooth Advertisement (blea).

waccoo
Timide
Messages : 101
Inscription : 01 nov. 2017, 09:18

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par waccoo » 29 déc. 2018, 16:26

Bonjour

j'ai cette erreur au lancement du daemon :
Traceback (most recent call last):
File "/var/www/html/plugins/blea/resources/blead/blead.py", line 26, in <module>
from bluepy.btle import Scanner, DefaultDelegate
ImportError: No module named bluepy.btle


Depuis que j'ai renvoyé ma jeedom et qu'ils m'ont mis à jour sous Linux 9 Stretch PHP7.

Une idée si c'est lié et d'une solution ?

Merci

Swatmorpheus
Actif
Messages : 919
Inscription : 23 avr. 2015, 14:38
Localisation : Haute Gironde

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par Swatmorpheus » 04 janv. 2019, 14:24

Salut , nouvelle installation sur un nuc hystou 7200u avec esxi 6.0 et stretch et jeedom V3.2.12

Tout fonctionne sauf le demon blea qui se lance et se coupe.
sous windows avec virtualbox ça fonctionné mais avec une fraiche installe complete avec esxi non
Le bluetooth est interne au nuc

Log Blea_local:

Code : Tout sélectionner

[2019-01-04 14:17:21][INFO] : GLOBAL------Start blead
[2019-01-04 14:17:21][INFO] : GLOBAL------Log level : debug
[2019-01-04 14:17:21][INFO] : GLOBAL------Socket port : 55008
[2019-01-04 14:17:21][INFO] : GLOBAL------Socket host : 127.0.0.1
[2019-01-04 14:17:21][INFO] : GLOBAL------Device : hci0
[2019-01-04 14:17:21][INFO] : GLOBAL------PID file : /tmp/jeedom/blea/deamon.pid
[2019-01-04 14:17:21][INFO] : GLOBAL------Apikey : CnwdtQ0StuPeIaeTFkudp5tFWprNjwwF
[2019-01-04 14:17:21][INFO] : GLOBAL------Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2019-01-04 14:17:21][INFO] : GLOBAL------Cycle : 0.3
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.awoxmesh
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.dotti
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.dreamscreen
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.fitbit
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.gigaset
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.hector
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.itag
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.jinlin
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.logiswitch
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.miband
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.miband2
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.miflora
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.miscale
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.miscale2
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.myfox
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.niu
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.noke
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.nut
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.parrotplant
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.playbulb
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.ropot
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.smartplug
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.tb05
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.ticatag
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.wistiki
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.xiaomiht
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.yeelight
[2019-01-04 14:17:21][INFO] : LOADER------Import de la configuration devices.yeelightcandela
[2019-01-04 14:17:21][DEBUG] : Writing PID 9441 to /tmp/jeedom/blea/deamon.pid
[2019-01-04 14:17:21][DEBUG] : Init request module v2.12.4
[2019-01-04 14:17:21][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-01-04 14:17:21][DEBUG] : http://127.0.0.1:80 "GET /plugins/blea/core/php/jeeBlea.php?apikey=CnwdtQ0StuPeIaeTFkudp5tFWprNjwwF HTTP/1.1" 200 0
[2019-01-04 14:17:21][DEBUG] : SOCKETHANDLER------Socket interface started
[2019-01-04 14:17:21][DEBUG] : SOCKETHANDLER------LoopNetServer Thread started
[2019-01-04 14:17:21][INFO] : GLOBAL------Start listening...
[2019-01-04 14:17:21][DEBUG] : SOCKETHANDLER------Listening on: [127.0.0.1:55008]
[2019-01-04 14:17:21][INFO] : GLOBAL------Preparing Scanner...
[2019-01-04 14:17:21][DEBUG] : GLOBAL------Read Socket Thread Launched
[2019-01-04 14:17:21][DEBUG] : SENDER------Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2019-01-04 14:17:21][DEBUG] : GLOBAL------Read Device Thread Launched
[2019-01-04 14:17:21][DEBUG] : GLOBAL------Heartbeat Thread Launched
[2019-01-04 14:17:21][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-01-04 14:17:21][DEBUG] : SENDER------Send to jeedom :  {'started': 1, 'source': 'local'}
[2019-01-04 14:17:21][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-01-04 14:17:21][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=CnwdtQ0StuPeIaeTFkudp5tFWprNjwwF HTTP/1.1" 200 0
[2019-01-04 14:17:21][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=CnwdtQ0StuPeIaeTFkudp5tFWprNjwwF HTTP/1.1" 200 0
[2019-01-04 14:17:21][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 6): Failed to execute mgmt cmd 'le on'
[2019-01-04 14:17:22][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 7): Failed to execute mgmt cmd 'le on'
[2019-01-04 14:17:23][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 8): Failed to execute mgmt cmd 'le on'
[2019-01-04 14:17:23][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'
[2019-01-04 14:17:23][INFO] : GLOBAL------Shutting down due to errors
[2019-01-04 14:17:23][DEBUG] : SENDER------Send to jeedom :  {'source': 'local', 'learn_mode': 0}
[2019-01-04 14:17:23][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-01-04 14:17:23][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=CnwdtQ0StuPeIaeTFkudp5tFWprNjwwF HTTP/1.1" 200 0
[2019-01-04 14:17:25][DEBUG] : GLOBAL------Shutdown
[2019-01-04 14:17:25][DEBUG] : GLOBAL------Removing PID file /tmp/jeedom/blea/deamon.pid
[2019-01-04 14:17:25][DEBUG] : GLOBAL------Closing all potential bluetooth connection
[2019-01-04 14:17:25][DEBUG] : SOCKETHANDLER------LoopNetServer Thread stopped
[2019-01-04 14:17:25][DEBUG] : Exit 0
Log Blea:

Code : Tout sélectionner

[2019-01-04 14:17:20][INFO] : Lancement démon blea : sudo /usr/bin/python /var/www/html/plugins/blea/resources/blead/blead.py --loglevel debug --device hci0 --socketport 55008 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php --apikey CnwdtQ0StuPeIaeTFkudp5tFWprNjwwF --daemonname local --pid /tmp/jeedom/blea/deamon.pid
[2019-01-04 14:17:21][DEBUG] : This is a message from antenna local
[2019-01-04 14:17:21][DEBUG] : This is a message from antenna local
[2019-01-04 14:17:21][INFO] : Antenna local alive sending known devices
[2019-01-04 14:17:23][DEBUG] : This is a message from antenna local
Log Blea_update:

Code : Tout sélectionner

********************************************************
*             Installation des dépendances             *
********************************************************
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
bluetooth is already the newest version (5.43-2+deb9u1).
build-essential is already the newest version (12.3).
python-dev is already the newest version (2.7.13-2).
python-pip is already the newest version (9.0.1-2).
python-requests is already the newest version (2.12.4-1).
libssl-dev is already the newest version (1.1.0j-1~deb9u1).
libssl-dev set to manually installed.
The following NEW packages will be installed:
libffi-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 161 kB of archives.
After this operation, 362 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian stretch/main amd64 libffi-dev amd64 3.2.1-6 [161 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 161 kB in 0s (520 kB/s)
Selecting previously unselected package libffi-dev:amd64.
(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 ... 63762 files and directories currently installed.)
Preparing to unpack .../libffi-dev_3.2.1-6_amd64.deb ...
Unpacking libffi-dev:amd64 (3.2.1-6) ...
Setting up libffi-dev:amd64 (3.2.1-6) ...
Processing triggers for man-db (2.7.6.1-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u4).
The following additional packages will be installed:
pkg-config zlib1g-dev
Suggested packages:
libglib2.0-doc
The following NEW packages will be installed:
libglib2.0-dev pkg-config zlib1g-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3253 kB of archives.
After this operation, 11.5 MB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian stretch/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB]
Get:2 http://ftp.fr.debian.org/debian stretch/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB]
Get:3 http://ftp.fr.debian.org/debian stretch/main amd64 libglib2.0-dev amd64 2.50.3-2 [2984 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 3253 kB in 2s (1529 kB/s)
Selecting previously unselected package pkg-config.
(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 ... 63797 files and directories currently installed.)
Preparing to unpack .../pkg-config_0.29-4+b1_amd64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
Selecting previously unselected package libglib2.0-dev.
Preparing to unpack .../libglib2.0-dev_2.50.3-2_amd64.deb ...
Unpacking libglib2.0-dev (2.50.3-2) ...
Processing triggers for libglib2.0-0:amd64 (2.50.3-2) ...
Setting up pkg-config (0.29-4+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
Setting up libglib2.0-dev (2.50.3-2) ...
Requirement already satisfied: pyudev in /usr/lib/python2.7/dist-packages
Requirement already satisfied: pyserial in /usr/lib/python2.7/dist-packages
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages
Collecting pip
Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
Collecting setuptools
Downloading https://files.pythonhosted.org/packages/37/06/754589caf971b0d2d48f151c2586f62902d93dc908e2fd9b9b9f6aa3c9dd/setuptools-40.6.3-py2.py3-none-any.whl (573kB)
Installing collected packages: pip, setuptools
Found existing installation: pip 9.0.1
Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
Found existing installation: setuptools 33.1.1
Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pip-18.1 setuptools-40.6.3
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
82 1622k   82 1339k    0     0  1203k      0  0:00:01  0:00:01 --:--:-- 1203k
100 1622k  100 1622k    0     0  1316k      0  0:00:01  0:00:01 --:--:-- 1316k
Collecting pip
Using cached https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-18.1
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/bluepy
copying bluepy/blescan.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/thingy52.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/sensortag.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/__init__.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/scanner.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/get_services.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/btle.py -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/uuids.json -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/bluez-src.tgz -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/bluepy-helper.c -> build/lib.linux-x86_64-2.7/bluepy
copying bluepy/Makefile -> build/lib.linux-x86_64-2.7/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.linux-x86_64-2.7/bluepy
running install_lib
creating /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/blescan.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/thingy52.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/sensortag.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/__init__.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/bluez-src.tgz -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/Makefile -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/scanner.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/get_services.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/bluepy-helper.c -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/uuids.json -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/btle.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-x86_64-2.7/bluepy/bluepy-helper -> /usr/local/lib/python2.7/dist-packages/bluepy
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/blescan.py to blescan.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/thingy52.py to thingy52.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/sensortag.py to sensortag.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/scanner.py to scanner.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/get_services.py to get_services.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/btle.py to btle.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing top-level names to bluepy.egg-info/top_level.txt
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.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/python2.7/dist-packages/bluepy-1.1.2-py2.7.egg-info
running install_scripts
Installing blescan script to /usr/local/bin
Installing thingy52 script to /usr/local/bin
Installing sensortag script to /usr/local/bin
Requirement already satisfied: cryptography in /usr/lib/python2.7/dist-packages (1.7.1)
Requirement already satisfied: pycrypto in /usr/lib/python2.7/dist-packages (2.6.1)
********************************************************
*             Installation terminée                    *
********************************************************
voici d'autres infos
Capture lsusb.JPG
Capture lsusb.JPG (33.81 Kio) Consulté 1112 fois
Capture usb device et lsmod.JPG
Capture usb device et lsmod.JPG (94.47 Kio) Consulté 1112 fois
Capture BT status.JPG
Capture BT status.JPG (65.64 Kio) Consulté 1112 fois
une idée ?? merci d'avance
Prod: jeedom V3.2.12 DIY RPI3 + Zwave (fibaro) + Zigbee (xiaomi) + IPXV4 + X4VR
AppleTV4k
PI3 : Max2play
PiZéro: PiCoreplayer
Mini+: OpenElec 7.0.1 Kodi 16.1 Jarvis
En préinstall pour migration: Nuc hystou ,ESXi6.7,jeedom V3.2.12, LMS ,Owncloud

Swatmorpheus
Actif
Messages : 919
Inscription : 23 avr. 2015, 14:38
Localisation : Haute Gironde

Re: [Résolu] Bluetooth Advertisement (blea) - stable : Impossible de lancer le demon

Message par Swatmorpheus » 04 janv. 2019, 15:54

Bon j'ai finalement mis une clé BT4 que j'avais en stock et ça fonctionne , je vais rester comme ça , dommage j'aurai bien voulu utiliser la BT interne
Prod: jeedom V3.2.12 DIY RPI3 + Zwave (fibaro) + Zigbee (xiaomi) + IPXV4 + X4VR
AppleTV4k
PI3 : Max2play
PiZéro: PiCoreplayer
Mini+: OpenElec 7.0.1 Kodi 16.1 Jarvis
En préinstall pour migration: Nuc hystou ,ESXi6.7,jeedom V3.2.12, LMS ,Owncloud

Répondre

Revenir vers « [Plugin Officiel] BLEA »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Bing [Bot] et 1 invité