Fire detection using ambient light sensor and IR filter

Just a thought, what do you do if there is smoke and no flame? Smoke usually comes first.

Here is some information that will help:

What is a flame detector and how does it work | Instrumentation and Control Engineering