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. AddCaptureObject As Class ID=01 (Data) (not 03 (Register))

addCaptureObject as Class ID=01 (Data) (not 03 (Register))

By Alex S , 31 August, 2026
Forums
Gurux.DLMS

Hi!

I'm successfully writing profile in 0.0.21.0.1.255 (Display profile):

pg = GXDLMSProfileGeneric("0.0.21.0.1.255")

pg.addCaptureObject(GXDLMSRegister("some.obis.code1"),2,0)
pg.addCaptureObject(GXDLMSRegister("some.obis.code2"),2,0)

reader.write(pg,3)

But when i read this profile i see that ClassID is always "03":

7E A0 37 61 02 65 74 E9 8D E6 E7 00 C4 01 C1 00 01 02 02 04 12 00 03 09 06 some.obis.code1 0F 02 12 00 00 02 04 12 00 03 09 06 some.obis.code2 0F 02 12 00 00 [CRC] 7E

Can i add the OBIS-code in the profile as Class ID=1 (Data) but not Class ID=3 (Register)?

Profile picture for user Kurumi

Kurumi

1 min 22 sec ago

Hi, You need to do it like…

Hi,

You need to do it like this:

pg.addCaptureObject(GXDLMSData("some.obis.code2"),2,0)

Regards,
Mikko

  • Log in or register to post comments
  • 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

  • addCaptureObject as Class ID=01 (Data) (not 03 (Register))
  • L+G E355 Load Control
  • Generic Exception raised on HLS authentication failure instead of GXDLMSException
  • DLMS Image Transfer: “byte must be in range(0, 256)” with 512-byte block size in Python
  • Connecting to meter using Wrapper
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin