Page 1 sur 1

Error plugin.py'

Publié : 16 janv. 2020, 10:01
par TomOnDomoticz
Bonjour à tous,

voila mon petit soucis :)
voici ma configuration:
Plugin Zigate:
Mode: Beta
Version plugin: 4.6.049
Version Firmware: 031a

Domoticz:
Version: V4.11605

Voila mon interrogation ;) :
tous mes composants fonctionnent bien , vous allez donc me dire qu'elle est le problème alors loool :D :D

quand je regarde mes logs dans Domoticz j'ai de manière cyclique une erreur du plugin.py:

2020-01-16 07:59:24.661 Error: (Zigate) 'onMessage' failed 'TypeError':''int' object is not subscriptable'.
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 849 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/plugin.py'
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 505 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/plugin.py'
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 269 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py'
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 471 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py'
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 509 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/plugin.py'
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 99 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/Modules/input.py'
2020-01-16 07:59:24.661 Error: (Zigate) ----> Line 737 in '/home/A11BoxPr0jectAdm/domoticz/plugins/Domoticz-Zigate/Modules/input.py'

voilou j'aimerais comprendre d'ou peut venir cette erreur :)
merci d'avance
Tom

Re: Error plugin.py'

Publié : 16 janv. 2020, 14:47
par pipiche
A priori un problème d'incohérence.
pourrais-tu attacher le fichier Data/DeviceList-xx.txt

Re: Error plugin.py'

Publié : 16 janv. 2020, 16:42
par TomOnDomoticz
Bonjour,

merci pour ce retour rapide
le fichier est en PJ :D

Re: Error plugin.py'

Publié : 16 janv. 2020, 19:35
par pipiche
TomOnDomoticz a écrit : 16 janv. 2020, 16:42 Bonjour,

merci pour ce retour rapide
le fichier est en PJ :D
C'est effectivement très bizarre. Aurais-tu fait des navettes entre branche stable et branche beta ?

Re: Error plugin.py'

Publié : 17 janv. 2020, 08:44
par pipiche
Peux-tu essayer de faire une mise-à-jour du plugin et voir comment cela se comporte

Re: Error plugin.py'

Publié : 17 janv. 2020, 15:55
par TomOnDomoticz
Oui,
j'ai basculé du la branche stable à beta.

je fais un update ce soir ou demain au pire et je te dis si j'ai de nouveau le message d'erreur. :)

merci a toi

Re: Error plugin.py'

Publié : 17 janv. 2020, 16:59
par pipiche
TomOnDomoticz a écrit : 17 janv. 2020, 15:55 Oui,
j'ai basculé du la branche stable à beta.

je fais un update ce soir ou demain au pire et je te dis si j'ai de nouveau le message d'erreur. :)

merci a toi
Ok, et reste en beta, les aller retour c'est pas une bonne idée

Re: Error plugin.py'

Publié : 17 janv. 2020, 21:00
par TomOnDomoticz
Je viens de faire un update
je suis maintenant en 4.6.052.

