Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Gurux.DLMS - Disconnect Error - MT880

Gurux.DLMS - Disconnect Error - MT880

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By iolez , 4 January, 2022
Forums
Gurux.DLMS

Hi Mikko,
I'm trying to read some data from an energy meter Iskraemeco MT880, which is basically working well through the DLMSDirector and also through my python script.
The only thing what is confussing me, that python script is crashing on an error by disconnecting from the meter, the same disconnect with the DLMSDirector is working well. I've compared the request and response from the DLMSDirector and from python script and it looks similar.
Director log:
02:10:04 Parsing AARE reply succeeded.
02:10:06 Disconnect request
02:10:06 Disconnect request
7E A0 08 02 3F 03 53 04 92 7E
02:10:06 02:10:06.298 Sent 7E A0 08 02 3F 03 53 04 92 7E
02:10:06 02:10:06.308 Received 7E A0 1F 03 02 3F
02:10:06 02:10:06.308 Received 3F 73 F2
02:10:06 02:10:06.308 Received 01 9A 06 01 9A 07 04
02:10:06 02:10:06.308 Received 00 00 00 01 08 04 00 00
02:10:06 02:10:06.318 Received 00 01 CC A2
02:10:06
7E A0 1F 03 02 3F 73 F2 4D 81 80 12 05 01 9A 06 01 9A 07 04 00 00 00 01 08 04 00 00 00 01 CC A2 7E
02:10:06 02:10:06.318 Info Closing
02:10:06 02:10:06.352 Info Closed

Python script log:
Index: 2 Value: 246
TX: 02:00:09 7E A0 1A 02 3F 03 54 73 44 E6 E6 00 C0 01 C1 00 03 01 00 20 07 00 FF 03 00 5D 9A 7E
RX: 02:00:10 7E A0 17 03 02 3F 74 6D 63 E6 E7 00 C4 01 C1 00 02 02 0F 00 16 23 07 3E 7E
Index: 3 Value: 1.0, Unit.VOLTAGE
DisconnectRequest
TX: 02:00:10 7E A0 08 02 3F 03 53 04 92 7E
Data send failed. Try to resend 1/3
RX: 02:00:15 7E A0 1F 03 02 3F 73 F2 4D 81 80 12 05 01 9A 06 01 9A 07 04 00 00 00 01 08 04 00 00 00 01 CC A2 7E 7E A0 08 03 02 3F 1F 04 60 7E
Ended. Press any key to continue.
Traceback (most recent call last):
File "C:\Users\iolez\PycharmProjects\Gurux.DLMS.Python\gurux_client_example\main.py", line 121, in main
reader.close()
File "C:\Users\iolez\PycharmProjects\Gurux.DLMS.Python\gurux_client_example\GXDLMSReader.py", line 102, in close
self.readDLMSPacket(self.client.disconnectRequest(), reply)
File "C:\Users\iolez\PycharmProjects\Gurux.DLMS.Python\gurux_client_example\GXDLMSReader.py", line 118, in readDLMSPacket
self.readDLMSPacket2(data, reply)
File "C:\Users\iolez\PycharmProjects\Gurux.DLMS.Python\gurux_client_example\GXDLMSReader.py", line 172, in readDLMSPacket2
raise GXDLMSException(reply.error)
gurux_dlms.GXDLMSException.GXDLMSException: Access Error : Unknown error.

I can of course avoid the program crash with editing the reader, but it still trying to send the disconnect request with timeout 5 secs.

Thank You in Advance

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

I did try to read another meter from Iskraemeco and it worked without problems.
I have a few questions.
1. Are you using serial port communication?
2. Is your gurux_dlms version 1.0.117?
3. Are you running this in Windows or Linux?

BR,
Mikko

iolez

4 years 5 months ago

In reply to Hi, by Kurumi

Hi,

Hi,
I'm using RS485 communication - and You've right, I did not recognize that i'm used an older version 1.0.111. Sorry - now is working everything fine.
Is there some difference between Windows and Linux, becuase actually i'm running it on Windows, but after the finishing of this driver, I'd like to move it to Linux.

Thank You.

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

DLMS source code is the same, but there are differences in the serial port component between Linux and Windows.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin