will a macro quit executing if trigger goes away?

Started by Mikefor, December 08, 2008, 09:12:26 AM

Previous topic - Next topic

Mikefor

I am using an eagle eye sensor to turn on my floods at night and have a few delays inserted. The trigger is  on on signal from the motion sensor which goes to off before the whole macro gets executed.

In addition I am turning off the flood after a 15 min delay but the maco either doesn't seem to get executed or turns the flloods on then immediately off.

I have read some people are using flags ect. Is this why?

Thanks for any help

Mike

Puck

Mikefor: welcome to the forum. A Status Flag can be used in your set up to prevent re-entry of your ON macro before it completes. Another suggestion is to use the OFF signal from the EagleEye to turn the floods off after xx minutes of no motion.

Mikefor

Thanks for the information but my problem seems to be that the macro doesn't get all the way through executing before the eagle eye goes to OFF so it seems to just quit half way throught. Could this be?
thanks

mike

JMac

So why don't you extend the OFF signal of the Eagle Eye ?

Tuicemen

Mikefor   a macro runs from start to finish it can't be stopped!
If your noticing a light go off before macro is finished it must be the same address as the motion sensor!
You need your sensor to be a different address then the devices you wish the macro to control!
>!
Please Read Topic:
General Forum Etiquette
Before you post!

HA Dave

Quote from: Mikefor on December 08, 2008, 02:42:25 PM
... my problem seems to be that the macro doesn't get all the way through executing before the eagle eye goes to OFF so it seems to just quit half way throught.

It sounds to me like your trigger is the same code as the as both the light and the motion sensor.

If the motion sensor is code A1 (then its off would be A2). In AHP... A1 would trigger a macro to turn ON the (flood) Light at say A4... thus the A2 OFF sent later would have NO effect on the light later on.
Home Automation is an always changing technology

Mikefor

Thanks to all who posted to help me. My sensor address was b2 and the device being controlled c6 so there is no chance that could be turning the floods off. I have figured out that the system was really getting screwed up  because i had a coupler repeater tied to my breaker box but before things got really screwed up the floods would come on briefly 3 sec instead of the 15 minutes in the macro.
I have since taken out the coupler repeater and that isn't happening anymore. Now i have trouble with powerline signals making it to the controller!!

SMF spam blocked by CleanTalk