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 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 8 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 8 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 8 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

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin