Flame alarm principle