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. Cannot Get Any Connection To ME382 (or Other DLMS Meters)

Cannot get any connection to ME382 (or other DLMS meters)

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.

Profile picture for user raoul
By raoul , 25 May, 2016
Forums
DLMSDirector

Using various optical heads (Silecon, Profilic)

4:15:15 Initializing serial connection.
System.IO.IOException: De poort COM24 bestaat niet.
bij GXDLMSDirector.GXDLMSDevice.InitializeConnection() in C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:regel 384
bij GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:regel 929
4:15:27 Initializing serial connection.
4:15:27 HDLC sending:/?!<CR><LF>
4:15:28 HDLC received: /ISK5\2MT382-1008<CR><LF>
4:15:28 BaudRate is : 9600
4:15:28 Moving to mode E.
06 32 35 32 0D 0A
4:15:29 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
4:15:34 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.
bij GXDLMSDirector.GXDLMSDevice.InitializeConnection() in C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:regel 384
bij GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:regel 929

Any suggestions welcome

(cables seem to work with other test software)

I will solder myself during the day one with FTDI chipset. Anyone can tell me the chipset inside the probe from working setup? That might help me...

Image
Profile picture for user Kurumi

Kurumi

9 years 11 months ago

Cannot get any connection to ME382

Hi,

You are using IEC 62053-21 to read your Iskra meter. GXDLMSDirector is using DLMS. They are two different protocol.

Your settings seems to be ok. Just to make sure there is DLMS label on your meter?

BR,

Mikko

Profile picture for user Kurumi

Kurumi

9 years 10 months ago

ME382

Hi,

It seems that there are versions from ME382 that require that ServiceClass is set.
cl.ServiceClass = ServiceClass.Confirmed;

If service class is not set, meter returns nothing.

Meters what we are reading do not require that service class is set, but we was start to read new meters for our client and we found this.

BR,

Mikko

Profile picture for user raoul

raoul

9 years 6 months ago

so I had some spare time this

so I had some spare time this weekend and decided to look again at these meters.

Because I had 2 identical MT382 meters I decided to offer one in the name of "science", desolderd modem, MCU, and some ramtron to see "whats inside", traced back some pins from the modem and found a way to sniff its traffic between modem <--> mcu result is here:

youtube: /watch?v=xa9mQI4cPEY (this forum does not like youtube links, cannot post correct link)

It seems I can get inside any meter I have, but not via the official way. Is there anyone here that can sell/rent/borrow , or willing to configure my meter with working parameters? (i only have old version of offical meterview wich not supports mt382)

Can also exchange for a firmware bin's wich I extracted from various meters the last months (have BIN's for ME382, MT171, MT162, MK7E E350)

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

MT382

Hi Raoul,

In your first post you said that you are using optical eye. In the video you are using terminal connection. Did you succeeded to make connection using optical eye?

We have few MT382. :-) but we can't give them away, because they are the property of the customer. :-(

What is meter's firmware?

BR,

Mikko

Profile picture for user raoul

raoul

9 years 6 months ago

I have an optical eye, but

I have an optical eye, but can only get errors like:
4:15:27 Initializing serial connection.
4:15:27 HDLC sending:/?!<CR><LF>
4:15:28 HDLC received: /ISK5\2MT382-1008<CR><LF>
4:15:28 BaudRate is : 9600
4:15:28 Moving to mode E.
06 32 35 32 0D 0A
4:15:29 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
4:15:34 Failed to receive reply from the device in given time.
System.Exception: Failed to receive reply from the device in given time.

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

Cannot get any connection to ME382

Hi,

I have one question to ask. Is there DLMS label on the cover of your ME382 meter?

BR,

Mikko

Profile picture for user raoul

raoul

9 years 5 months ago

Yes It has dlms logo

Yes It has dlms logo

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

ME382

Hi,

We have made few changes. Most important is that serial port is not closed if moved to mode E. This seems to work better for some optical strobes. Start GXDLMSDirector and it updates new version after you restart it. Please, let me know if this solves your problem.

BR,

Mikko

Profile picture for user raoul

raoul

9 years 5 months ago

Hi Mikko,

Hi Mikko,

I installed the new version, log is down this post.

If I add a new connection, using "serial iskra initial settings" it should be client adress 64, physical server 11 , once I save the new connection setting the settings in the "device tree" main window are : phycical 17 client 100 , would it matter?

