homeassistant-zigate icon indicating copy to clipboard operation
homeassistant-zigate copied to clipboard

désynchro des équipements régulière

Open xobix opened this issue 3 years ago • 6 comments

Salut doudz

Depuis la depuis que je suis en version : f69fce5 ( 1 semaine ) c'est la troisième fois que je perd les infos de mes équipements zigbee et que je doit les resynchro (IKEA et xiaomi).

Le seul moyen pour moi et de les supprimer et de refaire un permit joined.

as-tu besoin de logs particulières pour pouvoir m'en dire + ?

lors du boot :

2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (MainThread) [homeassistant.components.sensor] Entity id already exists - ignoring: sensor.zigate_edd1_temperature


2020-07-18 15:03:49 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (MainThread) [homeassistant.components.sensor] Entity id already exists - ignoring: sensor.zigate_edd1_humidity


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:03:49 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_11) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_13) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_1) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_19) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_3) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_17) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_12) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_18) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_6) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_9) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_15) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_5) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_2) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_11) [zigate] IEEE is missing for 682e, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_14) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_7) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_16) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_8) [zigate] IEEE is missing for 0981, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_4) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_0) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_13) [zigate] IEEE is missing for edd1, please pair it again !


2020-07-18 15:04:52 ERROR (SyncWorker_1) [zigate] IEEE is missing for edd1, please pair it again !

xobix avatar Jul 18 '20 13:07 xobix

Vu les messages d'erreur, je dirais que c'est un problème de disque dur, ou de carte sd si c'est un raspberry

doudz avatar Jul 18 '20 17:07 doudz

Merci pour ta réponse.

Je suis sur une installation docker. Il est vrai que mon disque n'est pas de toute première jeunesse, mais je n'ai pas eu de problème sur mes autres applications.

Je vais déplacer le volume sur un autres DD pour voir et lancer un fsck pour voir si une ano est remontée.

xobix avatar Jul 18 '20 23:07 xobix

Suite à mon dernier message, j'ai vérifier l'état de mon disque dur et je n'ai relevé aucune anomalie sur celui-ci. Pour le test j'ai tout de même déplacé le volume de mon container home assistant sur un SSD tout neuf.

Cela n'a pas empêcher le problème de se reproduire aujourd'hui.

xobix avatar Jul 22 '20 10:07 xobix

Ces messages indiqueraient que le fichier zigate.json a été supprimé ou altéré et qu'il manque des informations importantes sur les équipements ce qui nécessite de refaire l'appairage. Si tu n'as pas supprimé (volontairement ou non) ce fichier il serait intéressant de mettre le log zigate en mode debug pour voir pourquoi le fichier n'est pas chargé au démarrage. par ailleurs ce fichier est sauvegardé automatiquement toutes les 5 minutes ainsi qu'à l'arrêt de Home Assistant, ce qui signifie qu'en cas de crash de home assistant ou du raspberry (débranchement par exemple) le fichier n'est pas obligatoirement à jour.

doudz avatar Jul 22 '20 11:07 doudz

voici les sorties avec le debug activé (j'ai fais un "|grep zigate")

pas de modifications manuelles sur le fichier zigate.json, tu veux que je te le fournisse ?

Je ne le trouve pas beaucoup plus bavard, est-ce suffisant ou tu attends autre chose ?

`` 2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [zigate] STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [zigate] REQUEST : 0x0018 b'\x01'

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [zigate] Msg to send b'001800011801'

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [zigate] Encoded Msg to send b'010210180210021118021103'

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [zigate] Waiting for status message for command 0x0018

2020-07-22 14:08:18 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED

2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8010: b'0003031c'

2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8010 - Version list : major:3, installer:31c, lqi:0, version:3.1c

2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

2020-07-22 14:08:18 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x9d\x02\x10\x02\x10\x02\x10\x18\x02\x10\x03'

2020-07-22 14:08:18 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED

2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00000018'

2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:24, error:b'', lqi:0

2020-07-22 14:08:18 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [zigate] STATUS code to command 0x0018:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:24, error:b'', lqi:0

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device SZ Lamp_01 (42cc) 01124b001c2e5168

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device LUMI lumi.plug (8f29) 00158d000268dd96

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device eWeLink SA-003-Zigbee (bc35) 00124b001f527cbb

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device Device (2ed0) 680ae2fffe82bfae

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device LUMI lumi.ctrl_neutral1 (8b4f) None

2020-07-22 14:08:18 ERROR (SyncWorker_14) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_14) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:18 ERROR (MainThread) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device SZ Lamp_01 (df6e) 01124b001c2e6987

