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

ValueStream logging issue

  • April 18, 2019
  • 1 reply
  • 2875 views

I have a remote thing which reports temperature and humidity, sensor is connected to Rapsberry.

I have set temp and hum prorerties as persistent and logged, and have Value Stream assigned to thing.

 

So, I can see property values, and I can observe their values changing over time.

But when I query property history, I see, that property changes are not logged over time, but values updated for several last rows with new value (leaving the original timestamp). I attach pictures for better understanding.

 

So, what is wrong?

1 reply

5-Regular Member
April 18, 2019

Can you run QuerynamedPropertyHistory service for H1?  Your H1 value has been updated but it shouldn't change like that, either you changed property history or something wrong happened in your VS.

1-Visitor
April 18, 2019

I have recreated the thing from scratch, with new name and new value stream. But now I observe the same behavour - I have only one row in stream, which is being constantly updated with new values, leaving original timestamp. QueryPropertyHistory and QueryNamedProrertyHistory give the same result - only one row.

 

 

5-Regular Member
April 19, 2019

What's your TWX version?

Do you use property-logged setting and property change event or use any VS services directly to add new rows to the valuestream?

 

I've never seen such behavior before, if it's not operational problem, it would be a bug in a specific situation.