smokegrub Posted October 7, 2014 Posted October 7, 2014 (edited) Objective: When KPL G is pressed, wait 5 minutes to give me time to exit the door, then send an email notification any time thereafter that the door is opened or until KPL G is turned off. If Kitchen KPL G is 100% Then Wait 5 minutes Run Deck Door Open (Disabled) Else No Action Run Deck Door Open Program (Disabled): If Door Sensor is On Then Send Notification Else No Action The program runs only for one cycle and all further door openings do not result in a notification. By the way, I still haven't been able to figure out how to post programs here. Edited October 7, 2014 by smokegrub
EricK Posted October 7, 2014 Posted October 7, 2014 Smokegrub, I like your questions, I am learning a lot. To post your program in the admin console right click on the program and copy to clipboard. When you are typing your post click the code icon, looks like this "<>" and paste into the box. I think your problem is that the deck door program is disabled, so it only runs the one time it is called by the first program. I think you need to have the first program "then enable program 2" and when G is off disable program 2. Maybe in the else for the first program "disable program 2". We'll wait for one of the experts to give us the answer. Eric
LeeG Posted October 7, 2014 Posted October 7, 2014 (edited) Right click on Program name, select bottom entry "Copy to Clipboard". Paste into post. Need to see actual Program. The If statement in first Program does not indicate whether Status or Control is being used. The first Program is triggered once when KPL button G is pressed On. Nothing else triggers Program so program activity happens only once. Something like If Status Kitchen KPL G is 100% And Status Door Sensor is On Then Wait 5 minutes EDIT: actually above does not work because there will be a 5 minute delay the second time door is opened. Edited October 7, 2014 by LeeG
Xathros Posted October 7, 2014 Posted October 7, 2014 This is how I would do this: If Kitchen KPL G is 100% Then Wait 5 minutes Enable Program Back Deck Door Open Else Disable Program Back Desk Door Open Program: Deck Door Open If Control Door Sensor is Switched On Then Send Notification Else No Action Hope this helps. -Xathros
smokegrub Posted October 7, 2014 Author Posted October 7, 2014 (edited) Teken: Your program is spot on! You also taught me something using the enabled/disabled feature. Many thanks. Edited October 7, 2014 by smokegrub
smokegrub Posted October 7, 2014 Author Posted October 7, 2014 LeeG: When I paste in this manner I get code--not readible.
LeeG Posted October 7, 2014 Posted October 7, 2014 (edited) This what I get when "Copy to Clipboard" followed by a Paste If Status 'ApplianceLinc' is Responding Then Send X10 'G1/Off (11)' Else - No Actions - (To add one, press 'Action') Edited October 7, 2014 by LeeG
Recommended Posts