Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flash house lights on alarm
#1
I have my system connected to my Elk alarm system. So when the alarm goes off I want to flash my house lights. I have done this but it is not very good and I think I did it the hard way. Using Insteon for my lights so have to do a command for each individual light to turn on. Then doing a countdown timer and on that trigger turning the lights off. Then another countdown timer and trigger to turn back on. Then in all of this it has to look and see if the alarm has been turned off. If so then what do I do with the lights? Can I know the state of them before the alarm and set back to this or just turn them all off?

So this works but is not reliable. Is there a simple way to do this? What are other people doing?
Reply
#2
I use Jetstream lights which can be controlled directly by CQC. I have a scene set up in Jetstream which blinks all the lights I have selected. CQC simply turns that scene on. Let me know if you need details.
My Other web server is Dropbox.
Reply
#3
I guess it really comes down to your lighting system and if there is an "all on" and "All off" command. If not, then I think it would be very cumbersome to program all of that.

What is the reasoning for wanting to do this? Could you get away with only flashing certain key lights? Could you use the strobes designed for the ELK system instead of the lighting system?
Brian - a long time user that rarely messes with the system now
Other systems used:
SageTV w/ cablecard tuner & multiple extenders for viewing
BlueIris and IP cameras for CCTV
Incredible PBX for home phone
Reply
#4
Yeah, it's not easy with Insteon. I think some systems like UPB have a flash command.

I would just flash them and not worry about returning them to the last state. And if you set the ramp rate which can be done at the scene level, you might get away without worrying about timers, etc.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#5
I'm not the expert on the ISY99i but I'm 99% sure that one of the features it gives you is the availability of scenes. In a scene I imagine you could create one scene for all lights on and another for all off then use your Elk timers to toggle.

Russ...
Reply
#6
I do not have the ISY99i. I just have the module which allows my computer to communicate directly with the Insteon lights. They do have a all on but I believe it is just for the X10 stuff as I never got it to work with my lights.

I am just trying to flash certain lights: the ones in the area of the intrusion and ones to alert people from the street. This would go along with my siren to scare the intruder away.

So with that being said what is the easiest way in CQC to do this? I know things have changed in CQC since I originally programmed it with the countdown timers and triggers on the count of zero. There is a easier way now to do this right?

This is what I have for when the alarm goes off and it starts flashing the lights. This code is on the Flash Lights Off trigger when the Countdown timer gets to 0:

So on FieldChange for CDTimer31 (equals 0) it runs this code:

Devices::FieldWrite
P1=Insteon.FRONTENTRYOUT
P2=0
P3=True

**do this for each light I want off.

If Not System::Equals
P1=$(Timer-Lights.CDTimer30)
P2=0

Devices::FieldWrite
P1=Timer-Lights.InvokeCmd
P2=ResetCD 32 Seconds 2
P3=True

End

**CDTimer31 & 32 are the countdown timers for the flash on & off - 2 secs.
CDTimer30 is my countdown timer for how long the lights will flash. When the alarm is disarmed then I have another trigger that will change CDTimer30 to 0 and turn all the lights off.
Reply
#7
If you are only going to wait 2 seconds, don't use a second timer. Just turn the lights off, Pause 2 seconds, then turn them back on. That'll simplify it a lot.
Dean Roddey
Explorans limites defectum
Reply
#8
Thanks Dean I will try that.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  The HA use cases that are still used heavily in my house IVB 0 904 07-06-2019, 08:08 PM
Last Post: IVB
  GE Z-Wave Outdoor Switch / Garage Door / Alarm gReatAutomation 0 1,200 06-11-2019, 03:53 PM
Last Post: gReatAutomation
  Integrating phone "alarm" with CQC TTS without taRiva IVB 11 5,679 03-03-2016, 11:48 AM
Last Post: IVB
  No way to just pullin all lights from a driver for Room Configuration? Sendero 1 2,394 09-27-2015, 04:12 PM
Last Post: Dean Roddey
  Whole house announcements with Nuvo & TTS Sendero 6 3,794 02-05-2015, 05:35 PM
Last Post: Dean Roddey
  Preferred whole house audio rtarver 24 11,128 05-14-2014, 06:32 PM
Last Post: jkish
  Macro to run multiple lights off/on rtarver 5 2,685 09-30-2012, 08:26 PM
Last Post: anogee
  Turn two lights on/off from 1 switch Micah 2 1,836 01-08-2009, 03:52 PM
Last Post: Micah
  ELK Burglar Alarm and CQC gacevich 1 1,608 11-30-2008, 06:55 AM
Last Post: wuench
  How to PhotoShop My House? RobWalker 16 12,270 05-26-2008, 07:22 AM
Last Post: jscheller

Forum Jump:


Users browsing this thread: 1 Guest(s)