Problème de mise a jour plugin

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Tc2112
Messages : 44
Inscription : 12 août 2023, 15:48

Re: Problème de mise a jour plugin

Message par Tc2112 »

J'ai fait :
sudo python3 -m pip install -r requirements.txt --upgrade

mais la mise a jour ne s'est pas effectuée toujours en 7.1.011 [5.260]

ci joint le resultat
Pièces jointes
Capture.JPG
Capture.JPG (495.88 Kio) Consulté 914 fois
Bibi49
Messages : 367
Inscription : 11 mars 2018, 12:42
Localisation : 49

Re: Problème de mise a jour plugin

Message par Bibi49 »

Code : Tout sélectionner

cd /domoticz/plugins/Domoticz-Zigbee/
sudo git pull 
sudo git reset --hard
sudo git pull --force
sudo python3 -m pip install -r requirements.txt --upgrade
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Tc2112
Messages : 44
Inscription : 12 août 2023, 15:48

Re: Problème de mise a jour plugin

Message par Tc2112 »

suite au code :

Code : Tout sélectionner

sudo git pull 
sudo git reset --hard
sudo git pull --force
sudo python3 -m pip install -r requirements.txt --upgrade
le menu zigate n'apparait plus dans le menu Personnalisé
erreur dans le log :

Code : Tout sélectionner

2024-05-18 12:43:58.470 Error: zigate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/freebox/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2024-05-18 12:43:58.473 Error: zigate: Traceback (most recent call last):
2024-05-18 12:43:58.473 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 127, in <module>
2024-05-18 12:43:58.473 Error: zigate: from Classes.ZigpyTopology import ZigpyTopology
2024-05-18 12:43:58.473 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTopology.py", line 19, in <module>
2024-05-18 12:43:58.473 Error: zigate: import zigpy.types as t
2024-05-18 12:43:58.473 Error: zigate: File "/usr/local/lib/python3.9/dist-packages/zigpy/types/__init__.py", line 4, in <module>
2024-05-18 12:43:58.473 Error: zigate: from .named import * # noqa: F401,F403
2024-05-18 12:43:58.473 Error: zigate: File "/usr/local/lib/python3.9/dist-packages/zigpy/types/named.py", line 8, in <module>
2024-05-18 12:43:58.473 Error: zigate: import attrs
2024-05-18 12:43:58.473 Error: zigate: ModuleNotFoundError: No module named 'attrs'
2024-05-18 12:45:06.201 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:45:20.204 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:45:34.206 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:45:48.209 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:46:02.212 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:46:16.215 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:46:30.218 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 12:46:44.221 Err
Bibi49
Messages : 367
Inscription : 11 mars 2018, 12:42
Localisation : 49

Re: Problème de mise a jour plugin

Message par Bibi49 »

Redémarre domoticz
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Tc2112
Messages : 44
Inscription : 12 août 2023, 15:48

Re: Problème de mise a jour plugin

Message par Tc2112 »

Déjà fait
Bibi49
Messages : 367
Inscription : 11 mars 2018, 12:42
Localisation : 49

Re: Problème de mise a jour plugin

Message par Bibi49 »

tu a quoi dans les logs de domoticz au démarrage de zigbeefordomoticz?
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Tc2112
Messages : 44
Inscription : 12 août 2023, 15:48

Re: Problème de mise a jour plugin

Message par Tc2112 »

j'ai ca :

Code : Tout sélectionner

2024-05-18 12:59:25.365 Error: zigate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/freebox/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2024-05-18 12:59:25.369 Error: zigate: Traceback (most recent call last):
2024-05-18 12:59:25.369 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 127, in <module>
2024-05-18 12:59:25.369 Error: zigate: from Classes.ZigpyTopology import ZigpyTopology
2024-05-18 12:59:25.369 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTopology.py", line 19, in <module>
2024-05-18 12:59:25.369 Error: zigate: import zigpy.types as t
2024-05-18 12:59:25.369 Error: zigate: File "/usr/local/lib/python3.9/dist-packages/zigpy/types/__init__.py", line 4, in <module>
2024-05-18 12:59:25.369 Error: zigate: from .named import * # noqa: F401,F403
2024-05-18 12:59:25.369 Error: zigate: File "/usr/local/lib/python3.9/dist-packages/zigpy/types/named.py", line 8, in <module>
2024-05-18 12:59:25.369 Error: zigate: import attrs
2024-05-18 12:59:25.369 Error: zigate: ModuleNotFoundError: No module named 'attrs'
2024-05-18 13:00:34.520 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 13:00:48.523 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 13:01:02.526 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 13:01:16.529 Error: zigate hardware (26) thread seems to have ended unexpectedly
2024-05-18 13:01:30.531 Error: zigate hardware (26) thread seems to have ended unexpectedly
Bibi49
Messages : 367
Inscription : 11 mars 2018, 12:42
Localisation : 49

