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 !

Plugin blea

Avatar de l’utilisateur
nickasimir
Actif
Messages : 693
Inscription : 06 août 2014, 19:35
Localisation : Montreuil, Idf

Re: Plugin blea

Message par nickasimir » 29 déc. 2016, 22:04

sarakha63 a écrit :oui ca coincera juste sur les dépendances @tauks d'ou le fait que j'attends la réponse de @nickasimir pour savoir comment il a géré ca sur openelec. Ca me ferait une nouvelle antenne facile
Re désolé pour le retard @sarakha63.
Je me suis trompé, pas d'antenne sur openelec. J'ai juste renseigné les identifiants ssh et pas de dépendance...
Je pensais que c'était automatique....
Je pense pour avoir le apt-get sur une openelec, il faut faire sa propre image.
Dsl @sarakha63 pour la fausse joie.

Envoyé de mon Nexus 4
Jeedom en DIY sur NUCI3| Mon Matos : Ici

Avatar de l’utilisateur
nickasimir
Actif
Messages : 693
Inscription : 06 août 2014, 19:35
Localisation : Montreuil, Idf

Re: Plugin blea

Message par nickasimir » 29 déc. 2016, 22:21

Je suis en train de me renseigner, via raspbian et faire l'installation de kodi.
Sa semble pas mal

Envoyé de mon Nexus 4
Jeedom en DIY sur NUCI3| Mon Matos : Ici

Deennoo
Timide
Messages : 450
Inscription : 05 nov. 2015, 13:51

Re: Plugin blea

Message par Deennoo » 29 déc. 2016, 23:58

Tauks a écrit : - Activer l'alarme quand aucun Nut2 (les adultes en ont sur leurs clés) n'est à demeure.
Perso je seche sur ce cas.

Pour un seul nut pas de probleme mais pour deux et plus ?

Vous prenez tj vos clef meme en cas de sortie ensemble ?

Exemple :
Sortie Dominicale,
- cherie j'ai pris mes clefs
- ok ! C'est parti.

Mais le ou la cherie laisse ses clefs a la maison.

Du coup pour ta domotique il y a toujours quelqu'un a la maison.

Sans compter les 100 jours d'autonomie de la pile...en cas de panne : non present.

Si les deux non present : alarme ON.

Ils faut les coupler a un autre moyen de verifier une presence.

Avatar de l’utilisateur
nickasimir
Actif
Messages : 693
Inscription : 06 août 2014, 19:35
Localisation : Montreuil, Idf

Re: Plugin blea

Message par nickasimir » 30 déc. 2016, 00:19

sarakha63 a écrit :Oui mais ça me.fait chier de refaire ma conf ambilight etcccc
Mais bon je le ferais

Envoyé de mon SM-G930F en utilisant Tapatalk
Oui du coup je te comprends.
Moi le mois prochain je vais me prendre un lightberry du coup je pense repartir sur une conf propre via raspbian.
Si en openelec on peut rien ajouter ou faire aucune utilité.

Envoyé de mon Nexus 4
Jeedom en DIY sur NUCI3| Mon Matos : Ici

Avatar de l’utilisateur
nickasimir
Actif
Messages : 693
Inscription : 06 août 2014, 19:35
Localisation : Montreuil, Idf

Re: Plugin blea

Message par nickasimir » 30 déc. 2016, 00:33

Bah oui tu as le syndrome des antennes Bleach c'est connu comme pathologie. [FACE WITH TEARS OF JOY]

Envoyé de mon Nexus 4
Jeedom en DIY sur NUCI3| Mon Matos : Ici

Avatar de l’utilisateur
Tauks
Actif
Messages : 530
Inscription : 04 avr. 2015, 19:57
Localisation : Strasbourg

Re: Plugin blea

Message par Tauks » 30 déc. 2016, 08:59

Hello,

Je suis de retour après resurrection de mon jeedom :). J'ai retenté l'install des dépendances sur l'antenne et ça plante à la compil :(. Faut-il que je dezingue quelques répertoires avant ? genre bluepy ?

Code : Tout sélectionner

