Jump to content

Fast On Command


CPrince

Recommended Posts

So I started working on "Fast On" and "Fast Off" commands to do rudimentary tasks like refilling the hot tub, turning on and off under the counter lighting,  etc.  It all works well.  The only problem is the light switch used to issue the command will either go on or off based on the command.  I would like it to go back to the current state.  For example, If the dinning room light is off and I double tap the dinning room light wall switch on 2 times, the hot tub water will go on for 10 minutes.  However the dinning room light was originally off and is now on.  I have thought about querying the dinning room light every 5 minutes for its state and socking it away as a variable.  I am already doing this to monitor a lamp in the living room.  Any time the lamp is brighter than 30%, I have it switch to 27%.  Believe me 27% just works perfect for these LED bulbs.  BIG difference. To do this I have a routine running all day to catch this.  Don't know how much the ISY likes this.  I do have it set for 10 minute intervals.

Link to comment

I think these two program would do what you like.  Of course, you will not be able to use "fast on" to actually turn the light on. It will always go back to where it was before.

 

tes - [ID 008E][Parent 0093]

If
        'Kitchen / Kitchen-3 Cans L' is switched Fast On
 
Then
        Set 'Kitchen / Kitchen-3 Cans L' On '$stest %'
 
Else
   - No Actions - (To add one, press 'Action')
 


 

test - [ID 0006][Parent 0093]

If
        'Kitchen / Kitchen-3 Cans L' Status is Off
     Or 'Kitchen / Kitchen-3 Cans L' Status is not Off
 
Then
        Wait  1 second
        $stest  = 'Kitchen / Kitchen-3 Cans L' Status 
 
Else
   - No Actions - (To add one, press 'Action')

 

Link to comment

@apostolakislThanks for the routine.  It has been driving me crazy for 2 days.  It works, It doesn't work.  Roll the dice.  I tried all sorts of stuff.  Messing with timing and delays.  I was chasing my tail. I finally tied in my living room switch in addition to my dining room switch.  Living room is spot on dining room is a toss up.  Must have a funky dining room switch.
 

 

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.9k
    • Total Posts
      370.2k
×
×
  • Create New...