13:24:10 Initializing serial connection.
13:24:10 01:24:10.783 Info Opening
13:24:10 01:24:10.786 Info Serial Port Settings: Port Name: COM3 Baud Rate: 300 Data Bits: 7 Parity: Even Stop Bits: One Eop: None
13:24:10 01:24:10.823 Info Open
13:24:10 HDLC sending:/?!<CR><LF>
13:24:10 01:24:10.824 Sent 2F 3F 21 0D 0A
13:24:11 01:24:11.052 Received 2F
13:24:11 01:24:11.084 Received 2F
13:24:11 01:24:11.118 Received 49
13:24:11 01:24:11.151 Received 53
13:24:11 01:24:11.184 Received 6B
13:24:11 01:24:11.218 Received 35
13:24:11 01:24:11.251 Received 5C
13:24:11 01:24:11.284 Received 32
13:24:11 01:24:11.318 Received 4D
13:24:11 01:24:11.351 Received 54
13:24:11 01:24:11.384 Received 33
13:24:11 01:24:11.418 Received 38
13:24:11 01:24:11.451 Received 32
13:24:11 01:24:11.484 Received 2D
13:24:11 01:24:11.518 Received 31
13:24:11 01:24:11.551 Received 30
13:24:11 01:24:11.584 Received 30
13:24:11 01:24:11.618 Received 38
13:24:11 01:24:11.651 Received 0D
13:24:11 HDLC received: /ISk5\2MT382-1008<CR><LF>
13:24:11 BaudRate is : 9600
13:24:11 Moving to mode E.
06 32 35 32 0D 0A
13:24:11 01:24:11.652 Sent 06 32 35 32 0D 0A
13:24:11 01:24:11.912 Received 7E
13:24:12 Send SNRM request.
7E A0 08 02 23 C9 93 E4 43 7E
13:24:12 01:24:12.267 Sent 7E A0 08 02 23 C9 93 E4 43 7E
13:24:17 Failed to receive reply from the device in given time.
13:24:17 01:24:17.267 Sent 01 42 30 03 0D 0A
13:24:22 01:24:22.267 Info Closing
13:24:22 01:24:22.281 Info Closed

Profile picture for user raoul

raoul

9 years 5 months ago

perhaps I can send you one

perhaps I can send you one meter so we know once and for all whats happeing?

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

serial iskra initial settings

Hi Raoul,

I think that problem is optical strobe, not the meter.
Changing baud rate and Parity will make the issue. What optical strobe you are using (Manufacturer and model)?

BR,

Mikko

Profile picture for user raoul

raoul

9 years 5 months ago

I have 3 different models

I have 3 different models (different chipsets) and one self made. Can you tell me wich brand you have? ill simply buy that.

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

I have 3 different models

Hi,

I'm just reading Iskra ME371-1010 with Kamstrup Infrared Optical Reading Head.
This is USB head.

And now I have to ask are you using direct USB connection or do you have
USB to serial port converter and then you have RS-232 optical eye?

BR,

Mikko

Profile picture for user raoul

raoul

9 years 5 months ago

Direct usb not possible, it

Direct usb not possible, it would always need some converter chip inside, anyway I have both, usb and RS232 eye for direct connection to a real comport SUBd9

I checked the kamstrup driver package, it seems it has CP21xx converterchip inside. I have eyes with this chip

Could you check your PID/VID from your kamstrup USB cable? Start --> configuration --> system --> hardware devices ---> comport ---> properties , according to the driver package it should be USB\VID_17A8&PID_0005 or/ USB\VID_17A8&PID_0001

Profile picture for user raoul

raoul

9 years 5 months ago

this is log using CP21xx

this is log using CP21xx converter chip with Kamstrup driver package, it seems to give some more now as with the standaard CP21xx drivers