Building dependency tree...
Reading state information...
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
The following extra packages will be installed:
libelfg0 libglib2.0-bin libglib2.0-data libpcre3-dev pkg-config zlib1g-dev
Suggested packages:
libglib2.0-doc
The following NEW packages will be installed:
libelfg0 libglib2.0-bin libglib2.0-data libglib2.0-dev libpcre3-dev
pkg-config zlib1g-dev
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, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6783 kB of archives.
After this operation, 19.7 MB of additional disk space will be used.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
Requirement already satisfied (use --upgrade to upgrade): pyudev in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from pyudev)
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/local/lib/python2.7/dist-packages
Cleaning up...
fatal: destination path 'bluepy' already exists and is not an empty directory.
running build
running build_py
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy
Failed to compile bluepy-helper. Exiting install.
Command was 'make -C bluepy' in /tmp/bluepy
Return code was 2
Output was:
make: Entering directory '/tmp/bluepy/bluepy'
tar xzf bluez-src.tgz
touch ./bluez-5.29/lib/bluetooth.c ./bluez-5.29/lib/hci.c ./bluez-5.29/lib/sdp.c ./bluez-5.29/lib/uuid.c ./bluez-5.29/attrib/att.c ./bluez-5.29/attrib/gatt.c ./bluez-5.29/attrib/gattrib.c ./bluez-5.29/attrib/utils.c ./bluez-5.29/btio/btio.c ./bluez-5.29/src/log.c ./bluez-5.29/src/shared/mgmt.c ./bluez-5.29/src/shared/crypto.c ./bluez-5.29/src/shared/att.c ./bluez-5.29/src/shared/queue.c ./bluez-5.29/src/shared/util.c ./bluez-5.29/src/shared/io-glib.c ./bluez-5.29/src/shared/timeout-glib.c
make: pkg-config: Command not found
make: pkg-config: Command not found
gcc -L. -Os -g -Wall -Werror -DHAVE_CONFIG_H -I./bluez-5.29/attrib -I./bluez-5.29 -I./bluez-5.29/lib -I./bluez-5.29/src -I./bluez-5.29/gdbus -I./bluez-5.29/btio  -o bluepy-helper bluepy-helper.c ./bluez-5.29/lib/bluetooth.c ./bluez-5.29/lib/hci.c ./bluez-5.29/lib/sdp.c ./bluez-5.29/lib/uuid.c ./bluez-5.29/attrib/att.c ./bluez-5.29/attrib/gatt.c ./bluez-5.29/attrib/gattrib.c ./bluez-5.29/attrib/utils.c ./bluez-5.29/btio/btio.c ./bluez-5.29/src/log.c ./bluez-5.29/src/shared/mgmt.c ./bluez-5.29/src/shared/crypto.c ./bluez-5.29/src/shared/att.c ./bluez-5.29/src/shared/queue.c ./bluez-5.29/src/shared/util.c ./bluez-5.29/src/shared/io-glib.c ./bluez-5.29/src/shared/timeout-glib.c
bluepy-helper.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/att.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/gatt.c:32:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/gattrib.c:34:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/utils.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/btio/btio.c:37:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/src/log.c:32:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/src/shared/io-glib.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/src/shared/timeout-glib.c:22:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
Makefile:28: recipe for target 'bluepy-helper' failed
make: *** [bluepy-helper] Error 1
make: Leaving directory '/tmp/bluepy/bluepy'
Error bluetooth: Already enabled
Everything is successfully installed!
D'avance merci,
Mon blog "Domotique & IoT": ici
Mon matériel: ici

Ikari
Timide
Messages : 101
Inscription : 29 mars 2016, 08:21

Re: Plugin blea

Message par Ikari » 30 déc. 2016, 12:52

Bonjour et merci à sarakha pour ce super plugin !
J'ai une divoom aurabox qui est bien détectée par ton plugin mais forcément ne fonctionne pas avec l'afficheur que tu a déjà intégré. J'ai vu sur le topic du plugin miflora que tu avais cet afficheur mais que c'était du serial bluetooth, ça veut dire quoi ? C'est mort pour une intégration dans le plugin blea ?
Sinon autre question j'ai deux ampoules smartbulb mipow (http://www.gearbest.com/smart-light-bul ... filiate_cj), il y avait eu une discussion au sujet des ces ampoules sur le topic playbulb avec un début de solution concernant les modifications à apporter par rapport aux autres ampoules, penses-tu pouvoir les intégrer à BLEA ?

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: Plugin blea

