Bluetooth Advertisement : Ampoule Awox/Eglo detectée mais non fonctionnelle

Bonsoir,

Apres plusieurs recherches sur le forum, il y a quelques sujets qui traitent des ampoules Awox/Eglo mais je n’ai pas trouvé réponse a mon pbl.

Je m’explique, pour commencer voici ma configuration :

  • Jeedom 4.0.61
  • OS : Debian 10 (up2date)
  • Archi : VM sur un ESXi 6.5
  • Bluetooth via une antenne sur un raspberry pi4
  • log blea et antenne en mode debug

Juste que la, pas de pbl tout est ok.

Je lance le scan, mon ampoule est détectée en périphérique inconnu, quand je l’associe a une ampoule Awox Smartlight et que je execute la commande pour l’allumer ou l’éteindre, voici les logs :

[2020-11-02 20:16:02.700][DEBUG] : SCANNER------It's a unknown packet and I known this device so I send d4:5e:ec:3f:6f:65
[2020-11-02 20:16:02.701][DEBUG] : {'id': 'D4:5E:EC:3F:6F:65', 'type': 'default', 'name': '0', 'rssi': -52, 'source': 'fdweb-raspberry01', 'present': 1}
[2020-11-02 20:16:02.730][DEBUG] : Client connected to [192.168.1.10:46778]
[2020-11-02 20:16:02.731][DEBUG] : Message read from socket: b'{"apikey":"tH7qhFGevOXPsJEE4GUsfVHb","cmd":"action","device":{"id":"A4:C1:38:AE:7F:25"},"command":{"name":"awoxmesh","cmd":"power","value":"1","device":{"id":"A4:C1:38:AE:7F:25","delay":"600","needsrefresh":"1","name":"awoxmesh"}}}'
[2020-11-02 20:16:02.731][DEBUG] : Client disconnected from [192.168.0.10:46778]
[2020-11-02 20:16:02.768][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-11-02 20:16:02.768][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2020-11-02 20:16:02.769][DEBUG] : SOCKET-READ------Attempt an action on a device
[2020-11-02 20:16:02.769][DEBUG] : Running action power
[2020-11-02 20:16:02.770][DEBUG] : SOCKET-READ------Action Thread Launched
[2020-11-02 20:16:02.770][DEBUG] : Creating a new connection for A4:C1:38:AE:7F:25
[2020-11-02 20:16:02.771][DEBUG] : CONNECTOR------Connecting : A4:C1:38:AE:7F:25 with bluetooth 0
[2020-11-02 20:16:02.938][DEBUG] : Send to jeedom : {'devices': {'D4:5E:EC:3F:6F:65': {'id': 'D4:5E:EC:3F:6F:65', 'type': 'default', 'name': '0', 'rssi': -52, 'source': 'fdweb-raspberry01', 'present': 1}}}
[2020-11-02 20:16:02.944][DEBUG] : Starting new HTTP connection (1): 192.168.0.10:80
[2020-11-02 20:16:02.952][DEBUG] : http://192.168.0.10:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=tH7qhC9dSnUTwFGevOX4GUsfVHb HTTP/1.1" 200 0
[2020-11-02 20:16:07.801][DEBUG] : CONNECTOR------Failed to connect to peripheral A4:C1:38:AE:7F:25, addr type: public attempt 1
[2020-11-02 20:16:07.801][DEBUG] : CONNECTOR------Issue connecting to : A4:C1:38:AE:7F:25 with bluetooth 0 the device is busy or too far
[2020-11-02 20:16:08.304][DEBUG] : CONNECTOR------Connecting : A4:C1:38:AE:7F:25 with bluetooth 0
[2020-11-02 20:16:10.245][DEBUG] : Send to jeedom :  {'heartbeat': 1, 'source': 'fdweb-raspberry01', 'version': '2.9'}

A chaque fois j’obtiens ce message : the device is busy or too far

Dans les logs on voit aussi le message de lecture de le cle api

Pourtant, que je supprime l’équipement depuis le plugin, si je relance la détection, BLEA me retrouve bien mon ampoule.

Quelqu’un aurait une idée ?

En espérant ne pas avoir fait de sujet en doublon…

Par avance merci de vos retours.

1 « J'aime »