I want to read blockload profile from meters. But, some meters sorting method is LIFO and some of them are FIFO. Is there any way to change the sortmethod while reading?
You can try to read the meters using read by entry, but there is no option to give the sorting method while reading. You can save sorting method to the DB and check it there.
By using readRowsByEntry we need to pass start and end values.For block load I am giving 1 and 4.To return the whole values from meter which value I have to pass and how return default sort method from meter?
I tried with read by range, which is returning values only for some meters .Some meters it is showing "Data send failed. Try to resend" message.But when I am reading through GXDLMSDirector it is fine. Please help me out what is this issue?
From client example only tried that its only causing issue with specific meter. Rest of the other meters are returning values fine.Is there any meter specific issue with this method?
Hi, You can try to read the…
Hi,
You can try to read the meters using read by entry, but there is no option to give the sorting method while reading. You can save sorting method to the DB and check it there.
BR,
Mikko
By using readRowsByEntry we…
By using readRowsByEntry we need to pass start and end values.For block load I am giving 1 and 4.To return the whole values from meter which value I have to pass and how return default sort method from meter?
Hi, I'm sorry. I meant to…
Hi,
I'm sorry. I meant to read by range, not by entry. When you give start and end time the meter returs values between given times.
BR,
Mikko
I tried with read by range,…
I tried with read by range, which is returning values only for some meters .Some meters it is showing "Data send failed. Try to resend" message.But when I am reading through GXDLMSDirector it is fine. Please help me out what is this issue?
Hi, Check the client example…
Hi,
Check the client example from the GitHub. It does what you want to do.
BR,
Mikko
From client example only…
From client example only tried that its only causing issue with specific meter. Rest of the other meters are returning values fine.Is there any meter specific issue with this method?
Hi, Some meters can handle…
Hi,
Some meters can handle date-time only if it's in a specific format.
At first, try to set hours, minutes and seconds to zero. This will work with some meters. If it doesn't work, try to ignore deviation.
BR,
Mikko
I tried like this start …
I tried like this
start =datetime.now().replace(hour =9,microsecond=0,second=0,minute=15)
end = datetime.now().replace(hour =9,microsecond=0,second=0,minute=45)
self.getProfileGenerics(start,end,selectedProfileGeneric)
And assigned minute as zero
start =datetime.now().replace(hour =9,microsecond=0,second=0,minute=0)
end = datetime.now().replace(hour =9,microsecond=0,second=0,minute=0)
self.getProfileGenerics(start,end,selectedProfileGeneric)
Its not working and both showing same exception
Data send failed. Try to resend 1/2
If I pass date as string is there any possiblitiy to work?
Hi, No, you can't give the…
Hi,
No, you can't give the date time as a string. It looks like your start and end times are the same and that might cause problems with some meters.
Set the start time to midnight.
BR,
Mikko