Jump to content

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


Recommended Posts

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

Posted

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?

Posted
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?

Archived

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

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      372k
×
×
  • Create New...