added glitch detection for DB18B20 sensors