Jump to content

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


Recommended Posts

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

Link to comment

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?

Link to comment
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?

Link to comment

Archived

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


×
×
  • Create New...