Unterstanding Intervall from feeds

Hello!

 

Can someone please explain, how the interval work with the incoming data?

Example:

Average Intervall 10 seconds.

 sec 0: Value: 10

sec 8: Value: 5

sec 9: Value: 10

 

How the Intervall count this data?

(10+5+10)/3=8.3334

OR

((10*8)+(5*1)+(10*1))/10=9.5

So, dies it depends of the time/value OR only the values?

Thank you

pb66's picture

Re: Unterstanding Intervall from feeds

The incoming data will update at what ever intervals you send it at, if your emonTx, for example is transmitting every 5 secs it will (usually) arrive and update the input and any feeds on that inputs process chain every 5secs.

The feeds will only create a datapoint and record the current value to the database at the interval chosen at feed creation. the 2 intervals are totally independent both in duration and trigger time.

unique24's picture

Re: Unterstanding Intervall from feeds

Hello!

Thank you for your info.
Guess my english is not good enough to unterstand your answer.

It seems that he store the highest value in an intervall periode.

But made some test more.

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.