The obis code is present in the device and I see the read value when the whole data is read in python. Have tried few hacks but it didn't yield any fruit
0.128.162.2.128.255 is not in the association view.
It might be that you can read only reading profile generic 1.0.94.91.0.255 and it's not planned to read 0.128.162.2.128.255 directly.
I am getting same issue with the gurux_python code.
I am using GS5500677 Genus meter and tring 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. 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.
Can you please reply soon so that I can start my work, It will be great help for me.
Hi,
Hi,
You can read it using client example if you give -o parameter to save the association view and -g to identify the logical name.
Something like this:
-o output.xml -g 0.128.162.2.128.255:2
Or you can do it in the code like this:
obj = GXDLMSRegister("0.128.162.2.128.255")
self.read(obj, 2)
BR,
Mikko
Hi Mikko,
Hi Mikko,
Really sorry for the log pause in between.
I have tried using the -g option but the result is
python main.py -S /dev/ttyUSB0 -d India -a Low -P <password> -c 32 -g "0.128.162.2.128.255:2"
gurux_dlms version: 1.0.104
gurux_net version: 1.0.17
gurux_serial version: 1.0.15
Authentication: Authentication.LOW
ClientAddress: 0x20
ServerAddress: 0x1
Standard: Standard.INDIA
Traceback (most recent call last):
File "main.py", line 102, in main
raise Exception("Unknown logical name:" + k)
Exception: Unknown logical name:0.128.162.2.128.255
Ended. Press any key to continue.
Is there a place where these codes are stored as reference ?
I see gurux_dlms/India.txt having set of codes but editing it didnt change anything
Hi,
Hi,
0.128.162.2.128.255 is not in the association view.
It might be that you can read only reading profile generic 1.0.94.91.0.255 and it's not planned to read 0.128.162.2.128.255 directly.
BR,
Mikko
I am getting same issue with
I am getting same issue with the gurux_python code.
I am using GS5500677 Genus meter and tring 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. 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.
Can you please reply soon so that I can start my work, It will be great help for me.
Please anyone help me out.
Please anyone help me out.
Hi Aman,
Hi Aman,
Please, create a new topic if you have a new question. I'll answer your question after that.
https://www.gurux.fi/ForumRules
BR,
Mikko