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. 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 3 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 3 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 3 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 3 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 3 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin