core_sensors_ir average the value from last 10 readings, to filter out some noise.