pas de soucis sur le fonctionnement de mes composants pour l'instant
mais j'ai un nouveau message d'erreur dans Domoticz:
  • 2020-01-17 20:38:25.438 Status: (Zigate) Plugin with Zigate firmware 031a correctly initialized
    2020-01-17 20:38:25.823 Status: (Zigate) TxPower Attenuation : 0 dBm
    2020-01-17 20:38:41.160 (Zigate) UpdateDevice - ( A_Salon) 1:100
    2020-01-17 20:38:50.651 Error: (Zigate) Decode8030 --> b011 Found an inconstitent Ep : 0000 in {'0000': {'Stamp': 1579023855, 'Phase': 'received', 'Status': '00'}, '03': {'0006': {'Stamp': 1579289930, 'Phase': 'requested', 'Status': ''}}}
    2020-01-17 20:38:50.959 Error: (Zigate) Decode8030 --> 9c39 Found an inconstitent Ep : 0300 in {'0300': {'Stamp': 1579153140, 'Phase': 'received', 'Status': '00'}, '01': {'0300': {'Stamp': 1579289737, 'Phase': 'requested', 'Status': ''}, '0006': {'Stamp': 1579289930, 'Phase': 'requested', 'Status': ''}, '0008': {'Stamp': 1579289930, 'Phase': 'requested', 'Status': ''}}}

    2020-01-17 20:38:53.075 (Zigate) UpdateDevice - ( B_TV) 1:10
    2020-01-17 20:38:53.303 (Zigate) UpdateDevice - ( P_TV) 1:On
    2020-01-17 20:39:21.100 Error: (Zigate) Decode8030 --> eda5 Found an inconstitent Ep : 0000 in {'0000': {'Stamp': 1579025421, 'Phase': 'received', 'Status': '00'}, '03': {'0006': {'Stamp': 1579289960, 'Phase': 'requested', 'Status': ''}}}

    2020-01-17 20:50:43.605 (Zigate) UpdateDevice - (T_Salon_Temp+Hum+Baro) 0:19.4;52.2;1;1013.9;3
    2020-01-17 20:50:43.619 (Zigate) UpdateDevice - (T_Salon_Temp+Hum) 0:19.4;52.2;1
    2020-01-17 20:50:43.633 (Zigate) UpdateDevice - ( T_Salon) 19.4:19.4
    2020-01-17 20:50:43.671 (Zigate) UpdateDevice - (T_Salon_Temp+Hum+Baro) 0:19.4;52.1;1;1013.9;3
    2020-01-17 20:50:43.673 (Zigate) UpdateDevice - (T_Salon_Temp+Hum) 0:19.4;52.1;1
    2020-01-17 20:50:43.681 (Zigate) UpdateDevice - (T_Salon_Temp+Hum+Baro) 0:19.4;52.1;1;1014.1;3
    2020-01-17 20:50:43.703 (Zigate) UpdateDevice - ( T_Salon_Baro) 0:1014.1;3
    2020-01-17 20:54:25.597 Status: (Zigate) Network Topology report
    2020-01-17 20:54:25.597 Status: (Zigate) ---------------------------------------------------------------------
    2020-01-17 20:54:25.597 Status: (Zigate)
    2020-01-17 20:54:25.597 Status: (Zigate) Node Node Relation Type Deepth LQI Rx-Idle
    2020-01-17 20:54:25.598 Status: (Zigate) 6c8a 0000 Parent Coordinator 0 152 Rx-On
    2020-01-17 20:54:25.598 Status: (Zigate) b011 0000 Sibling Coordinator 1 66 Rx-On
    2020-01-17 20:54:25.598 Status: (Zigate) b011 2111 Sibling Router 1 82 Rx-On
    2020-01-17 20:54:25.598 Status: (Zigate) b011 9c39 Sibling Router 1 50 Rx-On
    2020-01-17 20:54:25.598 Status: (Zigate) b011 ac87 Parent End Device 1 255 Rx-On
    2020-01-17 20:54:25.599 Status: (Zigate) b011 6c8a Parent End Device 1 82 Rx-On
    2020-01-17 20:54:25.599 Status: (Zigate) b011 eda5 Sibling Router 1 18 Rx-On
    2020-01-17 20:54:25.599 Status: (Zigate) 9c39 0000 Sibling Coordinator 0 208 Rx-On
    2020-01-17 20:54:25.599 Status: (Zigate) 9c39 2111 Sibling Router 15 125 Rx-On
    2020-01-17 20:54:25.599 Status: (Zigate) 9c39 b011 Sibling Router 15 73 Rx-On
    2020-01-17 20:54:25.599 Status: (Zigate) eda5 0000 Parent Coordinator 1 50 Rx-On
    2020-01-17 20:54:25.600 Status: (Zigate) eda5 9c39 Sibling Router 1 20 Rx-On
    2020-01-17 20:54:25.600 Status: (Zigate) eda5 b011 Sibling Router 1 16 Rx-On
    2020-01-17 20:54:25.600 Status: (Zigate) eda5 b104 Parent End Device 1 10 Rx-On
    2020-01-17 20:54:25.600 Status: (Zigate) eda5 2111 Sibling Router 1 18 Rx-On
    2020-01-17 20:54:25.600 Status: (Zigate) 0000 6c8a Child End Device 1 145 Rx-Off
    2020-01-17 20:54:25.600 Status: (Zigate) 0000 b31e Child End Device 1 192 Rx-Off
    2020-01-17 20:54:25.600 Status: (Zigate) 0000 b104 Child End Device 1 207 Rx-Off
    2020-01-17 20:54:25.601 Status: (Zigate) 0000 2111 Sibling Router 0 128 Rx-On
    2020-01-17 20:54:25.601 Status: (Zigate) 0000 b011 Sibling Router 0 68 Rx-On
    2020-01-17 20:54:25.601 Status: (Zigate) 0000 eda5 Sibling Router 0 45 Rx-On
    2020-01-17 20:54:25.601 Status: (Zigate) 0000 9c39 Sibling Router 0 132 Rx-On

Re: Error plugin.py'

Publié : 17 janv. 2020, 21:14
par pipiche
C'est normal, maintenant on intercepte l’incohérene et on la traite, donc normalement cela devrait rentrer dans l'ordre.