tr2ky Posted January 25, 2013 Share Posted January 25, 2013 I have programmed our security system to turn on with a goodnight button which locks all doors, and turns off all interior lights, etc. I also programmed a button on a six button pad to turn on the master bath lights and to disarm the security system in the mornings. The problem is that if the six button is hit again to turn on the bathroom lighting, the security code is entered again and resets the security system, which obviously is tripped on exiting any door.I attempted to use a conditional "if the security system is on", but obviously I don't know all the steps needed to accomplish my goal. I only want the system disarmed when the light is turned on...I don't want it to re-arm the security system if it is already off.Thanks for any help. Link to comment Share on other sites More sharing options...
msgreenf Posted January 25, 2013 Share Posted January 25, 2013 Did you indent your code in your if? Link to comment Share on other sites More sharing options...
tr2ky Posted January 25, 2013 Author Share Posted January 25, 2013 Probably not...since I don't understand what you mean by "indent" Link to comment Share on other sites More sharing options...
Cyknight Posted January 25, 2013 Share Posted January 25, 2013 The programming you want to trigger "IF" something happens should start slightly off to the right of where the IF startsIF motion trigger--turn on lightYou do this by dragging and dropping the code on TOP of the IF statement in programming Link to comment Share on other sites More sharing options...
tr2ky Posted January 25, 2013 Author Share Posted January 25, 2013 My thanks to you both!Intentions completed and system now programmed properly! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.