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. Reading Profile Generic

Reading Profile Generic

By thiesens , 30 April, 2024
Forums
Gurux.DLMS.AMI

Hi.

When i read a Profile Generic for the first time through API /api/Task/Add, I do not want to read all the values in the meter.

How can i tell it to get values from date a to date b?

I normally send it like:

{
"Tasks": [
{
"Order": 1,
"Batch": "DC74A838-ADCA-4B6A-B633-AB3E870A2188",
"Object": {
"Id": "E18D57DC-6872-4B69-858C-05848B5585FB"
},
"TaskType": 1
}
]
}

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, All historical (profile…

Hi,

All historical (profile generic) values are read from the meter and stored in the database. So after they are read once, the historical values are retrieved from the database and not from the meter.

If you don't want to read all values from the beginning, you can set the buffer read time of the profile generic and the values will be read after that.

thiesens

2 years 4 months ago

Hi again. How do i set the…

Hi again.

How do i set the buffer read time?

Do I just:

Get the attribute value with /api/Attribute?id=*******

and send the starttime in via /api/Attribute/Update?

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, Yes, do it exactly like…

Hi,

Yes, do it exactly like that.

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