Message par lunarok » 30 déc. 2016, 13:05

Tu m'as essaye au moins dans blea ?
Parce-que si c'est comme avec playbulb et que personne donne les infos et que les seules fournies ca marche...
J'ai cette ampoule, elle marche avec playbulb et avec blea

Envoyé de mon A0001 en utilisant Tapatalk
Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

Ikari
Timide
Messages : 101
Inscription : 29 mars 2016, 08:21

Re: Plugin blea

Message par Ikari » 30 déc. 2016, 13:08

Ok pour le divoom, je croise les doigts que tu arrives à en tirer quelque chose.
Concernant le mipow, je cite cadavor sur le topic playbulb qui a sniffé les paquets envoyé à son ampoule via gattool, voilà ce que ça donne :
Dans Playbulb X, il me donne BTL201M_V1.6
J'ai pu repérer les élements suivants :
0x0007 et 0x002b contiennent la chaine "MIPOW smart bulb" qui corresponds au nom (c'est ce qui sort lors du lescan)
0x0047 contient la chaine "CSR101x A05" (firmware)
0x0049 contient la chaine "BTL201M_V1.6" (microprocessor version)
0x004b contient la chaine "Application version 2.4.5.13" (application version)
0x004d contient la chaine "Mipow Limited" (manufacturer)
0x0025 : la couleur au format [white][color] (j'ai fait le test ca change bien la couleur en statique)
0x0023 : les effets [white][red][green][blue][mode][00][speed][00] (ca semble être les mêmes que pour les candle)

Flash = 00
Fade = 01
jump rainbow = 02
fade rainbow = 03
candle = 04

Par contre j'ai l'impression que l'echelle de speed est différente car en mettant le curseur de speed a fond sur l'appli la valeur est à 14 ou 17
et lent j'avais AE
Exemples :

Fade rouge lent : 00 ff 00 00 01 00 ae 00
Fade rouge rapide : 00 ff 00 00 01 00 14 00
Flash vert rapide : 00 00 ff 00 00 00 17 00
Candle rouge : 00 ff 00 00 04 00 01 00
Jump rainbow rapide : 00 ff 00 ff 02 00 14 00
Fade rainbow lent : 00 ff 92 00 03 00 af 00

Voilà ce qu'il a pu récupéré.

Ikari
Timide
Messages : 101
Inscription : 29 mars 2016, 08:21

Re: Plugin blea

Message par Ikari » 30 déc. 2016, 13:11

Ok au temps pour moi Lunarok, je n'avais pas vu ton message avant de répondre, Oui j'ai testé avec blea et non il ne voyait pas l'ampoule (pas plus dans playbulb en fait où j'avais essayé en rentrant manuellement les adresses mac). Si ça marche pour toi avec la mipow c'est que ça doit venir de chez moi et je dois avoir un soucis de config... je vais regarder ça de plus prêt.

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: Plugin blea

Message par lunarok » 30 déc. 2016, 14:48

Des logs, pfff blea ne sait meme pas se servir d'une boule de crystal trop nul
Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

Avatar de l’utilisateur
Tauks
Actif
Messages : 530
Inscription : 04 avr. 2015, 19:57
Localisation : Strasbourg

Re: Plugin blea

Message par Tauks » 30 déc. 2016, 17:23

Tauks a écrit :Hello,

Je suis de retour après resurrection de mon jeedom :). J'ai retenté l'install des dépendances sur l'antenne et ça plante à la compil :(. Faut-il que je dezingue quelques répertoires avant ? genre bluepy ?

Code : Tout sélectionner

