Bonjour,
Je viens vers vous car cette fois ci, je ne trouve pas…
Je ne suis plus débutante sur JEEDOM, j’en suis passionnée, mais je n’ai pas non plus de grandes compétences en informatique.
Je vais faire au mieux pour respecter les consignes, mais je m’excuse par avance pour les maladresses.
Voici la page santé de Jeedom.
Récemment, j’ai testé le plugin BLEA, il fonctionne mais j’ai pu lire qu’il valait mieux, lorsqu’on débute, le laisser derrière nous et envisager l’avenir !
J’ai donc opté pour MQTT DISCOVERY et THEENGS GATEWAY installés en stable.
Les plugins sont bien installés et BLEA est, quand à lui, désinstallé.
Je galère pour la création d’antennes.
J’ai tenté de créer 2 antennes. La première avec le bluetooth intégré de mon ATLAS, la seconde avec une clé externe tp link.
Je ne parviens à faire fonctionner aucune des 2.
Selon ce que je comprends, elles sont installées correctement, mais hors ligne.
Et là, je suis perdue…
Voici les logs (j’espère ne pas me tromper sur leur mise en forme.)
ERROR:BLEGateway:Connection error
Traceback (most recent call last):
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/TheengsGateway/ble_gateway.py", line 111, in connect_mqtt
self.client.connect(self.broker, self.port)
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.7/socket.py", line 727, in create_connection
raise err
File "/usr/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
INFO:BLEGateway:Starting BLE scan
ERROR:BLEGateway:Connection error
Traceback (most recent call last):
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/TheengsGateway/ble_gateway.py", line 111, in connect_mqtt
self.client.connect(self.broker, self.port)
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.7/socket.py", line 727, in create_connection
raise err
File "/usr/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
INFO:BLEGateway:Starting BLE scan
ERROR:BLEGateway:Connection error
Traceback (most recent call last):
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/TheengsGateway/ble_gateway.py", line 111, in connect_mqtt
self.client.connect(self.broker, self.port)
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.7/socket.py", line 727, in create_connection
raise err
File "/usr/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
ET:
23-12-06 13:41:28] *************************************
[2023-12-06 13:41:28] * Launch install of dependencies *
[2023-12-06 13:41:28] *************************************
[2023-12-06 13:41:28] Reading package lists...
[2023-12-06 13:41:29] Building dependency tree...
[2023-12-06 13:41:29] Reading state information...
[2023-12-06 13:41:30] curl is already the newest version (7.64.0-4+deb10u7).
[2023-12-06 13:41:30] 0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 95 0 --:--:-- --:--:-- --:--:-- 100
[2023-12-06 13:41:31] Hit:1 http://deb.debian.org/debian buster InRelease
[2023-12-06 13:41:31] Hit:2 http://deb.debia[20n.org/debian buster-updates InRelease
[2023-12-06 13:41:31] Get:3 http://deb.debian.org/debian buster-backports InRelease [51.4 kB]
[2023-12-06 13:41:31] Hit:4 http://security.debian.org buster/updates InRelease
[2023-12-06 13:41:31] Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
[2023-12-06 13:41:31] Hit:6 http://imola.armbian.com/apt buster InRelease
[2023-12-06 13:41:34] Fetched 51.4 kB in 3s (20.4 kB/s)
[2023-12-06 13:41:41] Reading package lists...
[2023-12-06 13:41:41] *****************************
[2023-12-06 13:41:41] Install modules using apt-get
[2023-12-06 13:41:41] *****************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 54 0 --:--:-- --:--:-- --:--:-- 55
[2023-12-06 13:41:41] Reading package lists...
[2023-12-06 13:41:42] Building dependency tree...
[2023-12-06 13:41:42] Reading state information...
[2023-12-06 13:41:43] logrotate is already the newest version (3.14.0-4).
[2023-12-06 13:41:43] python3-pip is already the newest version (18.1-5).
[2023-12-06 13:41:43] python3 is already the newest version (3.7.3-1).
[2023-12-06 13:41:43] python3-venv is already the newest version (3.7.3-1).
[2023-12-06 13:41:43] bluez is already the newest version (5.50-1.2~deb10u3).
[2023-12-06 13:41:43] 0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
[2023-12-06 13:41:43] Version debian:10
[2023-12-06 13:41:43] Install pipx via pip
[2023-12-06 13:41:45] Requirement already satisfied: pipx in /usr/local/lib/python3.7/dist-packages (1.2.1)
[2023-12-06 13:41:45] Requirement already satisfied: argcomplete>=1.9.4 in /usr/local/lib/python3.7/dist-packages (from pipx) (3.1.2)
[2023-12-06 13:41:45] Requirement already satisfied: importlib-metadata>=3.3.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (6.7.0)
[2023-12-06 13:41:45] Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (23.2)
[2023-12-06 13:41:45] Requirement already satisfied: userpath>=1.6.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (1.9.1)
[2023-12-06 13:41:45] Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (3.13.0)
[2023-12-06 13:41:45] Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (4.4.0)
[2023-12-06 13:41:45] Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from userpath>=1.6.0->pipx) (8.1.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
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: python3 -m pip install --upgrade pip
[2023-12-06 13:41:48] /root/.local/bin has been been added to PATH, but you need to open a new
[2023-12-06 13:41:48] terminal or re-login for this PATH change to take effect.
[2023-12-06 13:41:48]
[2023-12-06 13:41:48] You will need to open a new terminal or re-login for the PATH changes to take
[2023-12-06 13:41:48] effect.
[2023-12-06 13:41:48]
[2023-12-06 13:41:48] Otherwise pipx is ready to go! ✨ 🌟 ✨
[2023-12-06 13:41:48] *************************************
[2023-12-06 13:41:48] Install the required python libraries
[2023-12-06 13:41:48] *************************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 50 0 --:--:-- --:--:-- --:--:-- 50
[2023-12-06 13:41:48] 'theengsgateway' already seems to be installed. Not modifying existing
[2023-12-06 13:41:48] installation in '/root/.local/pipx/venvs/theengsgateway'. Pass '--force' to
[2023-12-06 13:41:48] force installation.
[2023-12-06 13:41:48] ***************************
[2023-12-06 13:41:48] * Install ended *
[2023-12-06 13:41:48] ***************************
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 2 0 0:00:01 --:--:-- 0:00:01 2
100 2 100 2 0 0 2 0 0:00:01 --:--:-- 0:00:01 2
Enfin, la capture de l’une de mes 2 antennes:
Je remercie donc d’avance celles ou ceux qui auraient une piste sur laquelle me guider.