Leeo Smart Alert - Integrate non Z-Wave smoke detectors with ST

integration
project_security
project_alerts
how_to

(Scott) #1

Leeo Smart Alert listens and can tell when your smoke, CO, or flood alarms are going off and notify you via cell phone app and IFTTT.

I have a bunch of First Alert Interconnect Smoke alarms. When one goes off, they all go off and let you know which one went off first. I really like these as no matter where you are in the house, if one goes off, you know about it right away. They also tell you which room went off which is nice. But I’d also like to know if my alarms are going off when I’m not at home.

Would I be able to use the Leeo Smart Alert, IFTTT, and a Simulated Smoke Alarm in ST to get that to work? I’m not sure if I can use IFTTT to set the value of a Simulated Smoke Alarm in ST?
Basically can I use IFTTT to turn on the Simulated Smoke Alarm so that my SHM goes off and notifies me through ST and can perform some other actions?


Leeo for $25
When are "Hard Wired" Smoke detectors going to be supported by Smart Things
Leeo $25 at Lowe's
Turn off thermostats and fans when smoke
Smoke Detector selection
Connected Smoke Alarms
Smoke Alarm or Loud Noise Sensor
Leeo Smart Alert Smoke/CO - $29.15
(Scott) #2

I’m thinking it would need a custom app that where a simulated On/Off switch or something can control a Simulated Smoke Alarm (or other such device). That way IFTTT can control the switch, which in turn controls the alarm status.

This app would also be useful for using camera’s as motion detectors. Instead of the simulated switch controlling a simulated smoke alarm it would control a simulated motion sensor.

Anyone want to build such an app? :wink:

It seems like this would be fairly similar to how the in wall relays are programmed.


#3

The Leeo is an unusual device, so it’s easy to get confused about what it actually does. The Leeo doesn’t call their device a relay, and it’s not in that device class. It’s an acoustic sensor.

In the US, the sound made by a smoke sensor in a private residence is set by the US standard. That is all smoke sensors make the same sound. So the Leeo and other similar devices just listen for that specific sound pattern and trigger off of that. That’s why they can work with any smoke sensor and they don’t have to be wired in to the same circuit. (Hence not a relay.)

If you want it to use IFTTT to trigger a report in SmartThings as a smoke sensor, I believe you’d have to use the capability.smokedetector

http://docs.smartthings.com/en/latest/capabilities-reference.html

But you’d be dealing with potential lag of about 15 minutes and depending on your Internet, your power, your SmartThings hub, and the SmartThings cloud to all be working while there was a fire in the house.

It might still have value for some use cases. I’m not sure exactly how that particular capability works, hopefully one of the expert coders will answer.

I’m assuming you want SHM to do something based on its reporting as a smoke sensor, as otherwise you could just go ahead and turn on individual sirens, lights, etc. through IFTTT if you wanted without needing a virtual device.

You can also just have Leeo send a notification directly to your phone, which is what it’s intended for. :sunglasses:

You probably already know this, but for others who might be reading you can have the same event used as the “if” for multiple IFTTT recipes. So it’s the equivalent of an “and” even though IFTTT doesn’t have ands in its recipes. So you could have the Leeo IF trigger your siren, your Hue lights, other smartthings – controlled lights, a notification to you, and your racchio sprinkler system all at the same time. It’s just that you have to set up one recipe for each event.


(Michael Hess) #4

This is exactly what I do, your last two comments. I get the alerts on my phones, as LEEO was intended. Then I have IFTTT setup to turn on all my lights at 100% and do a TTS alert with LanAnnouncer if one of the alarms goes off. Obviously the IFTTT could be SLOWER than the alarm being directly connected, but I’ve had very little lag with IFTTT when doing tests, like a few seconds. My connected First Alerts are on Insteon, and they too will send an email that IFTTT will pick up to activate the same thing on ST, again, delayed a bit, but I have enough Insteon lights in my house that either way, the place gets LIT real quick.


(Scott) #5

Just wanted to update:
I got this to work. The Leeo Smart Alert triggers an virtual ST Smoke alarm whenever one of my non Z-wave smoke alarms go off.

I used the Universal Virtual Device Type Handler that I modified to add smoke and flood sensor capabilities to it.

I then configured that device to be a smoke alarm and called it Alarm Leeo Smoke.

Then I set up an IFTTT recipe that if my Leeo Smart Alert alarms (the real device), turn on my virtual Alarm Leeo Smoke device in ST.

ST recognizes my virtual Alarm Leeo Smoke device as a smoke alarm so works with SHM.

Because Leeo notifies IFTTT directly, not via email, this is practically instantaneous, no delay.


(Michael Hess) #6

Do you have the modified uDTH code by chance?

Edit: Smoke Detector, couldn’t figure the right wording. I think I got it!


(Michael Hess) #7

I lied, I have no idea what I’m doing to modify this thing. @Scott_Barton could you lend me a hand here?


(Scott) #8

I just posted the code here.


(Brian Peterson) #9

Thanks guys! I just set this up using the Cleverloop Smokey app on an old iPhone. It sends an email to me immediately with the label “SMOKE DETECTOR SIREN ACTIVATED”. I then have IFTTT pick up my gmail with that label and it then turns on my Smoke CO2 Alarm (UVDTH code used above) that connects into the Smartthings Smoke Alert. It’s a bit convoluted, but it works. Testing it today has shown that this results in a 15-30 second delay, which is okay for me to set flashing lights and turn on other lights. Again, thanks.


(Howard Solovei) #10

This thread was very helpful. I did it slightly differently.
I set up two virtual switches in ST, one dedicated to Leeo CO detection, another for Leeo smoke detection.
I then used IFTTT to connect Leeo to ST.
If Leeo detects smoke, then turn the ST virtual Leeo CO switch on, if smoke, turn the virtual Leeo smoke switch on.
I then set up some CorePiston rules to do things based on that – unlock the front door, etc.
I also set up CorePiston rules to flip the virtual Leeo switches back to off if they stay on for more than a certain amount of time (effectively “clears” the Leeo switches) and relock the front door, …