Device disconnect and data logging
-
Hi all,
I'm building a Mango website to monitor some power meter via Ethenet. Below is my data point logging setting.
Today, my server disconnect or the meter disconnect, the server keeps logging last data value (see photo below)
From 3PM to 9PM, the server is disconnected so I expect the value should be 0.Is there are any setting so I can make sure the logging value is 0 if server/power meter disconnected, therefore I or anyone can realize the abnormal and check the server/meter?
Thank you.
-
I believe because your mango instance is logging, it will continue to use the same previous value if a new one hasn't come in. The very same thing happens with virtual datapoints and serial.
If you change your logging type to all data or on change, you won't get these automatic point value inserts and thus can use an event detector to fire once the data hasn't been updated after a given period of time.Fox
-
@tungthanh500 said in Device disconnect and data logging:
From 3PM to 9PM, the server is disconnected so I expect the value should be 0.
Is there are any setting so I can make sure the logging value is 0 if server/power meter disconnected, therefore I or anyone can realize the abnormal and check the server/meter?Setting a point that is unhealthy to zero. would have a lot of unwanted consequences and create a lot of noise in your data when doing analytics on it... The point does indicate that it is unhealthy, just not on the chart. The live value will have an exclamation mark next to it.
Also even if you do not log the point when it is unhealthy, your chart will still have the same shape... IF you want to be get notified when the point goes unhealthy you can set a "has not updated" event detector on the point and link the detector to an email event handler.