Besoin de testeurs pour un nouveau plugin: MQTT Discovery

Bonjour Mips

Je m’intéresse a ton plugin car il serait une vrai alternative a blea pour la gestion de présence avec les Nuts.
J’aurai des questions (je t’avoue je découvre tout juste ton plugin) :

  • le plugin Mqtt2 est indiqué dans ta documentation comme obligatoire mais perso j’utilise Jmqtt, est-ce possible d’utiliser ce plugin ou pas ?
  • La clé Sena est elle compatible ? Car tout serait centralisé sur mon pi4 ?
    Merci
  • oui plugin-mqtt2 est obligatoire, sinon je ne l’aurais pas écrit :wink:
  • le plugin ne gère pas les clés: ils fonctionnent aussi bien pour le bluetooth (ce qui était mon but initial) que pour n’importe quel autre matériel (testé avec zigbee ou zwave, mais vraiment le but) ou même un truc inconnu tant que celui-ci respecte le protocole « MQTT Auto Discovery »; et donc je ne m’occupe d’aucune compatibilité matériel.
    Mais, comme tu as déjà reçu la réponse sur un autre post, oui il semble que la clé sena est compatible avec theengs gateway

edit 2023-09-12: plugin-mqtt2 n’est plus obligatoire

Idem, difficile de changer de crêmerie avec une centaine d’équipements.
J’avais lu aussi que les plugins pour MQTT ne cohabitaient pas bien ensemble.

Ça, c’est cool pour les trucs inconnus.

Si je comprend bien, le protocole « MQTT Auto Discovery », c’est celui d’home assistant.

Il n’y a pas de spécificités pour Jeedom ?

les 2 plugins cohabitent très bien ensemble, tu as mal lu :wink:

et dans la beta de ce matin, le plugin mqtt2 n’est plus obligatoire, cf. changelog et doc déjà mise à jour, pas encore eu le temps de notifier ici
@kwet sera p-e intéressé par l’info églament

J’avais surtout pris peur avec la gestion du mosquitto par plusieurs plugins à la fois qui pouvait poser des soucis. Du coup, comme j’ai JMQTT qui fonctionne bien, je n’ose plus « jouer » avec les autres plugins.

Hello,

Ah ba mince j’ai déployé et installé le plugin MQTT2 en réinstallant mosquitto du coup :slight_smile: sur mon architecture

Ah tout ce que je veux pas ! :wink:

J’utilise actuellement Blea avec ma clé Sena bluetooth sous Debian 10 avec PI4, je souhaiterai tester MQTT Discovery afin de préparer ma migration à Debian11
Je peux dès maintenant l’installer sur ma production Debian 10 et tester avec Bléa qui fonctionne et utilise cette clé, ça fonctionnerait ? Ou je dois couper Blea et tester MQTT Discovery avec Theengs Gateway seul ?

Merci

@kwet & @Domatizer il aurait été possible de configurer mqtt2 en mode « broker distant » et de lui donner les infos de connexions du broker géré par jmqtt, aucun problème avec ce modèle.
Ce n’est plus nécessaire pour ce plugin ci mais cela vous sera p-e utile pour un autre plugin se basant sur mqtt2 :wink:

en théorie, la clé bluetooth ne peut pas être utilisée en même temps par 2 apps (je le précise bien dans la doc :wink:)
cependant, ca « fonctionne à moitié » => lors de mes tests il m’est déjà arrivé de lancer par erreur theengs sur un de mes pis alors que l’antenne blea était déjà lancée. il y a des raté mais j’arrivais à avoir des remontées d’info;
mais clairement c’est pas l’idéal; ca « tombe en marche » uniquement par chance lorsque les deux ne tentent pas d’accéder au même moment à la clé bluetooth donc ce n’est pas viable comme situation et cela ne sera jamais une config supportée

Bonsoir @Mips

Version du 2023-09-12 11:24:42
J’ai le message d’erreur suivant (dans deamon) et impossoble de lancer le demon :

0003|sh: 1: /var/www/html/plugins/MQTTDiscovery/core/class/../../resources/venv/bin/python3: not found

