detect smoking events