Flame Photodiode is more like a regular photodiode

I bought a small flame photodiode for a robot Im currently working on. Being a "flame" photodiode I thought it would ignore most light and pretty much only output whenever it gets light from a flame but it seems normal day light can set it off. Even lamps or sealing lights seem to be enough for it. 

Pretty much almost makes it a reguarl photodiode. 

I can get the data from it with this line of code: FlameValue=analogRead(0);

Just read the analog pin.

 

Anyway I can maybe fine tune it better for flames? 

The photodiode is just

The photodiode is just reacting to the IR-light that is emitted by the flame or -very less by a light bulb- so every light source that gets hot or just warm emits IR-light so your value climbs up.So if you want to activate an alert I think you should do somethig like:

If (FlameValue > 500){

  Serial.println(“Flame detected!”);

}

I think a flame emits more IR-light than a normal light bulb because it’s hotter so activateing the alert not until the Value reaches a for a flame specific value would solve the trouble with a normal bulb.Hope I can help you.

Also it would be good to
Also it would be good to verify that whatever you use for a straw is opaque to IR light.