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