Gurux.DLMS.Python
Good afternoon!!! You have provided a good link to read the parameters.
(https://github.com/Gurux/Gurux.DLMS.Python/tree/master/Gurux.DLMS.Client...)
I read any register with no problems. How can I use this example to calculate
PROFILE_GENERIC with the time interval I need. I make a request (python
main.py -S com1 -r sn -g 1.0.99.1.0:2) and get a raise exception response
("Unknown logical name:" + k)
Exception: Unknown logical name: 1.0.99.1.0
I hope for your help!! Thank you!
Hello! Fixed the logical name as you advised. Did not help. If it is possible to count approximately the last hour from the counter archive, I will be very grateful to you. counter Lansis & Gyr E 550. I do not understand how to specify the time range.
According to this link (https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric) I can read all the counter data, there are no problems here. I write the line (python main.py -S com1 -r sn and get all the data) or (python main.py -S com1 -r sn -g 1.1.1.8.0.255:2 ) just what I need. The only question is how it would be possible to read only PROFILE_GENERIC with the specified time interval.
You need to use read by range method for that. You give start and end times as the parameters. Check the client example. There are no command line parameters for this, so you need to implement that by yourself.
Hi,
Hi,
Your logical name is wrong. I believe it should be 1.0.99.1.0.255.
BR,
Mikko
Hello! Fixed the logical name
Hello! Fixed the logical name as you advised. Did not help. If it is possible to count approximately the last hour from the counter archive, I will be very grateful to you. counter Lansis & Gyr E 550. I do not understand how to specify the time range.
Hi,
Hi,
What is the problem at the moment? Can you read all the data from the meter?
Check this. I hope it will help you.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric
BR,
Mikko
According to this link (https
According to this link (https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric) I can read all the counter data, there are no problems here. I write the line (python main.py -S com1 -r sn and get all the data) or (python main.py -S com1 -r sn -g 1.1.1.8.0.255:2 ) just what I need. The only question is how it would be possible to read only PROFILE_GENERIC with the specified time interval.
Hi,
Hi,
You need to use read by range method for that. You give start and end times as the parameters. Check the client example. There are no command line parameters for this, so you need to implement that by yourself.
https://github.com/Gurux/Gurux.DLMS.Python/blob/340f98a30a9a4095256ae29…
BR,
Mikko