I am trying to read the Landys-Gyr E650, via a Kocos optical eye. I have had success connecting with the GXDLMSDirector but I cannot connect using the python example. I am VERY new to this sort of thing so please bear with me.
I try to copy/ paste the command line given by the Director but the results are the following:
It seems like your meter didn't respond and that might happens sometimes. There is a wait time of five seconds before there will be a timeout exception.
I can now connect without any issues, on Windows and Linux machines. What was the issue, If you don't mind me asking? Was it the Optical Eye drivers?
Thanks again for the help!
There were issues with the DLMS component and in the serial port component. HdlcWithModeE is a new feature and it was causing some problems. The hardest part was with the serial port component and find the simple reason that was causing the problem. It was working without problems with several chipsets, but yours was causing the problems. After this was tried with your optical probe chipset in the correct
PC was easy to solve.
Hi,
Hi,
It seems like your meter didn't respond and that might happens sometimes. There is a wait time of five seconds before there will be a timeout exception.
BR,
Mikko
Hi Mikko,
Hi Mikko,
What do you make of this?
I tried: py main.py -S COM3 -r sn -i HdlcWithModeE -t Verbose
Response:
gurux_dlms version: 1.0.107
gurux_net version: 1.0.17
gurux_serial version: 1.0.17
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x1
Standard: Standard.DLMS
TX: 12:21:21 /?!
RX: 12:21:22 bytearray(b'/LGZ5\\2ZMD3104407.B24\r\n')
Bitrate is : 9600
TX: 12:21:23 06 32 35 32 0D 0A
RX: 12:21:24 None
TX: 12:21:25 7E A0 07 03 21 93 0F 01 7E
RX: 12:21:25
DisconnectRequest
Invalid Interface type.
Regards,
Dylan
Hi Dylan,
Hi Dylan,
Your DLMS component version is old. Run this:
pip install --upgrade gurux-dlms
BR,
Mikko
Hi Mikko
Hi Mikko
I can now connect without any issues, on Windows and Linux machines. What was the issue, If you don't mind me asking? Was it the Optical Eye drivers?
Thanks again for the help!
Regards,
Dylan
Hi Dylan,
Hi Dylan,
There were issues with the DLMS component and in the serial port component. HdlcWithModeE is a new feature and it was causing some problems. The hardest part was with the serial port component and find the simple reason that was causing the problem. It was working without problems with several chipsets, but yours was causing the problems. After this was tried with your optical probe chipset in the correct
PC was easy to solve.
BR,
Mikko