On/off at certain temperature

This may be more comprehensive than you are after but it should get you started.