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 THE OBJECT 1.0.99.1.2.255

READ THE OBJECT 1.0.99.1.2.255

By Diego2911 , 3 October, 2024
Forums
Gurux.DLMS

Hello,
I'm dping some test on DLMS meter. I have an error on the code when I want to read the OBIS code 1.0.99.1.2.255:2, it is the load profile OBIS code. I'm able to read it by DLMSDirector and works ok, but when I try it by Python code have this error:

raise ValueError("Number of columns do not match.")
ValueError: Number of columns do not match.

What could be happening

Profile picture for user Kurumi

Kurumi

1 year 11 months ago

Hi, I believe that you haven…

Hi,

I believe that you haven't read capture object. You need to read those before reading the buffer.

Read this link:
https://gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

BR,
Mikko

Diego2911

1 year 11 months ago

Hi, Thanks for the reply. …

Hi,

Thanks for the reply.

Do you have a simple code example to read the 1.0.99.1.2.255:2 OBIS code ? Righ now im able to read the registers code by python, but i think it is a different structure to read 1.0.99.1.2.255:2 code.

Thanks.

Profile picture for user Kurumi

Kurumi

1 year 11 months ago

Hi, You need to read profile…

Hi,

You need to read profile generic columns first (Attribute index #3). Check this:
https://github.com/Gurux/Gurux.DLMS.Python/blob/855d49a6369691612d752c8…

Then you can read the buffer (attribute index #2) with by range.
https://github.com/Gurux/Gurux.DLMS.Python/blob/855d49a6369691612d752c8…

or with entry:

https://github.com/Gurux/Gurux.DLMS.Python/blob/855d49a6369691612d752c8…

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