The flame sensor is very useful in home safety, but not many people know how it works. This repository contains all you need to wire up code and use a 2 pin IR flame sensor its as easy as using a Phororesistor. For more information on the steps and explenations on the code please see my blog where i cover this more in depth.
Blog - https://www.ittechnes.co.za
IR Flame sensor -