Jump to content

Scene, program, variable help needed


EricK

Recommended Posts

Problem: Rear spots are turning off when I am grilling.  

I have a door sensor (triggerlinc) for a back patio door.  When the door opens I have the following program to turn on the rear spots.

If
        (
             Control 'GR Door Sensor-Opened' is switched On
          Or Status  'GR Door Sensor-Opened' is On
        )
    And From    Sunset  + 10 minutes
        To      Sunrise - 15 minutes (next day)
 
Then
        Wait  2 seconds
        Set Scene 'Outside / Outside Rear Spots' On
 
Else
   - No Actions - (To add one, press 'Action')
 

I then have the following program to turn off the lights.  This is in case the lights are turned on by the switch.  I could use control so only the physical switch press will turn the lights off.  Would need to add a scene off to the else in the above program.

If
        Status  'Outside / Outside Rear Spots' is On
 
Then
        Wait  15 minutes 
        Set Scene 'Outside / Outside Rear Spots' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

I have a green egg scene that is activated when I double tap a patio KPL button, which includes the rear spots.  So I was outside last night and then the spots turned off on me

If
        Control 'Great Room / Great Room Devices / GR Patio KPL - A Patio' is switched Fast On
 
Then
        Wait  3 seconds
        Set Scene 'Outside / Big Green Egg' On
 
Else
   - No Actions - (To add one, press 'Action')
 

I have some disabled programs with a green egg integer variable.

If
        Control 'Great Room / Great Room Devices / GR Patio KPL - A Patio' is switched Fast On
 
Then
        Wait  2 seconds
        Set Scene 'Outside / Big Green Egg' On
        $i.EggScene  = 1
 
Else
   - No Actions - (To add one, press 'Action')
 

and

If
        (
             Control 'Great Room / Great Room Devices / GR Patio KPL - A Patio' is switched Off
          Or Control 'Great Room / Great Room Devices / GR Patio KPL - A Patio' is switched Fast Off
        )
    And $i.EggScene is 1
 
Then
        Wait  3 seconds
        Set Scene 'Outside / Big Green Egg' Off
        $i.EggScene  = 0
 
Else
   - No Actions - (To add one, press 'Action')
 

Do I just need to get rid of the third program.  Change the second program to:

If
        Status  'Outside / Outside Rear Spots' is On
 
Then
        Wait  15 minutes 
        Run Program 'Rear Spots Off if BGE =0' (If)
 
Else
   - No Actions - (To add one, press 'Action')
 

and then add this program

If
        $i.EggScene is 0
 
Then
        Set Scene 'Outside / Outside Rear Spots' Off
 
Else
   - No Actions - (To add one, press 'Action')

Thanks,

E

Link to comment

Problem: Rear spots are turning off when I am grilling.  

....

I then have the following program to turn off the lights.  This is in case the lights are turned on by the switch.  I could use control so only the physical switch press will turn the lights off.  Would need to add a scene off to the else in the above program.

If
        Status  'Outside / Outside Rear Spots' is On
 
Then
        Wait  15 minutes 
        Set Scene 'Outside / Outside Rear Spots' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

...

Thanks,

E

IMHO this is your problem using status. It measures the device instead of the signal that identifies the source.

 

If

         Control 'Outside / Outside Rear Spots' is switched On

         Control 'Outside / Outside Rear Spots' is NOT switched Off

 

Then

        Wait  3 hours

        Set Scene 'Outside / Outside Rear Spots' Off

Else

        Set Scene 'Outside / Outside Rear Spots' Off  <---switch already does this via load connection

Link to comment

Apparently you need to disable the off timer when you run the green egg scene (does that have something to do with ham :)

set the variable to 1 in the green egg program then include it in the timer program.

 


If
Control 'Great Room / Great Room Devices / GR Patio KPL - A Patio' is switched Fast On

Then
$i.EggScene = 1
Wait 3 seconds
Set Scene 'Outside / Big Green Egg' On

Else
- No Actions - (To add one, press 'Action')
If
            Status 'Outside / Outside Rear Spots' is On
and      $i.EggScene = 0

Then
           Wait 15 minutes 
           Set Scene 'Outside / Outside Rear Spots' Off

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

Jon...

Link to comment

Jon,

I was thinking I had to add a new program, the last one I had in my post, but I think the way you suggested should work fine.

Larry,

It is not really the issue of control vs status. If I just have a timer based upon the door sensor, then anytime I go outside that timer will run. That is why I think I need the variable to let the isy know that I am grilling or smoking (not cigarettes) and the rear spots should stay on.

 

Eric

Link to comment

...

Larry,

It is not really the issue of control vs status. If I just have a timer based upon the door sensor, then anytime I go outside that timer will run. That is why I think I need the variable to let the isy know that I am grilling or smoking (not cigarettes) and the rear spots should stay on.

 

Eric

 

By changing it to a control trigger, you can select which device signal has turned it on and you can activate the off timer from only that trigger.

 

By sensing the status of the lights it doesn't matter what turned them on, they are going to turn off again the way your second program is written.

 

This seemed to be your complaint.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.6k
    • Total Posts
      367.9k
×
×
  • Create New...