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.

Program does not work like I want it to

Featured Replies

Posted

I'm new at this, I can't get my yard lights to turn off when I want them to,they stay on all night.

Until dusk to dawn shuts them off. It turns on OK, but not off.

 

Here's a picture of the program I'm using, I just need a little help until I become better.

 

Thanks Tim

 

Darn , I see the problem, I have it being turned on instead of off :oops:

post-3118-14047416522_thumb.jpg

You need an "On" and an "Off" command to do both. The "Responding" condition shouldn't be in there.

 

Multiple times need to have "OR" logic. Both can never be true at the same time and therefore your "Then" will never get executed, only the empty "Else"

 

If

. On Sat, Mon, Wed

. Time is 2:00 AM

OR

. On Fri, Tues, Thu

. Time is 1:00 AM

 

Then

. Set 'YardLights' On

. Wait 2 Hours

. Set 'YardLights' Off

 

Else

-

Your post mentions wanting your yard lights to turn off, but then your program has them turning on.

Perhaps you can better clarify what you want?

 

I'm guessing you want them to turn off at 11 PM Sun-Thurs, and 2 AM Fri/Sat (really Sat/Sun)?

 

If so, I would use this:

If
       On Sun, Mon, Tue, Wed, Thu
       Time is 11:00:00PM
    Or On Sat, Sun
       Time is  2:00:00AM

Then
       Set Scene 'Outside' Off

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

You don't need to check if they are on, just turn them off. If they are already off, they will stay off.

Your post mentions wanting your yard lights to turn off, but then your program has them turning on.

Perhaps you can better clarify what you want?

 

I'm guessing you want them to turn off at 11 PM Sun-Thurs, and 2 AM Fri/Sat (really Sat/Sun)?

 

If so, I would use this:

If
       On Sun, Mon, Tue, Wed, Thu
       Time is 11:00:00PM
    Or On Sat, Sun
       Time is  2:00:00AM

Then
       Set Scene 'Outside' Off

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

You don't need to check if they are on, just turn them off. If they are already off, they will stay off.

 

He edited his post yesterday pointing out that he made a silly mistake accidentally commanding the lights to turn on when he meant to put off.

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.