(tried to post log but get "invalid characters" (this forum spam control software very hard to post anything)

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

In reply to Direct usb not possible, it by raoul

Direct usb not possible

Hi,

Yes, there is a chip inside. Reason why I was asking this is that when we added support for Android and tested serial port with different USB converters and there are some Chinese dongles that do not work wery well if you change baud rate.

Vendor and product IDs are ; 17A8 and 1.

BR,

Mikko

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

In reply to this is log using CP21xx by raoul

CP21xx

Hi,

Send this info to me by email. Our Spam policy is tight because we are receiving quite a lot of spam. :-(
That is causing extra work and sometimes we miss forum questions.

BR,

Mikko

Profile picture for user raoul

raoul

9 years 3 months ago

you received the cable?

you received the cable?

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

cable

Hi,

Yes, it come on Friday. We'll try with that on Monday.

BR,

Mikko

Profile picture for user raoul

raoul

9 years 3 months ago

Oh good to know. was not sure

Oh good to know. was not sure if it arrived.
i think it has something to do with RTS/DTR settings.

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

CP21xx

Hi,

We have tested your USB optical probe. Windows 10 can identify it, but it's shown as USB to UART Bridge Controller. Is there driver what we need to install to show this as serial port?

BR,

Mikko

Profile picture for user raoul

raoul

9 years 3 months ago

https://www.silabs.com

https://www.silabs.com/products/development-tools/software/usb-to-uart-…

for download, but I tink could also use kamstrup drivers (choose driver self, and point to kamstrup directorty) as kamstrup seems to use also cp210x chipset in their eye

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

CP21xx

Hi,

We can now see your optical probe as Kamstrup USB Controller but communication fails.
We try to read with Kamstrup meter where DLMS is starting protocol. Serial port settings are: 8N1.

I'll get camera with me tomorrow so I can check is probe sending anything.

BR,

Mikko

Profile picture for user Kurumi

Kurumi

9 years 2 months ago

Cannot get any connection to ME382 (or other DLMS meters)

Hi,

We have tested with optical probe you send using Kamstrup and Iskra meters. There is something wrong in optical probe. When we try to make connection using this probe, we can't make connection with any probe after that. It seems that it does something for the meter's communication.

Can you read your meter with this probe what you sent?

BR,

Mikko

Profile picture for user raoul

raoul

9 years 2 months ago

https: //printplaat. nl

https: //printplaat. nl/Test1107pack.rar

always seems to work. Also, Original ISKRA software (Meterview) works

I think it has something to do with DTr/RTS settings.

Profile picture for user Kurumi

Kurumi

9 years 2 months ago

Cannot get any connection to ME382 (or other DLMS meters)

Hi,

We have used Kamstrup driver. We'll try with this.

BR,

Mikko

Profile picture for user raoul

raoul

9 years ago

just bought a 6699-099

just bought a 6699-099 original kamstrup cable, this is ok?

Profile picture for user raoul

raoul

9 years ago

with settings suggested

with settings suggested somewhere in this forum
Start protocol: IEC
Media: Serial
Authentication: None
Logical Name Referencing: Yes
Pwd: <blank>
Wait time: 5
Client Address: 10
Address type: Default
Physical Server: 11
Logical Server: 1

Action, SelectiveAccess, Set, Get, MultipleReferences, BlockTransferWithAction, BlockTransferWithSetOrWrite, BlockTransferWithGetOrRead, GeneralProtection

Access Error: Device reports Read-Write denied.

I do get a whole list of items, but cannot change anyting.

Profile picture for user Kurumi

Kurumi

9 years ago

ME382

Hi,

You must change Authentication to Low.
With Authentication None you can only read the meter.

BR,
Mikko

Profile picture for user raoul

raoul

9 years ago

ME381 newly boxed standaard

ME381 newly boxed standaard pw 00000000? (ascii)

it seems I cannot connect with password.

(when I press "connect" without pw set, "comformance" changes to Action, SelectiveAccess, Set, Get, MultipleReferences, BlockTransferWithAction, BlockTransferWithSetOrWrite, BlockTransferWithGetOrRead

When I set pw, it will not even connect "comformance" - this would be typical when pw wrong?

any hints welcome.

Profile picture for user Kurumi

Kurumi

9 years ago

ME382

Hi,
ME382 default password is "12345678" as ASCII.

BR,

Mikko

Profile picture for user raoul

raoul

9 years ago

Ok ME382 connects (IEC, cl 10

Ok ME382 connects (IEC, cl 10 , pys 11 log 1, pw12345678)
No errors on loading.

Is it possible to change for example clock? its seems not editable , or edit autoconnect setup ?

Profile picture for user Kurumi

Kurumi

9 years ago

ME382

Hi,

Connect using Low authentication and then refresh meter. You can now change those settings.

BR,

Mikko

Profile picture for user raoul

raoul

9 years ago

"access error, device reports

"access error, device reports a unavaileble object" when I try to change something.

Profile picture for user Kurumi

Kurumi

9 years ago

ME382

Hi,

Did you select Refresh under File menu after connection?
What you try to write?
Can you send trace to me by email?

BR,

Mikko

karlpy

5 years 10 months ago

In reply to Ok ME382 connects (IEC, cl 10 by raoul

I'm trying to connect to

I'm trying to connect to ME382 via SIM Card with this configuration and I'm always getting this error

10:58:46 Initializing Network connection.
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

This is a socket error. Your IP address or port number is wrong.

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