Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Howto: When was last motion detected?

Featured Replies

This is sort of a tip but also a question is there a better way to do this?

 

Basically what I have is a series of programs which based on their True/False status I can determine when the last motion was detected in an area.

 

Program: Family Trigger

If
       Control 'Sensor/Family Room-Sensor' is switched On
    Or Status  'Sensor/Family Room-Sensor' is On

Then
  - No Actions - (To add one, press 'Action')

Else
  - No Actions - (To add one, press 'Action')

 

The 'Family Trigger' program briefly be True when motion is first detected or while motion is being detected. It is not very useful by it self but now you can do this:

 

Program: Family 2 min

If
       From    Last Run Time for 'Family trigger'
       For      2 minutes 

Then
  - No Actions - (To add one, press 'Action')

Else
  - No Actions - (To add one, press 'Action')

 

This program uses the last run time of 'Family Trigger' to create an if condition that is only True for 2 minutes since the last time Family Trigger saw any motion. It is easy to create multiple versions of the 'Family 2 min' for any number of intervals: 1,2,5,10,15 minutes etc.

 

"Where are the kids? I don't know, but there was motion in the garage 5 minutes ago I bet they are riding their bikes!" :idea:

 

Suggestions? Improvements? Uses? :?:

 

--Rick

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.