2020-07-22 14:08:18 INFO (MainThread) [custom_components.zigate] Not adding entity SZ Lamp_01 (df6e) 01124b001c2e6987 because it's disabled

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device LUMI lumi.sens (edd1) None

2020-07-22 14:08:18 ERROR (SyncWorker_14) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:18 DEBUG (SyncWorker_14) [custom_components.zigate] Add device LUMI lumi.sens (0981) None

2020-07-22 14:08:18 ERROR (SyncWorker_14) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_15) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_15) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:18 DEBUG (SyncWorker_0) [custom_components.zigate.binary_sensor] Creating binary sensor for device eWeLink SA-003-Zigbee (bc35) 00124b001f527cbb {'endpoint': 1, 'cluster': 6, 'attribute': 0, 'data': False, 'name': 'onoff', 'type': <class 'bool'>, 'value': False}

2020-07-22 14:08:18 DEBUG (SyncWorker_15) [custom_components.zigate.sensor] Creating sensor for device LUMI lumi.sens (edd1) None {'endpoint': 1, 'cluster': 1026, 'attribute': 0, 'data': 2571, 'name': 'temperature', 'type': <class 'float'>, 'unit': '°C', 'value': 25.71}

2020-07-22 14:08:18 ERROR (SyncWorker_15) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:18 DEBUG (SyncWorker_10) [custom_components.zigate.switch] Creating switch for device SZ Lamp_01 (42cc) 01124b001c2e5168 11

2020-07-22 14:08:18 ERROR (SyncWorker_16) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_0) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:18 DEBUG (SyncWorker_15) [custom_components.zigate.sensor] Creating sensor for device LUMI lumi.sens (edd1) None {'endpoint': 1, 'cluster': 1029, 'attribute': 0, 'data': 3658, 'name': 'humidity', 'type': <class 'float'>, 'unit': '%', 'value': 36.58}

2020-07-22 14:08:18 DEBUG (SyncWorker_10) [custom_components.zigate.switch] Creating switch for device LUMI lumi.plug (8f29) 00158d000268dd96 1

2020-07-22 14:08:18 ERROR (SyncWorker_16) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_0) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_15) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_16) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_0) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:18 ERROR (SyncWorker_10) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 DEBUG (SyncWorker_10) [custom_components.zigate.switch] Creating switch for device LUMI lumi.ctrl_neutral1 (8b4f) None 2

2020-07-22 14:08:19 ERROR (SyncWorker_10) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_15) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 DEBUG (SyncWorker_10) [custom_components.zigate.switch] Creating switch for device LUMI lumi.ctrl_neutral1 (8b4f) None 4

2020-07-22 14:08:19 DEBUG (SyncWorker_15) [custom_components.zigate.sensor] Creating sensor for device LUMI lumi.sens (0981) None {'endpoint': 1, 'cluster': 1026, 'attribute': 0, 'data': 2525, 'name': 'temperature', 'type': <class 'float'>, 'unit': '°C', 'value': 25.25}

2020-07-22 14:08:19 ERROR (SyncWorker_10) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_15) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 DEBUG (SyncWorker_15) [custom_components.zigate.sensor] Creating sensor for device LUMI lumi.sens (0981) None {'endpoint': 1, 'cluster': 1029, 'attribute': 0, 'data': 4434, 'name': 'humidity', 'type': <class 'float'>, 'unit': '%', 'value': 44.34}

2020-07-22 14:08:19 ERROR (SyncWorker_15) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 DEBUG (SyncWorker_10) [custom_components.zigate.switch] Creating switch for device SZ Lamp_01 (df6e) 01124b001c2e6987 11

2020-07-22 14:08:19 ERROR (SyncWorker_10) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_10) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_17) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_17) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_17) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 0981, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (MainThread) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_3) [zigate] IEEE is missing for 8b4f, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_3) [zigate] IEEE is missing for edd1, please pair it again !

2020-07-22 14:08:19 ERROR (SyncWorker_3) [zigate] IEEE is missing for 0981, please pair it again ! ``

xobix avatar Jul 22 '20 12:07 xobix

il manque le début https://github.com/doudz/homeassistant-zigate#how-enable-debug-log

doudz avatar Jul 22 '20 12:07 doudz