Mbhforum
(Marc)
April 28, 2017, 1:39am
3057
It’s funny you mentioned that because that is what I did before and I don’t see power source listed, yet I have a smart app that works with it. Here is the smartapp for it…
I’ve been using a Smartthings Motion Sensor for monitoring whole house power since I got my hub over a year ago. I have my cable modem, wireless router, and Smartthings hub on a UPS so I keep connectivity post-power fail (big enough UPS that I get about 100 minutes of power). I mod’d the app from wackware above to notify when the power goes out and also when it comes back on (code below). It was great last weekend when the power went out while my wife and I were at dinner, I was able to notify the power company and get our plan for the night (it was out for ~12 hrs) going before we even got home!
/**
* Power Is Out
*
* Updated by JMZ
*/
definition(
name: "Power Is Out",
namespace: "smartthings",
author: "JMZ",
description: "Alert me of power loss using motion dete…