Au final j'ai coupé BLEA et j'économise en charge sur mon PI3B+.
Pour savoir quand je dois arroser, je mets mon doigt en guise de sonde

Code : Tout sélectionner
[Sat Jul 20 12:48:38.444472 2019] [:error] [pid 26593] [client 127.0.0.1:39378] PHP Notice: Undefined index: present in /var/www/html/plugins/blea/core/php/jeeBlea.php on line 197
[Sat Jul 20 12:49:07.208038 2019] [:error] [pid 8207] [client 127.0.0.1:39388] PHP Notice: Undefined index: present in /var/www/html/plugins/blea/core/php/jeeBlea.php on line 197
Code : Tout sélectionner
tail -f /tmp/blea
[2019-07-20 15:22:06][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : global name 'TimeoutExpired' is not defined
Code : Tout sélectionner
cat /tmp/blea_dependancy
Launch install of blea dependancy
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://deb.debian.org/debian stretch Release
Get:5 http://security.debian.org/debian-security stretch/updates/main armhf Packages [485 kB]
Fetched 670 kB in 2s (326 kB/s)
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).
libffi-dev is already the newest version (3.2.1-6).
python-dev is already the newest version (2.7.13-2).
python-pip is already the newest version (9.0.1-2+deb9u1).
python-requests is already the newest version (2.12.4-1).
libssl-dev is already the newest version (1.1.0k-1~deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u4).
libglib2.0-dev is already the newest version (2.50.3-2).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Requirement already satisfied: pyudev in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from pyudev)
Requirement already satisfied: pyserial in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages
Requirement already satisfied: cryptography in /usr/lib/python2.7/dist-packages
Requirement already satisfied: pycrypto in /usr/lib/python2.7/dist-packages
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/bluepy
copying bluepy/__init__.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/thingy52.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/scan_fuzz.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/btle.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/blescan.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/get_services.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/scanner.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/sensortag.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/uuids.json -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/bluez-src.tgz -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/bluepy-helper.c -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/Makefile -> build/lib.linux-armv7l-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-armv7l-2.7/bluepy
running install_lib
creating /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/__init__.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/thingy52.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/uuids.json -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/scan_fuzz.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/btle.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/blescan.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/get_services.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/scanner.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/bluez-src.tgz -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/sensortag.py -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/bluepy-helper -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/bluepy-helper.c -> /usr/local/lib/python2.7/dist-packages/bluepy
copying build/lib.linux-armv7l-2.7/bluepy/Makefile -> /usr/local/lib/python2.7/dist-packages/bluepy
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/thingy52.py to thingy52.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/scan_fuzz.py to scan_fuzz.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/blescan.py to blescan.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/scanner.py to scanner.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/bluepy/sensortag.py to sensortag.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.3.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
Everything is successfully installed!
Salut Naboleo,Naboleo a écrit : ↑20 juil. 2019, 12:51Oui je confirme il y a un truc avec cette version beta :
-Obligé de lancer le script install_apt.sh à la main sinon, le démon ne fonctionne pas bien
- La présence de mon mi band 3 ne fonctionne plus, malgré rescan et recréation des commandes
- J'ai l'impression que la présence dans le widget se (re)masque toute seule dans le widgetCode : Tout sélectionner
[Sat Jul 20 12:48:38.444472 2019] [:error] [pid 26593] [client 127.0.0.1:39378] PHP Notice: Undefined index: present in /var/www/html/plugins/blea/core/php/jeeBlea.php on line 197 [Sat Jul 20 12:49:07.208038 2019] [:error] [pid 8207] [client 127.0.0.1:39388] PHP Notice: Undefined index: present in /var/www/html/plugins/blea/core/php/jeeBlea.php on line 197
Changer régulièrement je ne sais pas, mais j'ai bien des commandes associées (dont la présence) qui sont orphelines .... Donc ça y ressemble
Salut
Rien dans ceux -là ?
J'ai déjà essayé ça (en tapant sur google) :Running setup.py (path:/tmp/pip-build-6l846ajd/cryptography/setup.py) egg_info for package cryptography
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-6l846ajd/cryptography/setup.py", line 26, in <module>
"cryptography requires setuptools 18.5 or newer, please upgrade to a "
RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-6l846ajd/cryptography/setup.py", line 26, in <module>
"cryptography requires setuptools 18.5 or newer, please upgrade to a "
RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
Code : Tout sélectionner
Downloading/unpacking cryptography
Running setup.py (path:/tmp/pip-build-wzjlmw4x/cryptography/setup.py) egg_info for package cryptography
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-wzjlmw4x/cryptography/setup.py", line 26, in <module>
"cryptography requires setuptools 18.5 or newer, please upgrade to a "
RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-wzjlmw4x/cryptography/setup.py", line 26, in <module>
"cryptography requires setuptools 18.5 or newer, please upgrade to a "
RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-wzjlmw4x/cryptography
Storing debug log for failure in /root/.pip/pip.log
Requirement already satisfied (use --upgrade to upgrade): pycrypto in /usr/local/lib/python3.4/dist-packages
Cleaning up...
********************************************************
* Installation terminée *
********************************************************
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité