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 my program for motion lights

Featured Replies

Posted

I have outside lights I want to be on at dusk till 11pm, then only turn on with motion from 11pm to sunrise.

Right now they stay on all the time...

 

Here is my programs:

 

If

From Sunset

To 11:10:00PM (same day)

 

Then

Set 'Outside Garage' On

Disable Program 'Garage Outside Motion'

 

Else

Set 'Outside Garage' Off

Enable Program 'Garage Outside Motion'

Run Program 'Garage Outside Motion' (Else Path)

 

 

 

 

If

Status 'Outside Garage Motion-Sensor' is On

Or Elk Zone 'Motion - Front' is Violated

And From Sunset

To Sunrise (same day)

 

Then

Set 'Outside Garage' On

 

Else

Wait 15 minutes

Set 'Outside Garage' Off

This Program needs parens

 

If

(

Status 'Outside Garage Motion-Sensor' is On

Or Elk Zone 'Motion - Front' is Violated

)

And From Sunset

To Sunrise (same day)

 

Then

Set 'Outside Garage' On

 

Else

Wait 15 minutes

Set 'Outside Garage' Off

 

Also need to know what motion sensor options are in effect. Things like On Only mode can affect how a Program like this is coded.

Given your program, this could also be caused by the configuration of the motion sensor. I believe thay can be set to send only "on" commands. If yours is set this way, your program would not turn the lights off (except at sunrise).

 

I am also assuming your elk zone is not in a constand "violated" state.

I do believe that the time condition of "From Sunset to Sunrise (Same Day)" may be a problem as well. I think you want "From Sunset to Sunrise (Next Day)"

 

-Xathros

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.