Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Author Topic: Making Macros Inactive in AHP  (Read 4532 times)

SPSACH

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
Making Macros Inactive in AHP
« on: September 15, 2007, 11:27:06 AM »

I want certain smart macros in AHP to be active only when I am not home. Is there a way to make them inactive i.e they should not trigger  when I come back home.
Logged

steven r

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 74
  • Posts: 2189
  • Halloween with X10
Re: Making Macros Inactive in AHP
« Reply #1 on: September 15, 2007, 11:41:55 AM »

I'd use a flag and set it when you're at home. Then have the macros only execute when the flag is set.
OR.. Set the flag when you leave have the macros only execute when the flag is clear.
Get the idea?

I have a pair of macros linked by an else that execute welcome or exit depending on whether my at home flag is set. Then driving over a switch I made in the garage either turns on a welcome light for me or shuts off all the lights when I leave. In both cases the garage door closes automatically, in 20 sec if I'm leaving and about 5 min if I'm coming home.
« Last Edit: September 15, 2007, 11:44:02 AM by steven r »
Logged
BVC let's me tell my camera where to go!
:) Murphy is my beta testing pal. He helps me find problems whether I like it or not. :)
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.