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. Unknown Logical Name

Unknown logical name

By wadhwahitesh , 6 June, 2023
Forums
Gurux.Serial

I am new to this Gurux - DLMS world.

I am trying to run main.py at CLI but I am getting an exception error - Exception: Unknown logical name:1.0.12.27.0.255

I gave the following command -

py main.py -S COM5 -c 32 -a Low -P <password> -C
AuthenticationEncryption -T 3132333435363738 -A 62626262626262626262626262626262 -B 62626262626262626262626262626262 -v
0.0.43.1.2.255 -d India -g "1.0.12.27.0.255:1;1.0.12.27.0.255:2;1.0.12.27.0.255:3;1.0.99.1.0.255:1;1.0.99.1.0.255:2;1.0.99.1.0.255:3;1.0.99.1.0.255:4;1.0.99.1.0.255:5;1.0.99.1.0.255:6;1.0.99.1.0.255:7;1.0.99.1.0.255:8"

And got the following result -

gurux_dlms version: 1.0.143
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: 1
ClientAddress: 0x20
ServerAddress: 0x1
Standard: 1
Security: 48
System title: 31 32 33 34 35 36 37 38
Authentication key: 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62
Block cipher key: 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62
Invocation counter: 314
DisconnectRequest
Traceback (most recent call last):
File "C:\pythoncodes\Gurux.DLMS.Python-master\Gurux.DLMS.Client.Example.python\main.py", line 108, in main
raise Exception("Unknown logical name:" + k)
Exception: Unknown logical name:1.0.12.27.0.255
Ended

When I use GuruX Director, I can see the results for the Block Load Profile and also see the values under the Logical Name - 1.0.12.27.0.255

I am facing the same error when I try to read other profiles like billing profiles etc.

Please help and guide what I am doing wrong! Your early reply will be appreciated. Thank you.

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, This error means that 1…

Hi,

This error means that 1.0.12.27.0.255 is not in the association view. Check that you are using the same client address and authentication level as in GXDLMSDirector.

BR,
Mikko

wadhwahitesh

3 years ago

Hi, I used GuruxDirector and…

Hi,

I used GuruxDirector and tried to read the Block Load Profile (MR). I can easily read the value of 1.0.12.27.0.255. See attached screenshot.

BR,
Hitesh

Image
Profile picture for user Kurumi

Kurumi

3 years ago

Hi, 1.0.12.27.0.255 is…

Hi,

1.0.12.27.0.255 is inside the profile generic and you can't access it directly if it's not found in the data objects. This means that the meter saves this value to the profile generic object and you need to read the profile generic object and then find the value from the buffer.

BR,
Mikko

wadhwahitesh

2 years 12 months ago

Hi, Thank you for your…

Hi,

Thank you for your answer.

I have another query not related to this.

How to set up the GuruX library on a Linux server.

I have installed everything but when I run python main.py I get the following error:

Traceback (most recent call last):
File "/var/www/html/gurux/main.py", line 37, in <module>
from gurux_serial import GXSerial
ModuleNotFoundError: No module named 'gurux_serial'

I have a meter (with ip6 address) and the server is also ip6 enabled.

But don't understand how to get rid of the above errors.

Profile picture for user Kurumi

Kurumi

2 years 12 months ago

Hi, In the future, create a…

Hi,
In the future, create a new topic if you have a new question.
https://www.gurux.fi/ForumRules

You haven't installed GXSerial.

Run this in the folder where you app is:
pip install -r requirements.txt

It will install all the needed packages.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin