Detecting Fire...

use some form of Infrared like these do :-

http://www.maplin.co.uk/Search.aspx?menuno=12857