Closed pdecat closed 4 years ago
Bonjour @fairecasoimeme ,
J'ai le même problème que @pdecat. Suite à la mise à jour de ma zigate depuis la version 3.0f.
J'ai également noté :
DEBUG:zigate:Received response 0x8000: b'14000100'
DEBUG:zigate:RESPONSE 0x8000 - Status response : status:20, sequence:0, packet_type:256, error:b'', lqi:0
ERROR:zigate:Command 0x0100 failed E_ZCL_ERR_ZBUFFER_FAIL : b''
Est la mémoire de la zigate qui est saturé ou des devices ?
Pour ma part, je n'ai aucune trace de E_ZCL_ERR_ZBUFFER_FAIL
dans mes logs.
Par contre, j'ai ceci qui revient très souvent :
ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed E_ZCL_ERR_ZTRANSMIT_FAIL : b''
Pour info, j'ai re-flashé ma Zigate en v3.1c et effacé l'EEprom et la flash pour repartir de zéro et je vois toujours les mêmes messages 0x8035 :
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f101' LQI:0
home-assistant.log:2020-02-27 08:47:53 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000642030000f10300
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f103' LQI:0
home-assistant.log:2020-02-27 08:47:53 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000642030000f10300
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f103' LQI:0
home-assistant.log:2020-02-27 08:47:53 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000643030000f10200
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f102' LQI:0
home-assistant.log:2020-02-27 08:47:53 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000645030000f10400
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f104' LQI:0
home-assistant.log:2020-02-27 08:47:53 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000642030000f10300
home-assistant.log:2020-02-27 08:47:53 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f103' LQI:0
home-assistant.log:2020-02-27 08:47:53 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:48:09 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000645030000f10400
home-assistant.log:2020-02-27 08:48:09 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f104' LQI:0
home-assistant.log:2020-02-27 08:48:09 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:48:09 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000642030000f10300
home-assistant.log:2020-02-27 08:48:09 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f103' LQI:0
home-assistant.log:2020-02-27 08:48:09 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:49:11 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000645030000f10400
home-assistant.log:2020-02-27 08:49:11 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f104' LQI:0
home-assistant.log:2020-02-27 08:49:11 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
home-assistant.log:2020-02-27 08:49:11 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8035000642030000f10300
home-assistant.log:2020-02-27 08:49:11 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8035 b'030000f103' LQI:0
home-assistant.log:2020-02-27 08:49:11 ERROR (MainThread) [zigpy_zigate.api] Received unhandled response 0x8035
Note: au passage je suis en train de passer à zigpy / zigpy-zigate, d'où le nouveau format de logs.
Voir avec home assistant et le plugin concerné. Effectivement le firmware 3.1c envoie des information supplémentaire lié à l'utilisation de la PDM
Ok mais comment les interpréter ?
Y a-t-il d'autres app qui savent le faire ? Par exemple Domoticz ?
Salut,
tu as les informations sur la commande ici : https://zigate.fr/documentation/commandes-zigate/ --> 0x8035
Obj-> ZiGate | 0x8035 | PDM Event (From 3.1b) | ||
---|---|---|---|---|
Status events : E_PDM_SYSTEM_EVENT_WEAR_COUNT_TRIGGER_VALUE_REACHED=0, E_PDM_SYSTEM_EVENT_DESCRIPTOR_SAVE_FAILED, E_PDM_SYSTEM_EVENT_PDM_NOT_ENOUGH_SPACE, E_PDM_SYSTEM_EVENT_LARGEST_RECORD_FULL_SAVE_NO_LONGER_POSSIBLE, E_PDM_SYSTEM_EVENT_SEGMENT_DATA_CHECKSUM_FAIL, E_PDM_SYSTEM_EVENT_SEGMENT_SAVE_OK, E_PDM_SYSTEM_EVENT_EEPROM_SEGMENT_HEADER_REPAIRED, E_PDM_SYSTEM_EVENT_SYSTEM_INTERNAL_BUFFER_WEAR_COUNT_SWAP, E_PDM_SYSTEM_EVENT_SYSTEM_DUPLICATE_FILE_SEGMENT_DETECTED, E_PDM_SYSTEM_EVENT_SYSTEM_ERROR, E_PDM_SYSTEM_EVENT_SEGMENT_PREWRITE, E_PDM_SYSTEM_EVENT_SEGMENT_POSTWRITE, E_PDM_SYSTEM_EVENT_SEQUENCE_DUPLICATE_DETECTED, E_PDM_SYSTEM_EVENT_SEQUENCE_VERIFY_FAIL, E_PDM_SYSTEM_EVENT_PDM_SMART_SAVE, E_PDM_SYSTEM_EVENT_PDM_FULL_SAVE |
Fred
Ok mais comment les interpréter ?
Y a-t-il d'autres app qui savent le faire ? Par exemple Domoticz ?
Dans Domoticz, le message est simplement géré en interne et ne remonte pas à l'utilisateur ni dans les Logs. Il sera activé si besoin.
Ok, mais est-ce que mon interprétation dans la description de l'issue est correcte ?
Ce code
03
semble correspondre à E_PDM_SYSTEM_EVENT_LARGEST_RECORD_FULL_SAVE_NO_LONGER_POSSIBLE qui d'après la doc NXP signifie :The EEPROM occupancy is such that the largest record in the PDM can no longer be fully saved.
u32EventNumber
carries theu16IdValue
of the record that was being processed.https://www.nxp.com/docs/en/user-guide/JN-UG-3116.pdf
Certains appareils seraient-ils saturés ?
Should be close not a firmware issue
TLDR not an issue It is not a real issue, it is just a warning When saving to flash it does a copy backup of where you are going to write in the flash (in case of failure), but when the remaining space is smaller than the largest segment in use, then you can't do this backup. Hence the warning, but 1- the flash is not full, there is still space to save new things 2- your data will be saved It is just that you do not have this safety net in case some flash failure happens.
On Fri, May 8, 2020 at 4:13 PM Pipiche notifications@github.com wrote:
Should be close not a firmware issue
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fairecasoimeme/ZiGate/issues/274#issuecomment-625835414, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR5UYKBZD5PUW7KNEHJRODRQQHPLANCNFSM4KLWJUKA .
Ok then, thanks for the inputs.
@badzz in my case it appears I get this warning from a specific sensor but I am unable to either receive other sensor information or even attempt to repair. It's like if the sensor got blacklisted by zigate.
Bonjour @fairecasoimeme,
depuis que j'ai mis à jour ma Zigate en v3.1b puis v3.1c qui apporte le support des réponses 0x8035, je m'aperçois que j'en reçois de nombreuses avec le code statut
03
:Ce code
03
semble correspondre à E_PDM_SYSTEM_EVENT_LARGEST_RECORD_FULL_SAVE_NO_LONGER_POSSIBLE qui d'après la doc NXP signifie :https://www.nxp.com/docs/en/user-guide/JN-UG-3116.pdf
La liste des réponses différentes avec ce code
03
n'est pas très longue :Note: je filtre sur
b'03
car j'ai aussi desb'07
/E_PDM_SYSTEM_EVENT_SYSTEM_INTERNAL_BUFFER_WEAR_COUNT_SWAP
qui semblent a priori moins grave.Mais par contre elle reviennent très souvent, ~17000 par jour :
Comment faut-il interpréter ces réponses ? Certains appareils seraient-ils saturés ?