I would buy two different sizes if you made some.

...how do smoke detectors work?...
if its how i think they do, you could mount the sensor or w/e to the top and instead of a buzzer, it releases a little electronic switch to unplug the carb.:thumbsup:

if not, then i hope you find a way anyway

...ima go find a smoke detector