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