Please take a look at the following tutorial on smoothing analog inputs.
You can generate a time based or count based moving average of the piezo data. Do you see zero from the piezo sensor when the dryer is off? You should be able to determine a threshold value from your moving average to distinguish between the dryer on and off.