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.

Show last motion time

Featured Replies

Posted

Is there a way in UD Mobile app to show the last time a motion sensor detected motion or device was used?  Either a timestamp or relative time reference?

I had an alarm system at my previous house that would allow me to see when the last time a device or motion sensor was triggered and that was very helpful to view when I was away from home. It was a nice simple dashboard to easily see in a glance.

 

Thanks! 

I use variables to track when a motion sensor is activated and or turns off...  These are not complete, but should point you in the right direction. Also the log file will track device operations as well.

 

If  YourMotionDevice is on

Then

Variable = Minutes since start of day  

 

_____________________________________________________

AllMotionSetCalcTime - [ID 0039][Parent 0032]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        $iAllMotionOffCurrentTime  = [Minutes since start of day]
 
Else
   - No Actions - (To add one, press 'Action')
 
Sets iAllMotionOffCalcTime to minutes since start of day.
Used to determine how long since motion detectors have been All Off

__________________________________________________________________----

MotionOn - [ID 0035][Parent 0032]

If
        'LivingRoomMotion.1 Motion' is switched On
     Or 'GarageMotion Motion Sensor' Status is On
 
Then
        $sMotionOn  = 1
        $sMotionOff  = 0
        $iAllMTime  = 0
        $iVacant  = 0
 
Else
   - No Actions - (To add one, press 'Action')
 
 Warning:  Unrecognized Condition (program may not run)
<control OP="IS" NODE="ZW009_155" ID="DOF"/>

 

 

2 hours ago, ryan.mercer said:

Is there a way in UD Mobile app to show the last time a motion sensor detected motion or device was used?  Either a timestamp or relative time reference?

I had an alarm system at my previous house that would allow me to see when the last time a device or motion sensor was triggered and that was very helpful to view when I was away from home. It was a nice simple dashboard to easily see in a glance.

 

Thanks! 

Not directly, but possible with a program as a favorite.   Programs show last run time, so if the sensor is used as a trigger, then the program last run time will be the last time the sensor was triggered.   In UD Mobile create a favorite with the program and change the display status to Last Run Time.  Initial Program status is disabled by default, so this must be enabled in system settings (Settings-Tab > System > System-Name > Program and Variable Settings.

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.