Jump to content

isenbje

Members
  • Posts

    13
  • Joined

  • Last visited

isenbje's Achievements

Newbie

Newbie (1/6)

0

Reputation

  1. isenbje

    "wait" command

    I will take the suggested route and split the program.
  2. isenbje

    "wait" command

    Rather than splitting the program I believe I can achieve the same end result by introducing the program-variable ContinueHolyMorning shown below (in 3 places). When the program below starts executing it is immediately set to true thereby keeping the 'then' part of the if statement true (avoiding early termination due to a change of status) until the very last statement in the program is executed, when it is set to false. This should prevent the program from aborting. Thank you for pointing out that there are many ways to "skin the cat". If Program 'IsShabbatOrYomtov' is True And ( ( Time is 7:00:00AM And Program 'is9Minyan' is False ) Or ( Time is 7:30:00AM And Program 'is9Minyan' is True ) Or Program 'ContinueHolyMorning' is True ) Then Run Program 'ContinueHolyMorning' (Then Path) Set 'Dafna's Bathroom' On Wait 30 minutes Set 'Curlers' On Set Scene 'Master Bathroom' On Set Scene 'Closets' On Set 'Upstairs Bathroom' On Set 'Jerry's Bathroom' 50% Wait 2 hours Set 'Curlers' Off Set Scene 'Master Bathroom' Off Set Scene 'Closets' Off Set 'Upstairs Bathroom' Off Set 'Jerry's Bathroom' Off Set 'Dafna's Bathroom' Off Run Program 'ContinueHolyMorning' (Else Path) Else - No Actions - (To add one, press 'Action')
  3. isenbje

    "wait" command

    Thank you. In order to solve the problem I will break out the program following oberkc's suggestion shown above. I feel this is a bug in the programming. There should be a way to give a wait command that does not allow the status to be reevaluated.
  4. isenbje

    "wait" command

    That is what happens according to the log. Program begins execution at 7 AM and then aborts at 7:30. isMinyan is false and IsShabbatOrYomtov is true. I reran it this morning. The isMinyan and IsShabbatOrYomtov parameters had not changed their status. Is it possible that the program aborts because the wait command forces it to recalculate the time and the change from 7 AM to 7:30 AM forces it to stop execution? Sprinkler program ran to completion.
  5. isenbje

    "wait" command

    Neither status was changed.
  6. isenbje

    "wait" command

    Thank you for your suggestion. FYI from my log 1. Both programs started executing at 7:30 AM Saturday morning 2. The command "Set 'Dafna's Bathroom' On" in the 1st program executed successfully. 3. The second program for the sprinkler system executed completely 4. None of the commands in the 1st program after the command noted above were executed. I can try your suggestion, but can you explain why it could solve the problem?
  7. isenbje

    "wait" command

    If Program 'IsShabbatOrYomtov' is True And ( ( Time is 7:00:00AM And Program 'is9Minyan' is False ) Or ( Time is 7:30:00AM And Program 'is9Minyan' is True ) ) Then Set 'Dafna's Bathroom' On Wait 30 minutes Set 'Curlers' On Set Scene 'Master Bathroom' On Set Scene 'Closets' On Set 'Upstairs Bathroom' On Set 'Jerry's Bathroom' 50% Wait 2 hours Set 'Curlers' Off Set Scene 'Master Bathroom' Off Set Scene 'Closets' Off Set 'Upstairs Bathroom' Off Set 'Jerry's Bathroom' Off Set 'Dafna's Bathroom' Off Else - No Actions - (To add one, press 'Action') If Program 'isRaining' is False And ( On Sat, Tue, Thu Time is 7:30:00AM ) Then Set 'Sprinkler / Zone1 Streetside' On Wait 8 minutes Set 'Sprinkler / Zone1 Streetside' Off Set 'Sprinkler / Zone2 Roses along sidewalk' On Wait 5 minutes Set 'Sprinkler / Zone2 Roses along sidewalk' Off Set 'Sprinkler / Zone3 Front edge of house' On Wait 5 minutes Set 'Sprinkler / Zone3 Front edge of house' Off Set 'Sprinkler / Zone4 South edge of house' On Wait 5 minutes Set 'Sprinkler / Zone4 South edge of house' Off Set 'Sprinkler / Zone5 Poolside' On Wait 5 minutes Set 'Sprinkler / Zone5 Poolside' Off Else - No Actions - (To add one, press 'Action')
  8. isenbje

    "wait" command

    I have 2 programs that are programed to start executing at the same time. Both contain wait commands. It appears that after one program executes a wait command the second program reevaluates its start time, at which point it stops executing. What to do?
×
×
  • Create New...