05-13-2019 02:02 AM
Hello,
when i mean "wrong" i want to say :
i have 5 nodes who send informations. 1 Hub who recieves them.
the hub can recieve only one information by one.
if he recieve like :
43.0;28;10000
45.0;26;10000
then 5 more 45.0;.....
the average of 43 will be 28+20+20+20+20 /5 and on the graph it wil be "wrong" because it's not the real temperature.
I don't know if you see what i want to explain.
05-13-2019 11:44 AM
@siwalex wrote:
the average of 43 will be 28+20+20+20+20 /5 and on the graph it wil be "wrong" because it's not the real temperature.
You still need to explain why you think it is not a "real" temperature. It is based on an averaged temperature measurement, it is in the right range, etc. It is the "last seem" temperature from that sensor and most likely a good estimate unless the temperature changed very quickly. Does it?
As I said, if you want to hide points if data has not been received for a couple of iterations, you need a little more code and send a NaN to the chart in that case. Do you have problems with that?