How to get an alert in case of power outage/failure?

It looks like I still have a ton to learn, since I didn’t know what a DTH was. Now I know it’s a Device Type Handler. I think I found the Aeotec Siren DTH at … https://graph-na02-useast1.api.smartthings.com/ide/device/create. How do I tell, from reading the DTH, whether it has a power supply alert function? Or should install the DTH and see what choices it give me? Sorry for the ignorant newbie questions.

I don’t see any power related thing in there :frowning:

1 Like

Are you looking at the Metadata to figure that out? Based on Metadata, it looks like the Aeon Multisensor 6 might have the capability for power supply, if I’m reading it right … https://graph-na02-useast1.api.smartthings.com/ide/device/create

	capability "Motion Sensor"
	capability "Temperature Measurement"
	capability "Relative Humidity Measurement"
	capability "Illuminance Measurement"
	capability "Ultraviolet Index"
	capability "Configuration"
	capability "Sensor"
	capability "Battery"
	capability "Health Check"
	attribute "tamper", "enum", ["detected", "clear"]
	attribute "batteryStatus", "string"
	attribute "powerSupply", "enum", ["USB Cable", "Battery"]

:slight_smile:

That’s the multisensor, not the siren. Yeah, that powerSupply would be it. The multisensor can’t be powered by both, unfortunately, so it won’t serve your purpose.

1 Like

Hmmm … so it looks like I’ll be searching to find the perfect device and/or figuring out how to make a relay work with an open/close switch. Still so much to learn, which I enjoy.

Thanks so much for the help and please let me know of any other suggestions you might have.

:relaxed:

The relay would have to be an always-on, energized coil. Consider power consumption as well, after all, you’ll be running it 24/7. I’d rather find a device that can run off both power and battery and disclose which it uses.

2 Likes

@Olliesshop
The mimolite sends a notification instantly when power drops.

I use this device as an input to read the open or closed status of an automated skylight, the skylight has digital inpuits and outputs. Sending notification of a power loss is an added bonus.

The meta data is “Attribute” “Powered” and the smart app that I use to get the actual notifications is
"MimoLite Power Is Out"

@Olliesshop Also, many UPS’s can be connected by USB to a computer and the computer can be programmed to send out an email when the UPS detects power loss. I have a Synology NAS, that has a USB cable to the UPS and the synology NAS sends me notification if I ever lose power.

@bridaus are you saying remove the batteries from the ST Hub and NOT have the hub plugged into the UPS?

Or are you saying remove the batteries and leave the HUB attached to the UPS to get notifications?

I have my hub plugged into a UPS as well and would prefer that the hub remain active during a power outage.

1 Like

FWIW, I have my Ademco Vista 20P alarm panel integrated with SmartThings via an Arduino and AD2Pi from Alarm Decoder. The alarm panel detects when its on its battery and I have mine setup where it will alert me when it goes from AC to battery and battery back to AC. I get this notification immediately plus the added benefit of having my hardwired alarm panel integrated into SmartThings. Full disclosure I have a UPS that my cable modem, router, and SmartThings hub are plugged into which keeps it alive during short power outages. The ADT alarm panel integrated is is documented here:

Stan and I are close to publishing a new version that will include the feature above.

1 Like

Not plugged into a UPS. I agree that it is a higher level of achievement if it can notify of power outage while still connected to Internet. I’m planning on it. Just wanted to give the OP a simple method to start that works for me.

1 Like

Thank you!

I’ve run across the MIMOLite quite a few times, with regard to power failure alerts, but still am a bit confused on how to wire it up. Although, since you’re recommending it as one of the solutions, I’m going to figure it out.

I’ll also look into programming my PC to send an email. I did some research on this approach earlier, but it seemed like it was meant for servers and needs special software. It sound’s like there’s a simpler approach?

I’m glad I’m getting multiple ideas, since I would like to have multiple confirmations that the power is out vs. just the network.

:relaxed:

@Olliesshop

If all you are going to do with the MIMOLITE is for power outage notification there is no physical setup.

