Notify someone if NO movement within a period of time

Wanted to share this project in case anyone else could benefit from it.

Problem:
Older person living alone; wants to notify neighbor if no movement detected over a certain period of time, which could indicate a serious health problem: a fall, serious illness, or, god forbid, worse.

Former ‘Elder Care’ SmartApp that ran on the legacy platform was soon to be end-of-life.

Solution:
I have an Edge driver that can be configured to track elapsed time and/or a simple increment/decrement counter. For purposes of this project, the device can be configured to use an elapsed time tracking resolution of seconds, minutes, hours, days, or weeks. It can also be configured to update the elapsed time value on a specified frequency, i.e. every n seconds.

Using this driver, it was fairly easy to set up a few automation routines to accomplish the goal.

  • Configure the counter device for a resolution of seconds and update frequency of 60 seconds

  • Create an automation routine that checks the duration value of the counter device to see if it has reached a certain number of seconds. If it has, send an SMS message to neighbor and reset the elapsed time value to 0

  • For each desired motion device, create an automation routine where, if motion is detected, reset the counter device elapsed time value to 0

That’s all there was to it. The elapsed time tracking simply ticks along continuously but gets reset to 0 whenever motion is detected. However if no motion gets detected for a specified period of time, a neighbor is alerted via text message.


Disclaimer: Neither this driver’s author nor Samsung SmartThings make any guarantee regarding this solution and it should not be relied upon for critical care situations!


For anyone interested in using this driver (Edge Counter Utility V1), it is available on my shared projects channel here, and discussion can be found in this topic.

Thanks to @wptracy for the inspiration for this project.

10 Likes

Nice! :sunglasses:

We should just note that, unlike the first generation architecture option that this replaces, this will require that the user have a smartthings/Aeotec hub, since that’s where the edge driver runs.

4 Likes