Jump to content

On timer?


mitch236

Recommended Posts

Posted

Is there a way to write a program that would detect when a switch is activated (the light turned on) and automatically turn it off in a designated amount of time?

 

Like:

 

If:

Light A is On

 

Then:

Wait 15 minutes

Set Light A Off

Posted

Here is one I use for a closet light.

 

I use the "Status" option so the light will go off after 10 minutes no matter how it was turned on. If you want it to only timeout when the physical switch is pressed you should use "Control" rather than "Status".

 

Also, I use "is not Off" rather than "On" in the event the light is turned on at a dimmed level (i.e. 40%).

 

If
       Status  'Closet' is not Off

Then
       Wait  10 minutes 
       Set 'Closet' Off

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


Posted

ISY would see insteon traffic. However, part of the process with ISY is to add (link) devices to it. One sets the ISY into linking mode, then does the same for the device. This process identifies each device to the ISY.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


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