g.billings Posted April 10 Posted April 10 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 Quote
paulbates Posted April 10 Posted April 10 (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 April 10 by paulbates 1 Quote
Geddy Posted April 11 Posted April 11 @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). Quote
g.billings Posted April 12 Author Posted April 12 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 Quote
oberkc Posted April 13 Posted April 13 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. Quote
g.billings Posted Wednesday at 10:28 PM Author Posted Wednesday at 10:28 PM Thanks for that. Weird part is, the program used to work, but who knows. Quote
oberkc Posted Thursday at 01:00 AM Posted Thursday at 01:00 AM 2 hours ago, g.billings said: Weird part is, the program used to work, but who knows. Yes, weird. It is hard to understand how the program is different before you made changes to the "dimming and timing". Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.