Page 3 sur 15

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 25 janv. 2025, 20:30
par salinois
je continue

j'ai ajouté les dispositifs et voilà. Dois-je relancer le plugin maintenant aussi?
Dois-je faire cela aussi ? "Création de l’environnement Python pour Domoticz"
zigbee-6.jpg
zigbee-6.jpg (16.1 Kio) Consulté 3319 fois
salinois

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 25 janv. 2025, 21:07
par Keros
Le plugin est installé et semble démarrer > c'est bon de ce côté-là.
Un petit redémarrage de DomoticZ ne peut pas faire de mal.

Maintenant, le problème que tu sembles avoir est que le plugin n'arrive pas à communiquer avec ton coordinateur.
Vérifie que les paramètres sont bons : config réseau, IP et port.

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 26 janv. 2025, 19:05
par salinois
bonjour,

j'ai pu enfin mettre une @IP static dans mon coordinateur Zigbee SLZB-06 (mise à jour). Modif dans le plugin. Relance du plugin, mais toujours un pb de communication !!!
Pourtant , j'accede en http sur le coordinateur . Voilà les copies écran du coordinateur et la config du plugin.
je ne vois rien d'anormal si ce n'est que Socket connected= NO sur le coordinateur !!!
zigbee-7.jpg
zigbee-7.jpg (71.65 Kio) Consulté 3250 fois
zigbee-8.jpg
zigbee-8.jpg (10.61 Kio) Consulté 3250 fois
zigbee-9.jpg
zigbee-9.jpg (85.46 Kio) Consulté 3250 fois