Physically wiring the device is for controlling or reading other devices.

Just plug the mimolite into an outlet.

Then pair it with Smartthings and use the smart app “MIMO Power is out”

2 Likes

That’s great news … that sure sounds like what I need. Then I can also have fun figuring out how to how to use the MIMOLITE with other devices. Very cool!

Thanks!

1 Like

The Aeon SmartSwitch 6 Plug reports every 10 minutes. Is there a way to check to see if it has been 15 minutes since last event update and send a notification?

I have a MimoLite plugged into the same GFI outlet as my sump pump and I am trying to get notifications when either the power is tripped on the GFI, or my power is lost altogether. I was able to get the MimoLite Power Is Out app in my SmartThings app, but the MimoLite device is not listed as an option to use for it. Any ideas why?

UPDATE - ok, i got it to show up in the app by changing the device type to a “Contact Sensor Capability”. Is this the correct device to change it to? It still does not seem to be working with the app. The Mimo just stays in a “closed” state and i do not get a text when the power is lost to it.

If you dig into the IDE there is a power status of the hub, indicating if it is running on ac or battery power. Not sure if that can be pulled by a smart app though…

Figured out how to do it pretty easily and cheaply.

I have a MimoLite and have the need to know when power goes out. Downloaded @twack 's App “MimoLite Power Is Out” but it is not notifying me when I unplug the MimoLite. @twack or @professordave (or anyone else), any ideas on how to debug to get it working?

When I go into the Events List of the device there is no indication at all that it was unplugged, or plugged back in for that matter, so I am not sure what would even trigger the event. What am I missing?

This is a new MimoLite just purchased in March of '17. Wondering if they changed the firmware or something. I contacted customer support at Fortrezz before purchasing to ask if, after a power outage, the relay on the device will go back to the state it was in before the outage. He said it would, but when unplugging the device and plugging back in, if the relay was on before being unplugged, it would not go back on after powering up again. This, BTW, also makes the device out of sync with Smarthings if the device was on before the power went out . Solved that part of it by Pollster app refreshing the device every x minutes. But the refreash only works if the device is plugged in and powered. When it is unplugged there seems to be no polling or refreshing ‘smart enough’ to say - “hey, I polled/refreshed you but you are not responding” and let the Hub know. I’m not a programmer but if you send a device a Poll or Refresh, shouldn’t it tell you that it was not successful in getting a response from the device? :confused: I digress…

But still really need to figure out how to get the ’ MimoLite Power Is Out’ functional! Please help :slight_smile:

@Levahj

When you pull the power on the mimolite does the tile for the mimolite in the smartthiings app show loss of power immediately? Or ever?

On mine the tile changes immediately.

Which device type are you using?

Which version of the smart app are you using?

Hey @professordave - thanks for helping out!

I am still in bench test mode as I configure the MIMOLite into my system and get the hardware all ready to go so I have tested on multiple Device Handlers. When I pull the power on the MimoLite the tile never shows loss of power immediately like you are saying it does on yours.

I have tried using the FortrezZ DH off their site - ‘FortrezZ MIMOlite’. Also have tried the ‘My MIMOLite - Main Water Valve V2’ from @johnconstantelo. They both have the ‘Power On’ tile and both DO NOT change when I unplug the device.

Still not sure how the MIMOLite can actually send a power out signal if the power is indeed out! But as long as it works I really dont care how it does it :grinning:

As far as version of the Smart App made by @twack , there does not seem to be any version when I look at it. All it really shows is:
name: “MimoLite Power Is Out”,
namespace: “smartthings”,
author: “Todd Wackford”,

Let me know your thoughts. Weird that it is not showing power out like yours. Might be a firmware upgrade they have instituted?

Thanks,
Marc

It does work via just enough stored energy in a capacitor to send it’s death message. I have 2 Mimolites (water valve and garage door opener), and FortrezZ’s water flow meter that report power failures. I’d imagine the signal would be pretty weak, so maybe it’s just a range issue you’re experiencing?

I’ve been on the same mimolite firmware for well over a year, and I believe that only changed further out than that.