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 For Java

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<br />
Gurux <b>DLMS/COSEM for Java</b> Protocol Component.

Image
By PRAKASH KUMAR , 14 August, 2024

Connecting Metcom meter over IP using DLMS (JAVA)

Forums
Gurux DLMS for Java

Hi,
I am trying to connect a Metcom meter over IP and using the "java -jar gurux.dlms.client.example.java". I am passing the below parameters.

-h X.X.X.X -p 4059 -a LOW -P PPPPPPP -i HDLC -r sn -o output.xml -t Verbose -d DLMS

I am not getting any response back from meter. I have been exploring the DLMS implementation in JAVA and found this amazing place. I have spent few days to understand the GURUX API but need assistance here.

By markusrc11 , 30 July, 2024

DataType.toString()' on a null object reference

Forums
Gurux DLMS for Java

Hi,

I am facing some issues randomly with some meters. It doesn't happens always, just in some random lectures.
I attach you the last part of the Log and the error my Android app throws

Do you know why that error is thrown? Can i do something to solve it?

By markusrc11 , 30 July, 2024

ExceptionServiceError.ordinal()' on a null object reference

Forums
Gurux DLMS for Java

Hi,

I am facing some issues randomly with some meters. It doesn't happens always, just in some random lectures.
I attach you the last part of the Log and the error my Android app throws

Do you know why that error is thrown? Can i do something to solve it?

Reading Monthly CI (0.0.98.1.1.255)

By PLAMEN VASILEV , 29 July, 2024

Compile error in submitted code for gurux.dlms.client.Settings class

Forums
Gurux DLMS for Java
By DanteTheDev , 11 July, 2024

Serial over TCP/IP connection to meter

Forums
Gurux DLMS for Java

Hello,

I am trying to connect to a remote smart meter that can only communicate via serial. Therefore I need to establish a TCP/IP connection and send over a request in serial format over this connection. For now I just need a simple example that would establish the connection and get an association view or just the value form the clock.

In the gurux library it seems like the GXNet and GXSerial are entirely separate so I am unsure if this is possible. Can anyone give me some pointers on how to achieve this?

Thanks in advance.

By sc-anokum , 29 May, 2024

Setting Meter Clock

Forums
Gurux DLMS for Java

Hi, i have been trying to set meter clock, i'm using below code to set meter:

GXDLMSClock clock = new GXDLMSClock("0.0.1.0.0.255");
GXDateTime time = new GXDateTime(new Date());
clock.setTime(d);
readDataBlock(dlms.write(clock, 2), reply);

Object val = read(clock, 2);

below is the hex

By shenbaoyun , 15 May, 2024

Serial port disconnection and reconnection error

Forums
Gurux DLMS for Java

hello sir
I have a problem with the serial port connection. When I call the following code to close the link
if (Media != null)
{
GXReplyData reply = new GXReplyData();
readDLMSPacket(dlms.disconnectRequest(), reply);
Media.close();
}
But when I disconnect and reinitialize the link, I get an Invalid logical or physical address error. How should I solve it?

By Bhaumik , 14 May, 2024

Gurux DLMS Android Library

Forums
Gurux DLMS for Java

Dear Mikko,

I want to create a mobile app in flutter that can send and receive command from meter.
Which library we can use for that ?

By midhun1212 , 18 March, 2024

Firmware upload worked from local system...Not working on Server

Forums
Gurux DLMS for Java

Firmware upload worked from local system...Not working on Server .

ERROR io.undertow.request.handleThrowable -
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.IllegalAccessError: tried to access class gurux.dlms.GXFCS16 from class

By midhun1212 , 14 March, 2024

multiple reference(conformance) unchecked for java program

Forums
Gurux DLMS for Java

Sir, I want to set multiple references to false for conformance in my Java program. How should I set conformance in a Java program?

Pagination

  • Previous page
  • 4
  • Next page
Gurux DLMS for Java
  • 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