iec62056-21
iec62056-21 copied to clipboard
Socket Timeout
Hello,
I am trying to implement this code but every time I try I am having 'Socket Timeout' warning.
The meter is Kohler AEL.TF.19 which is using IEC62056-21 protocol to communicate. I am sure that the both the meter and the modem are running perfectly since when I tried it with HW-Group's Hercules Software it connects and gets the data.
If you can help me about the process I'll be glad.
from iec62056_21.client import Iec6205621Client client = Iec6205621Client.with_tcp_transport(address=('5.26.220.136', 502), dev$ password_challange = client.access_programming_mode() client.send_password('00000000') # Common standard password data_answer = client.read_value('1.8.0')