relance des dependances :

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_MQTTDiscovery
0003|+ echo 1
0004|+ echo 2
0005|+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
0006|+ echo 3
0007|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end MQTTDiscovery
0008|+ rm /tmp/jeedom_install_in_progress_MQTTDiscovery
0009|+ echo '*******************End of package installation******************'
0010|*******************End of package installation******************

Dans resources, pas de rep venv :

jeedom@domo42:/var/www/html/plugins/MQTTDiscovery/resources$ ls -ltr
total 24
-rwxrwxr-x 1 www-data www-data 1619 12 sept. 20:12 install_apt.sh
-rwxrwxr-x 1 www-data www-data 1375 12 sept. 20:12 config.py
-rwxrwxr-x 1 www-data www-data   31 12 sept. 20:12 requirements.txt
-rwxrwxr-x 1 www-data www-data 6696 12 sept. 20:12 mqttdiscoveryd.py
drwxrwxr-x 2 www-data www-data 4096 12 sept. 20:12 jeedom

Norbert

Ce n’est pas le bon fichier.
Tu devrais avoir un xxx_update
Je suis passé sur un démon dans un venv donc j’ai du abandonner le système « packages » du core.

Tu n’as pas ce log?

Exact … Mais erreur d’install de dependance néanmoins :

0000|[2023-09-12 21:35:11] *************************************
0001|[2023-09-12 21:35:11] *   Launch install of dependencies  *
0002|[2023-09-12 21:35:11] *************************************
0003|[2023-09-12 21:35:12] Hit:1 http://deb.debian.org/debian bullseye InRelease
0004|[2023-09-12 21:35:12] Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
0005|[2023-09-12 21:35:12] Hit:3 http://deb.debian.org/debian bullseye-backports InRelease
0006|[2023-09-12 21:35:12] Hit:4 http://security.debian.org bullseye-security InRelease
0007|[2023-09-12 21:35:12] Hit:5 https://download.docker.com/linux/debian bullseye InRelease
0008|[2023-09-12 21:35:12] Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease
0009|[2023-09-12 21:35:17] Hit:6 http://fi.mirror.armbian.de/apt bullseye InRelease
0010|[2023-09-12 21:35:18] Hit:8 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
0011|[2023-09-12 21:35:22] Reading package lists...
0012|[2023-09-12 21:35:22] *****************************
0013|[2023-09-12 21:35:22] Install modules using apt-get
0014|[2023-09-12 21:35:22] *****************************
0015|[2023-09-12 21:35:22] Reading package lists...
0016|[2023-09-12 21:35:23] Building dependency tree...
0017|[2023-09-12 21:35:23] Reading state information...
0018|[2023-09-12 21:35:24] python3-pip is already the newest version (20.3.4-4+deb11u1).
0019|[2023-09-12 21:35:24] python3 is already the newest version (3.9.2-3).
0020|[2023-09-12 21:35:24] python3-venv is already the newest version (3.9.2-3).
0021|[2023-09-12 21:35:24] python3-requests is already the newest version (2.25.1+dfsg-2).
0022|[2023-09-12 21:35:24] python3-setuptools is already the newest version (52.0.0-4).
0023|[2023-09-12 21:35:24] 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
0024|[2023-09-12 21:35:24] *************************************
0025|[2023-09-12 21:35:24] Creating python 3 virtual environment
0026|[2023-09-12 21:35:24] *************************************
0027|[2023-09-12 21:35:32] Done
0028|[2023-09-12 21:35:32] *************************************
0029|[2023-09-12 21:35:32] Install the required python libraries
0030|[2023-09-12 21:35:32] *************************************
0031|[2023-09-12 21:35:37] Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (20.3.4)
0032|[2023-09-12 21:35:38] Collecting pip
0033|[2023-09-12 21:35:38] Using cached pip-23.2.1-py3-none-any.whl (2.1 MB)
0034|[2023-09-12 21:35:39] Collecting wheel
0035|[2023-09-12 21:35:39] Using cached wheel-0.41.2-py3-none-any.whl (64 kB)
0036|[2023-09-12 21:35:39] Installing collected packages: wheel, pip
0037|[2023-09-12 21:35:39] Attempting uninstall: pip
0038|[2023-09-12 21:35:39] Found existing installation: pip 20.3.4
0039|[2023-09-12 21:35:40] Uninstalling pip-20.3.4:
0040|[2023-09-12 21:35:40] Successfully uninstalled pip-20.3.4
0041|[2023-09-12 21:35:44] Successfully installed pip-23.2.1 wheel-0.41.2
0042|[2023-09-12 21:35:47] Collecting aiohttp>=3.8.0 (from -r requirements.txt (line 1))
0043|[2023-09-12 21:35:47] Using cached aiohttp-3.8.5.tar.gz (7.4 MB)
0044|[2023-09-12 21:35:48] Installing build dependencies: started
0045|[2023-09-12 21:35:53] Installing build dependencies: finished with status 'done'
0046|[2023-09-12 21:35:53] Getting requirements to build wheel: started
0047|[2023-09-12 21:35:54] Getting requirements to build wheel: finished with status 'done'
0048|[2023-09-12 21:35:54] Installing backend dependencies: started
0049|[2023-09-12 21:35:57] Installing backend dependencies: finished with status 'done'
0050|[2023-09-12 21:35:57] Preparing metadata (pyproject.toml): started
0051|[2023-09-12 21:35:57] Preparing metadata (pyproject.toml): finished with status 'done'
0052|[2023-09-12 21:35:58] Collecting paho-mqtt>=1.6.0 (from -r requirements.txt (line 2))
0053|[2023-09-12 21:35:58] Using cached paho_mqtt-1.6.1-py3-none-any.whl
0054|[2023-09-12 21:35:58] Collecting attrs>=17.3.0 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0055|[2023-09-12 21:35:58] Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
0056|[2023-09-12 21:35:58] Collecting charset-normalizer<4.0,>=2.0 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0057|[2023-09-12 21:35:58] Obtaining dependency information for charset-normalizer<4.0,>=2.0 from https://files.pythonhosted.org/packages/bf/a0/188f223c7d8b924fb9b554b9d27e0e7506fd5bf9cfb6dbacb2dfd5832b53/charset_normalizer-3.2.0-py3-none-any.whl.metadata
0058|[2023-09-12 21:35:58] Using cached charset_normalizer-3.2.0-py3-none-any.whl.metadata (31 kB)
0059|[2023-09-12 21:36:00] Collecting multidict<7.0,>=4.5 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0060|[2023-09-12 21:36:00] Using cached multidict-6.0.4.tar.gz (51 kB)
0061|[2023-09-12 21:36:00] Installing build dependencies: started
0062|[2023-09-12 21:36:06] Installing build dependencies: finished with status 'done'
0063|[2023-09-12 21:36:06] Getting requirements to build wheel: started
0064|[2023-09-12 21:36:07] Getting requirements to build wheel: finished with status 'done'
0065|[2023-09-12 21:36:07] Installing backend dependencies: started
0066|[2023-09-12 21:36:10] Installing backend dependencies: finished with status 'done'
0067|[2023-09-12 21:36:10] Preparing metadata (pyproject.toml): started
0068|[2023-09-12 21:36:11] Preparing metadata (pyproject.toml): finished with status 'done'
0069|[2023-09-12 21:36:11] Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0070|[2023-09-12 21:36:11] Obtaining dependency information for async-timeout<5.0,>=4.0.0a3 from https://files.pythonhosted.org/packages/a7/fa/e01228c2938de91d47b307831c62ab9e4001e747789d0b05baf779a6488c/async_timeout-4.0.3-py3-none-any.whl.metadata
0071|[2023-09-12 21:36:11] Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
0072|[2023-09-12 21:36:12] Collecting yarl<2.0,>=1.0 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0073|[2023-09-12 21:36:12] Using cached yarl-1.9.2.tar.gz (184 kB)
0074|[2023-09-12 21:36:12] Installing build dependencies: started
0075|[2023-09-12 21:36:18] Installing build dependencies: finished with status 'done'
0076|[2023-09-12 21:36:18] Getting requirements to build wheel: started
0077|[2023-09-12 21:36:19] Getting requirements to build wheel: finished with status 'done'
0078|[2023-09-12 21:36:19] Preparing metadata (pyproject.toml): started
0079|[2023-09-12 21:36:20] Preparing metadata (pyproject.toml): finished with status 'done'
0080|[2023-09-12 21:36:20] Collecting frozenlist>=1.1.1 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0081|[2023-09-12 21:36:20] Using cached frozenlist-1.4.0.tar.gz (90 kB)
0082|[2023-09-12 21:36:20] Installing build dependencies: started
0083|[2023-09-12 21:36:26] Installing build dependencies: finished with status 'done'
0084|[2023-09-12 21:36:26] Getting requirements to build wheel: started
0085|[2023-09-12 21:36:27] Getting requirements to build wheel: finished with status 'done'
0086|[2023-09-12 21:36:27] Preparing metadata (pyproject.toml): started
0087|[2023-09-12 21:36:28] Preparing metadata (pyproject.toml): finished with status 'done'
0088|[2023-09-12 21:36:28] Collecting aiosignal>=1.1.2 (from aiohttp>=3.8.0->-r requirements.txt (line 1))
0089|[2023-09-12 21:36:28] Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
0090|[2023-09-12 21:36:28] Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp>=3.8.0->-r requirements.txt (line 1))
0091|[2023-09-12 21:36:28] Using cached idna-3.4-py3-none-any.whl (61 kB)
0092|[2023-09-12 21:36:28] Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
0093|[2023-09-12 21:36:28] Using cached charset_normalizer-3.2.0-py3-none-any.whl (46 kB)
0094|[2023-09-12 21:36:28] Building wheels for collected packages: aiohttp, frozenlist, multidict, yarl
0095|[2023-09-12 21:36:28] Building wheel for aiohttp (pyproject.toml): started
0096|[2023-09-12 21:36:29] Building wheel for aiohttp (pyproject.toml): finished with status 'error'
0097|error: subprocess-exited-with-error
0098|× Building wheel for aiohttp (pyproject.toml) did not run successfully.
0099|│ exit code: 1
0100|╰─> [101 lines of output]
0101|*********************
0102|* Accelerated build *
0103|*********************
0104|running bdist_wheel
0105|running build
0106|running build_py
0107|creating build
0108|creating build/lib.linux-armv7l-cpython-39
0109|creating build/lib.linux-armv7l-cpython-39/aiohttp
0110|copying aiohttp/worker.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0111|copying aiohttp/web_ws.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0112|copying aiohttp/web_urldispatcher.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0113|copying aiohttp/web_server.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0114|copying aiohttp/web_runner.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0115|copying aiohttp/web_routedef.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0116|copying aiohttp/web_response.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0117|copying aiohttp/web_request.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0118|copying aiohttp/web_protocol.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0119|copying aiohttp/web_middlewares.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0120|copying aiohttp/web_log.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0121|copying aiohttp/web_fileresponse.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0122|copying aiohttp/web_exceptions.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0123|copying aiohttp/web_app.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0124|copying aiohttp/web.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0125|copying aiohttp/typedefs.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0126|copying aiohttp/tracing.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0127|copying aiohttp/test_utils.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0128|copying aiohttp/tcp_helpers.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0129|copying aiohttp/streams.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0130|copying aiohttp/resolver.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0131|copying aiohttp/pytest_plugin.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0132|copying aiohttp/payload_streamer.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0133|copying aiohttp/payload.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0134|copying aiohttp/multipart.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0135|copying aiohttp/log.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0136|copying aiohttp/locks.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0137|copying aiohttp/http_writer.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0138|copying aiohttp/http_websocket.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0139|copying aiohttp/http_parser.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0140|copying aiohttp/http_exceptions.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0141|copying aiohttp/http.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0142|copying aiohttp/helpers.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0143|copying aiohttp/hdrs.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0144|copying aiohttp/formdata.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0145|copying aiohttp/cookiejar.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0146|copying aiohttp/connector.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0147|copying aiohttp/client_ws.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0148|copying aiohttp/client_reqrep.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0149|copying aiohttp/client_proto.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0150|copying aiohttp/client_exceptions.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0151|copying aiohttp/client.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0152|copying aiohttp/base_protocol.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0153|copying aiohttp/abc.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0154|copying aiohttp/__init__.py -> build/lib.linux-armv7l-cpython-39/aiohttp
0155|running egg_info
0156|writing aiohttp.egg-info/PKG-INFO
0157|writing dependency_links to aiohttp.egg-info/dependency_links.txt
0158|writing requirements to aiohttp.egg-info/requires.txt
0159|writing top-level names to aiohttp.egg-info/top_level.txt
0160|reading manifest file 'aiohttp.egg-info/SOURCES.txt'
0161|reading manifest template 'MANIFEST.in'
0162|warning: no files found matching 'aiohttp' anywhere in distribution
0163|warning: no previously-included files matching '*.pyc' found anywhere in distribution
0164|warning: no previously-included files matching '*.pyd' found anywhere in distribution
0165|warning: no previously-included files matching '*.so' found anywhere in distribution
0166|warning: no previously-included files matching '*.lib' found anywhere in distribution
0167|warning: no previously-included files matching '*.dll' found anywhere in distribution
0168|warning: no previously-included files matching '*.a' found anywhere in distribution
0169|warning: no previously-included files matching '*.obj' found anywhere in distribution
0170|warning: no previously-included files found matching 'aiohttp/*.html'
0171|no previously-included directories found matching 'docs/_build'
0172|adding license file 'LICENSE.txt'
0173|writing manifest file 'aiohttp.egg-info/SOURCES.txt'
0174|copying aiohttp/_cparser.pxd -> build/lib.linux-armv7l-cpython-39/aiohttp
0175|copying aiohttp/_find_header.pxd -> build/lib.linux-armv7l-cpython-39/aiohttp
0176|copying aiohttp/_headers.pxi -> build/lib.linux-armv7l-cpython-39/aiohttp
0177|copying aiohttp/_helpers.pyi -> build/lib.linux-armv7l-cpython-39/aiohttp
0178|copying aiohttp/_helpers.pyx -> build/lib.linux-armv7l-cpython-39/aiohttp
0179|copying aiohttp/_http_parser.pyx -> build/lib.linux-armv7l-cpython-39/aiohttp
0180|copying aiohttp/_http_writer.pyx -> build/lib.linux-armv7l-cpython-39/aiohttp
0181|copying aiohttp/_websocket.pyx -> build/lib.linux-armv7l-cpython-39/aiohttp
0182|copying aiohttp/py.typed -> build/lib.linux-armv7l-cpython-39/aiohttp
0183|creating build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0184|copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0185|copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0186|copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0187|copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0188|copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0189|copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0190|copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0191|copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-armv7l-cpython-39/aiohttp/.hash
0192|running build_ext
0193|building 'aiohttp._websocket' extension
0194|creating build/temp.linux-armv7l-cpython-39
0195|creating build/temp.linux-armv7l-cpython-39/aiohttp
0196|arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/var/www/html/plugins/MQTTDiscovery/resources/venv/include -I/usr/include/python3.9 -c aiohttp/_websocket.c -o build/temp.linux-armv7l-cpython-39/aiohttp/_websocket.o
0197|aiohttp/_websocket.c:6:10: fatal error: Python.h: No such file or directory
0198|6 | #include "Python.h"
0199||          ^~~~~~~~~~
0200|compilation terminated.
0201|error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
0202|[end of output]
0203|note: This error originates from a subprocess, and is likely not a problem with pip.
0204|ERROR: Failed building wheel for aiohttp
0205|[2023-09-12 21:36:29] Building wheel for frozenlist (pyproject.toml): started
0206|[2023-09-12 21:36:30] Building wheel for frozenlist (pyproject.toml): finished with status 'error'
0207|error: subprocess-exited-with-error
0208|× Building wheel for frozenlist (pyproject.toml) did not run successfully.
0209|│ exit code: 1
0210|╰─> [40 lines of output]
0211|*********************
0212|* Accelerated build *
0213|*********************
0214|running bdist_wheel
0215|running build
0216|running build_py
0217|creating build
0218|creating build/lib.linux-armv7l-cpython-39
0219|creating build/lib.linux-armv7l-cpython-39/frozenlist
0220|copying frozenlist/__init__.py -> build/lib.linux-armv7l-cpython-39/frozenlist
0221|running egg_info
0222|writing frozenlist.egg-info/PKG-INFO
0223|writing dependency_links to frozenlist.egg-info/dependency_links.txt
0224|writing top-level names to frozenlist.egg-info/top_level.txt
0225|reading manifest file 'frozenlist.egg-info/SOURCES.txt'
0226|reading manifest template 'MANIFEST.in'
0227|warning: no previously-included files matching '*.pyc' found anywhere in distribution
0228|warning: no previously-included files matching '*.pyd' found anywhere in distribution
0229|warning: no previously-included files matching '*.so' found anywhere in distribution
0230|warning: no previously-included files matching '*.lib' found anywhere in distribution
0231|warning: no previously-included files matching '*.dll' found anywhere in distribution
0232|warning: no previously-included files matching '*.a' found anywhere in distribution
0233|warning: no previously-included files matching '*.obj' found anywhere in distribution
0234|warning: no previously-included files found matching 'frozenlist/*.html'
0235|no previously-included directories found matching 'docs/_build'
0236|adding license file 'LICENSE'
0237|writing manifest file 'frozenlist.egg-info/SOURCES.txt'
0238|copying frozenlist/__init__.pyi -> build/lib.linux-armv7l-cpython-39/frozenlist
0239|copying frozenlist/_frozenlist.pyx -> build/lib.linux-armv7l-cpython-39/frozenlist
0240|copying frozenlist/py.typed -> build/lib.linux-armv7l-cpython-39/frozenlist
0241|running build_ext
0242|building 'frozenlist._frozenlist' extension
0243|creating build/temp.linux-armv7l-cpython-39
0244|creating build/temp.linux-armv7l-cpython-39/frozenlist
0245|arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/var/www/html/plugins/MQTTDiscovery/resources/venv/include -I/usr/include/python3.9 -c frozenlist/_frozenlist.c -o build/temp.linux-armv7l-cpython-39/frozenlist/_frozenlist.o
0246|frozenlist/_frozenlist.c:16:10: fatal error: Python.h: No such file or directory
0247|16 | #include "Python.h"
0248||          ^~~~~~~~~~
0249|compilation terminated.
0250|error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
0251|[end of output]
0252|note: This error originates from a subprocess, and is likely not a problem with pip.
0253|ERROR: Failed building wheel for frozenlist
0254|[2023-09-12 21:36:30] Building wheel for multidict (pyproject.toml): started
0255|[2023-09-12 21:36:31] Building wheel for multidict (pyproject.toml): finished with status 'error'
0256|error: subprocess-exited-with-error
0257|× Building wheel for multidict (pyproject.toml) did not run successfully.
0258|│ exit code: 1
0259|╰─> [81 lines of output]
0260|*********************
0261|* Accelerated build *
0262|*********************
0263|running bdist_wheel
0264|running build
0265|running build_py
0266|creating build
0267|creating build/lib.linux-armv7l-cpython-39
0268|creating build/lib.linux-armv7l-cpython-39/multidict
0269|copying multidict/_multidict_py.py -> build/lib.linux-armv7l-cpython-39/multidict
0270|copying multidict/_multidict_base.py -> build/lib.linux-armv7l-cpython-39/multidict
0271|copying multidict/_compat.py -> build/lib.linux-armv7l-cpython-39/multidict
0272|copying multidict/_abc.py -> build/lib.linux-armv7l-cpython-39/multidict
0273|copying multidict/__init__.py -> build/lib.linux-armv7l-cpython-39/multidict
0274|running egg_info
0275|writing multidict.egg-info/PKG-INFO
0276|writing dependency_links to multidict.egg-info/dependency_links.txt
0277|writing top-level names to multidict.egg-info/top_level.txt
0278|reading manifest file 'multidict.egg-info/SOURCES.txt'
0279|reading manifest template 'MANIFEST.in'
0280|warning: no previously-included files matching '*.pyc' found anywhere in distribution
0281|warning: no previously-included files found matching 'multidict/_multidict.html'
0282|warning: no previously-included files found matching 'multidict/*.so'
0283|warning: no previously-included files found matching 'multidict/*.pyd'
0284|warning: no previously-included files found matching 'multidict/*.pyd'
0285|no previously-included directories found matching 'docs/_build'
0286|adding license file 'LICENSE'
0287|writing manifest file 'multidict.egg-info/SOURCES.txt'
0288|/tmp/pip-build-env-fxqvuw66/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:204: _Warning: Package 'multidict._multilib' is absent from the `packages` configuration.
0289|!!
0290|********************************************************************************
0291|############################
0292|# Package would be ignored #
0293|############################
0294|Python recognizes 'multidict._multilib' as an importable package[^1],
0295|but it is absent from setuptools' `packages` configuration.
0296|This leads to an ambiguous overall configuration. If you want to distribute this
0297|package, please make sure that 'multidict._multilib' is explicitly added
0298|to the `packages` configuration field.
0299|Alternatively, you can also rely on setuptools' discovery methods
0300|(for example by using `find_namespace_packages(...)`/`find_namespace:`
0301|instead of `find_packages(...)`/`find:`).
0302|You can read more about "package discovery" on setuptools documentation page:
0303|- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
0304|If you don't want 'multidict._multilib' to be distributed and are
0305|already explicitly excluding 'multidict._multilib' via
0306|`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
0307|you can try to use `exclude_package_data`, or `include-package-data=False` in
0308|combination with a more fine grained `package-data` configuration.
0309|You can read more about "package data files" on setuptools documentation page:
0310|- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
0311|[^1]: For Python, any directory (with suitable naming) can be imported,
0312|even if it does not contain any `.py` files.
0313|On the other hand, currently there is no concept of package data
0314|directory, all directories are treated like packages.
0315|********************************************************************************
0316|!!
0317|check.warn(importable)
0318|copying multidict/__init__.pyi -> build/lib.linux-armv7l-cpython-39/multidict
0319|copying multidict/py.typed -> build/lib.linux-armv7l-cpython-39/multidict
0320|running build_ext
0321|building 'multidict._multidict' extension
0322|creating build/temp.linux-armv7l-cpython-39
0323|creating build/temp.linux-armv7l-cpython-39/multidict
0324|arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/var/www/html/plugins/MQTTDiscovery/resources/venv/include -I/usr/include/python3.9 -c multidict/_multidict.c -o build/temp.linux-armv7l-cpython-39/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
0325|multidict/_multidict.c:1:10: fatal error: Python.h: No such file or directory
0326|1 | #include "Python.h"
0327||          ^~~~~~~~~~
0328|compilation terminated.
0329|error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
0330|[end of output]
0331|note: This error originates from a subprocess, and is likely not a problem with pip.
0332|ERROR: Failed building wheel for multidict
0333|[2023-09-12 21:36:31] Building wheel for yarl (pyproject.toml): started
0334|[2023-09-12 21:36:32] Building wheel for yarl (pyproject.toml): finished with status 'error'
0335|error: subprocess-exited-with-error
0336|× Building wheel for yarl (pyproject.toml) did not run successfully.
0337|│ exit code: 1
0338|╰─> [56 lines of output]
0339|/tmp/pip-build-env-ewax5u1h/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
0340|!!
0341|********************************************************************************
0342|The license_file parameter is deprecated, use license_files instead.
0343|By 2023-Oct-30, you need to update your project and remove deprecated calls
0344|or your builds will no longer be supported.
0345|See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
0346|********************************************************************************
0347|!!
0348|parsed = self.parsers.get(option_name, lambda x: x)(value)
0349|**********************
0350|* Accelerated build *
0351|**********************
0352|running bdist_wheel
0353|running build
0354|running build_py
0355|creating build
0356|creating build/lib.linux-armv7l-cpython-39
0357|creating build/lib.linux-armv7l-cpython-39/yarl
0358|copying yarl/_url.py -> build/lib.linux-armv7l-cpython-39/yarl
0359|copying yarl/_quoting_py.py -> build/lib.linux-armv7l-cpython-39/yarl
0360|copying yarl/_quoting.py -> build/lib.linux-armv7l-cpython-39/yarl
0361|copying yarl/__init__.py -> build/lib.linux-armv7l-cpython-39/yarl
0362|running egg_info
0363|writing yarl.egg-info/PKG-INFO
0364|writing dependency_links to yarl.egg-info/dependency_links.txt
0365|writing requirements to yarl.egg-info/requires.txt
0366|writing top-level names to yarl.egg-info/top_level.txt
0367|reading manifest file 'yarl.egg-info/SOURCES.txt'
0368|reading manifest template 'MANIFEST.in'
0369|warning: no previously-included files matching '*.pyc' found anywhere in distribution
0370|warning: no previously-included files matching '*.cache' found anywhere in distribution
0371|warning: no previously-included files found matching 'yarl/*.html'
0372|warning: no previously-included files found matching 'yarl/*.so'
0373|warning: no previously-included files found matching 'yarl/*.pyd'
0374|no previously-included directories found matching 'docs/_build'
0375|adding license file 'LICENSE'
0376|writing manifest file 'yarl.egg-info/SOURCES.txt'
0377|copying yarl/__init__.pyi -> build/lib.linux-armv7l-cpython-39/yarl
0378|copying yarl/_quoting_c.pyi -> build/lib.linux-armv7l-cpython-39/yarl
0379|copying yarl/_quoting_c.pyx -> build/lib.linux-armv7l-cpython-39/yarl
0380|copying yarl/py.typed -> build/lib.linux-armv7l-cpython-39/yarl
0381|running build_ext
0382|building 'yarl._quoting_c' extension
0383|creating build/temp.linux-armv7l-cpython-39
0384|creating build/temp.linux-armv7l-cpython-39/yarl
0385|arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/var/www/html/plugins/MQTTDiscovery/resources/venv/include -I/usr/include/python3.9 -c yarl/_quoting_c.c -o build/temp.linux-armv7l-cpython-39/yarl/_quoting_c.o
0386|yarl/_quoting_c.c:6:10: fatal error: Python.h: No such file or directory
0387|6 | #include "Python.h"
0388||          ^~~~~~~~~~
0389|compilation terminated.
0390|error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
0391|[end of output]
0392|note: This error originates from a subprocess, and is likely not a problem with pip.
0393|ERROR: Failed building wheel for yarl
0394|ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects
0395|[2023-09-12 21:36:32] Failed to build aiohttp frozenlist multidict yarl
0396|[2023-09-12 21:36:33] ***************************
0397|[2023-09-12 21:36:33] *      Install ended      *

Nouvelle version dispo avec le package qu’il manquait (python3-dev), peux-tu réessayer stp?

C’est OK maintenant ! demon lancé, decouverte en cours

Un petit signalement coté page de config
1 - les topics racine sont incomplets (home au lieu de homeassistant, zigbee2mq au lieu de zigbee2mqtt)
2 - j’ai rajouté zigbee2mqtt dans les topics racine des équipements (meme si ca n’a sans doute pas de sens pusique le discovery se fait via le topic homeassistant) via le + des topics non souscrits. mais après enregistrement puis rafraichissement de la page zigbee2mqtt réapparait

Norbert

non, c’est bien « home » le topic
« homeassistant » c’est le topic de discovery comme tu le dis, c’est la config juste au dessus (un seul topic possible pour cette config)

on ne le voit pas sur ta capture, la capture date d’avant?

et relance du démon? j’aurai dû mettre un message mais de manière générale sur jeedom: changement de config = relance du démon

en plus du message, qui n’est pas toujours lu, perso j’ai fait le choix de restart auto le démon sur JC dans ce cas

1 « J'aime »

Bonjour,
je viens d’installer le plug in en beta pour tester sur une VM.
Si je veux aller recupérer les infos de mon broker jmqtt qui est sur un autre jeedom il suffit d’y mettre l’IP du jeedom en question le login et mdp.
J’ai quelques périphériques qui sont remontés sans commandes avec le topic home qui etait le seul souscrit.
j’ai donc supprimé le topic home et voulu ajouter les 2 autres

Je n’ai pas de périphériques qui se sont ajoutés. De plus apres l’ajout et sauvegarde des topic non souscrits ils apparaissent toujours en non souscrits et souscrits.

2 posts au dessus du tien:

mais tu as oublié une étape avant tout ca: