Time2Jet Posted September 23, 2019 Posted September 23, 2019 I’m hoping for some help learning to program with the timer agent. At this point, very simple stuff. I’ve been trying to no avail. Two scenarios involving bathroom exhaust fans and lights. (I’ll eventually do occupancy sensing for that lighting). Switches are all Caseta. I started by creating a timer (10 mins) in Agents Tab. Then in the Programming tab I start at the device, 1. when turned “on”, 2. add the timer, 3. add the “If” statement timer expires, 4. then finish with turn off. I just found that to be logical. No good. Switch turns on and back off in 5 seconds. I know I can do a delay, but I want to do this with the timer agent for reasons involving some ideas I have and want to be more fluent. Thanks in advance. Sent from my iPhone using Tapatalk
ILoveC4 Posted September 23, 2019 Posted September 23, 2019 Turning on the fan starts the timer. To turn off the fan, you put that under the programming for when the timer expires.
Time2Jet Posted September 23, 2019 Author Posted September 23, 2019 Turning on the fan starts the timer. To turn off the fan, you put that under the programming for when the timer expires. Thanks @ILoveC4I’m starting in Programming and at the device. If I click on the device there are three boxes below to check. I check When device is “on”, then go to the set up 10 min timer and drag it in. Then over to the right tree and select the device again and add the if statement (when timer expires) drag it in followed by dragging in the “off” command? And ...nope. No good. Manually turn fan on and it goes off in 5 secs. Maybe I should take a picture tomorrow. Sent from my iPhone using Tapatalk
South Africa C4 user Posted September 23, 2019 Posted September 23, 2019 Are you sure you created a 10 minute timer and not a 5 (or 10) second timer?
Thepritch88 Posted September 24, 2019 Posted September 24, 2019 Instead of using the “if timer expires” line Select the timer on the left side and choose the option for “when timer expires” put the turn fan off action here
Time2Jet Posted September 24, 2019 Author Posted September 24, 2019 Are you sure you created a 10 minute timer and not a 5 (or 10) second timer?First thing I checked! Made sense that could have been. Wasn’t Sent from my iPhone using Tapatalk
Time2Jet Posted September 24, 2019 Author Posted September 24, 2019 Sent from my iPhone using Tapatalk
Time2Jet Posted September 24, 2019 Author Posted September 24, 2019 Runs for 5 secondsSent from my iPhone using Tapatalk
ILoveC4 Posted September 24, 2019 Posted September 24, 2019 First of all, the third line shouldn’t be there at all. Second of all, anything under a conditional needs to be nested. The way you have it now, the conditional of “If timer is expired” isn’t influencing the turning off of the fan. To turn the fan off, you won’t do it here. You’ll do it under the programming for the timer event. When the timer expires, turn the fan off.
ILoveC4 Posted September 24, 2019 Posted September 24, 2019 Maybe I can find some time today to take some screenshots for you. I’m surprised it runs for 5 seconds before it turns off.
Time2Jet Posted September 24, 2019 Author Posted September 24, 2019 First of all, the third line shouldn’t be there at all. Second of all, anything under a conditional needs to be nested. The way you have it now, the conditional of “If timer is expired” isn’t influencing the turning off of the fan. To turn the fan off, you won’t do it here. You’ll do it under the programming for the timer event. When the timer expires, turn the fan off. Perfect. Got it. It works! Thanks@ILoveC4Sent from my iPhone using Tapatalk
South Africa C4 user Posted September 24, 2019 Posted September 24, 2019 1 hour ago, ILoveC4 said: Maybe I can find some time today to take some screenshots for you. I’m surprised it runs for 5 seconds before it turns off. Should be more like 5 milliseconds...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.