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 Mithun Tiruvedula , 27 February, 2021

Getting error java.lang.IllegalArgumentException: Change type failed. Not enought data.

Forums
Gurux DLMS for Java

Hi all,

I'm relatively new to DLMS and associated development. I'm trying to build a Tridium Niagara driver for DLMS.
I was able to run the server from https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.server… , and am using the code from https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.client… to read data.

By pramodahanya , 17 February, 2021

GXDLMS XML client always fails while transmitting the last block during block transfer

Forums
Gurux DLMS for Java

Hello,
We are using the GXDLMSXMLClient to provision the meter and unfortunately, the meter does not support GBT.
When we use the SetWithBlockTransfer the communication always fails while sending the last block.
For example, if we are trying to set 27 capture objects for a load profile the PDU will be divided into 4 blocks and it will time out while getting the response for the last block and will retry after the timeout and do not process the response.

By Remith , 25 January, 2021

Activity Calendar - unmatched type

Forums
Gurux DLMS for Java

Hi,
I am facing below issue while writing Activity calendar- Passive day profile to the meter.

gurux.dlms.GXDLMSException: Access Error : Device reports a unmatched type.

----------CODE---------------------
GXDLMSActivityCalendar ac = new GXDLMSActivityCalendar(OBIS_ACTIVITY_CALENDAR);
com.readObject(ac, INDEX_PASSIVE_DAY_PROFILE_TABLE); //Reading index data
ac.setDayProfileTablePassive(new GXDLMSDayProfile[] {dp});
com.writeObject(ac, INDEX_PASSIVE_DAY_PROFILE_TABLE); // Writing Day Profile

By imand , 15 January, 2021

How to check meter firmware version?

Forums
Gurux DLMS for Java

Dear Team,

Our meters support automated firmware update from FTP server. We need to keep track of which meter has the old firmware version and which has the new one. For this, we want to read the meter firmware info and determine the version.

We tried to follow steps similar to the firmware transfer. But doesn't seem to be working. The GXDLMSImageActivateInfo seems to be empty.

Here is the code. We're trying to match imageIdentifier with getIdentification() value.

By Reza , 14 January, 2021

Get value from hexstring

Forums
Gurux DLMS for Java
By imand , 14 January, 2021

Create ACTION_SCHEDULE

Forums
Gurux DLMS for Java

Dear Team,

I'm trying to write four schedules to a meter. But I'm getting Data Block Unavailable all the time.
I suspect it has something to do with default values inserted by GDXDateTime.

Here is the my Java code. I copied this from one of your posts.

GXReplyData reply = new GXReplyData();
GXDLMSActionSchedule ac = new GXDLMSActionSchedule("0.0.15.128.3.255");

By rahul.singh@ra… , 4 January, 2021

How to Read meter health

Forums
Gurux DLMS for Java

Hi ,

I want to read meter health (NVM , meter rtc , md reset time , billing date etc etc ) how can i read that ?

By rahul.singh@ra… , 30 December, 2020

Meter clock shift while while reading Indian meters

Forums
Gurux DLMS for Java

Hi Mikko ,

We are experiencing issue related to meter rtc shift.
When we are reading Indian manufacturer meters we are getting clock
Time greater than current time. ( approx 11 hour shift in time ).

Previously there was no issue related to meter rtc.

Can you help ?

By NCHU DMLAB Kevin.C , 29 December, 2020

How to find server public key

Forums
Gurux DLMS for Java

Hi,

We're trying to connect the Java server example to the conformance test tool(we want to test security suite 1), but we don't know how to find the public key of server.
Where can I find the public key of server?

Thanks
Kevin

By teddy Jim , 29 December, 2020

day profile passive

Forums
Gurux DLMS for Java

Hi Mikko,

I want to write a day profile passive.
Is there any example of which method to use?

This is a packet of my method.

7E A8 87 02 B7 23 FE 07 C4 E6 E6
00 C1 01 81 00
14 00 00 0D 00 00 FF 09 00 01 0A 02 02 11 00 01 0B 02 03 09 04 11 11 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 11 11 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 11 11 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 11 11 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 11 11 00 00 09 06 00 00 0A 00 64 FF 12 00 01 02 03 09 04 11 11 A0 D1 7E

Pagination

  • Previous page
  • 19
  • Next page
Gurux DLMS for Java
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501
  • 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

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