Hey! I’m happy to have a look!
Are you using the ESP8266 and the ESP8266WiFi Library like in my project or are you on another platform?
If you’re using something similar to the example code, you’ll notice that the app is really just a webpage that you’re building out of Strings and then serving over the WiFi, so all you need to do is connect the flame out LED to an input pin (either directly or using a relay or a transistor) and then digitalRead() that pin while you’re building the webpage.
In the example code for the propane poofer, you’ll see a line like this:
if ( digitalRead(IGNITION_PIN) == 0 ){
s += "Ignitior is currently turned OFF.";}
else{
s += "Ignitior is currently turned ON.";}
s += "<br><br>\r\n"; // Go to the next line.
You could use the same structure, for example, and do this:
if ( digitalRead(FLAMEOUT_PIN) == 1 ){
s += "Flame Out Detected";}
s += "<br><br>\r\n"; // Go to the next line.
This just adds a line of text to the page that says “Flame Out Detected” whenever that pin goes high. Of course you could put whatever HTML there that you wanted, so it could show an alert box or a selected radio button or an emoji or whatever looks better than a line of text.