Remote Property timestamp on EMS / LUA don't update on value stream
- December 16, 2021
- 2 replies
- 1549 views
Hello folks,
I have an EMS running on a docker container with ubuntu. With the help of the Lua script two parameters are read (CPU frequency and temperature) and then shared as remote properties with Thingworx.
Then i added a value stream to display the historical data (queryPropertyHistory).My problem is that no history exists. I am also not sure if the values are really updated. The timestamp is always the same (timestamp= start-time Lua service). When I press "save" on the remote thing, the remote properties are reset and after a short wait, new values appear. However, the timestamp remains the same.
I found a post in the forum where another user had a similar problem. (Raspberry-Pi-EMS-Value-Stream/td-p/603659) After editing my utils.lua as described in the post, I get at least a new timestamp/line after "saving the Thing" on the queryPropertyHistory.
I need a correct ValueStream with all historical data.
Attached is my template.lua-file, the lua.log and a screenshot of queryPropertyHistory.

