Below error i am getting
root@arm:~/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python# python3 main.py -S /dev/ttymxc2:9600:8None1 -i WRAPPER -d India -t Verbose
gurux_dlms version: 1.0.158
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: 0
ClientAddress: 0x10
ServerAddress: 0x1
Standard: 1
TX: 14:05:00 00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 5D FF FF
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 14:05:15
DisconnectRequest
Traceback (most recent call last):
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/main.py", line 112, in main
reader.readAll(settings.outputFile)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 532, in readAll
self.initializeConnection()
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 311, in initializeConnection
self.readDataBlock(self.client.aarqRequest(), reply)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 179, in readDataBlock
self.readDataBlock(it, reply)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 182, in readDataBlock
self.readDLMSPacket(data, reply)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 118, in readDLMSPacket
self.readDLMSPacket2(data, reply)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 169, in readDLMSPacket2
raise e
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 162, 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.
Hi, Your settings are…
Hi,
Your settings are different than the meter expects. Try with this:
python3 main.py -S /dev/ttymxc2:9600:8None1 -d India -t Verbose
BR,
Mikko
Hi Mikko i tried with the…
Hi Mikko
i tried with the command what you suggested but sill the issue is same . You can see below logs
root@arm:~/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python# python3 main.py -S /dev/ttymxc2:9600:8None1 -d India -t Verbose
gurux_dlms version: 1.0.158
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: 0
ClientAddress: 0x10
ServerAddress: 0x1
Standard: 1
TX: 13:21:37 7E A0 07 03 21 93 0F 01 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 13:21:52
DisconnectRequest
Traceback (most recent call last):
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/main.py", line 112, in main
reader.readAll(settings.outputFile)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 532, in readAll
self.initializeConnection()
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 306, in initializeConnection
self.readDLMSPacket(data, reply)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 118, in readDLMSPacket
self.readDLMSPacket2(data, reply)
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 169, in readDLMSPacket2
raise e
File "/root/Gurux-reading/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 162, 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.
BR,
Srikanth
Hi Srikanth, Check your baud…
Hi Srikanth,
Check your baud rate. The meter should reply if the baud rate is correct and your cable is connected correctly.
BR,
Mikko
Hi Mikko with same baudrate…
Hi Mikko
with same baudrate i am getting response from gurux director. I am able to read all profiles.
Regards,
srikanth
Hi Srikanth, You are now…
Hi Srikanth,
You are now using the Public Client and I believe that you need to change the client address and authentication level to see all profiles.
You can see the correct command line arguments when you select the meter in GXDLMSDirector.
BR,
Mikko