gisce / iec870ree

IEC-870-5-102 for REE Spanish Electric meters
GNU Affero General Public License v3.0
13 stars 11 forks source link

Error in ip_cliente.py #39

Open daniguille99 opened 1 year ago

daniguille99 commented 1 year ago

Hello! I'm having an issue when I run ip_cliente.py with my meter. It seems to work well, but at some point, it appears the next error:

Captura de pantalla 2022-11-14 100456

Does anyone now what that error exactly means and how can I solve it?

Thank you in advance!

tinogis commented 1 year ago

A Bad ASDU is received. The length field of the ASDU is not correct. Is possible that a non iec870ree paquet is received?

daniguille99 commented 1 year ago

I don't think so, because the protocol used by the meter is iec870ree. What I did was running the ip_client.py in vscode only changing the information of the meter and while at first seems to work at this point the error appears: image I also tried to change the datetime but the error keeps appearing. Maybe I misread the meter values, which i interpreted in that way: der: "Dirección de enlace" dir_pm: "Punto de Medida" pwd: "Password"