fairecasoimeme / Zlinky_TIC

Téléinformation Linky autoalimenté ZigBee 3.0
313 stars 21 forks source link

lixee: Failed to read zigbee attributes #284

Open OUARZA opened 1 month ago

OUARZA commented 1 month ago

Bonjour à tous, Depuis toujours, j'ai ces erreurs. Cela ne semble pas poser problème dans la remontée d'information sauf peut-être une surcharge de z2m. Comment faire pour remédier au problème ? Merci par avance :)

2024-09-23 20:57:50zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haMeterIdentification.read(["availablePower"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (160) waiting for response TIMEOUT)
2024-09-23 20:59:01zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haElectricalMeasurement.read(["rmsCurrentMax"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (162) waiting for response TIMEOUT)
2024-09-23 20:59:11zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 seMetering.read(["activeRegisterTierDelivered","meterSerialNumber"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (163) waiting for response TIMEOUT)
2024-09-23 20:59:22zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haMeterIdentification.read(["availablePower"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (164) waiting for response TIMEOUT)

Commande qui montre que cela fonctionne :

info 2024-09-23 21:01:59z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00158d0005ce76da', payload '{"active_enerfy_out_d01":5126,"active_energy_out_d01":5624.11,"active_power":568,"active_power_max":1061,"active_power_ph_b":352,"active_register_tier_delivered":"","apparent_power":471,"available_power":6,"average_rms_voltage_meas_period":234,"current_date":"","current_index_tarif":0,"current_price":"","current_summ_delivered":16016.6,"current_tarif":"BASE","current_tier1_summ_delivered":0,"current_tier2_summ_delivered":0,"device":{"applicationVersion":12,"dateCode":"20230214","friendlyName":"0x00158d0005ce76da","hardwareVersion":1,"ieeeAddr":"0x00158d0005ce76da","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":61512,"powerSource":"Mains (single phase)","softwareBuildID":"4001-0013","stackVersion":2,"type":"Router","zclVersion":3},"drawn_v_a_max_n1":0,"last_seen":"2024-09-23T19:01:57.947Z","linkquality":255,"message1":"","message2":"","meter_serial_number":"041964502262","mot_d_etat":"000000","power_threshold":6,"relais":0,"relais_breakout":{"relais1":0,"relais2":0,"relais3":0,"relais4":0,"relais5":0,"relais6":0,"relais7":0,"relais8":0},"rms_current":2,"rms_current_max":0,"rms_voltage":235,"site_id":"","software_revision":2,"status_register":"","status_register_breakout":{"cache_borne_dist":"ferme","comm_euridis":"desactivee","contact_sec":"ferme","depassement_ref_pow":0,"etat_cpl":"nouveau_deverrouille","horloge":"correcte","organe_coupure":"ferme","pointe_mobile":"AUCUN","preavis_pointe_mobile":"AUCUN","producteur":0,"sens_energie_active":"positive","surtension_phase":0,"sync_cpl":"non_synchronise","tarif_dist":"index_1","tarif_four":"index_1","tempo_demain":"UNDEF","tempo_jour":"UNDEF","type_tic":"historique"},"update":{"installed_version":1,"latest_version":14,"progress":22.68,"remaining":4068,"state":"updating"},"update_available":false,"warn_d_p_s":0}

Firmware : 4001-0013 (mise à jour en cours vers v14). Je suis sous z2m via Jeedom. image

fairecasoimeme commented 1 month ago

Bonjour,

S'il y a quelques timeout, ça peut venir de perturbations, d'une qualité de réception moyenne ou d'un défaut de traitement côté serveur (Z2M) pour remédier à ce dernier, il faut essayer d'utiliser la whitelist (dans paramètres spécifiques de Z2M) et de mettre que les étiquettes essentielles que vous utilisez.

OUARZA commented 1 month ago

Bonjour, Je ne pense pas que ça vienne de la qualité de réception. Entre les timeout, j'ai les infos qui passent. Je vais regarder un peu plus en détail les logs. Mathieu

OUARZA commented 1 month ago

Hello, On peut voir là que les logs infos sont mélangés aux logs warning. Si j'avais un problème de communication, j'aurai des vagues de warning, non ?

info 2024-09-24 19:48:46z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00158d0005ce76da', payload '{"active_enerfy_out_d01":5126,"active_energy_out_d01":5624.11,"active_power":568,"active_power_max":1061,"active_power_ph_b":352,"active_register_tier_delivered":"","apparent_power":557,"available_power":6,"average_rms_voltage_meas_period":234,"current_date":"","current_index_tarif":0,"current_price":"","current_summ_delivered":16023.12,"current_tarif":"BASE","current_tier1_summ_delivered":0,"current_tier2_summ_delivered":0,"device":{"applicationVersion":12,"dateCode":"20240422","friendlyName":"0x00158d0005ce76da","hardwareVersion":1,"ieeeAddr":"0x00158d0005ce76da","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":61512,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"drawn_v_a_max_n1":0,"last_seen":"2024-09-24T17:48:42.559Z","linkquality":255,"message1":"","message2":"","meter_serial_number":"041964502262","mot_d_etat":"000000","power_threshold":6,"relais":0,"relais_breakout":{"relais1":0,"relais2":0,"relais3":0,"relais4":0,"relais5":0,"relais6":0,"relais7":0,"relais8":0},"rms_current":2,"rms_current_max":0,"rms_voltage":235,"site_id":"","software_revision":2,"status_register":"003A4001","status_register_breakout":{"cache_borne_dist":"ferme","comm_euridis":"activee avec securite","contact_sec":"ouvert","depassement_ref_pow":0,"etat_cpl":"nouveau_verrouille","horloge":"correcte","organe_coupure":"ferme","pointe_mobile":"AUCUN","preavis_pointe_mobile":"AUCUN","producteur":0,"sens_energie_active":"positive","surtension_phase":0,"sync_cpl":"non_synchronise","tarif_dist":"index_2","tarif_four":"index_1","tempo_demain":"UNDEF","tempo_jour":"UNDEF","type_tic":"standard"},"update":{"installed_version":1,"latest_version":14,"state":"available"},"update_available":true,"warn_d_p_s":0}'

warning 2024-09-24 19:48:52zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haElectricalMeasurement.read(["rmsCurrentMax"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (113) waiting for response TIMEOUT)

info 2024-09-24 19:49:01z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00158d0005ce76da', payload '{"active_enerfy_out_d01":5126,"active_energy_out_d01":5624.11,"active_power":568,"active_power_max":1061,"active_power_ph_b":352,"active_register_tier_delivered":"","apparent_power":557,"available_power":6,"average_rms_voltage_meas_period":234,"current_date":"","current_index_tarif":0,"current_price":"","current_summ_delivered":16023.13,"current_tarif":"BASE","current_tier1_summ_delivered":0,"current_tier2_summ_delivered":0,"device":{"applicationVersion":12,"dateCode":"20240422","friendlyName":"0x00158d0005ce76da","hardwareVersion":1,"ieeeAddr":"0x00158d0005ce76da","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":61512,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"drawn_v_a_max_n1":0,"last_seen":"2024-09-24T17:49:01.596Z","linkquality":255,"message1":"","message2":"","meter_serial_number":"041964502262","mot_d_etat":"000000","power_threshold":6,"relais":0,"relais_breakout":{"relais1":0,"relais2":0,"relais3":0,"relais4":0,"relais5":0,"relais6":0,"relais7":0,"relais8":0},"rms_current":2,"rms_current_max":0,"rms_voltage":235,"site_id":"","software_revision":2,"status_register":"003A4001","status_register_breakout":{"cache_borne_dist":"ferme","comm_euridis":"activee avec securite","contact_sec":"ouvert","depassement_ref_pow":0,"etat_cpl":"nouveau_verrouille","horloge":"correcte","organe_coupure":"ferme","pointe_mobile":"AUCUN","preavis_pointe_mobile":"AUCUN","producteur":0,"sens_energie_active":"positive","surtension_phase":0,"sync_cpl":"non_synchronise","tarif_dist":"index_2","tarif_four":"index_1","tempo_demain":"UNDEF","tempo_jour":"UNDEF","type_tic":"standard"},"update":{"installed_version":1,"latest_version":14,"state":"available"},"update_available":true,"warn_d_p_s":0}'

warning 2024-09-24 19:49:03zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 seMetering.read(["activeRegisterTierDelivered","meterSerialNumber"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (114) waiting for response TIMEOUT)

info 2024-09-24 19:49:09z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00158d0005ce76da', payload '{"active_enerfy_out_d01":5126,"active_energy_out_d01":5624.11,"active_power":568,"active_power_max":1061,"active_power_ph_b":352,"active_register_tier_delivered":"","apparent_power":557,"available_power":6,"average_rms_voltage_meas_period":234,"current_date":"","current_index_tarif":0,"current_price":"","current_summ_delivered":16023.13,"current_tarif":"BASE","current_tier1_summ_delivered":0,"current_tier2_summ_delivered":0,"device":{"applicationVersion":12,"dateCode":"20240422","friendlyName":"0x00158d0005ce76da","hardwareVersion":1,"ieeeAddr":"0x00158d0005ce76da","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":61512,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"drawn_v_a_max_n1":0,"last_seen":"2024-09-24T17:49:09.605Z","linkquality":255,"message1":"","message2":"","meter_serial_number":"041964502262","mot_d_etat":"000000","power_threshold":6,"relais":0,"relais_breakout":{"relais1":0,"relais2":0,"relais3":0,"relais4":0,"relais5":0,"relais6":0,"relais7":0,"relais8":0},"rms_current":10,"rms_current_max":0,"rms_voltage":235,"site_id":"","software_revision":2,"status_register":"003A4001","status_register_breakout":{"cache_borne_dist":"ferme","comm_euridis":"activee avec securite","contact_sec":"ouvert","depassement_ref_pow":0,"etat_cpl":"nouveau_verrouille","horloge":"correcte","organe_coupure":"ferme","pointe_mobile":"AUCUN","preavis_pointe_mobile":"AUCUN","producteur":0,"sens_energie_active":"positive","surtension_phase":0,"sync_cpl":"non_synchronise","tarif_dist":"index_2","tarif_four":"index_1","tempo_demain":"UNDEF","tempo_jour":"UNDEF","type_tic":"standard"},"update":{"installed_version":1,"latest_version":14,"state":"available"},"update_available":true,"warn_d_p_s":0}'

warning 2024-09-24 19:49:14zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haMeterIdentification.read(["availablePower"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (115) waiting for response TIMEOUT)

info 2024-09-24 19:49:15z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00158d0005ce76da', payload '{"active_enerfy_out_d01":5126,"active_energy_out_d01":5624.11,"active_power":568,"active_power_max":1061,"active_power_ph_b":352,"active_register_tier_delivered":"","apparent_power":2447,"available_power":6,"average_rms_voltage_meas_period":234,"current_date":"","current_index_tarif":0,"current_price":"","current_summ_delivered":16023.13,"current_tarif":"BASE","current_tier1_summ_delivered":0,"current_tier2_summ_delivered":0,"device":{"applicationVersion":12,"dateCode":"20240422","friendlyName":"0x00158d0005ce76da","hardwareVersion":1,"ieeeAddr":"0x00158d0005ce76da","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":61512,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"drawn_v_a_max_n1":0,"last_seen":"2024-09-24T17:49:15.596Z","linkquality":255,"message1":"","message2":"","meter_serial_number":"041964502262","mot_d_etat":"000000","power_threshold":6,"relais":0,"relais_breakout":{"relais1":0,"relais2":0,"relais3":0,"relais4":0,"relais5":0,"relais6":0,"relais7":0,"relais8":0},"rms_current":10,"rms_current_max":0,"rms_voltage":235,"site_id":"","software_revision":2,"status_register":"003A4001","status_register_breakout":{"cache_borne_dist":"ferme","comm_euridis":"activee avec securite","contact_sec":"ouvert","depassement_ref_pow":0,"etat_cpl":"nouveau_verrouille","horloge":"correcte","organe_coupure":"ferme","pointe_mobile":"AUCUN","preavis_pointe_mobile":"AUCUN","producteur":0,"sens_energie_active":"positive","surtension_phase":0,"sync_cpl":"non_synchronise","tarif_dist":"index_2","tarif_four":"index_1","tempo_demain":"UNDEF","tempo_jour":"UNDEF","type_tic":"standard"},"update":{"installed_version":1,"latest_version":14,"state":"available"},"update_available":true,"warn_d_p_s":0}'

Je suis tombé sur ce fil, je vais mettre en whitelist les éléments qui m'intéressent. https://github.com/fairecasoimeme/Zlinky_TIC/issues/265

Est-ce normal d'en avoir pas autant que d'autres utilisateurs ? image

Ou encore dans Groupe image

fairecasoimeme commented 1 month ago

Vous êtes en mode historique. Pour avoir plus de données, il faut passer votre Linky en mode standard. Pour cela, il faut suivre la procédure suivante :

Pour passer son compteur Linky du mode historique au mode standard :

Cette opération est gratuite et en général, le changement est effectué dans les 24 heures ouvrées.

OUARZA commented 1 month ago

Merci, je suis en standard côté Enedis et côté z2m. J'ai mis que ces paramètres : EAST,IRMS1,URMS1,Linkquality Ces 4 données remontent bien mais je continue à recevoir des erreurs. Que faire ? Merci :)

image

image

2024-09-26 21:05:55zhc:lixee: Failed to read zigbee attributes: Error: ZCL command 0x00158d0005ce76da/1 haElectricalMeasurement.read(["rmsCurrentMax"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":null,"writeUndiv":false}) failed (no response received (198) waiting for response TIMEOUT)
fairecasoimeme commented 1 month ago

Bizarre qu'il demande rmsCurrentMax alors que vous ne l'avait pas dans la whitelist non ?

KipK commented 1 month ago

Alors ja'i eu ce soucis de timeout, ca m'a pris un bon momenet avant d'en trouver la cause. Z2M a changé le paramètre par défaut Measurement poll chunk sur 4 au lieu de 1 précedemment. On ne le voit pas car le champs de config est vide par défaut. Et le module Lixee n'a pas l'air d'apprécier ( dommage d'ailleurs, ca aurait du sens vu le volume de données ). Depuis que je l'ai forcé sur 1 plus d'erreur.

OUARZA commented 1 month ago

Bonsoir @KipK , Je suis à 60.

Mathieu

KipK commented 1 month ago

@OUARZA tu confond avec le paramètre Measurement poll interval qui est à 60

c'est Measurement poll chunk qu'il faut changer. Cela dit je l'ai repaassé à 3 et ça a l'air d'etre correct pour l'instant.

MilesTEG1 commented 1 month ago

@OUARZA tu confond avec le paramètre Measurement poll interval qui est à 60

c'est Measurement poll chunk qu'il faut changer. Cela dit je l'ai repaassé à 3 et ça a l'air d'etre correct pour l'instant.

Salut 👋🏻 Moi je l'ai mis à 1. Est-ce que ça peut causer des soucis d'avoir une valeur de 1 au lieu de 3 ?

KipK commented 1 month ago

ca cause un peu plus. j'étais à 1 aussi comme évoqué plus haut pour résoudre le soucis de ce topic. Puis remonté à 3 et pas d'erreur ( sauf quand le réseau est chargé avec une ota en cours )