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 Profile On Gurux Python.

Reading Profile on gurux 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 Aman Srivastava , 25 April, 2022
Forums
Gurux.DLMS

Hi,

Meter name :- Genus meter
Encryption Key + Authentication key :- 16 bit

Its a follow up on https://www.gurux.fi/comment/20393#comment-20393

I am Using Gurux_python code.
I am working on Genus meter and trying to read through optical port.
By simple command python3 main.py -S port No. (inside : Gurux.DLMS.Client.Example.python)
This command return me some value of meter details.

/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python$ python3 main.py -S Port No.

-------- Reading 15 0.0.40.0.1.255 Ch. 0 Association #1
Index: 1 Value: 0.0.40.0.1.255
Index: 2 Value: 0.0.40.0.1.255 Ch. 0 Association #1, 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number, 0.0.42.0.0.255 Ch. 0 COSEM Logical device name, 0.0.1.0.0.255 Ch. 0 Clock object #1, 0.0.41.0.0.255 Ch. 0 SAP Assignment, 0.0.40.0.0.255 Ch. 0 Current association
Index: 3 Value: 16, 1
Index: 4 Value: 2 16 756 5 8 1 1
Index: 5 Value: Conformance.GET 512 512 6 0
Index: 6 Value: 2 16 756 5 8 2 0
Attribute7 is not readable.
Index: 8 Value: 2
-------- Reading 1 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number
Index: 1 Value: 0.0.96.1.0.255
Index: 2 Value: GXXXXAAX7
-------- Reading 1 0.0.42.0.0.255 Ch. 0 COSEM Logical device name
Index: 1 Value: 0.0.42.0.0.255
Index: 2 Value:
-------- Reading 8 0.0.1.0.0.255 Ch. 0 Clock object #1
Index: 1 Value: 0.0.1.0.0.255
Index: 2 Value: 04/21/22 02:01:55
Index: 3 Value: 480
Index: 4 Value: 0
Attribute5 is not readable.
Attribute6 is not readable.
Attribute7 is not readable.
Attribute8 is not readable.
Index: 9 Value: 1
-------- Reading 17 0.0.41.0.0.255 Ch. 0 SAP Assignment
Index: 1 Value: 0.0.41.0.0.255
Index: 2 Value: (1, 'GXXXXXXXXXXXO')
-------- Reading 15 0.0.40.0.0.255 Ch. 0 Current association
Index: 1 Value: 0.0.40.0.0.255
Index: 2 Value: 0.0.40.0.1.255 Ch. 0 Association #1, 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number, 0.0.42.0.0.255 Ch. 0 COSEM Logical device name, 0.0.1.0.0.255 Ch. 0 Clock object #1, 0.0.41.0.0.255 Ch. 0 SAP Assignment, 0.0.40.0.0.255 Ch. 0 Current association
Index: 3 Value: 16, 1
Index: 4 Value: 2 16 756 5 8 1 1
Index: 5 Value: Conformance.GET 512 512 6 0
Index: 6 Value: 2 16 756 5 8 2 0
Attribute7 is not readable.
Index: 8 Value: 2
DisconnectRequest
Ended. Press any key to continue.

1.But when i tried to read instantaneous or load Profile by providing -g OBIS Code, I am getting a error :-
File "main.py", line 106, in main
raise Exception("Unknown logical name:" + k)
Exception: Unknown logical name:1.0.12.44.0.255
So for confirmation of suitable obis code i also run this on meter tool and that tool are giving me response but same obis code is not working in GURUX code.

2. When i tried with 32 client address and provide Password and Authentication is Low

~/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python$ python3 main.py -S Port No.-c 32 -s 1 -a Low -P Password

ClientAddress: 0x20
ServerAddress: 0x1
Standard: Standard.DLMS
DisconnectRequest
Connection is permanently rejected
The application context name is not supported.
Ended. Press any key to continue.

3. When i tried with 32 client address and provide Password and Authentication is High

~/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python$ python3 main.py -S Port No. -c 32 -s 1 -a High -P Password

ClientAddress: 0x20
ServerAddress: 0x1
Standard: Standard.DLMS
DisconnectRequest
Connection is permanently rejected
The application context name is not supported.
Ended. Press any key to continue.

So need your help In how can i read profile data in guruX python code.

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

I have already replied for your question here:
http://www.gurux.fi/node/19843

Please, don't create multiple topics from the same question.

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