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.

If Device Turns, Turn off after x minutes - Please Help

Featured Replies

Posted

Hey guys,

I want to create a simple program. Once a device (Towel Heater) turns on I want to automatically turn it back off after x minutes. The devices draws a lot of power and often people forget to turn it off. I tried to create the attached program but it doesn't seem to work.

Does anyone have suggestions on how I can get this program to work properly?

Thanks!

Philipp

 

Screen Shot 2020-01-24 at 12.45.28 PM.png

I have a bathroom fan that turns off after 5 minutes when two conditions are met.  Similar to what you have in the IF statement.  What I have found works for me is to add a AND statement that the <device> is not "Off"

If

Status "Devices / Master Bathroom / Towel Heater' is On

AND Status "Devices / Master Bathroom / Towel Heater' is not Off

Test it by changing the time limit to 30 Seconds and see if this helps.

 

Did you mean to turn off the scene or the Towel Heater?  Is the scene set up correctly?

Edited by Mecheng70
noticed the scene

14 minutes ago, Venicenerd said:

Hey guys,

I want to create a simple program. Once a device (Towel Heater) turns on I want to automatically turn it back off after x minutes. The devices draws a lot of power and often people forget to turn it off. I tried to create the attached program but it doesn't seem to work.

Does anyone have suggestions on how I can get this program to work properly?

Thanks!

Philipp

 

Screen Shot 2020-01-24 at 12.45.28 PM.png

Your screen shot shows the program was not saved.

Why are you using a scene to turn it off? Does the scene turn the heater On. so Off turn it off or the opposite?

Edited by larryllix

Archived

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

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.