log:
2025-01-26 18:20:28.466 Status: ZigbeeSLZB06: Entering work loop.
2025-01-26 18:20:28.466 ZigbeeSLZB06: Worker thread started.
2025-01-26 18:20:28.466 Status: ZigbeeSLZB06: Started.
2025-01-26 18:20:29.385 Status: ZigbeeSLZB06: Initialized version 7.1, author 'pipiche38'
2025-01-26 18:20:29.387 Status: ZigbeeSLZB06: Welcome to Zigbee for Domoticz (Z4D) plugin.
2025-01-26 18:20:29.388 Status: ZigbeeSLZB06: Z4D requires python3.9 or above and you are running 3.9
2025-01-26 18:20:29.389 ZigbeeSLZB06: Z4D loading PluginConf
2025-01-26 18:20:29.390 ZigbeeSLZB06: Loading PluginConf - from Domoticz sqlite Db
2025-01-26 18:20:29.390 ZigbeeSLZB06: /home/patrick/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-03.json timestamp is 1737832462.2275321
2025-01-26 18:20:29.390 ZigbeeSLZB06: Dz PluginConf is older than Json Dz: 0 Json: 1737832462.2275321
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: PluginAnalytics set to 1
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: filename set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-03.json
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginHome set to /home/patrick/domoticz/plugins/Domoticz-Zigbee
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: homedirectory set to /home/patrick/domoticz/plugins/Domoticz-Zigbee
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginData set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/Data
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginConfig set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/Conf
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginOTAFirmware set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginReports set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/Reports
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginWWW set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/www
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: pluginLogs set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/Logs
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: SSLCertificate set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/certs/server.crt
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: SSLPrivateKey set to /home/patrick/domoticz/plugins/Domoticz-Zigbee/certs/server.key
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: ControllerInRawMode set to True
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: expJsonDatabase set to 0
2025-01-26 18:20:29.392 Status: ZigbeeSLZB06: ControllerInRawMode set to True
2025-01-26 18:20:29.512 Status: ZigbeeSLZB06: Checking Python modules /home/patrick/domoticz/plugins/Domoticz-Zigbee/constraints.txt
2025-01-26 18:20:29.516 Status: ZigbeeSLZB06: - zigpy==0.73.1 version required 0.73.1 installed 0.73.1
2025-01-26 18:20:29.519 Status: ZigbeeSLZB06: - zigpy_znp==0.13.1 version required 0.13.1 installed 0.13.1
2025-01-26 18:20:29.522 Status: ZigbeeSLZB06: - zigpy_deconz==0.24.1 version required 0.24.1 installed 0.24.1
2025-01-26 18:20:29.525 Status: ZigbeeSLZB06: - bellows==0.42.5 version required 0.42.5 installed 0.42.5
2025-01-26 18:20:29.529 Status: ZigbeeSLZB06: - dnspython==2.6.1 version required 2.6.1 installed 2.6.1
2025-01-26 18:20:29.532 Status: ZigbeeSLZB06: - pyserial>=3.5 version required 3.5 installed 3.5
2025-01-26 18:20:29.536 Status: ZigbeeSLZB06: - charset-normalizer==2.0.11 version required 2.0.11 installed 2.0.11
2025-01-26 18:20:29.540 Status: ZigbeeSLZB06: - jsonschema==4.17.3 version required 4.17.3 installed 4.17.3
2025-01-26 18:20:29.544 Status: ZigbeeSLZB06: - cryptography<=40.0.2 version required 40.0.2 installed 3.3.2
2025-01-26 18:20:29.544 ZigbeeSLZB06: Installing plugin custom page /home/patrick/domoticz/www/templates/ZigbeeSLZB06.html
2025-01-26 18:20:29.545 ZigbeeSLZB06: start_logging_thread
2025-01-26 18:20:29.545 ZigbeeSLZB06: logging_thread - listening
2025-01-26 18:20:29.545 Status: ZigbeeSLZB06: Please watch plugin log into /home/patrick/domoticz/plugins/Domoticz-Zigbee/Logs/PluginZigbee_03.log
2025-01-26 18:20:29.553 Status: ZigbeeSLZB06: Z4D starting with stable7-7.1.017
2025-01-26 18:20:38.034 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 803.000000 seconds ago)
2025-01-26 18:20:52.036 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 817.000000 seconds ago)
2025-01-26 18:21:06.039 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 831.000000 seconds ago)
2025-01-26 18:21:20.045 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 845.000000 seconds ago)
2025-01-26 18:21:34.049 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 859.000000 seconds ago)
2025-01-26 18:21:34.049 Error: ZigbeeSLZB06 hardware (3) thread seems to have ended unexpectedly
2025-01-26 18:21:48.052 Error: WebServer:8080 thread seems to have ended unexpectedly (last update 873.000000 seconds ago)
2025-01-26 18:21:48.053 Error: ZigbeeSLZB06 hardware (3) thread seems to have ended unexpectedly
et ça aussi
2025-01-26 18:58:48.102 Error: ZigbeeSLZB06: [120] I have hard time to get Coordinator Version. Most likely there is a communication issue
2025-01-26 18:58:58.079 Error: ZigbeeSLZB06: [130] I have hard time to get Coordinator Version. Most likely there is a communication issue
2025-01-26 18:59:08.101 Error: ZigbeeSLZB06: [140] I have hard time to get Coordinator Version. Most likely there is a communication issue
2025-01-26 18:59:18.074 Error: ZigbeeSLZB06: [150] I have hard time to get Coordinator Version. Most likely there is a communication issue
2025-01-26 18:59:28.096 Error: ZigbeeSLZB06: [160] I have hard time to get Coordinator Version. Most likely there is a communication issue
2025-01-26 18:59:29.100 ZigbeeSLZB06: URL INFOS {'type': 'command', 'param': 'updatehardware', 'htype': '94', 'idx': 3, 'name': 'ZigbeeSLZB06', 'address': '192.168.0.213', 'port': '8080', 'serialport': '/dev/serial1', 'Mode1': 'ZigpyZNP', 'Mode2': 'Wifi', 'Mode3': 'False', 'Mode4': '9440', 'Mode5': 'http://127.0.0.1:8080', 'Mode6': '0', 'extra': 'Zigate', 'enabled': 'true', 'datatimeout': '0', 'loglevel': 7}
2025-01-26 18:59:29.102 Status: ZigbeeSLZB06: Plugin Restart command : http://127.0.0.1:8080/json.htm?type=com ... loglevel=7
2025-01-26 18:59:29.152 Status: ZigbeeSLZB06: Stop directive received.
2025-01-26 18:59:29.153 ZigbeeSLZB06: onStop()
2025-01-26 18:59:29.159 Error: ZigbeeSLZB06: Nothing reported as MacAddress is None!
2025-01-26 18:59:29.225 Error: ZigbeeSLZB06: Nothing reported as MacAddress is None!
il y a aussi cette ligne dans les logs; je n'ai pas ce fichier dans ce répertoire !!!
2025-01-26 18:20:29.544 ZigbeeSLZB06: Installing plugin custom page /home/patrick/domoticz/www/templates/ZigbeeSLZB06.html
je séche au niveau communication !!!

salinois

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 26 janv. 2025, 21:34
par Keros
Ne te bile pas pour 2025-01-26 18:20:29.544 ZigbeeSLZB06: Installing plugin custom page /home/patrick/domoticz/www/templates/ZigbeeSLZB06.html > cela n'empêche pas le plugin de fonctionner.

