Jump to content

Outside program - "movie night" override?


RichTJ99

Recommended Posts

Posted

Hi,

I have an "outside" scene which has all my lights for outside (C button most places).  I have a program that works with some motion sensors - motion at night = lights on for 30 minutes, then off.  A program for a driveway alarm, etc.

Great during the winter when I am stuck inside, not so great these days.  

 

I would love a program I could initiate which would 'pause' these other programs for 4 hours  & then auto enable them?

 

Ideally, I could run "movie" program which would enable a specific set of lights only & disregard the other programs until either the time elapses, or I disable the program (movie night ends early).

 

Any ideas how i could do that?

 

Thanks,

Rich

Driveway Start - 

If
        Control 'Leak - Motion - Trigger - Spr / Main: Trigger Drive-Opened' is switched On
 
Then
        Resource 'Driveway Alarm Beep'
        Resource 'Physical Box - small'
        Send Notification to 'Rich Email' content 'Driveway Alarm Alert'
        Run Program 'Driveway Alarm Lights2' (If)
        Wait  10 seconds
        Run Program 'Driveway Alarm Basement' (If)
        Wait  10 seconds
        Run Program 'Driveway Alarm Master Bath' (If)
 
Else
   - No Actions - (To add one, press 'Action')
 

Driveway Alarm Lights2 

If
        From     7:30:00PM
        To       5:15:00AM (next day)
 
Then
        Set Scene 'Scenes / Outside' Fast On
        Wait  15 seconds
        Wait  25 minutes 
        Wait  5 seconds
        Set Scene 'Scenes / Outside' Fast Off
 
Else
   - No Actions - (To add one, press 'Action')
 


Driveway Alarm Basement - 

If
        Status  'Main House / Basement / Main: Basement Gym Rear' is not Off
    And Control 'Leak - Motion - Trigger - Spr / Main: Trigger Drive-Opened' is switched On
 
Then
        Run Program 'Driveway Alarm Basement Flash' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 

Driveway Alarm MBath Flash 

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Set Scene 'Scenes / Scene: Mbath Off' Fast On
        Wait  3 seconds
        Set Scene 'Scenes / Scene: Mbath Off' Off
        Wait  3 seconds
        Set Scene 'Scenes / Scene: Mbath Off' Fast On
        Wait  3 seconds
        Set Scene 'Scenes / Scene: Mbath Off' Off
        Wait  3 seconds
        Set Scene 'Scenes / Scene: Mbath Off' Fast On
 
Else
   - No Actions - (To add one, press 'Action')
 



Outside Motion Start:
Outside Motion Start -

If
        Control 'Outside motiobn-Opened' is switched On
 
Then
        Send Notification to 'Rich Email' content 'Outside Motion Altert'
        Run Program 'Outdoor Motion' (If)
 
Else
   - No Actions - (To add one, press 'Action')
 
Outside Motion:
Outdoor Motion - 

If
        From     9:35:00PM
        To       5:35:00AM (next day)
 
Then
        Set 'Outside / Main Front / Outside: Driveway Path Lights' On
        Set 'Outside / Main Front / Outside: 3 Car Floods' On
        Set 'Outside / Pool House / Outside: Super Up Lights' On
        Set 'Outside / Pool House / Outside: Playground Super Upl' On
        Wait  35 minutes and 10 seconds
        Set 'Outside / Main Front / Outside: 3 Car Floods' Off
        Set 'Outside / Main Front / Outside: Driveway Path Lights' Off
        Set 'Outside / Pool House / Outside: Playground Super Upl' Fast Off
        Set 'Outside / Pool House / Outside: Super Up Lights' Fast Off
 
Else
   - No Actions - (To add one, press 'Action')
 


 

 

Posted

You do know there is a program step that allows you to enable and disable other programs?

Movie program would disable all the programs you don't want running, maybe adjust/turn on an outside lighting scene, wait 4 hours, enable the programs you previously disabled.

Maybe enable/disable programs is a V5 feature only and you are on V4?

Posted

Would this work?

 

Movie Program Start - [ID 00D9][Parent 00DB]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Run Program 'Movie Program' (If)
        Stop program 'Driveway Start'
        Disable Program 'Driveway Start'
        Stop program 'Outside Motion Start'
        Disable Program 'Outside Motion Start'
        Wait  4 hours 
        Enable Program 'Outside Motion Start'
        Enable Program 'Driveway Start'
 
Else
   - No Actions - (To add one, press 'Action')

 

Posted

You’d have to test it I supposed but I don’t believe this is quite what you want.  It’s close though.  When your “Movie Program Start” program branches to “Run Program ‘Movie Program’ (IF)” I don’t think the program flow would ever come back to finish the (THEN) portion of “Movie Program Start”.

 

What you could do is run your “Movie Program” and at the end of it’s (THEN) section you’d additionally type:  Run Program ‘Programs Disable’ (THEN)    

In the new “Programs Disable" program THEN section you’d have:

                Stop program ‘Driveway Start’

                Disable Program ‘Driveway Start’

                Etc

                Wait 4 hours

                Enable ‘Outside Motion Start’

                Enable ‘Driveway Start’

Nothing would go in the (IF) section. 

“Programs Disable” would be a new program.  Call it what you want.  This program itself should be disabled and will only run when called by “Movie Program”.

 

At least this might be a good start.

Posted

I believe your program should work as is.

A few notes:

You don't need to stop a program before you disable it (just disable it).

"Run Program 'Movie Program' (If)" will not stop execution of the currently running 'Movie Program Start' (unless that program purposely stops it)

If doesn't have to finish before the rest of the current program continues.

What does 'Movie Program' do?

 

Posted

Another thought could be to make the time conditions relative to sunset. At least here in the Northern Latitudes there’s significant swing in sunset time. I’d start there while thinking of when you really need these to come on. Then go down the movie —> disable route if needed.


Sent from my iPhone using Tapatalk

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...