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.

Motion sensor on front porch

Featured Replies

Posted

I have a new motion sensor on the front porch connected to the light. It is set to occupancy mode and On only.

 

What I want is if all of us are away, and the motion sensor is tripped, I want a notifcation every minute.

 

I have everything except for the alert working like I want. How do I get it to alert me on the first trip and the wait a minute and then alert me again if there is still motion?

Program 1
If
        Control 'Motion Sensor' is switched On
 
Then
        Send Notification to 'me'
        Run Program 'Program 2' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 
Program 2

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Disable Program 'Program 1'
        Wait  1 minute
        Enable Program 'Program 1'
 
Else
   - No Actions - (To add one, press 'Action')

  • Author

Duh, I tried doing exactly like that but all within the same program. I don't remember why it didn't work. What prevents this from being all one program. If a program command disables the program itself, does the program continue to run?

If a program is disabled, then it ceases to run until such time as another program enables if or if it's manually enabled.

  • Author

So if a program disables itself and is still executing the then loop it can't later in the same then loop re-enable itself?

The program is disabled as soon as the disabling statement is executed.

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.