Bonjour !
Je faisais partie des derniers retardataires à être encore en version jeedom V3.X
J’ai mis à jour le système récemment, et depuis il m’est impossible de faire tourner le daemon Blea.
Je pense que tout ce qui est python, bluepy etc est bien à jour en dernière version.
Voici le log après tentative de lancement du daemon. Je précise que l’installation des dépendances se passe sans souci.
[2022-02-16 18:10:08]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2022-02-16 18:10:09]INFO : Lancement démon blea : sudo /usr/bin/python3 /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 XXXXXXXXXXXXXXXXXXXXXXXXXX --daemonname local --noseeninterval 4 --scaninterval 29 --scanmode passive --pid /tmp/jeedom/blea/deamon.pid
[2022-02-16 18:10:39]ERROR : Impossible de lancer le démon blea, vérifiez la log
[2022-02-17 10:45:56]INFO : Début d'activation du plugin
[2022-02-17 10:45:57]INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2022-02-17 10:45:57]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=blea function=install callInstallFunction=1
[2022-02-17 09:50:12.081]INFO : GLOBAL------Start blead
[2022-02-17 09:50:12.085]INFO : GLOBAL------Log level : debug
[2022-02-17 09:50:12.086]INFO : GLOBAL------Socket port : 55008
[2022-02-17 09:50:12.086]INFO : GLOBAL------Socket host : 127.0.0.1
[2022-02-17 09:50:12.086]INFO : GLOBAL------Device : hci0
[2022-02-17 09:50:12.087]INFO : GLOBAL------PID file : /tmp/jeedom/blea/deamon.pid
[2022-02-17 09:50:12.087]INFO : GLOBAL------Apikey : 6YdEkkRlc9xbwb58BPLnFGIDKiuqGXQm
[2022-02-17 09:50:12.087]INFO : GLOBAL------Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2022-02-17 09:50:12.087]INFO : GLOBAL------Cycle : 0.3
[2022-02-17 09:50:12.087]INFO : GLOBAL------Scan interval : 29
[2022-02-17 09:50:12.088]INFO : GLOBAL------Number for no seen : 4
[2022-02-17 09:50:12.088]INFO : GLOBAL------Scan Mode : passive
[2022-02-17 09:50:12.115]INFO : LOADER------Import de la configuration devices.amazfitgtr
[2022-02-17 09:50:12.118]INFO : LOADER------Import de la configuration devices.aqualin
[2022-02-17 09:50:12.126]INFO : LOADER------Import de la configuration devices.awoxmesh
[2022-02-17 09:50:12.143]INFO : LOADER------Import de la configuration devices.beagle
[2022-02-17 09:50:12.145]INFO : LOADER------Import de la configuration devices.beewismartdoor
[2022-02-17 09:50:12.148]INFO : LOADER------Import de la configuration devices.beewismartlite
[2022-02-17 09:50:12.150]INFO : LOADER------Import de la configuration devices.blpnr
[2022-02-17 09:50:12.153]INFO : LOADER------Import de la configuration devices.divoompixoo
********************************************************
* Installation des dépendances *
********************************************************
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://www.deb-multimedia.org buster InRelease
Hit:4 http://ftp.uk.debian.org/debian buster InRelease
Hit:5 http://ftp.uk.debian.org/debian buster-updates InRelease
Hit:6 https://deb.nodesource.com/node_14.x buster InRelease
Hit:7 https://oph.mdrjr.net/meveric all InRelease
Hit:8 https://oph.mdrjr.net/meveric buster InRelease
Err:1 https://repo.jeedom.com/odroid stable InRelease
502 Bad Gateway [IP: 51.178.69.128 443]
Reading package lists...
W: Failed to fetch http://repo.jeedom.com/odroid/dists/stable/InRelease 502 Bad Gateway [IP: 51.178.69.128 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
libatlas-base-dev is already the newest version (3.10.3-8).
bluetooth is already the newest version (5.50-1.2~deb10u2).
libbluetooth-dev is already the newest version (5.50-1.2~deb10u2).
build-essential is already the newest version (12.6).
libffi-dev is already the newest version (3.2.1-9).
libopenjp2-7 is already the newest version (2.3.0-2+deb10u2).
libssl-dev is already the newest version (1.1.1d-0+deb10u7).
python3-serial is already the newest version (3.4-4).
python3-setuptools is already the newest version (40.8.0-1).
python3-dev is already the newest version (3.7.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1).
rfkill is already the newest version (2.33.1-0.1).
libtiff5 is already the newest version (4.1.0+git191117-2~deb10u3).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
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, 3 reinstalled, 0 to remove and 16 not upgraded.
Need to get 0 B/1188 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 ... 83187 files and directories currently installed.)
Preparing to unpack .../python3_3.7.3-1_arm64.deb ...
running python pre-rtupdate hooks for python3.7...
Unpacking python3 (3.7.3-1) over (3.7.3-1) ...
Preparing to unpack .../bluez_5.50-1.2~deb10u2_arm64.deb ...
Unpacking bluez (5.50-1.2~deb10u2) over (5.50-1.2~deb10u2) ...
Preparing to unpack .../python3-pip_18.1-5_all.deb ...
Unpacking python3-pip (18.1-5) over (18.1-5) ...
Setting up python3 (3.7.3-1) ...
running python rtupdate hooks for python3.7...
running python post-rtupdate hooks for python3.7...
Setting up bluez (5.50-1.2~deb10u2) ...
Setting up python3-pip (18.1-5) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for systemd (241-7~deb10u8) ...
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (60.9.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.20.1-2+deb10u3).
libglib2.0-dev is already the newest version (2.58.3-2+deb10u3).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Requirement already satisfied: pyudev in /usr/local/lib/python3.7/dist-packages (0.22.0)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from pyudev) (1.16.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (2.27.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests) (2021.10.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests) (1.26.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests) (2.0.10)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests) (3.3)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pybluez in /usr/local/lib/python3.7/dist-packages (0.22)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (9.0.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.21.5)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: bluepy in /usr/local/lib/python3.7/dist-packages (1.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/__init__.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.7/dist-packages/setuptools/dist.py:741: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt)
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/get_services.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scan_fuzz.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/blescan.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/sensortag.py -> /usr/lib/python3.7/site-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/lib/python3.7/site-packages/bluepy
byte-compiling /usr/lib/python3.7/site-packages/bluepy/get_services.py to get_services.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/thingy52.py to thingy52.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/btle.py to btle.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/blescan.py to blescan.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/scanner.py to scanner.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/sensortag.py to sensortag.cpython-37.pyc
byte-compiling /usr/lib/python3.7/site-packages/bluepy/__init__.py to __init__.cpython-37.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing entry points to bluepy.egg-info/entry_points.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
removing '/usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/lib/python3.7/site-packages/bluepy-1.1.4-py3.7.egg-info
running install_scripts
Installing blescan script to /usr/bin
Installing sensortag script to /usr/bin
Installing thingy52 script to /usr/bin
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:741: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt)
/usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Requirement already satisfied: cryptography in /usr/local/lib/python3.7/dist-packages (3.3.1)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography) (1.15.0)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.7/dist-packages (from cryptography) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.12->cryptography) (2.21)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pycrypto in /usr/local/lib/python3.7/dist-packages (2.6.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
********************************************************
* Installation terminée *
********************************************************
var $rawLogCheck = $('#brutlogcheck')
$rawLogCheck.on('click').on('click', function () {
$rawLogCheck.attr('autoswitch', 0)
var scroll = $('#pre_eventlog').scrollTop()
jeedom.log.autoupdate({
log: log_display_name,
display: $('#pre_eventlog'),
search: $('#in_eventLogSearch'),
control: $('#bt_eventLogStopStart'),
once: 1
})
$('#pre_eventlog').scrollTop(scroll)
})
jeedom.log.autoupdate({
log: log_display_name,
default_search: log_default_search,
display: $('#pre_eventlog'),
search: $('#in_eventLogSearch'),
control: $('#bt_eventLogStopStart')
})
$("#bt_logdisplayclearLog").on('click', function(event) {
jeedom.log.clear({
log: log_display_name
})
})
$("#bt_logdisplayremoveLog").on('click', function(event) {
jeedom.log.remove({
log: log_display_name
})
})
$('#bt_logdisplaydownloadLog').click(function() {
window.open('core/php/downloadFile.php?pathfile=log/' + log_display_name, "_blank", null)
})
Over 100 word limitWe’re working to increase this limit and keep load times short. In the meantime, try highlighting up to 100 words at one time to translate.Don’t show again
J’ai fais le tour du forum sans succès, auriez-vous une idée?
Merci !