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. Node
  3. Read Values From DLMS

Read values from DLMS

By akshy , 18 April, 2024
Forums
Gurux.Net

Hi, I need to read values properly in correct format, right now I'm getting below hexa values: I need a correct values like current;=10.5 and voltage:240, how i can convert hexa to human values please suggest it is very urgent

Current:
TX: 00 01 00 30 00 01 00 20 C8 1E 30 00 00 01 EA A9 34 80 04 CB 82 40 40 D4 90 15 CB 44 7A 51 31 7B E4 0C 1D E1 AB 10 05 FF

RX: 00 01 00 01 00 30 00 1D CC 1B 30 00 00 01 E6 B8 E1 5C 66 0E AA 21 0E 0C 13 DB 28 B4 E9 B7 92 F8 CC DD 5E 0A EE

Voltage:
TX: 00 01 00 30 00 01 00 20 C8 1E 30 00 00 01 EB 90 F6 38 A8 EB 78 24 82 44 33 22 1A B4 01 E4 D7 B1 72 C5 3F 5F 7F 43 7F 19

RX: 00 01 00 01 00 30 00 1D CC 1B 30 00 00 01 E7 27 EF E3 42 D5 DC C8 09 0F B6 8C 38 E2 A6 38 14 86 E4 1B 72 F2 CF

Profile picture for user Kurumi

Kurumi

2 years 5 months ago

Hi, I propose that you use…

Hi,

I propose that you use Gurux open source libraries. DLMS is not an easy protocol and you can't just convert received binary data to ASCII.

https://github.com/gurux

BR,
Mikko

akshy

2 years 5 months ago

Is there any way I need to…

Is there any way I need to convert into real values above which i mentioned those are hexa string i tired to convert into real values which is showing in dlms director...

Profile picture for user Kurumi

Kurumi

2 years 5 months ago

Hi, Data is not a hex string…

Hi,

Data is not a hex string. DLMS is a binary protocol. You need to parse the data, then handle it and show it as a string.

BR,
Mikko

akshy

2 years 5 months ago

Please provide me sample if…

Please provide me sample if you have to convert the protocol into string.

Profile picture for user Kurumi

Kurumi

2 years 5 months ago

Hi, It's not so simple…

Hi,

It's not so simple. There are hundreds of pages in the standard. Your meter is also using a ciphered connection which makes it more difficult.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin