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

thank you, much appreciated.

Hi Eric,

Where can I find the app, assuming on Github.

Yep, it is posted at the bottom of the very first post.

any idea what i do with my fibraro 101 contact sensor to make it report more often - its on a door i donā€™t often openā€¦ and smart things doesnā€™t seem to support temperature sensor on it?

From what i understand - all my other sensors (Smart things standard contact sensors) report on temperature changes all the time - so thats how i know they are ā€˜aliveā€™. Is that correct?

I was recently burgled and the window they came in through - had a sensor which was ā€˜deadā€™ - i was lucky that the door they then opened (to let a second burglar in!) was active and triggered my alarm and then left empty handed. Taking the battery out and putting it back in again made the sensor come back to lifeā€¦ so Iā€™m keen for this scenario not to happen again and be aware of a sensor being ā€˜deadā€™

1 Like

I believe some folks have had success with a ā€œPollsterā€ app, although I seem to recall that it is not really being supported anymore - please search the forum for it. Pollster calls refresh on the sensor, which, I think, will cause the sensor to publish its current state. If it supports it, of course.

A simpler solution may be to just swap out the Fibaro with a ST sensor on a more heavily used door, if you have one available and itā€™s not too difficult.

Other than that, I am not aware of a way to make a sensor report.

Unfortunately the Fibaro sensor wonā€™t support refresh commands as it is a ā€œsleepyā€ device. It only wakes up to send reports.

@lookalikey If there was a handler for the Fibaro contact sensor out there that supported temperature, then this would likely solve your problem. The Fibaro will likely report temperature frequently.

I did a quick search on the forums for a handler that supports temperature, but could not find one. :frowning:

Small update that can really help with false positives and negatives. This will become more and more useful as devices get this capability:

Added an option to use Offline / Online status when available. The new Health Check capability updates the offline / online status when communication is sent from the device. This eliminates the need to look at events (which may not update because of duplicate events anyway).

@erocm1231 Is there any documented or undocumented way to tap into the Health Check and get the current status lf the device? Any way to subscribe to status changes?!

So I have found the following methods to get the information for a device:

device.status will return ONLINE, OFFLINE, ACTIVE, INACTIVE. ONLINE and OFFLINE are returned if the device is using Health Check.

device.getLastActivity() will return the last activity as a date object.

I havenā€™t looked into subscribing to status changes yet.

1 Like

Is there a way to receive a notification if the hub goes offline?

I have enabled the adress book, and the built in offline notification does not work when its enabled

1 Like

First off - I want to say this is a really great and very useful app.
Secondly, I have a suggestion to make - device specific inactivity timeouts. Iā€™ve given a presence sensor to the in-laws so the alarm arms/disarms for them when theyā€™re feeding the cats, so it often wonā€™t report for several days - if not a week or two.
Of course I donā€™t want all my devices set to that length of time, so being able to override the default timeout for that one device would mean I donā€™t have to exclude it from the monitoring.

I added the ability to monitor the hub for an outage. It is an option at the bottom of settings.

@Dave_George I will consider it, but you can install as many instances of this app as you want. I have one installation to monitor for inactivity over 72hrs and another for 24hrs.

3 Likes

Iā€™ve loaded the App and the notifications work well. My only problem is with the mobile number to txt (SMS) to. Iā€™ve tried entering the international code and dropping the leading 0 (e.g. +447 etc) and just the full UK mobile number without a space (11 numbers beginning 07) but I canā€™t get it to report. Am I missing something obvious? Any thoughts would be most welcome. That aside, an extremely useful app. Regards Matt Chambers

Sorry, Iā€™m not familiar with UK text messages with SmartThings. Does it work in other SmartApps with the format you are using?

Many thanks for your reply. Yes, Iā€™m using the ā€˜Monitor your home for intrusion, fire carbonā€™ app provided by Smartthings, found on the settings icon on the ā€˜Dashboardā€™ screen. Iā€™m running the ā€˜Leaksā€™ part. Under the alarms and Notifications section, under Text and Push notifications, I have ā€˜Send Push notificationsā€™ set to on and in the 'phone number section, I took heed of the warning ā€˜If outside the US, please make sure to enter the proper Country codeā€™. Iā€™ve tested it a couple of times over the last three months or so and it sends a ā€˜Pushā€™ if in WiFi range and a SMS/Text regardless of where I am to my chosen 'phone. I therefore used the same country numbering e.g. +44, dropped the leading zero and completed the rest of the number. Without the international code, UK mobiles are always eleven digits in length and the first two digits are always ā€˜07ā€™. If there is a fee for sending texts I would be more than happy to pay it, as the app is monitoring two freezers and I canā€™t see itā€™s going to off every five minutes or so! Hope this helps. Thank you again for replying and I hope to hear from you in due course. As an aside, I have one app monitoring two pieces of equipment (two plugs), could that be the problem? Regards Matt Chambers

I think I found out what was going on and pushed an update. If you donā€™t use the contact book, the code was written to send either a push message OR an SMS with push taking priority if both are selected. I have modified it to send both if both are selected.

Could I offer a suggestion? Before reporting a non-responding device, try to refresh it. That would reduce the number of reports.

Eric

Many thanks for the update! Iā€™ve tested it this evening and it works with both PUSH message(s) and SMS. Brilliant! Thanks again.

Matt Chambers

Iā€™ve posted an update to the app that adds some of the new features that Ask Alexa recently released. @MichaelS has added some really cool stuff to Ask Alexa and here are some of the features that have made their way to Device Monitor because of his great work.

  • Message Queue support. Have Device monitor notifications go to specific Ask Alexa Queues.

  • Have Ask Alexa notifications expire after a set number of hours (so that they are removed from the queue).

  • If you elect to have reminder notifications sent to Ask Alexa, you can have them overwrite each other so that they do not accumulate over time.

2 Likes

Great update Eric, thank you.

2 Likes