Building dependency tree...
Reading state information...
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
The following extra packages will be installed:
libelfg0 libglib2.0-bin libglib2.0-data libpcre3-dev pkg-config zlib1g-dev
Suggested packages:
libglib2.0-doc
The following NEW packages will be installed:
libelfg0 libglib2.0-bin libglib2.0-data libglib2.0-dev libpcre3-dev
pkg-config zlib1g-dev
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, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6783 kB of archives.
After this operation, 19.7 MB of additional disk space will be used.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
Requirement already satisfied (use --upgrade to upgrade): pyudev in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from pyudev)
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/local/lib/python2.7/dist-packages
Cleaning up...
fatal: destination path 'bluepy' already exists and is not an empty directory.
running build
running build_py
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy
Failed to compile bluepy-helper. Exiting install.
Command was 'make -C bluepy' in /tmp/bluepy
Return code was 2
Output was:
make: Entering directory '/tmp/bluepy/bluepy'
tar xzf bluez-src.tgz
touch ./bluez-5.29/lib/bluetooth.c ./bluez-5.29/lib/hci.c ./bluez-5.29/lib/sdp.c ./bluez-5.29/lib/uuid.c ./bluez-5.29/attrib/att.c ./bluez-5.29/attrib/gatt.c ./bluez-5.29/attrib/gattrib.c ./bluez-5.29/attrib/utils.c ./bluez-5.29/btio/btio.c ./bluez-5.29/src/log.c ./bluez-5.29/src/shared/mgmt.c ./bluez-5.29/src/shared/crypto.c ./bluez-5.29/src/shared/att.c ./bluez-5.29/src/shared/queue.c ./bluez-5.29/src/shared/util.c ./bluez-5.29/src/shared/io-glib.c ./bluez-5.29/src/shared/timeout-glib.c
make: pkg-config: Command not found
make: pkg-config: Command not found
gcc -L. -Os -g -Wall -Werror -DHAVE_CONFIG_H -I./bluez-5.29/attrib -I./bluez-5.29 -I./bluez-5.29/lib -I./bluez-5.29/src -I./bluez-5.29/gdbus -I./bluez-5.29/btio  -o bluepy-helper bluepy-helper.c ./bluez-5.29/lib/bluetooth.c ./bluez-5.29/lib/hci.c ./bluez-5.29/lib/sdp.c ./bluez-5.29/lib/uuid.c ./bluez-5.29/attrib/att.c ./bluez-5.29/attrib/gatt.c ./bluez-5.29/attrib/gattrib.c ./bluez-5.29/attrib/utils.c ./bluez-5.29/btio/btio.c ./bluez-5.29/src/log.c ./bluez-5.29/src/shared/mgmt.c ./bluez-5.29/src/shared/crypto.c ./bluez-5.29/src/shared/att.c ./bluez-5.29/src/shared/queue.c ./bluez-5.29/src/shared/util.c ./bluez-5.29/src/shared/io-glib.c ./bluez-5.29/src/shared/timeout-glib.c
bluepy-helper.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/att.c:33:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/gatt.c:32:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/gattrib.c:34:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/attrib/utils.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/btio/btio.c:37:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/src/log.c:32:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/src/shared/io-glib.c:30:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
./bluez-5.29/src/shared/timeout-glib.c:22:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
Makefile:28: recipe for target 'bluepy-helper' failed
make: *** [bluepy-helper] Error 1
make: Leaving directory '/tmp/bluepy/bluepy'
Error bluetooth: Already enabled
Everything is successfully installed!
D'avance merci,
Hello, ayant cherché sans succès de mon coté, je me permets de redemander de l'aide pour mon install sur OSMC. Je ne suis pas expert mais de ce que j'en lis, il semble que le premier truc sur lequel ça bute est un répertoire git non vide, non ? Mais comme je ne sais pas où c'est, je bloque un peu. Vous qui avez l'habitude, ça vous parle ? Ca peut valoir le coup car on est quelques-uns ici à avoir un OSMC qui traine :)

D'avance merci,
Mon blog "Domotique & IoT": ici
Mon matériel: ici

Avatar de l’utilisateur
scadinot
Actif
Messages : 526
Inscription : 27 juin 2014, 15:09
Localisation : 76

Re: Plugin blea

Message par scadinot » 30 déc. 2016, 17:43

Bonjour,

J'ai voulu installer le plugin sur une autre config.

Le Démon ne ce lance pas :

Le log blea_local donne :

