fix detection of erroneous reading. Only insert once every 30s