Flame/Fire Detection with MySensors
-
Hey everyone,
Does anyone have a good working example of a simple binary flame detection sketch? Something that works "out of the box" with MySenors and a typical 4-pin flame detection sensor?
I want to setup a sensor in my kitchen with an MQ-2 smoke/gas sensor to check for possible fires. Ideally, I just need two states "Flame" and "No Flame".
I'm using Homeseer as my controller. Any ideas or help anyone could give would be great. I found another thread with someone using a flame sensor, but I couldn't get the code to work properly.
Thanks in advance.
-
@iamtheghost Have you had a look at the motion sensor sketch. It would work without much modification i would think.
-
@Boots33 I haven't used it yet, but that makes sense if it just activates as "motion/no motion". The flame detector sensor for most arduinos is just looking for a specific wave-length of light, right?
-
@iamtheghost I have not used one but yes that is my understanding of how they work. You would need to experiment with it to find it's effective range etc.
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
PJON and Minicore not working
Development • 9 days ago • Trand 9 days ago -
Home Assistant/MySensors quirks
Development • 14 days ago • OldSurferDude 14 days ago -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23