I use Gurux.DLMS.Client.Example.python for reading of Iskraemeco MT372 meters and all works just fine, but we also have some MT174 meters which I think don't have server address parameter and we have to use serial number instead of server address.
Command which I tried to use is below:
python main.py -h 192.168.1.221 -p 4001 -n "71201711" -g "0.0.1.0.0.255:2" -t Verbose
gurux_dlms version: 1.0.110
gurux_net version: 1.0.18
gurux_serial version: 1.0.18
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x4a97
Standard: Standard.DLMS
TX: 13:58:39 7E A0 0A 00 02 2A 2F 21 93 46 87 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 13:58:54
Traceback (most recent call last):
File "main.py", line 88, in main
reader.initializeConnection()
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 306, in initializeConnection
self.readDLMSPacket(data, reply)
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 118, in readDLMSPacket
self.readDLMSPacket2(data, reply)
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 168, in readDLMSPacket2
raise e
File "/home/romjer/PycharmProjects/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 161, in readDLMSPacket2
raise TimeoutException("Failed to receive reply from the device in given time.")
gurux_common.TimeoutException.TimeoutException: Failed to receive reply from the device in given time.
Ended. Press any key to continue.
Can some body explain whats wrong in my command and is it possible at all to use gurux python client in this manner ?
Your parameters look good, but in my mind, MT174 is using IEC 62056-21 and not DLMS.
There might be newer versions, so you need to verify this for the meter vendor.
Hi,
Hi,
Your parameters look good, but in my mind, MT174 is using IEC 62056-21 and not DLMS.
There might be newer versions, so you need to verify this for the meter vendor.
BR,
Mikko