Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I found the thing property is logged to influxDB only when its value is changed. I'd like to let it be logged periodically. How can I do this?
Solved! Go to Solution.
Finally I decided to make very small changes to the values so that they can be saved.
Why do you need to log it periodically?
If you needed to you could add extra points of the same value just by using 'math'
We recommend using DataChange so that there is minimal strain on the system.
The reason is there are not values in a period when I used QueryPropertyHistory to get data and put them on the time series chart since value didn't change in that period.
Just found the service UpdatePropertyValues can be used to write data to database on demand.
Finally I decided to make very small changes to the values so that they can be saved.
If you control the update rate on the device, you can also set DataChange to 'Always' which means that anytime a data point is pushed it is recorded into the valuestream regardless of value.
It is important to make sure you aren't sending too many updates per second is all.
Thanks very much for help. I will do test.