Skip to main content
1-Visitor
April 5, 2019
Question

Thing's property value is not being the latest of the logged values

  • April 5, 2019
  • 3 replies
  • 1376 views

How do i make the thing's properties to have latest of logged values?

Because, in general, when the properties are logged, they should possess latest of the logged values. I have assigned the value stream and 'QueryPropertyHistory' service returns me the historical data yet, the properties are not possessing latest of the logged values. How to resolve this issue??

3 replies

22-Sapphire I
April 5, 2019

Most current value in your query should be the value of the property itself.

I would check the TimeStamp on both the historical and the property

You can use GetPropertyValuesVTQ for that 

muzzammil1-VisitorAuthor
1-Visitor
April 8, 2019

@PaiChung What i actually meant was, i just need the latest of the logged property values under properties and alerts tab in every 'Thing' entities, which i'm currently not getting

22-Sapphire I
April 8, 2019

those values should be in sync unless you had to go through some system restart or thingshape/thingtemplate update that reset the property values