Code : Tout sélectionner

[2016-12-30 17:35:04][INFO] : Start blead
[2016-12-30 17:35:04][INFO] : Log level : info
[2016-12-30 17:35:04][INFO] : Socket port : 55008
[2016-12-30 17:35:04][INFO] : Socket host : 127.0.0.1
[2016-12-30 17:35:04][INFO] : Device : hci0
[2016-12-30 17:35:04][INFO] : PID file : /tmp/blead.pid
[2016-12-30 17:35:04][INFO] : Apikey : **************************************************
[2016-12-30 17:35:04][INFO] : Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2016-12-30 17:35:04][INFO] : Cycle : 0.3
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.dotti
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.fitbit
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.gigaset
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.hector
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.itag
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.jinlin
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.logiswitch
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.miband
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.miflora
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.miscale
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.myfox
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.niu
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.nut
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.playbulb
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.smartplug
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.ticatag
[2016-12-30 17:35:04][INFO] : Import de la configuration devices.wistiki
[2016-12-30 17:35:04][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2016-12-30 17:35:05][INFO] : Start listening...
[2016-12-30 17:35:05][INFO] : Preparing Scanner...
[2016-12-30 17:35:05][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2016-12-30 17:35:05][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2016-12-30 17:35:05][WARNING] : Exception on scanner (trying to resolve by myself 6): Failed to execute mgmt cmd 'le on'
[2016-12-30 17:35:05][WARNING] : Exception on scanner (trying to resolve by myself 7): Failed to execute mgmt cmd 'le on'
[2016-12-30 17:35:05][WARNING] : Exception on scanner (trying to resolve by myself 8): Failed to execute mgmt cmd 'le on'
[2016-12-30 17:35:05][ERROR] : Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'
[2016-12-30 17:35:05][INFO] : Shutting down due to errors
[2016-12-30 17:35:05][INFO] : Starting new HTTP connection (1): 127.0.0.1
Les dépendances ce sont installées sans problème particulier :

Code : Tout sélectionner

