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. PROFILE_GENERIC Python

PROFILE_GENERIC Python

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 Leonid , 7 September, 2022
Forums
Gurux.DLMS

Gurux.DLMS.Python
Good afternoon!!! You have provided a good link to read the parameters.
(https://github.com/Gurux/Gurux.DLMS.Python/tree/master/Gurux.DLMS.Client...)
I read any register with no problems. How can I use this example to calculate
PROFILE_GENERIC with the time interval I need. I make a request (python
main.py -S com1 -r sn -g 1.0.99.1.0:2) and get a raise exception response
("Unknown logical name:" + k)
Exception: Unknown logical name: 1.0.99.1.0
I hope for your help!! Thank you!

Profile picture for user Kurumi

Kurumi

3 years 9 months ago

Hi,

Hi,

Your logical name is wrong. I believe it should be 1.0.99.1.0.255.

BR,
Mikko

Leonid

3 years 9 months ago

Hello! Fixed the logical name

Hello! Fixed the logical name as you advised. Did not help. If it is possible to count approximately the last hour from the counter archive, I will be very grateful to you. counter Lansis & Gyr E 550. I do not understand how to specify the time range.

Profile picture for user Kurumi

Kurumi

3 years 9 months ago

Hi,

Hi,

What is the problem at the moment? Can you read all the data from the meter?

Check this. I hope it will help you.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

BR,
Mikko

Leonid

3 years 9 months ago

According to this link (https

According to this link (https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric) I can read all the counter data, there are no problems here. I write the line (python main.py -S com1 -r sn and get all the data) or (python main.py -S com1 -r sn -g 1.1.1.8.0.255:2 ) just what I need. The only question is how it would be possible to read only PROFILE_GENERIC with the specified time interval.

Profile picture for user Kurumi

Kurumi

3 years 9 months ago

Hi,

Hi,

You need to use read by range method for that. You give start and end times as the parameters. Check the client example. There are no command line parameters for this, so you need to implement that by yourself.

https://github.com/Gurux/Gurux.DLMS.Python/blob/340f98a30a9a4095256ae29…

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

Who's new

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