Oui l’adaptateur a été détecté en hci0 avec une MAC address (j’ai une clé BT externe que j’utilisais avec mon plugin BLEA). Le plugin BLEA est désactivé (mais pas supprimé) de ma smart.
Voici le log 532 de l’antenne :
0000|ERROR:BLEGateway:Connection error
0001|Traceback (most recent call last):
0002|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/TheengsGateway/ble_gateway.py", line 111, in connect_mqtt
0003|self.client.connect(self.broker, self.port)
0004|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 914, in connect
0005|return self.reconnect()
0006|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 1044, in reconnect
0007|sock = self._create_socket_connection()
0008|File "/root/.local/pipx/venvs/theengsgateway/lib/python3.7/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
0009|return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
0010|File "/usr/lib/python3.7/socket.py", line 727, in create_connection
0011|raise err
0012|File "/usr/lib/python3.7/socket.py", line 716, in create_connection
0013|sock.connect(sa)
0014|OSError: [Errno 101] Network is unreachable
et voici celui de l’installation:
0000|[2023-11-14 09:17:26] *************************************
0001|[2023-11-14 09:17:26] * Launch install of dependencies *
0002|[2023-11-14 09:17:26] *************************************
0003|[2023-11-14 09:17:26] Reading package lists...
0004|[2023-11-14 09:17:27] Building dependency tree...
0005|[2023-11-14 09:17:27] Reading state information...
0006|[2023-11-14 09:17:28] The following additional packages will be installed:
0007|[2023-11-14 09:17:28] libcurl4
0008|[2023-11-14 09:17:28] The following packages will be upgraded:
0009|[2023-11-14 09:17:28] curl libcurl4
0010|[2023-11-14 09:17:29] 2 upgraded, 0 newly installed, 0 to remove and 160 not upgraded.
0011|[2023-11-14 09:17:29] Need to get 577 kB of archives.
0012|[2023-11-14 09:17:29] After this operation, 2048 B of additional disk space will be used.
0013|[2023-11-14 09:17:29] Get:1 http://security.debian.org/debian-security buster/updates/main arm64 curl arm64 7.64.0-4+deb10u7 [262 kB]
0014|[2023-11-14 09:17:29] Get:2 http://security.debian.org/debian-security buster/updates/main arm64 libcurl4 arm64 7.64.0-4+deb10u7 [315 kB]
0015|debconf: unable to initialize frontend: Dialog
0016|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0017|debconf: falling back to frontend: Readline
0018|debconf: unable to initialize frontend: Readline
0019|debconf: (This frontend requires a controlling tty.)
0020|debconf: falling back to frontend: Teletype
0021|dpkg-preconfigure: unable to re-open stdin:
0022|[2023-11-14 09:17:30] Fetched 577 kB in 1s (1066 kB/s)
0023|[2023-11-14 09:17:31] (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 ... 84014 files and directories currently installed.)
0024|[2023-11-14 09:17:31] Preparing to unpack .../curl_7.64.0-4+deb10u7_arm64.deb ...
0025|[2023-11-14 09:17:31] Unpacking curl (7.64.0-4+deb10u7) over (7.64.0-4+deb10u3) ...
0026|[2023-11-14 09:17:31] Preparing to unpack .../libcurl4_7.64.0-4+deb10u7_arm64.deb ...
0027|[2023-11-14 09:17:31] Unpacking libcurl4:arm64 (7.64.0-4+deb10u7) over (7.64.0-4+deb10u3) ...
0028|[2023-11-14 09:17:31] Setting up libcurl4:arm64 (7.64.0-4+deb10u7) ...
0029|[2023-11-14 09:17:31] Setting up curl (7.64.0-4+deb10u7) ...
0030|[2023-11-14 09:17:31] Processing triggers for libc-bin (2.28-10+deb10u2) ...
0031|% Total % Received % Xferd Average Speed Time Time Time Current
0032|Dload Upload Total Spent Left Speed
0033|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 60 0 --:--:-- --:--:-- --:--:-- 60
0034|[2023-11-14 09:17:33] Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
0035|[2023-11-14 09:17:33] Hit:2 https://deb.nodesource.com/node_18.x buster InRelease
0036|[2023-11-14 09:17:33] Get:3 http://security.debian.org/debian-security buster/updates/main Sources [357 kB]
0037|[2023-11-14 09:17:34] Hit:4 https://oph.mdrjr.net/meveric all InRelease
0038|[2023-11-14 09:17:34] Get:5 http://security.debian.org/debian-security buster/updates/main arm64 Packages [560 kB]
0039|[2023-11-14 09:17:34] Hit:6 https://oph.mdrjr.net/meveric buster InRelease
0040|[2023-11-14 09:17:34] Get:7 http://security.debian.org/debian-security buster/updates/main Translation-en [308 kB]
0041|[2023-11-14 09:17:38] Hit:8 http://www.deb-multimedia.org buster InRelease
0042|[2023-11-14 09:17:43] Hit:9 http://ftp.uk.debian.org/debian buster InRelease
0043|[2023-11-14 09:17:43] Hit:10 http://ftp.uk.debian.org/debian buster-updates InRelease
0044|[2023-11-14 09:17:44] Fetched 1259 kB in 11s (114 kB/s)
0045|[2023-11-14 09:17:47] Reading package lists...
0046|[2023-11-14 09:17:48] *****************************
0047|[2023-11-14 09:17:48] Install modules using apt-get
0048|[2023-11-14 09:17:48] *****************************
0049|% Total % Received % Xferd Average Speed Time Time Time Current
0050|Dload Upload Total Spent Left Speed
0051|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 62 0 --:--:-- --:--:-- --:--:-- 62
0052|[2023-11-14 09:17:48] Reading package lists...
0053|[2023-11-14 09:17:49] Building dependency tree...
0054|[2023-11-14 09:17:49] Reading state information...
0055|[2023-11-14 09:17:50] python3-pip is already the newest version (18.1-5).
0056|[2023-11-14 09:17:50] python3 is already the newest version (3.7.3-1).
0057|[2023-11-14 09:17:50] python3-venv is already the newest version (3.7.3-1).
0058|[2023-11-14 09:17:50] bluez is already the newest version (5.50-1.2~deb10u3).
0059|[2023-11-14 09:17:50] bluez set to manually installed.
0060|[2023-11-14 09:17:50] 0 upgraded, 0 newly installed, 0 to remove and 160 not upgraded.
0061|[2023-11-14 09:17:50] Version debian:10
0062|[2023-11-14 09:17:50] Install pipx via pip
0063|[2023-11-14 09:17:55] Collecting pipx
0064|[2023-11-14 09:17:55] Obtaining dependency information for pipx from https://files.pythonhosted.org/packages/2b/dd/0543d30d89aeb72e7b3c02790659d3202d0bf98d745a54492a61ec518ec4/pipx-1.2.1-py3-none-any.whl.metadata
0065|[2023-11-14 09:17:55] Downloading pipx-1.2.1-py3-none-any.whl.metadata (13 kB)
0066|[2023-11-14 09:17:57] Collecting argcomplete>=1.9.4 (from pipx)
0067|[2023-11-14 09:17:57] Obtaining dependency information for argcomplete>=1.9.4 from https://files.pythonhosted.org/packages/1e/05/223116a4a5905d6b26bff334ffc7b74474fafe23fcb10532caf0ef86ca69/argcomplete-3.1.2-py3-none-any.whl.metadata
0068|[2023-11-14 09:17:57] Downloading argcomplete-3.1.2-py3-none-any.whl.metadata (16 kB)
0069|[2023-11-14 09:17:57] Requirement already satisfied: importlib-metadata>=3.3.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (6.5.0)
0070|[2023-11-14 09:17:57] Collecting packaging>=20.0 (from pipx)
0071|[2023-11-14 09:17:57] Obtaining dependency information for packaging>=20.0 from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata
0072|[2023-11-14 09:17:57] Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
0073|[2023-11-14 09:17:57] Collecting userpath>=1.6.0 (from pipx)
0074|[2023-11-14 09:17:57] Obtaining dependency information for userpath>=1.6.0 from https://files.pythonhosted.org/packages/a2/28/20c7dcdb12681b2e12224184a8a158e5df51feb0c68116cb4b1b991a4aab/userpath-1.9.1-py3-none-any.whl.metadata
0075|[2023-11-14 09:17:57] Downloading userpath-1.9.1-py3-none-any.whl.metadata (3.0 kB)
0076|[2023-11-14 09:17:58] Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (3.15.0)
0077|[2023-11-14 09:17:58] Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (4.6.1)
0078|[2023-11-14 09:17:58] Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from userpath>=1.6.0->pipx) (8.1.3)
0079|[2023-11-14 09:17:58] Downloading pipx-1.2.1-py3-none-any.whl (57 kB)
0080|[2023-11-14 09:17:58] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.8/57.8 kB 1.6 MB/s eta 0:00:00
0081|[2023-11-14 09:17:58] Downloading argcomplete-3.1.2-py3-none-any.whl (41 kB)
0082|[2023-11-14 09:17:58] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 1.2 MB/s eta 0:00:00
0083|[2023-11-14 09:17:58] Downloading packaging-23.2-py3-none-any.whl (53 kB)
0084|[2023-11-14 09:17:58] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 1.4 MB/s eta 0:00:00
0085|[2023-11-14 09:17:58] Downloading userpath-1.9.1-py3-none-any.whl (9.1 kB)
0086|[2023-11-14 09:18:00] Installing collected packages: packaging, argcomplete, userpath, pipx
0087|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
0088|[2023-11-14 09:18:01] Successfully installed argcomplete-3.1.2 packaging-23.2 pipx-1.2.1 userpath-1.9.1
0089|[notice] A new release of pip is available: 23.2.1 -> 23.3.1
0090|[notice] To update, run: python3 -m pip install --upgrade pip
0091|[2023-11-14 09:18:05] Success! Added /root/.local/bin to the PATH environment variable.
0092|[2023-11-14 09:18:05]
0093|[2023-11-14 09:18:05] Consider adding shell completions for pipx. Run 'pipx completions' for
0094|[2023-11-14 09:18:05] instructions.
0095|[2023-11-14 09:18:05]
0096|[2023-11-14 09:18:05] You will need to open a new terminal or re-login for the PATH changes to take
0097|[2023-11-14 09:18:05] effect.
0098|[2023-11-14 09:18:05]
0099|[2023-11-14 09:18:05] Otherwise pipx is ready to go! ✨ 🌟 ✨
0100|[2023-11-14 09:18:05] *************************************
0101|[2023-11-14 09:18:05] Install the required python libraries
0102|[2023-11-14 09:18:05] *************************************
0103|% Total % Received % Xferd Average Speed Time Time Time Current
0104|Dload Upload Total Spent Left Speed
0105|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 50 0 --:--:-- --:--:-- --:--:-- 51
0106|creating virtual environment...
0107|creating shared libraries...
0108|upgrading shared libraries...
0109|installing theengsgateway...
0110|⚠️ Note: '/root/.local/bin' is not on your PATH environment variable. These
0111|apps will not be globally accessible until your PATH is updated. Run `pipx
0112|ensurepath` to automatically add it, or manually modify your PATH in your
0113|shell's config file (i.e. ~/.bashrc).
0114|done! ✨ 🌟 ✨
0115|[2023-11-14 09:30:50] installed package theengsgateway 1.1.0, installed using Python 3.7.3
0116|[2023-11-14 09:30:50] These apps are now globally available
0117|[2023-11-14 09:30:50] - TheengsGateway
0118|[2023-11-14 09:30:50] ***************************
0119|[2023-11-14 09:30:50] * Install ended *
0120|[2023-11-14 09:30:50] ***************************
0121|% Total % Received % Xferd Average Speed Time Time Time Current
0122|Dload Upload Total Spent Left Speed
0123|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 2 100 2 0 0 1 0 0:00:02 0:00:01 0:00:01 1