Jeffrey Posted February 25, 2017 Share Posted February 25, 2017 I'm trying to program some lights to turn on when the house alarm goes off. I'm not sure if I am using the correct event. The one I am using is: When Security -> Houselogix Security Integration Module receives a TROUBLE notification Turn on Kitchen Lights Turn on Family room lights Is this the proper event? Thanks, Jeff Link to comment Share on other sites More sharing options...
VINCELdUB Posted February 25, 2017 Share Posted February 25, 2017 Sorry, no it is not. the script is good but the event you have selected is for when the alarm panel registers a problem (Battery, Phoneline, Keypad disconnected, etc...) you are looking for the event called "alarm" and the event will say at topof screen, Security System Is In Alarm Happy Automating! Link to comment Share on other sites More sharing options...
Jeffrey Posted February 25, 2017 Author Share Posted February 25, 2017 Cool. Thanks Vince! I found it. I really appreciate the help. Thanks! Jeff Link to comment Share on other sites More sharing options...
VINCELdUB Posted February 25, 2017 Share Posted February 25, 2017 You are very welcome Jeffrey Happy Automating! Link to comment Share on other sites More sharing options...
Jeffrey Posted February 25, 2017 Author Share Posted February 25, 2017 So I tried it out and it works. But it turns the lights on when I come home. Should I add in a delay for me to disarm first? Or is there some other trick I should be using? Thanks again! Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
VINCELdUB Posted February 26, 2017 Share Posted February 26, 2017 Do you mean hat you want he lights to come on when you disarm the alarm? Or when the alarm is triggered and you can hear the siren? If it is when it is disabled, then you are looking for the "disarmed" event. Please send a screen shot if your programming. Would help. Happy Automating! Link to comment Share on other sites More sharing options...
Jeffrey Posted February 26, 2017 Author Share Posted February 26, 2017 I was hoping that the lights would only come on during a real emergency. Currently it triggers every time I walk in the house to disarm the system. I added the delay which seems to stop it from triggering right away. But maybe there is a better way. I will try to attach a screenshot! Thanks again. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
VINCELdUB Posted February 26, 2017 Share Posted February 26, 2017 This looks correct. I would now experiment with the different options for the event. Right click on the code and copy. Then right click and delete all. Then select a different event and right click on center and select paste. Happy Automating! Link to comment Share on other sites More sharing options...
eddy.trochez Posted February 27, 2017 Share Posted February 27, 2017 When it comes to lighting in case of the alarm going off, you want to create a lighting scene in the Advanced Ligthing agent. This will allow you to flash the outside lights while the scene is active. It's just good practice to create a lighting scene when more than one light is being controlled. Also you don't need the "If" conditional in this case, because you're already activating the scene when the event happens. Link to comment Share on other sites More sharing options...
d1amund Posted February 27, 2017 Share Posted February 27, 2017 There are a few things wrong with your programming. As mentioned use an advanced lighting scene to turn those loads on and off and create a flash on exterior loads. Don't use delays that long, you should be using a timer. In your script you start the timer after your first action occurs. Then when the timer expires you do your second action. And finally, when the alarm is going off, why do you want the lights to only stay on for 10 minutes? They should remain on and/or flashing until the alarm event is cleared. At that point you can start a timer to turn the loads back off or to a desired preset level. Link to comment Share on other sites More sharing options...
VINCELdUB Posted February 27, 2017 Share Posted February 27, 2017 The OP is struggling with what event will work for this purpose. Happy Automating! Link to comment Share on other sites More sharing options...
eddy.trochez Posted February 27, 2017 Share Posted February 27, 2017 The event should be "Emergency Triggered" When an Emergency is Triggered Activate lighting scene Emergency When alarm is disarm If Emergency lighting scene is active Activate x lighting scene Link to comment Share on other sites More sharing options...
Jeffrey Posted February 27, 2017 Author Share Posted February 27, 2017 10 hours ago, VINCELdUB said: The OP is struggling with what event will work for this purpose. Happy Automating! Yes, I am just trying to see what works here. But I DO appreciate the suggestions and the instruction on how to program things most optimally. So thanks everyone for your suggestions. Eddy.trochez - I was wondering what the Emergency event was. So I will try using this event. The main thing I was trying to accomplish was to NOT set off the emergency lighting scene when walking in the door prior to disarming the alarm. I have little/no experience with advanced lighting scenes. Hopefully Vince will add that to his tutorials soon!! Thanks, Jeff Link to comment Share on other sites More sharing options...
VINCELdUB Posted February 27, 2017 Share Posted February 27, 2017 Advanced lighting tutorial I will gladly work on. Just finishing a large project that is required all of my attention in the real world. Hope to get to it shortly. And as always, Happy Automating! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.