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 , 20 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,

There is no object with the logical name 1.0.12.44.0.255 in the association view. Check your logical name or then you need to connect with High authentication.

Client address 32 is for Low-level security. You need to change it.
Read your meter with GXDLMSDirector. In that way, you can see the correct command line settings when you select the meter.

BR,
Mikko

Aman Srivastava

4 years 1 month ago

Hi,

Hi,

Thank you for your response.But i tried with GXDLMSDirector. I changed according you mentioned but not able to read profile.

Image
Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

Your security level is wrong. You need to use Encryption and not AuthenticationEncryption. Try to change that from the "Secured Connections" tab.

BR,
Mikko

Aman Srivastava

4 years ago

Hi there,

Hi there,
Thanks for reply. I have one question I am using wasion meter model (RA2110005). And trying with CLI. So do you support wasion dlms meter.

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

Our clients are reading Wasion meters. I can't remember the model, but you should be able to read your meter with Gurux products.

BR,
Mikko

Akashsam0712

2 years 2 months ago

Hello, I am also trying to…

Hello,
I am also trying to connect to a Genus Meter and got the exact same setup. Were you able to get this working?

This the output I am getting :
~/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python$ python3 main.py -S /dev/ttyUSB0
gurux_dlms version: 1.0.150
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x1
Standard: Standard.DLMS
-------- 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.1.0.0.255 Ch. 0 Clock object #1, 0.0.42.0.0.255 Ch. 0 COSEM Logical device name, 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number, 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
Attribute9 is not readable.
-------- 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/02/24 02:48:04
Index: 3 Value: 330
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 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: GOERAPDRP-C
-------- 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: 3101306
-------- 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.1.0.0.255 Ch. 0 Clock object #1, 0.0.42.0.0.255 Ch. 0 COSEM Logical device name, 0.0.96.1.0.255 Ch. 0 Device ID 1, manufacturing number, 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
Attribute9 is not readable.
DisconnectRequest
Ended. Press any key to continue.

  • 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