Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. How To Change Password of HPL Meter

How to change password of HPL meter

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.

By Goutam, 25 August, 2017
Forums
General discussion

HI,

Following code I have use to change the password in HPL meter

GXDLMSAssociationLogicalName passwordconfig = (GXDLMSAssociationLogicalName)GXDLMSSecureClient.CreateObject(ObjectType.AssociationLogicalName);

passwordconfig.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
passwordconfig.HlsSecret = ASCIIEncoding.ASCII.GetBytes("YYYYYYYYYYYYYYYY");
grxComm.Write(passwordconfig, 2);

Result: "Access Error : Device reports a unavailable object."

Could you please suggest me where I am wrong.

If possible could you please provide me sample code.

Regards,

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

How to change password of HPL meter

Hi,

You can try with this:
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
grxComm.Write(ln, 7);

BR,
Mikko

Goutam

8 years 9 months ago

In reply to How to change password of HPL meter by Kurumi

How to change password of HPL meter

Hi,

I have checked that the following codes execute successfully.

GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.Secret = ASCIIEncoding.ASCII.GetBytes("XXXXXXXXXXXXXXXX");
grxComm.Write(ln, 7);

GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
ln.HlsSecret= ASCIIEncoding.ASCII.GetBytes("YYYYYYYYYYYYYYYY");
grxComm.Write(ln, 7);

But the problem is that the device throw exception "Access Error : Other Reason." when try to authenticate the connection with the High Level Passowrd("YYYYYYYYYYYYYYYY"),Client Address:48 and Authentication:High.

Regards,

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

In reply to How to change password of HPL meter by Goutam

How to change password of HPL meter

Hi,

First try to read your value. If you can, then contact your meter manufacturer and ask is it possible to change password.

BR,

Mikko

Goutam

8 years 9 months ago

In reply to How to change password of HPL meter by Kurumi

How to change password of HPL meter

Hi,

Following exception has been thrown when i tried to read
GXDLMSAssociationLogicalName ln = new GXDLMSAssociationLogicalName();
var data = grxComm.Read(ln, 7);

Exception: "Access Error : Device reports Read-Write denied."

Regards,

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

How to change password of HPL meter

Hi,

What authentication level you are using? What client address you are using?

BR,
Mikko

Goutam

8 years 9 months ago

How to change password of HPL meter

Hi,

Client Address: 48
Authentication Level: High

Note: For Low Level its working fine. But for high level password its not working.

Regards,

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

How to change password of HPL meter

Hi Goutam,

I did't notes that you was trying to change High authentication level password. You are using method command to set it, not write. Write is used when Low level pw is changed.

We'll add new method (UpdateSecret) to GXDLMSAssociationLogicalName that you can use to change pw.
It'll take care from authentication level. We'll release new version from C# tomorrow.

BR,
Mikko

Goutam

8 years 9 months ago

How to change password of HPL meter

Hi,

I have update to new version but I have not found any method like 'UpdateSecret' . I have checked that the 'HlsSecret' property has been removed.

Now system failed to ParseAAREResponse after update.

Exception : "Connection is permanently rejected. No reason is given"

Please suggest.

Regards,

Profile picture for user Kurumi

Kurumi

8 years 8 months ago

How to change password of HPL meter

Hi,

What version you are using and you are using C#?
You set password to Secret property.

You can use it like this:
GXDLMSAssociationLogicalName c = new GXDLMSAssociationLogicalName("OBIS code");
c.AuthenticationMechanismName.MechanismId = Authentication.High;
c.UpdateSecret(client);

BR,
Mikko

Goutam

8 years 8 months ago

How to change password of HPL meter

Hi,

Thank you,

Sample code is working.

First time i have checked on version 'Gurux.DLMS.8.5.1708.2201'.

Again I update to 'Gurux.DLMS.8.5.1709.1201'.

Now its working with latest version.

Regards,

Profile picture for user Kurumi

Kurumi

8 years 8 months ago

How to change password of HPL meter

Hi Goutam,

Thanks from this info.

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