cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to log all data periodically?

SOLVED
eyli
Amethyst

How to log all data periodically?

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to log all data periodically?

Finally I decided to make very small changes to the values so that they can be saved.

View solution in original post

Tags (1)
6 REPLIES 6

Re: How to log all data periodically?

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.

Re: How to log all data periodically?

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.

Re: How to log all data periodically?

Just found the service UpdatePropertyValues can be used to write data to database on demand.

Re: How to log all data periodically?

Finally I decided to make very small changes to the values so that they can be saved.

View solution in original post

Tags (1)

Re: How to log all data periodically?

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.

Re: How to log all data periodically?

Thanks very much for help. I will do test.

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.