event_based_logging Event based logging for a measurement¶
This measurement script is used to decide whether or not to log. The goal is to log if there is a significant change between two readings.
We compare current reading to the previously LOGGED one. If the difference is large enough, we log the value, and increase the measurement interval. If the difference is not significant, we want to log at at much slower rate.