Re: Problème de mise a jour plugin

Message par Bibi49 »

Le log devrait commencer avec:

Code : Tout sélectionner

 Entering work loop.
 Started.
 Initialized version 7.1, author 'pipiche38'
 Welcome to Zigbee for Domoticz (Z4D) plugin.
RPI 2 -> Bullseye Lite
DomoticZ -> 2024.7
RFXCom 433E -> Pro1 1041
DongleP - Z-Stack 3.30+ (build 20240710) /Z4D 7.1.025 [7.489]
CC1101 433Mhz "Itron EverBlue Cyble"
PiTInfo v1.4
USB->ùSD = Rpi-clones
Tc2112
Messages : 44
Inscription : 12 août 2023, 15:48

Re: Problème de mise a jour plugin

Message par Tc2112 »

voici le log domoticz au démarrage :

Code : Tout sélectionner

2024-05-18 14:54:36.906 zigate: Worker thread started.
2024-05-18 14:54:36.906 Status: zigate: Started.
2024-05-18 14:54:36.906 Status: zigate: Entering work loop.
2024-05-18 14:54:36.908 Status: Ping: Worker started...
2024-05-18 14:54:36.908 Status: NotificationSystem: thread started...
2024-05-18 14:54:36.909 Status: EventSystem: reset all events...
2024-05-18 14:54:36.912 Status: EventSystem: reset all device statuses...
2024-05-18 14:54:37.089 Status: PluginSystem: 1 plugins started.
2024-05-18 14:54:37.157 Status: Python EventSystem: Initializing event module.
2024-05-18 14:54:37.158 Status: EventSystem: Queue thread started...
2024-05-18 14:54:37.159 Status: EventSystem: Started
2024-05-18 14:54:37.909 Status: MQTT: Connecting to localhost:1883
2024-05-18 14:54:37.425 Error: zigate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/freebox/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2024-05-18 14:54:37.428 Error: zigate: Traceback (most recent call last):
2024-05-18 14:54:37.428 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 127, in <module>
2024-05-18 14:54:37.428 Error: zigate: from Classes.ZigpyTopology import ZigpyTopology
2024-05-18 14:54:37.428 Error: zigate: File "/home/freebox/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTopology.py", line 19, in <module>
2024-05-18 14:54:37.428 Error: zigate: import zigpy.types as t
2024-05-18 14:54:37.428 Error: zigate: File "/usr/local/lib/python3.9/dist-packages/zigpy/types/__init__.py", line 4, in <module>
2024-05-18 14:54:37.428 Error: zigate: from .named import * # noqa: F401,F403
2024-05-18 14:54:37.428 Error: zigate: File "/usr/local/lib/python3.9/dist-packages/zigpy/types/named.py", line 8, in <module>
2024-05-18 14:54:37.428 Error: zigate: import attrs
2024-05-18 14:54:37.428 Error: zigate: ModuleNotFoundError: No module named 'attrs'
2024-05-18 14:54:38.663 Dummy: Light/Switch (eco_max)
2024-05-18 14:54:38.667 Dummy: Light/Switch (eco_null)
2024-05-18 14:54:38.676 Dummy: Light/Switch (eco_moy)
2024-05-18 14:54:38.335 Dummy: Light/Switch (eco_max)
2024-05-18 14:54:38.339 Dummy: Light/Switch (eco_moy)
2024-05-18 14:54:38.350 Dummy: Light/Switch (eco_null)
2024-05-18 14:54:38.110 Status: MQTT: connected to: localhost:1883
2024-05-18 14:54:38.598 Status: [web:8096] Incoming connection from: 192.168.1.78
2024-05-18 14:54:38.624 Status: EventSystem: Script event triggered: conso
2024-05-18 14:54:38.298 Status: LUA: vente:438
2024-05-18 14:54:38.312 Status: EventSystem: Script event triggered: conso
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Problème de mise a jour plugin

Message par pipiche »

A priori tu as une de-synchro avec le repo gthub tu peux faire la commande

Code : Tout sélectionner

sudo rm plugin.py
sudo git reset --hard
sudo git pull
puis

Code : Tout sélectionner

sudo python3 -m pip install -r requirements.txt --upgrade
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
Répondre