BRMeeke Posted February 28 Posted February 28 Hi I am trying to figure out how to automatically turn off the bathroom fan after a 15 minute delay. So the scenario is that the customer turns on the fan and then leaves the room. 15 minutes later, the fan automatically turns itself off. I tried to create a schedule that says Wait 15 minutes and then switch fan OFF but the only trigger that I can find is based on the current time not on the change of state when the bathroom fan turned on. I am perplexed that the Schedule is only time base and does not give me any more flexibility. What am I missing??? Does anyone have any ideas ? I thought about baking it into a scene but the scene will only let me do immediate actions not delayed actions. Thank you Brian Quote
Techman Posted February 28 Posted February 28 A simple program will work: IF Batheoom fan is on THEN wait 15 minutes turn bathroom fan off ELSE Quote
BRMeeke Posted February 28 Author Posted February 28 (edited) Thank you for your suggestion. That is similar to what I was thinking. So I created a program (see attachments) but when I turn on the bathroom fan, the program does not trigger. The fan stays on. Is there something that I have missed? Edited February 28 by BRMeeke Quote
BRMeeke Posted February 28 Author Posted February 28 I apologize for the redundance but I inadvertently put this post in the eisy thread which I realized after is really more hardware related. My question is strictly software. I am trying to figure out how to automatically turn off the bathroom fan after a 15 minute delay. So the scenario is that the customer turns on the fan and then leaves the room. 15 minutes later, the fan automatically turns itself off. I tried to create a schedule that says Wait 15 minutes and then switch fan OFF but the only trigger that I can find is based on the current time not on the change of state when the bathroom fan turned on. Does anyone have any ideas ? I have created a program (see attachments) but it does not fire. If I start the fan and then run the THEN clause, it works as I expected. Thank you Brian Quote
Solution Guy Lavoie Posted February 28 Solution Posted February 28 Instead of using "control" (is switched on) use the "status" for the If command. That way the Wait statement will execute for it's time interval. Test it with a short time initially, like 15 seconds. Quote
BRMeeke Posted February 28 Author Posted February 28 Merci Guy Changing to Control vs Status did the trick. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.