Tu peux nous transmettre le fichier /home/patrick/domoticz/plugins/Domoticz-Zigbee/Logs/PluginZigbee_03.log ?

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 27 janv. 2025, 11:06
par pipiche
Comme indiqué, communiques nous les logs du plugin.

tu peux éventuellement ajouter un peu plus de debug en éditant le fichier

Code : Tout sélectionner

/home/patrick/domoticz/Conf/PluginConf-03.json
et tu y ajoutes les lignes suivantes

Code : Tout sélectionner

Plugin: 1,
Transport: 1,
TransportZigpy: 1,

As-tu essayé le mode socket au lieu de TCPIP ?

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 27 janv. 2025, 11:26
par pipiche
en regardant de plus prêt, c'est le mode socket qu'il faut utiliser , mais pour l'instant ce n'est supporté que avec SiliconLabs (EZSP)

peux-tu passer sur une branche spécifique

Code : Tout sélectionner

git pull
git checkout rc-stable7-7.1.021
git pull
restart de Domoticz, et tu utilises socket au lieu de TCPIP

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 27 janv. 2025, 11:42
par salinois
Bonjour Pipiche et Keros;

j'ai redémarré mon RPI 4b ce matin. Mais j'avais pas vu vos réponses.
voici les logs de ce matin avant toutes vos préconisations. Je vais essayer de les faire sans me tromper et je reviens vers vous.
PluginZigbee_03_2.log
(426.34 Kio) Téléchargé 170 fois
juste une info, quelquefois, quand je modifie le plugin dans domoticz ( parametre et/ou relance ) cela bloque et je suis obligé
de faire un restart de Domoticz !!!

Salinois

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 27 janv. 2025, 11:52
par salinois
pipiche a écrit : 27 janv. 2025, 11:26 en regardant de plus prêt, c'est le mode socket qu'il faut utiliser , mais pour l'instant ce n'est supporté que avec SiliconLabs (EZSP)

peux-tu passer sur une branche spécifique

Code : Tout sélectionner

git pull
git checkout rc-stable7-7.1.021
git pull
restart de Domoticz, et tu utilises socket au lieu de TCPIP
Euh ,
je me mets à quel endroit pour executer ces commandes ? car j'ai eu ça.
/domoticz $ git pull
git checkout rc-stable7-7.1.021
git pull
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Git est installé , j'avais un doute:
patrick@raspberrypi:~ $ git --version
git version 2.30.2
salinois

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 27 janv. 2025, 12:33
par Keros
Il faut faire les commandes git dans le répertoire du plugin Domoticz-Zigbee (comme pour l'installation).

Re: Plugin Z4D avec new matériel "passerelle Zigbee SLZB 06"

Publié : 27 janv. 2025, 12:47
par salinois
d'ac, j'ai jamais fait ça

donc, j'y vais, mais j'ai une erreur
/domoticz/plugins/Domoticz-Zigbee $ git pull hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
remote: Enumerating objects: 263, done.
remote: Counting objects: 100% (69/69), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 263 (delta 56), reused 46 (delta 46), pack-reused 194 (from 1)
Receiving objects: 100% (263/263), 1.13 MiB | 5.96 MiB/s, done.
Resolving deltas: 100% (152/152), completed with 19 local objects.
From https://github.com/zigbeefordomoticz/Domoticz-Zigbee
8694b202..af1d9e18 stable7 -> origin/stable7
* [new branch] rc-stable7-7.1.021 -> origin/rc-stable7-7.1.021
aed129f1..22622ec8 wip-develop-7.2-2025 -> origin/wip-develop-7.2-2025
* [new tag] stable7-7.1.020 -> stable7-7.1.020
* [new tag] wip-develop-7.2-2025-7.2.110 -> wip-develop-7.2-2025-7.2. 110
* [new tag] stable7-7.1.018 -> stable7-7.1.018
* [new tag] stable7-7.1.019 -> stable7-7.1.019
* [new tag] wip-develop-7.2-2025-7.2.107 -> wip-develop-7.2-2025-7.2. 107
* [new tag] wip-develop-7.2-2025-7.2.108 -> wip-develop-7.2-2025-7.2. 108
* [new tag] wip-develop-7.2-2025-7.2.109 -> wip-develop-7.2-2025-7.2. 109
Updating 8694b202..af1d9e18
error: Your local changes to the following files would be overwritten by merge:
plugin.py
Please commit your changes or stash them before you merge.
Aborting
patrick@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ git checkout rc-stable7 -7.1.021
error: Your local changes to the following files would be overwritten by checkou t:
plugin.py
Please commit your changes or stash them before you switch branches.
Aborting
faut-il mettre 777 sur plugin.py ?

salinois