Jump to content

Fast On Command


CPrince

Recommended Posts

Posted

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.

Posted (edited)

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')

 

Edited by apostolakisl
  • Like 1
Posted

@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.
 

 

Posted

Fixed the the intermittent problem.  There were 18 links in the device. I did a "restore device".  Now there are 4.  Now it works as it should.

  • Like 2
Guest
This topic is now closed to further replies.

  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.6k
×
×
  • Create New...