Fire detection using ambient light sensor and IR filter

I once detected a flame with an IR photo diode, some fourty years ago.
From memory, detecting the sound a flickering flame makes proved the easiest way. So try coding to detect the variation of the A/D output, not it's absolute (static) value.
Leo..