[OBSOLETE] Device Monitor - Get Notified if Devices Stop Reporting

@erocm1231 that did it. Since I’m fairly new to smartthings, I did not know there was an issue with the simulator installation. It has worked on all of the other apps I have running. Thank you for the tip.

I have a bunch of Homeseer dimmer switches. It appears the devices do not regularly report any status. I have device monitor alerting me on a 24 hour window and a bunch of them are listed as not reporting events. Is there a way to get these switches to more actively report status?

Do you know which device handler they are using? If the device supports Health Check then you can enable the Offline/Online feature of the app. Health Check will only show offline if the device doesn’t talk to the hub within the time that is custom set by the device handler. There is a ping() function in Health Check handlers that will cause SmartThings to “ping” the device a couple times before marking it offline.


I am attempting to monitor my “Leak Gopher” which is an electric water valve. It’s provisioned on ST and all my other smart apps can see it, etc…however, this Smart App isn’t seeing it…Any idea how to get it to populate as a device to monitor? It’s an officially supported device with ST and it is even listed as device monitored with device health…thanks

1 Like

I answered your PM, but want to post here as well that I added the “valve” capability which should allow you to choose the Leak Gopher.

Edit: I also added the “sensor” and “actuator” capabilities which should include almost every device.


Thanks for the update Eric!


So I’m trying to use this script to get notified when my Zigbee outlet goes offline. A simple method to detect if I have lost power in my house (My UPS system is consumer grade and has no notification service).

My UPS will only last about 1 hour, so I need a shorter interval. I could plug a device into the outlet and get energy reading, and then theoretically I would stop getting those messages. I suppose that would put me at a 5 minute interval, but it would be nice to do this by simply changing the interval option to be in minutes, not just hours.

I can edit the math in the script but figured I’d check with you first to make sure I wasn’t overlooking something obvious.


OK - so just noticed the ‘Check Interval’ Option. I set that the 5 minutes but did not get notified. I noticed if I go to ‘Device Monitor’ I do not see the status of my outlet being shown. I confirmed my device was selected and saved (I see it as a smartapp within the device).

FYI, it seems this app is being affected by some changes at ST on rate limits.

See this over in another thread:

I am noticing rate limit errors for Device Monitor too now in my Live Logging.

UPDATE: The ST rate limit changes have been rolled back for now:

1 Like

I’ve been using this for a while, but I was getting constant notifications about delayed devices (I’m still not 100% sure exactly what that entails).

As I’m using it to let me know if contact sensors have gone offline (to make them viable for a homebrew security system, that works wonderfully with a BBU powering my network gear and ST hub, FYI), I really only wanted to know if devices had stopped communicating/gone offline, as that usually means the battery needs to be reseated/replaced.

I don’t know this code, but it was similar enough to what I’ve worked with before that I could read through all of it and copy/edit the deviceOnline notification/settings options for an option to enable or disable notifications for delayed devices. Seems to work, so I added an “issue” on the GitHub repo and included the lines of code I changed, in case you wish to include it in an update.

Still fairly new using GitHub, and I always get confused with the push/pull/whatever stuff.

Thanks @Ninjamonkey1982. I added an option to disable “Device Delayed” notifications. Great for people that only want to use the device ONLINE / OFFLINE status to determine if a device is working or not.

What setting do I need to configure to have the hub offline send me an SMS? Under settings, I have checked the box for “send notification if hub offline” and use online/offline status and added my phone number. When I unplug the hub to test, I get nothing… Please help.

Hey Shane, I just did some tests and it seems to be working for me. There are some other configuration options in the app that may need to be set. Like, you need to set a check interval and or check the option to run a check when a device sends an event. If you don’t have any other devices selected, I think you will probably need to use the interval.

If it still isn’t working, report back with all the settings you have configured in the app.


I have the First Alert 2-in-1 Z-Wave Smoke Detector & Carbon Monoxide Alarms - and when I add them to the Device Monitor I always get notifications that they are not reporting. But when I look in Smart things they are online. I’m guessing because they don’t really “check in”??

So I just selected the option “Use Online/Offline status if available”.

Will that stop them from reporting ?


.oops none of my business

It should. The app looks to see if you have that option enabled and then checks to see if the device is reporting ONLINE / OFFLINE. If it is, it uses that status to report whether it is dead or not. It still looks at the last event to calculate when the last check-in was, but that is only used in the status screen.

{EDIT} - i just figured out my API.smarthings.com is out of sync with my mobile account. troubleshooting this. Explains much of my problem, but much of what I ask below, still is valid… thanks in advance!)

OK I must be a complete nimrod. I keep seeing all these apps. I try "installing’ webcore, i followed the instructions, get to a point where there is an app on my phone, but no web service to use etc… I Was able to fork this to my account, log in to smartthings (and WHY is it for the 7th time I had to enable github integration??) I was able to see a much of new items in the list… Um , now what?

I used to write automation scripts, so you would think I could follow along how to get this all to work… but what the hell am I missing here? after I finish the fork, I don;t see any instructions what to do.

do i check all these boxes? Then what? I keep seeing these apps / abilities, but no idea how to use them.

Feeling like a complete fool, lost in this all. It seems like I missed something obvious that everyone else knows??
thanks for the hand holding… I want to get this working, and hopefully will be the first thing I get TO work…

If you integrate my github account in the SmartThings IDE, then the Device Monitor app should show up in the list you showed above.

The other option is to just copy the code from github and paste it as a new app in the SmartThings IDE.

1 Like

Everywhere I looked I saw that this application can report/notify me if a smart device goes offline. While it seems like I receive text messages if a device is not reporting, it takes a while for the message to be sent. The settings don’t seem to allow anything faster than 5 minutes. I have a smart outlet that I would like to know ASAP if it loses power. The SmartThings app seems to know almost right away about it, so this tells me the capability to detect offline status in “real time” is available. Am I missing a setting somewhere?