Jump to content
AT&T to end email-to-text ×

Schedule just stopped working and now seems haunted


Recommended Posts

Posted

I have two scenes for my master bathroom lights - an AM and PM - to keep from blinding ourselves if someone needs to get up to use the bathroom in the middle of the night. Like many things with the ISY994, it's a pretty cool party trick.

When the switch is turned on, the lights are supposed to come on dimmer from sunset until sunrise. Sunrise to sunset, they come on brighter. 

After making some changes to the dimming and timing, the program suddenly started turning the lights on at sunrise. It's a heck of a way to wake up.

I'm running 5.3.4.

There are no other programs conflicting (either through ISY or Alexa) and it's turning on right at sunrise. 

I've tried putting the sunset to sunrise at the beginning and end with the same result.

Any help would be apprecaited!

Thanks - Grant 

Screenshot 2025-04-10 at 7.04.15 PM.png

Posted (edited)

I see a potential issue.  There need to be braces {} the statements -- 

If
    From Sunset
    to Sunrise next day
 And
{
 'Masterbath ceiling' switched on
or
 'Master suite' switched on
}

Then
  .....

I think that's what you mean. I didn't type everything all the way out, but you get the idea. The bottom two need to be logically put in a group or you will get unexpected results

Edited by paulbates
  • Like 1
Posted

@g.billings FYI - when needing program help it's easier if you post the program in text format. Right clicking on the program and selecting "Copy to Clipboard" (the last option...be sure to use COPY). Then pasting the text into the forum post. This allows others that try to help to make text edits to the program rather than having to type it out or to try to describe what to change on a picture/screenshot. 

 

I have a program that does the exact same thing for the exact same reason. I simply adjust the "on" level though.

Night-MWC- [Run At Startup]

If
        From     11:30:00PM
        To      Sunrise +  1 hour  (next day)
 
Then
        Set 'MWC' On Level 30%
 
Else
        Set 'MWC' On Level 100%
 

 

With your program when you hit the "Sunrise" time it's turning whatever is "Master AM" ON. If that's a scene then it's turning that scene on. You need to change it to setting the ON LEVEL back to 100% (or whatever you want/need during the day).

 

Posted

Thank you both.

The brackets seem to make sense, but I can't for the life of me figure out how to add them.

Also, my goal is to have the lights respond to the switch one of two ways depending on the time of day. Dark outside, softer lights. Daytime, brighter lights. I do not want the lights to come on automatically. 

I love the idea of doing this with one program - like it used to work. If someone can explain the brackets, I'd be grateful. 

Otherwise, I'm going to just try two programs using the and command.

Best - Grant 

Posted

I think the parentheses comments are a possible issue, but not the cause of your lights coming on at sunset, and sunrise.  Your progrm will run the ELSE path any time the program is triggered (sunrise, sunset, switches controlled on) but evaluates false.  Your program will always run ELSE path at sunrise and sunset, because it will always be false at those two trigger points.  When that happens, the master am scene will turn on.

I understand that you may want to accomplish your goals in a single program, but this may not be possible.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...