Active Home Pro macro - triggered by a motion detector and a Powerflash unit
Back to main X10 projects page
-
Modules/Codes On definition Off definition
F15 - Phantom On = I'm at Home Off = Not at Home
F16 - Phantom On = Daytime Off = Nighttime
F16 is set on a timer to automatically turn on at Dawn and turn off at Dusk
F7 - Phantom On = Trigger Day Image Macro -
F8 - Phantom On = Trigger Night Lighting Macro -
F10 - Phantom On = Trigger Night Image Macro -
-
F13 - Powerflash unit On = Trigger Power flash On Macro Off = Trigger Powerflash Off Macro
G5 - Office Lamp - -
H2 - Exterior Lights - -
H3 - Exterior Lights - -
H7 - Exterior Lights - -
H9 - Exterior Lights - -
-
Notes:
* Motion sensor senses motion and turns Powerflash unit F13/ON
* Motion sensor turns Powerflash unit F13/OFF approximately 5 seconds after sensing motion.
* F13/ON and F13/OFF are actually running at the same time and so F13/OFF has a delay, so that F13/ON can complete all it's task.
-
F13/ON - (Powerflash ON)
MACRO

    G5/ON - (Lamp in office turns on)
    F7/ON - (Trigger for Day Image Macro)
    F8/ON - (Trigger for Night Lighting Macro)
-
F7/ON - (Trigger Day Image Macro)
MACRO
CONDITION = If F7/ON and F15/OFF =  (Run only if F7/ON and F15/OFF, I am not at home)
    Record Snapshort with security camera
    Email the snapshot to me
-
F8/ON - (Trigger Night Lighting Macro)
MACRO

CONDITION = If F8/ON and F16/OFF =  (Run only if F8/ON and F16/OFF, it is night time)
    H2/ON - (Exterior lights)
    H3/ON - (Exterior lights)   
    H7/ON - (Exterior lights)   
    H9/ON - (Exterior lights)   
    F10/ON - (Trigger for Night Image Macro after all exterior lights have been turned on)
-
F10/ON - (Trigger Night Image Macro, all exterior lights are on now)
MACRO

CONDITION = If F10/ON and F15/OFF =  (Run only if F10/ON and F15/OFF, I am not at home)
    Record Snapshort with security camera
    Email the snapshot to me
-
F13/OFF - (Powerflash OFF - F13/OFF is triggered approximately 5 seconds after F13/ON was triggered.)
MACRO

    F7/OFF - (Turn off trigger for Day Image Macro)
    F8/OFF - (Turn off trigger for Night Lighting Macro)
    F10/OFF - (Turn off trigger for Night Image Macro)
    DELAY - (4 minutes, until all macros have finished their task and then shut off exterior lights)
    H2/OFF - (Exterior lights off)
    H3/OFF - (Exterior lights off)   
    H7/OFF - (Exterior lights off)   
    H9/OFF - (Exterior lights off)   
    G5/OFF - (Lamp in office turns off)
End of all Macros
-