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.Net

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.

Description

Questions and comments about Gurux Network Media Component.

Image
By muhammad ahmed , 6 June, 2024

Getting Invalid client on Gurux.DLMS.Meter.Listener.Net

Forums
Gurux.Net

Hello
i am trying to read the DLMS meter data with dynamic IP using Gurux.DLMS.Meter.Listener.Net but i am getting Invalid client i don't know why these are my client setting which are correct

GXDLMSClient client = new GXDLMSClient(true, 0x11, 1, Enums.Authentication.Low, "00000000", Enums.InterfaceType.WRAPPER);
________________________________________________

RESPONSE :

By Nuruddeen , 5 June, 2024

Invalid Client while Reading CLOU meter over GPRS

Forums
Gurux.Net

I am having trouble reading CLOU meter over GPRS, it returns an Invalid client after communication is established.

Here's the code I am using:

GXDLMSSecureClient client = new GXDLMSSecureClient(true, 0x0001, 0x0001, Authentication.None, null, InterfaceType.WRAPPER);

//client.Password = GXDLMSTranslator.HexToBytes("12345678");
//client.ServerAddress = 1;
//client.ClientAddress = 16;
//client.InterfaceType = InterfaceType.WRAPPER;

By hhkx , 4 June, 2024

WaitTime not working for Media.Open()

Forums
Gurux.Net

Hi Kurumi,

I need to increase the connection timeout for socket opening. However, it always waits for around 20 seconds and throw "target machine actively refuses it" exception. This wait time is only working after sending commands. But I think it needs to wait for socket connection as well.

Media = new GXNet()
{
HostName = ipAddress,
Port = port,
Protocol = NetworkType.Tcp,
Server = false,
Trace = TraceLevel.Verbose,
WaitTime = 300 * 1000,
};

Media.Open();

By muhammad ahmed , 4 June, 2024

onClientConnected in not been called in gxnet Python

Forums
Gurux.Net

I've been stuck for months on this issue and would appreciate your help. I am trying to read meter data that has a dynamic IP address using Gurux Python, following the steps in this document: Gurux.DLMS.DynamicIP. However, there is no example for Python, so I created a server that listens on port 9090. I am receiving data from the meter in the onReceived function, but the onClientConnected function is not being triggered, and I don't know why.

By alexcd , 23 May, 2024

IPv6 UDP socket spawns streams

Forums
Gurux.Net

Hello, I have a problem with the IPv6 UDP connection in Python. I discovered that there is a resource leak if the library was unable to establish a connection.
I poll my counters in a loop, if the connection to the counter fails I get an error
"Failed to receive reply from the device in given time". My code moves on to the next iteration and I see that a new thread is being spawned, and so on every time.

active_threads = threading.enumerate()

By Rahuls , 9 May, 2024

System.InvalidCastException: 'Unable to cast object of type 'Gurux.DLMS.Objects.GXDLMSActivityCalendar' to type 'System.Object[]'.'

Forums
Gurux.Net

Getting this error as I try to set activvity calender

object GetActivityWrite(){
GXDLMSActivityCalendar activity = new GXDLMSActivityCalendar();
activity.CalendarNamePassive = "Passive";
activity.DayProfileTablePassive = new GXDLMSDayProfile[] { new GXDLMSDayProfile(1, new GXDLMSDayProfileAction[] { new GXDLMSDayProfileAction(new GXTime(DateTime.Now), "0.0.10.0.100.255", 1) }) };
return activity;
}

By Amal mp , 3 May, 2024

Simulate a DLMS Energy meter via Serial port of PC

Forums
Gurux.Net

I need to simulate a DLMS Meter via serial port of my PC.

I have successfully compiled the Gurux.DLMS.Server.Example.Net.

Now, how can I simulate a Meter using this application ?
How to set Client address , password etc ?
How to set Values of register objects ?

Your guidance is much appreciated
thank you

By Rahuls , 25 April, 2024

Getting System.Exception: 'The number of columns does not match.'

Forums
Gurux.Net

Hi I am trying to read profile generics for nameplate or any other profile generics and getting same error every time

GXDLMSProfileGeneric pg = it as GXDLMSProfileGeneric;
GXReplyData reply = new GXReplyData();
ReadDataBlock(Client.ReadRowsByEntry(pg, index, count), reply);
Client.UpdateValue(pg, 2, reply.Value);

logs

By Mahaveer , 24 April, 2024

How to connect with smart electric meter

Forums
Gurux.Net

Hi team,
Can you please guide me to connect electric smart meter. I have downloaded code from below link https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Client.E…

and want to connect with meter, but I am not getting the setting part from where can configure meter IP and port.

Please suggest me can I read send aarq request from above code.

Thanks

By Bhaumik , 19 April, 2024

Convert 12 hr datetime format to 24hr format

Forums
Gurux.Net

Hi Mikko,

I am doing testing with Indian Standard meter using Library.

While reading Single Action Schedule object from meter, Getting 12 hour format. While reading same from GXDLMSDirector getting 24 hour format.

Can you please suggest how to convert into 24 hour format using library function ?

Pagination

  • Previous page
  • 5
  • Next page
Gurux.Net
  • 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