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. Reading Obis Object Values

Reading Obis Object values

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 ogtheterror , 29 April, 2022
Forums
Gurux.Net

Hi All

We trying to read DLMS meters.
We can successfully connect and create association views. We are now trying to read the values of the GXDLMSObject's but we are not able to identify the reading value in the reply object when doing a Read as per the example below:
Read attribute value.public object Read(GXDLMSObject it,int attributeIndex)
{
GXReplyData reply = new GXReplyData();
ReadDataBlock(Client.Read(it.Name, it.ObjectType, attributeIndex), reply);
return Client.UpdateValue(it, attributeIndex, reply.Value);
}

We are trying to Read OBIS Code: 1.1.32.7.0.255 Ch. 1 - L1 Voltage Inst. value
And receiving this reply object when sterilized to JSon:
{"DataType":9,"Value":"AQEgBwD/","ReadPosition":8,"PacketLength":23,"RawPdu":false,"Command":196,"CipheredCommand":0,"Data":{"Capacity":12,"Position":0,"Size":8,"Available":8,"Data":"CQYBASAHAP8gBwD/"},"IsComplete":true,"FrameId":82,"InvokeId":193,"Error":0,"EmptyResponses":0,"TotalCount":0,"CipherIndex":0,"Time":"0001-01-01T00:00:00","BlockNumber":0,"BlockNumberAck":0,"ClientAddress":18,"TargetAddress":18,"ServerAddress":16,"SourceAddress":16,"Gateway":null,"IsMoreData":false,"IsNotify":false,"MoreData":0,"ErrorMessage":"","Count":0,"Peek":false}

TX: 10:18:45 7E A0 19 21 25 32 8C 09 E6 E6 00 C0 01 C1 00 03 01 01 20 07 00 FF 01 00 38 36 7E
RX: 10:18:48 7E A0 18 25 21 52 30 72 E6 E7 00 C4 01 C1 00 09 06 01 01 20 07 00 FF 04 08 7E

BlockCipher key: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Authentication Key:D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF
1: 7E A0 18 25 21 52 30 72 E6 E7 00 C4 01 C1 00 09 06 01 01 20 07 00 FF 04 08 7E
<HDLC len="17" >
<TargetAddress Value="12" />
<SourceAddress Value="10" />
<FrameType Value="52" />
<PDU>
<GetResponse>
<GetResponseNormal>
<!-- Priority: High, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<!-- 1.1.32.7.0.255 -->
<OctetString Value="0101200700FF" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>

Is the OctetString the meter reading and how do we translate the value?
If its not the reading where / how do we get it?
Please could you help with some insight.
Regards
Gavin

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

You have read the logical name of the object. It's in attribute index #1. Try to read index #2.
Try to read the meter with GXDLMSDirector first. It will help you to get an idea from DLMS meters.

BR,
Mikko

ogtheterror

4 years 1 month ago

Thanks Mikko, we knew we

Thanks Mikko, we knew we where missing something small.
Gavin

  • 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