An alarm goes off whenever the stack temperature goes higher than 500 degrees Fahrenheit, and another alarm goes off if the carbon in the stack accumulates in a layer thick enough to cause a chimney fire.