Sensor for tracking chronic lung disease