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

  • 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

  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin