Bonjour,
SMART
JEEDOM 4.3.20
JMQTT
MQTTManager Beta 2023-11-16
THEENGS Gateway Beta 2023-11-16
antenne SENA
Le problème semble être identique à ce poste mais il semblerai qu’il veuille attendre Débian 11
Je n’est pas de detection de mes équipements .
Le topic est découvert par MQTT Explorer mais rien n’arrive .
tgw 1731 : antenne sur mon Atlas
tgw 1091 : antenne sur ma Smart
Pas d’autre plugin utilisant le Bluetooth d’installés.
L’antenne à bien été détecté par le plugin.
Cette antenne fonctionne car elle détectait mes équipements sur une autre BOX: voir ce post
1 - Installation MQTT Manager Beta
Le plugin fonctionne correctement car le log MQTT2_d affiche les équipements arrivant sur mon broker : SELLY - OMG et L’antenne THEENGS configurer sur mon ATLAS
Si besoin je peut fournir les Log je les ai sauvegarder
2 - Installation de THEENGS
Installation du plugin : les Log sont en Débug
Activation : les Log passe en infos
Je passe les log en Débug
Création de l’antenne : je rentre les infos général comme sur chaque équipement , j’active l’équipement
Authentification en mode : Local
Pas d’adaptateur reconnu
Je sauvegarde : Mon adaptateur est découvert , je le selection , je passe le Log de l’antenne en Debug , Je sauvegarde
Je lance lance l’installation de l’antenne : OK
Je lance lance configurer le service : En ligne
Log TGW après création de l’antenne
0000|[2023-11-22 14:34:08]INFO : Début d'activation du plugin
0001|[2023-11-22 14:34:09]INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
0002|[2023-11-22 14:34:09]DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=tgw function=install callInstallFunction=1
0003|[2023-11-22 14:37:57]DEBUG : create:online/En ligne
0004|[2023-11-22 14:37:57]DEBUG : create:restart/(Re)Démarrer
0005|[2023-11-22 14:37:57]DEBUG : create:stop/Arrêter
0006|[2023-11-22 14:39:57]DEBUG : local exec:hcitool dev | grep hci => hci0 00:01:95:7B:FE:10
0007|[2023-11-22 14:41:18]DEBUG : local exec:hcitool dev | grep hci => hci0 00:01:95:7B:FE:10
0008|[2023-11-22 14:41:54]DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
0009|[2023-11-22 14:41:54]DEBUG : local exec:sudo /root/.local/bin/TheengsGateway -h | grep -Ecw "usage:" => 0
0010|[2023-11-22 14:41:54]DEBUG : local exec:sudo python3 -m TheengsGateway -h | grep -Ecw "usage:" => 0
0011|[2023-11-22 14:41:54]INFO : Lancement de l'installation de l'antenne 'THEENGS-SMART'
0012|[2023-11-22 14:41:54]DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
0013|[2023-11-22 14:41:54]DEBUG : local exec:sudo bash /var/www/html/plugins/tgw/core/class/../../resources/install_apt.sh http://192.168.1.99/plugins/tgw/core/php/jeetgw.php?id=1091 > /var/www/html/log/tgw_1091_update 2>&1 & =>
0014|[2023-11-22 14:42:06]DEBUG : step:0 for id:1091
0015|[2023-11-22 14:42:12]DEBUG : step:1 for id:1091
0016|[2023-11-22 14:42:21]DEBUG : step:2 for id:1091
0017|[2023-11-22 14:42:39]DEBUG : step:3 for id:1091
0018|[2023-11-22 14:42:39]DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
0019|[2023-11-22 14:42:40]DEBUG : local exec:sudo /root/.local/bin/TheengsGateway -h | grep -Ecw "usage:" => 1
Log TGW_1091_Update
0000|[2023-11-22 13:41:54] *************************************
0001|[2023-11-22 13:41:54] * Launch install of dependencies *
0002|[2023-11-22 13:41:54] *************************************
0003|[2023-11-22 13:42:03] Reading package lists...
0004|[2023-11-22 13:42:04] Building dependency tree...
0005|[2023-11-22 13:42:04] Reading state information...
0006|[2023-11-22 13:42:06] curl is already the newest version (7.64.0-4+deb10u7).
0007|[2023-11-22 13:42:06] 0 upgraded, 0 newly installed, 0 to remove and 292 not upgraded.
0008|% Total % Received % Xferd Average Speed Time Time Time Current
0009|Dload Upload Total Spent Left Speed
0010|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 66 0 --:--:-- --:--:-- --:--:-- 66
0011|[2023-11-22 13:42:07] Hit:1 http://security.debian.org/debian-security buster/updates InRelease
0012|[2023-11-22 13:42:07] Get:2 http://www.deb-multimedia.org buster InRelease [18.1 kB]
0013|[2023-11-22 13:42:07] Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
0014|[2023-11-22 13:42:07] Get:4 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
0015|[2023-11-22 13:42:07] Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
0016|[2023-11-22 13:42:07] Hit:6 https://oph.mdrjr.net/meveric all InRelease
0017|[2023-11-22 13:42:07] Hit:7 https://oph.mdrjr.net/meveric buster InRelease
0018|[2023-11-22 13:42:07] Get:8 http://www.deb-multimedia.org buster/non-free Sources [3244 B]
0019|[2023-11-22 13:42:07] Get:9 http://www.deb-multimedia.org buster/main Sources [100 kB]
0020|[2023-11-22 13:42:07] Get:10 http://www.deb-multimedia.org buster/main arm64 Packages [110 kB]
0021|[2023-11-22 13:42:07] Get:11 http://www.deb-multimedia.org buster/main Translation-en [82.7 kB]
0022|[2023-11-22 13:42:07] Get:12 http://www.deb-multimedia.org buster/non-free arm64 Packages [1500 B]
0023|[2023-11-22 13:42:07] Get:13 http://www.deb-multimedia.org buster/non-free Translation-en [3058 B]
0024|[2023-11-22 13:42:09] Fetched 498 kB in 3s (197 kB/s)
0025|[2023-11-22 13:42:12] Reading package lists...
0026|[2023-11-22 13:42:12] *****************************
0027|[2023-11-22 13:42:12] Install modules using apt-get
0028|[2023-11-22 13:42:12] *****************************
0029|% Total % Received % Xferd Average Speed Time Time Time Current
0030|Dload Upload Total Spent Left Speed
0031|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 66 0 --:--:-- --:--:-- --:--:-- 68
0032|[2023-11-22 13:42:13] Reading package lists...
0033|[2023-11-22 13:42:14] Building dependency tree...
0034|[2023-11-22 13:42:14] Reading state information...
0035|[2023-11-22 13:42:15] python3-pip is already the newest version (18.1-5).
0036|[2023-11-22 13:42:15] python3 is already the newest version (3.7.3-1).
0037|[2023-11-22 13:42:15] python3-venv is already the newest version (3.7.3-1).
0038|[2023-11-22 13:42:15] bluez is already the newest version (5.50-1.2~deb10u3).
0039|[2023-11-22 13:42:15] 0 upgraded, 0 newly installed, 0 to remove and 292 not upgraded.
0040|[2023-11-22 13:42:15] Version debian:10
0041|[2023-11-22 13:42:15] Install pipx via pip
0042|[2023-11-22 13:42:18] Requirement already satisfied: pipx in /usr/local/lib/python3.7/dist-packages (1.2.1)
0043|[2023-11-22 13:42:18] Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (23.2)
0044|[2023-11-22 13:42:18] Requirement already satisfied: userpath>=1.6.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (1.9.1)
0045|[2023-11-22 13:42:18] Requirement already satisfied: importlib-metadata>=3.3.0 in /usr/local/lib/python3.7/dist-packages (from pipx) (6.7.0)
0046|[2023-11-22 13:42:18] Requirement already satisfied: argcomplete>=1.9.4 in /usr/local/lib/python3.7/dist-packages (from pipx) (3.1.2)
0047|[2023-11-22 13:42:18] Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (3.15.0)
0048|[2023-11-22 13:42:18] Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.3.0->pipx) (4.7.1)
0049|[2023-11-22 13:42:18] Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from userpath>=1.6.0->pipx) (8.1.7)
0050|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
0051|[notice] A new release of pip is available: 23.0.1 -> 23.3.1
0052|[notice] To update, run: python3 -m pip install --upgrade pip
0053|[2023-11-22 13:42:21] /root/.local/bin has been been added to PATH, but you need to open a new
0054|[2023-11-22 13:42:21] terminal or re-login for this PATH change to take effect.
0055|[2023-11-22 13:42:21]
0056|[2023-11-22 13:42:21] You will need to open a new terminal or re-login for the PATH changes to take
0057|[2023-11-22 13:42:21] effect.
0058|[2023-11-22 13:42:21]
0059|[2023-11-22 13:42:21] Otherwise pipx is ready to go! ✨ 🌟 ✨
0060|[2023-11-22 13:42:21] *************************************
0061|[2023-11-22 13:42:21] Install the required python libraries
0062|[2023-11-22 13:42:21] *************************************
0063|% Total % Received % Xferd Average Speed Time Time Time Current
0064|Dload Upload Total Spent Left Speed
0065|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 68 0 --:--:-- --:--:-- --:--:-- 68
0066|creating virtual environment...
0067|installing theengsgateway...
0068|⚠️ Note: '/root/.local/bin' is not on your PATH environment variable. These
0069|apps will not be globally accessible until your PATH is updated. Run `pipx
0070|ensurepath` to automatically add it, or manually modify your PATH in your
0071|shell's config file (i.e. ~/.bashrc).
0072|done! ✨ 🌟 ✨
0073|[2023-11-22 13:42:39] installed package theengsgateway 1.1.0, installed using Python 3.7.3
0074|[2023-11-22 13:42:39] These apps are now globally available
0075|[2023-11-22 13:42:39] - TheengsGateway
0076|[2023-11-22 13:42:39] ***************************
0077|[2023-11-22 13:42:39] * Install ended *
0078|[2023-11-22 13:42:39] ***************************
0079|% Total % Received % Xferd Average Speed Time Time Time Current
0080|Dload Upload Total Spent Left Speed
0081|0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2 100 2 0 0 1 0 0:00:02 0:00:01 0:00:01 1
100 2 100 2 0 0 1 0 0:00:02 0:00:01 0:00:01 1
Infos complémentaires :
Sur mon Atlas le Log TGW update comporte pratiquement le double de ligne 130
Sur mon Atlas j’ai un log supplémentaire TWG_Package
La page santé
Gérard