Launch install of blea dependancy
Hit http://security.debian.org jessie/updates InRelease
Ign http://http.us.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/main armhf Packages
Hit http://http.us.debian.org jessie Release.gpg
Ign http://httpredir.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/contrib armhf Packages
Hit http://httpredir.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates/non-free armhf Packages
Hit http://http.us.debian.org jessie Release
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://httpredir.debian.org jessie-backports InRelease
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://httpredir.debian.org jessie Release.gpg
Hit http://apt.armbian.com jessie InRelease
Hit http://httpredir.debian.org jessie Release
Get:1 http://httpredir.debian.org jessie-updates/main armhf Packages/DiffIndex [6916 B]
Hit http://httpredir.debian.org jessie-updates/contrib armhf Packages
Hit http://http.us.debian.org jessie/non-free armhf Packages
Get:2 http://httpredir.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]
Hit http://httpredir.debian.org jessie-updates/contrib Translation-en
Hit http://http.us.debian.org jessie/non-free Translation-en
Get:3 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [2704 B]
Get:4 http://httpredir.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:5 http://httpredir.debian.org jessie-backports/main armhf Packages/DiffIndex [27.8 kB]
Hit http://apt.armbian.com jessie/main armhf Packages
Get:6 http://httpredir.debian.org jessie-backports/contrib armhf Packages/DiffIndex [23.1 kB]
Hit http://apt.armbian.com jessie/utils armhf Packages
Get:7 http://httpredir.debian.org jessie-backports/non-free armhf Packages/DiffIndex [6070 B]
Hit http://apt.armbian.com jessie/jessie-desktop armhf Packages
Get:8 http://httpredir.debian.org jessie-backports/contrib Translation-en/DiffIndex [6484 B]
Get:9 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B]
Get:10 http://apt.armbian.com jessie/main Translation-en [178 B]
Get:11 http://httpredir.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:12 http://httpredir.debian.org jessie-backports/non-free Translation-en/DiffIndex [12.2 kB]
Hit http://httpredir.debian.org jessie/main armhf Packages
Hit http://httpredir.debian.org jessie/contrib armhf Packages
Get:13 http://apt.armbian.com jessie/utils Translation-en [178 B]
Get:14 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B]
Hit http://httpredir.debian.org jessie/non-free armhf Packages
Hit http://httpredir.debian.org jessie/contrib Translation-en
Get:15 http://apt.armbian.com jessie/main Translation-en [178 B]
Hit http://httpredir.debian.org jessie/non-free Translation-en
Hit http://httpredir.debian.org jessie/main Translation-en
Get:16 http://apt.armbian.com jessie/utils Translation-en [178 B]
Get:17 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B]
Get:18 http://apt.armbian.com jessie/main Translation-en [178 B]
Get:19 http://apt.armbian.com jessie/utils Translation-en [178 B]
Get:20 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B]
Get:21 http://apt.armbian.com jessie/main Translation-en [178 B]
Get:22 http://apt.armbian.com jessie/utils Translation-en [178 B]
Get:23 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B]
Ign http://apt.armbian.com jessie/jessie-desktop Translation-en
Get:24 http://apt.armbian.com jessie/main Translation-en [178 B]
Ign http://apt.armbian.com jessie/main Translation-en
Get:25 http://apt.armbian.com jessie/utils Translation-en [178 B]
Ign http://apt.armbian.com jessie/utils Translation-en
Fetched 115 kB in 15s (7505 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 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 3 not upgraded.
Requirement already satisfied (use --upgrade to upgrade): pyudev in /usr/lib/python2.7/dist-packages
Cleaning up...
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python2.7/dist-packages
Cleaning up...
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/sensortag.py -> build/lib.linux-armv7l-2.7/bluepy
copying bluepy/get_services.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/__init__.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
running build
running build_py
copying bluepy/bluepy-helper -> build/lib.linux-armv7l-2.7/bluepy
running install_lib
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/Makefile -> /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/bluez-src.tgz -> /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/__init__.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/btle.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/sensortag.py -> /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/blescan.py to blescan.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/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'
removing '/usr/local/lib/python2.7/dist-packages/bluepy-1.0.5.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/local/lib/python2.7/dist-packages/bluepy-1.0.5.egg-info
running install_scripts
Installing blescan script to /usr/local/bin
Installing sensortag script to /usr/local/bin
Everything is successfully installed!

Code : Tout sélectionner

hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:1A:7D:DA:71:13  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING
        RX bytes:27677 acl:0 sco:0 events:1046 errors:0
        TX bytes:17532 acl:0 sco:0 commands:999 errors:0
J'ai recherché des infos sur :
Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'le on'

J'avoue ne pas avoir saisi https://github.com/IanHarvey/bluepy/issues/94

Une idée de la source du probleme ?

Stéphane
- maître ESXi Xeon 8 cores - blea
- BPi M2+ zwave, RFXcom
- BPi M2+ zwave
- BPi 2 MySensors

3xFGS-221 9xFGR-221 6xTHGR810 1xTHWR800 3xLivingConnect 2xQubino
1xPB-502R 4xPB-433R 1xMD-214R 1x7380R DMT 3xDT-335R 1xMC-335R 9xMD-210R...

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

Re: Plugin blea

Message par Anonyme » 30 déc. 2016, 17:55

Contenu supprimé à la demande de son auteur

Avatar de l’utilisateur
scadinot
Actif
Messages : 526
Inscription : 27 juin 2014, 15:09
Localisation : 76

Re: Plugin blea

Message par scadinot » 30 déc. 2016, 17:56

sarakha63 a écrit :Déjà la c'est moi qui génére ce message, mais pour moi ya deux choses soit ta clé ne gére pas le BLE, soit ta clé est bloqué par un autre process.

Peux tu me faire un hciconfig stp
Je l'ai mis a la fin du message, je le remets :

Code : Tout sélectionner

hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:1A:7D:DA:71:13  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING
        RX bytes:27677 acl:0 sco:0 events:1046 errors:0
        TX bytes:17532 acl:0 sco:0 commands:999 errors:0
C'est peut-être la clé :

https://www.amazon.fr/gp/product/B01L3E ... UTF8&psc=1

Je vais essayer avec une autre éventuellement.

Stéphane.
- maître ESXi Xeon 8 cores - blea
- BPi M2+ zwave, RFXcom
- BPi M2+ zwave
- BPi 2 MySensors

3xFGS-221 9xFGR-221 6xTHGR810 1xTHWR800 3xLivingConnect 2xQubino
1xPB-502R 4xPB-433R 1xMD-214R 1x7380R DMT 3xDT-335R 1xMC-335R 9xMD-210R...

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

Re: Plugin blea

Message par Anonyme » 30 déc. 2016, 17:58

Contenu supprimé à la demande de son auteur

Avatar de l’utilisateur
scadinot
Actif
Messages : 526
Inscription : 27 juin 2014, 15:09
Localisation : 76

Re: Plugin blea

Message par scadinot » 30 déc. 2016, 18:01

sarakha63 a écrit :Logiquement non elle devrait le faire

Tu peux essayer hcitool lescan

Code : Tout sélectionner

pi@bananapim2plus:~$ hcitool lescan
Set scan parameters failed: Operation not permitted
avec sudo :

Code : Tout sélectionner

pi@bananapim2plus:~$ sudo hcitool lescan
LE Scan ...
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
42:E8:D9:83:CF:2F (unknown)
^Cpi@bananapim2plus:~$ ^C
- maître ESXi Xeon 8 cores - blea
- BPi M2+ zwave, RFXcom
- BPi M2+ zwave
- BPi 2 MySensors

3xFGS-221 9xFGR-221 6xTHGR810 1xTHWR800 3xLivingConnect 2xQubino
1xPB-502R 4xPB-433R 1xMD-214R 1x7380R DMT 3xDT-335R 1xMC-335R 9xMD-210R...

Avatar de l’utilisateur
Tauks
Actif
Messages : 530
Inscription : 04 avr. 2015, 19:57
Localisation : Strasbourg

Re: Plugin blea

Message par Tauks » 30 déc. 2016, 18:04

magicgg91 a écrit :je suis en train d'installer 1 antenne sur OSMC pour voir ;)
Cool tiens moi au jus :)
Mon blog "Domotique & IoT": ici
Mon matériel: ici

