Change properties values any undefined amount of time
Hi, I have this current situation:
ThingTemplate named "MyTemplate" with three properties: Prop1 (Number), Prop2 (number), Prop3 (number).
25 Things named "TH-1"..."TH-25".
Those properties will change every x seconds (where x is a random number) and I can see on a mashup the new value on three gauges each one binded to a property.
Now I have the following questions:
- What I should write in the service to change the thing any random time? Because if it is a fixed time, I can make a Timer Thing but what about a random time? Would you make me a simple example of code?
- I know the widget "Autorefresh" which refreshes the page automatically every T seconds where T is set in the widget properties but I have random time. What can I do to autorefresh when it triggers?
Thank you

