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 flygfantast , 26 March, 2025

Connecting to Landis+Gyr E650 meter using HDLC_WITH_MODE_E failes in Java but works in GX DLMS Director

Forums
Gurux DLMS for Java

I've been trying to connect to a L+G E650 meter over IP with HDLC_WITH_MODE_E but it failes with "IllegalArgumentException: InterfaceType" in the aarqRequest() call.

When using the GX DLMS Director it works fine.

I've narrowed it down (I think) to getSnMessages in GXDLMS.java.
Checking the .NET project corresponding file GXDLMS.cs I noticed that a check for HdlcWithModeE was missing in the java project.

By Davenzo , 12 February, 2025

Extract Unified XML from multiple answer reading

Forums
Gurux DLMS for Java

Hi,

Currently i am reading a GenericProfile which answers in multiple frames.

When the reading is done the GXReply class contains the full data.

I want to log this data in XML format.

For single frames responses I can use translator.messageToXml

But what can I do in this case, where there are multiple frames as a response?

I tried to use pduToXml and dataToXml on the reply.getData(), the first gives error and the second gives an empty string. Is there a way to do this easily?

Also I need this to work for Block readings.

Thank you.

By Tharun , 4 February, 2025

Issue with Socket Connection After Serial Port Communication and IP Retrieval

Forums
Gurux DLMS for Java

Hello everyone,

I am currently working on a project where I need to retrieve information from a meter using both serial and TCP connections. The process involves reading a meter’s UID via the serial port, then obtaining the meter’s IP address, and finally, querying the meter for its details via a TCP connection.

Here’s the sequence of operations I’m following:

By sc-anokum , 20 December, 2024

Push Setup not sending push notification when set using gurux java code

Forums
Gurux DLMS for Java

Hi,
i'm using iskra meter, when i use the tool provided by iskra meter to set the destination, and execute the push i do get the push notification on the listener, but when i use gurux library to set the destination ip and port and execute the push, i donot receive any push notification no matter how many times i try, on comparing TX for both scenario, i found that it differs only in priority and invokeid.

below are the parsed xml's

By PRAKASH KUMAR , 13 December, 2024

Metcom- Connect meters in daisy chain over RS485

Forums
Gurux DLMS for Java

Hi,
Thanks for all your support till now!
Now, I am prototyping the Metcom meter connectivity. We have Building Management System which exposes an IP and port which is connected to the series of Metcom meters in daisy chain using RS485.
I am using GURUX java client example (somewhat modified for us) to connect to this Metcom meter. Adding the sample code.

****************************************
GXDLMSSecureClient2 dlmsClient = null;
GXDLMSReader reader = null;

By imand , 30 November, 2024

Add Capture Objects to Generic Profile

Forums
Gurux DLMS for Java

Hi Mikko,

Long time no see. How are you?

We want to add capture objects energy profile. The profile already contains 8 objects. That's why we're adding new object from index 9. We also tried adding all the objects but got the same error.

Here is the Java code we're trying to use for this. But we're getting Access Error : Data Block Unavailable.

Any idea what we're doing wrong?

try {
GXDLMSProfileGeneric profile = new GXDLMSProfileGeneric("1.0.99.1.0.255");

By Remith , 27 November, 2024

Get Meter Number from Push

Forums
Gurux DLMS for Java

Hi,
This is a sample meter push data(Alarm)
00 01 00 01 00 40 00 5C DB 08 48 50 4C 00 01 33 35 D5 82 00 4F 20 00 00 00 3C 08 CF C5 47 FA 8A 4F 96 5A 48 D1 E7 CC 8F 19 6C 58 18 FA B2 7F EF 30 FB 99 6C 9A A0 DC 40 C5 F7 DA F8 83 00 75 A2 77 E4 F8 01 0D E2 4E 2F 06 B8 96 20 E1 53 F6 3D 54 4C 57 90 00 07 F3 D6 A9 08 27 5D EE A1 E0 AA 0C A6 50 61

I m able to parse this alarm using Gurux java code using GXDLMSSecureClient by setting all encryption/authentication keys.

By ashusingh_007 , 25 November, 2024

Regarding INDIAN STANDARD

Forums
Gurux DLMS for Java

I am trying to use the code provided to test my meter which is using indian standard. The code is working perfectly fine for without authentication. But i am unable to set the authentication type to MR using the code. Help me through it.

By Dexter , 5 November, 2024

Connecting Landis + Gyr E650 meter over IP using DLMS (JAVA)

Forums
Gurux DLMS for Java

Hi,
I am trying to connect a Landis + Gyr E650 meter over IP and using the "java -jar gurux.dlms.client.example.java".
I have tried the below command passing parameters (X.X.X.X & PPPPPP is a placeholder for the host_ip & password respectively)
-h X.X.X.X -p 4059 -c 1 -s 1 -a LOW -P PPPPPPP -i WRAPPER -o output.xml -t Verbose

-h X.X.X.X -p 4059 -c 1 -s 1 -a LOW -P PPPPPPP -i WRAPPER -g 0.0.1.0.0.255:2

By niralldas8@gmail.com , 18 October, 2024

Error! Index: 3 Access Error : Device reports Read-Write denied. gurux.dlms.GXDLMSException: Access Error : Device reports Read-Write denied.

Forums
Gurux DLMS for Java

Hi Sir,

I downloaded the java code from github and running this in command prompt and i got access denied , here in java code i am able to authenticate with meter , but using android code i am not able to authenticate. please help me

Pagination

  • Previous page
  • 2
  • 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