totovaauski
Actif
Messages : 1926
Inscription : 05 juil. 2014, 11:21

Re: Plugin blea

Message par totovaauski » 30 déc. 2016, 18:07

sarakha63 a écrit :Alors bizarre pour les droits d'exécution car @lunarok n'a pas eu ce soucis ni @nechry. Je regarde dans l'aprem. Ça me coûte rien de le rajouter

Envoyé de mon SM-G930F en utilisant Tapatalk
Bonsoir, je m'y remet ...

C'était sur une base de raspbian lite ? si j'ai bien tout lu ?
Est ce que quelqu'un saurait me dire si l'installation a distance à été testé avec une raspbian with pixel, SVP?
RPI3 + Dongle Aeon
Jeedom sur : Raspberry Pi + Raspberry compute
Mysensors , z-wave, xiaomi ...

https://www.youtube.com/watch?v=-bjbUg9d64g
https://www.youtube.com/watch?v=GPj1ozB ... _b-Toq47NQ

Avatar de l’utilisateur
Tauks
Actif
Messages : 530
Inscription : 04 avr. 2015, 19:57
Localisation : Strasbourg

Re: Plugin blea

Message par Tauks » 30 déc. 2016, 18:13

Mmm ok... j'ai des soucis avec les tmp sur tous les devices manfestement. Car sur le master, le démon ne se lance plus alors que tout est ok meme la config et les dependances réinstallées. En épluchant un peu, j'ai trouvé un :

Code : Tout sélectionner

IOError: [Errno 28] No space left on device
Un petit df -h m'apprend que le seul qui est plein c'est le tempfs de /tmp (128M). Du coup je l'ai vidé, y compris le jeedom-cache (ce qui a donné : jeedom est en cours de démarrage :) ) et en relançant le démon meme combat : IOError: [Errno 28] No space left on device vérifié en console. De combien a besoin le démon ?
Mon blog "Domotique & IoT": ici
Mon matériel: ici

Répondre

Revenir vers « [Plugin Officiel] BLEA »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 4 invités