Bonjour, on signal souvent ce qui ne marche pas et rarement voir jamais ce qui marche, en l’occurrence, il y a un moment que je n’ai pas eu d’ennui avec la Zigate, elle est bien stable et récupère parfaitement les infos des devices connectés.
Alors merci les dev pour le boulot accompli, ça fonctionne nickel.
Quand vous mettez à jours un plugin et que cela implique un upgrade des dépendances, la sauvegarde ne servira à rien car la version des dépendances installées sur la machine, reste présente!
Sauf si la version est bien fixé dans le plugin mais c’est pas souvent le cas.
la sauvegarde marche uniquement quand la mise à jour n’inclus pas un upgrade des dépendances ou l’ajout de nouvelle dépendance.
Bonjour,
J’ai du réinstaller entièrement Jeedom, donc nouvelle installation raspberry pi3b+ avec disque SSD, installation de jeedom V4 sous raspbian.
Maj fait
Désactivation du Bluetooth
Protocole installé : RFXCOM, zwave interne, clé zigate
Mon problème : je ne peux plus ajouter ni réparer mes modules qui ne fonctionne pas sur ma zigate.
J’ai actuellement 26 équipement normalement connecté.
9/10 capteurs de porte qui fonctionne
0/9 capteurs de température qui ne fonctionne pas
0/3 prise ikéa qui ne fonctionne pas non plus, (elle on fonctionné une heure après avoir fait quelques manipulation, mais après reboot ne fonctionne plus).
0/1 prise xiomi qui ne fonctionne pas
2/3 bouton sur fonctionne.
Merci pour votre aide pour pouvoir associer de nouveau mes équipement qui ne fonctionne plus ?
installation des dépendances :
Installation des dépendances
Hit:1 Index of /debian buster InRelease
Hit:2 Index of /raspbian buster InRelease
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
python3 is already the newest version (3.7.3-1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-pip is already the newest version (18.1-5+rpt1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-serial is already the newest version (3.4-4).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-usb is already the newest version (1.0.2-1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-requests is already the newest version (2.21.0-1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-setuptools is already the newest version (40.8.0-1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-rpi.gpio is already the newest version (0.7.0-0.1~bpo10+1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
python3-dev is already the newest version (3.7.3-1).
The following packages were automatically installed and are no longer required:
python-bcrypt python-fasteners python-lockfile python-monotonic python-nacl
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use ‹ sudo apt autoremove › to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: zigate==0.40.9 in /usr/local/lib/python3.7/dist-packages (0.40.9)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from zigate==0.40.9) (2.21.0)
Requirement already satisfied: pyserial>=3.2 in /usr/lib/python3/dist-packages (from zigate==0.40.9) (3.4)
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from zigate==0.40.9) (0.7.0)
Requirement already satisfied: pydispatcher>=2.0.5 in /usr/local/lib/python3.7/dist-packages (from zigate==0.40.9) (2.0.5)
Requirement already satisfied: bottle in /usr/local/lib/python3.7/dist-packages (from zigate==0.40.9) (0.12.19)
Requirement already satisfied: pyusb in /usr/local/lib/python3.7/dist-packages (from zigate==0.40.9) (1.1.0)
Installation des dépendances terminée !
Vérification de la version installée
0.40.9
Log Zigate
[2020-11-19 16:38:32][ERROR]zigate : Failed to eval « decode_xiaomi(value) » using « 64100003281d9839000000009539c9e34b37052106009a200008211e130727000000000000000009210206 »
[2020-11-19 16:38:32][ERROR]zigate : Traceback (most recent call last):
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 108, in update
‹ self ›: self})
File « », line 1, in
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 209, in decode_xiaomi
data[index] = struct.unpack(fmt, data[index])[0]
struct.error: unpack requires a buffer of 4 bytes
[2020-11-19 16:45:53][ERROR][zigate](ZiGate-Decode data) : Command 0x0025 failed Unhandled command : b’’
[2020-11-19 16:49:16][ERROR]zigate : Failed to eval « decode_xiaomi(value) » using « 64100003281d9839000000009539c9e34b37052106009a200008211e130727000000000000000009210206 »
[2020-11-19 16:49:16][ERROR]zigate : Traceback (most recent call last):
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 108, in update
‹ self ›: self})
File « », line 1, in
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 209, in decode_xiaomi
data[index] = struct.unpack(fmt, data[index])[0]
struct.error: unpack requires a buffer of 4 bytes
[2020-11-19 16:55:21][ERROR]zigate : Failed to eval « decode_xiaomi(value) » using « 64100003281d9839000000009539c9e34b37052106009a200008211e130727000000000000000009210206 »
[2020-11-19 16:55:21][ERROR]zigate : Traceback (most recent call last):
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 108, in update
‹ self ›: self})
File « », line 1, in
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 209, in decode_xiaomi
data[index] = struct.unpack(fmt, data[index])[0]
struct.error: unpack requires a buffer of 4 bytes
[2020-11-19 16:56:35][ERROR]zigate : Failed to eval « decode_xiaomi(value) » using « 64100003281d9839000000009539c9e34b37052106009a200008211e130727000000000000000009210206 »
[2020-11-19 16:56:35][ERROR]zigate : Traceback (most recent call last):
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 108, in update
‹ self ›: self})
File « », line 1, in
File « /usr/local/lib/python3.7/dist-packages/zigate/clusters.py », line 209, in decode_xiaomi
data[index] = struct.unpack(fmt, data[index])[0]
struct.error: unpack requires a buffer of 4 bytes
bonjour depuis hier je rencontre cette erreur lors que je veux afficher le graphique du réseau : Ligne 87 : Uncaught TypeError: Cannot read property ‹ id › of undefined
Je suis en Jeedom v4.1.19
Plugin : 1.7.6
lib : 0.40.12
firmware : 3.1a
cette erreur est apparue après la tentative de réinclusion de plusieurs capteurs plus conncetés depuis quelques semaines.
quelqu’un aurait un idée pour résoudre ce problème ?
Bonjour et bon courage pour trouver la solution, j’ai abandonné.
Même le dev ne répond pas !
De même ! Pour le moment je reste sur Zigate le temps que le plugin Zigbee passe en stable. Mais je ne vois pas comment passer sur un autre plugin sans perdre tous mes équipements et donc refaire Designs et scenarios
Salut
Pour les scénari tu as une fonction qui permet de remplacer une commande par une autre
Pour les designs, cela doit pouvoir aussi le faire.
Ne pas oublier de sauvegarder l’historique dans les commandes du nouveau dispositifs.
Antoine
Hello Antoine,
Merci pour ta réponse, cela parait évident en fait ! Bon du coup je vais peut être franchir le cap plus tot que prévu
Bonjour à tous,
depuis quelques temps, tous mes modules ont disparus. Je suis en VM Jeedom4 debian10. C’est suite à un changement de carte mère sur l’hyperviseur. Du point de vue de la VM, rien a changé pour elle.
J’ai attendu quelques jours sans aucune mise à jour des infos, seuls quelques aqara ouverture porte/fenêtre continuaient à fonctionner.
J’ai décidé de supprimer les devices absent pour les réinclure. Reset des modules et réinclusion mais rien ne se passe.
Lors de l’activation du mode inclusion dans le plugin, je vois une erreur sur un script python du plugin
[2021-05-25 15:33:40][DEBUG] : callZiGate permit_join
[2021-05-25 15:33:40][DEBUG][root](Thread-5) : Message received in socket
[2021-05-25 15:33:40][DEBUG][root](Thread-5) : {'action': 'permit_join', 'args': ''}
[2021-05-25 15:33:40][DEBUG][zigate](Thread-5) : REQUEST : 0x0049 FFFC3C00
[2021-05-25 15:33:40][DEBUG][zigate](Thread-5) : Msg to send b'0049000472fffc3c00'
[2021-05-25 15:33:40][DEBUG][zigate](Thread-5) : Encoded Msg to send b'010210490210021472fffc3c021003'
[2021-05-25 15:33:40][DEBUG][zigate](Thread-5) : Waiting for status message for command 0x0049
[2021-05-25 15:33:40][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x194\x02\x10\x02\x14\x02\x10I\x02\x12\xf3\x02\x11\x02\x10\x02\x10\x03'
[2021-05-25 15:33:40][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2021-05-25 15:33:40][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'0004004902f30100'
[2021-05-25 15:33:40][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:4, packet_type:73, error:b'\x02\xf3\x01\x00', lqi:0
[2021-05-25 15:33:40][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2021-05-25 15:33:40][DEBUG][zigate](Thread-5) : STATUS code to command 0x0049:RESPONSE 0x8000 - Status response : status:0, sequence:4, packet_type:73, error:b'\x02\xf3\x01\x00', lqi:0
[2021-05-25 15:33:40][DEBUG][root](Thread-5) : {'result': OrderedDict([('status', 0), ('sequence', 4), ('packet_type', 73), ('error', b'\x02\xf3\x01\x00'), ('lqi', 0)]), 'success': True}
[2021-05-25 15:33:40][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 4 [packet_type] => 73 [error] => 02f30100 [lqi] => 0 ) [success] => 1 )
[2021-05-25 15:33:40][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x87\x02\x12\x02\x10\x02\x1a\x9d\xe1\x02\x10\x02\x10\x02\x12\xff\xfc\xf3\x02\x11\x02\x10\x02\x10\x03'
[2021-05-25 15:33:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2021-05-25 15:33:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8702: b'e1000002fffcf30100'
[2021-05-25 15:33:41][ERROR][zigate](ZiGate-Decode data) : Error decoding response 0x8702: b'e1000002fffcf30100'
[2021-05-25 15:33:41][ERROR][zigate](ZiGate-Decode data) : Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 588, in decode_data
response = RESPONSES.get(msg_type, Response)(value, lqi)
File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 36, in __init__
self.decode()
File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 1250, in decode
self.data['dst_address'], self.data['sequence'] = struct.unpack('!QB', additional)
struct.error: unpack requires a buffer of 9 bytes
Du coup, j’ai décidé de faire un update de la zigate en 3.1e avec succés, reset usine la zigate. Désormais elle est totalement vide, mon plugin jeedom aussi. Mais voilà, je ne peux rien inclure, toujours la même erreur sur responses.py
Quelqu’un a une idée? Merci.
Bonjour, j’ai résolu mon problème en branchant ma clé zigate sur un hub USB alimenté.
Bonjour,
Je ne savais pas que le firmware 3.1e était disponible, je suis en 3.1d. Pourras-tu faire un retour après quelques jours stp ? (amélioration ou régression). Merci !
Bonjour à tous,
L’auteur du plugin aurait-il abandonné sa création? J’ai toujours cette erreur python au moment de passer la zigate en mode inclusion.
Merci à lui!