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.

Help With program

Featured Replies

Posted
I have a program to turn on some indoor lights if motion is sensed by my outdoor motion sensors. The program seems to run all the time rather than just 11:00 PM to Sunrise. What have I done incorrectly?

 

Thanks!!

 

 

Indoor Security Lights - [iD 0051][Parent 0001]

 

If

        From    11:00:00PM

        To      Sunrise (next day)

    And Status  '1 car Garage MS-Sensor' is On

     Or Status  '2 Car Garage MS-Sensor' is On

     Or Status  'Lower Deck MS-Sensor' is On

 

Then

        Run Program 'Indoor Security Lights 2' (Then Path)

 

Else

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

 

 

Here's the Indoor Security Lights 2 program.

 


Indoor Security Lights 2 - [iD 004E][Parent 0001]

 

If

   - No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

        Set 'Living Room Floor Lamp ZW' On

        In Scene 'Kitchen Lights' Set 'Kichen Light Switch 1' 100% (On Level)

        Set 'Living Room Table Lamp' On

        Wait  10 minutes 

        Set 'Living Room Table Lamp' Off

        Set 'Living Room Floor Lamp ZW' Off

        In Scene 'Kitchen Lights' Set 'Kichen Light Switch 1' 0% (On Level)

 

Else

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

 

 


 

 

Are you using parentheses in the IF statement? Seems like you would want parentheses around the motion statements. Find them on the Right hand side of admin console when editing program if memory serves

 

 

Sent from my iPhone using Tapatalk

Without the parentheses, as TrojanHorse suggested, the program will run during the indicated time if "1 car Garage MS-Sensor" is triggered OR anytime any one of the other sensors is triggered.

 

If

        From    11:00:00PM

        To      Sunrise (next day)

    And (

                  Status  '1 car Garage MS-Sensor' is On

             Or Status  '2 Car Garage MS-Sensor' is On

            Or Status  'Lower Deck MS-Sensor' is On

           )

  • Author

Thanks TrojanHorse and Stu.

 

Sent from my XT1650 using Tapatalk

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.