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.

Different Times for Off on Friday/Saturday

Featured Replies

Posted

I would like to turn a light on at Sunset, and turn off at 11PM on weekdays (Sun-Thu), and at 12:30AM for Friday and Saturday:

 

If
   On Sun, Mon, Tue, Wed, Thu
   From Sunset
   To 11:00:00PM (same day)
Or On Sat, Fri
   From Sunset
   To 12:30:00AM (next day)

Then
   Send X10 H11/On

Else
   Send X10 H11/Off

Is my logic correct? It ran and turned on the lights this weekend, but didn't turn them on tonight (Sunday).

 

I know the first question is did I have X10 issues? I'm sure that is not a problem, as in the summary screen on the console the program did not run at sunset.

jrabin,

 

I think you would want to do the following:

If
       Time is Sunset 

Then
       Send X10 'H11/On'

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

 

If
   On Mon, Tue, Wed, Thu, Fri
   at 11:00 PM
   Or
   On Sat, Sun 
   at 12:30 AM

Then
   Send X10 H11/Off

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

With kind regards,

Michel

 

I would like to turn a light on at Sunset, and turn off at 11PM on weekdays (Sun-Thu), and at 12:30AM for Friday and Saturday:

 

If
   On Sun, Mon, Tue, Wed, Thu
   From Sunset
   To 11:00:00PM (same day)
Or On Sat, Fri
   From Sunset
   To 12:30:00AM (next day)

Then
   Send X10 H11/On

Else
   Send X10 H11/Off

Is my logic correct? It ran and turned on the lights this weekend, but didn't turn them on tonight (Sunday).

 

I know the first question is did I have X10 issues? I'm sure that is not a problem, as in the summary screen on the console the program did not run at sunset.

I would like to turn a light on at Sunset, and turn off at 11PM on weekdays (Sun-Thu), and at 12:30AM for Friday and Saturday:

 

If
   On Sun, Mon, Tue, Wed, Thu
   From Sunset
   To 11:00:00PM (same day)
Or On Sat, Fri
   From Sunset
   To 12:30:00AM (next day)

Then
   Send X10 H11/On

Else
   Send X10 H11/Off

Is my logic correct? It ran and turned on the lights this weekend, but didn't turn them on tonight (Sunday).

 

I know the first question is did I have X10 issues? I'm sure that is not a problem, as in the summary screen on the console the program did not run at sunset.

 

Your logic is correct; if it is not working it is because of a bug. I'll try to reproduce the problem here, but in the meantime it looks like Michel posted a workaround for you.

  • Author

I think you will find it's a bug. I'm running your 2.6.7 beta.

jrabin,

 

I tested your program and a bunch of similiar programs and could not reproduce the problem. There must be something else going on because after taking a closer look at the code, if these programs didn't work then nobodys schedules would be working.

 

Is it possible your program is in a Folder with Folder conditions?

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.