Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

On timer?

Featured Replies

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

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


  • Author

So I don't need to program the actual switch? How does the ISY know that the switch was turned on? Or does the ISY get notified every time a switch's status is changed?

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.