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. Forums
  3. Reading "previous Period"

Reading "previous period"

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By wildstray , 31 July, 2021
Forums
Gurux.DLMS

Hello,
I kindly ask for a little help, I need to read the energy values (all registers would be better, but energies are enough) of the previous billing period. The meter I use for development is a Landis+Gyr E650 S3, in production environment would be Actaris or Iskra SL7000.

I can correctly read the energies of the current billing period (I use a really simple Python script that possibly I can show it here, and I interface to the meter with the serial port, I specify meter serial number as the HDLC destination address, no authentication, client id = 16):

['1.1.1.8.0.255', 5004.200000000001, [0.1, <Unit.ACTIVE_ENERGY: 30>]]
['1.1.5.8.0.255', 1758.0, [0.1, <Unit.REACTIVE_ENERGY: 32>]]
['1.1.8.8.0.255', 16.1, [0.1, <Unit.REACTIVE_ENERGY: 32>]]
['1.1.2.8.0.255', 5070.8, [0.1, <Unit.ACTIVE_ENERGY: 30>]]
['1.1.6.8.0.255', 30.5, [0.1, <Unit.REACTIVE_ENERGY: 32>]]
['1.1.7.8.0.255', 2283.9, [0.1, <Unit.REACTIVE_ENERGY: 32>]]
['1.1.3.8.0.255', 1788.6000000000001, [0.1, <Unit.REACTIVE_ENERGY: 32>]]
['1.1.4.8.0.255', 2300.1, [0.1, <Unit.REACTIVE_ENERGY: 32>]]

But I cannot find a way to read other billing periods. With these meters I have to use the SN notation, not the LN/OBIS codes, so I read 6000, 6200, 6400 and so on, so I cannot specify a group F value (eg. '1.1.1.8.0.3')... Thank you in advance for any suggestions!

Profile picture for user Kurumi

Kurumi

4 years 10 months ago

Hi,

Hi,

You need to read the profile generic buffer and set the previous period interval to start and end time.
I propose that you download GXDLMSDirector and read profile generic with that. It will visualize it and it's easier to understand what you need to do.

BR,
Mikko

wildstray

4 years 10 months ago

Hi Mikko, thank you very much

Hi Mikko, thank you very much for the explanations. I'm investigating about the Load profile (1.0.99.1.0.255) and Data of billing period (0.0.98.1.0.126). I think I found the correlation between the last digit (group F in logical name referencing) I can read on the meter display scrolling the readings and the Billing period counter (1.0.0.1.0.255) in the data structure of the Data of billing period. Reading historical datas is not simple as directly reading registers, but it's viable. I seen that, at least for this model of meters, there are only the last two billing period stored, while I can found thousands of power reading in the Load profile (quarter of an hour based).
I know the GXDLMSDirector and it would be very useful for me, but I haven't PC with recent Windows supporting .Net or so, I only use GNU/Linux.
BR, Andrea

  • 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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin