Please login or register.

Login with username, password and session length

Author Topic: Timers with Macros  (Read 5650 times)

RogerDodger

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Timers with Macros
« on: January 28, 2007, 08:02:41 PM »

Hi,
I'm new at this.  I just received the CM 15A a few days ago.  I thought I understood timers and macros but I don't understand how a timer works with a macro. 

I have a macro that seems to work fine.  It accepts a burglar alarm and turns on a light for a minute.   I want the macro to be active from dusk to dawn and inactive dawn to dusk, so I thought I could just attach it to a timer but I confess I don't get it.  If I attach that macro to a timer, I can get it to say it starts at dusk but it triggers anytime it gets a trigger, dusk or dawn, no matter.  Is it sending out a trigger at dusk?  I have experimented and still can't see anything that is happening.

Roger


Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Timers with Macros
« Reply #1 on: January 28, 2007, 09:41:24 PM »

I want the macro to be active from dusk to dawn and inactive dawn to dusk, so I thought I could just attach it to a timer but I confess I don't get it.

Welcome to the forum and X10 RogerDodger.

In your macro, use the  condition Nighttime to have it only trigger between Dusk and Dawn.

A timer for the macro set to Dusk will just trigger it and execute whatever is in it.
Logged

RogerDodger

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Timers with Macros
« Reply #2 on: January 28, 2007, 11:02:46 PM »

Thanks for the welcome. 

When I click Add Timer, I get a list of things to which I  presume I can attach a timer.  If I attach it to an appliance module, it gives me an opportunity to select "on during the night" but if I select a macro, that choice of on during the night or on durng the day is grayed out and I can't select it. 

Roger
Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: Timers with Macros
« Reply #3 on: January 28, 2007, 11:57:24 PM »

...if I select a macro, that choice of on during the night or on durng the day is grayed out and I can't select it. 

Unlike an appliance (or light) module you cannot turn a macro on or off with a timer... you can only trigger it with a timer.

Do not use a timer for what you are trying to do... In the macro itself, select Use Conditions. Now you can drag and drop a time frame for when the macro can be triggered.
Logged

RogerDodger

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Timers with Macros
« Reply #4 on: January 29, 2007, 11:03:13 AM »

Hi,
I think my problem is that I don't have the SmartMacro  software.

Roger
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Timers with Macros
« Reply #5 on: January 29, 2007, 01:43:33 PM »

Yep in order to use conditions (Eg: if it is night time) you need the SmartMacro Plug-in!  ;)
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Walt2

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 28
  • Posts: 787
Re: Timers with Macros
« Reply #6 on: January 29, 2007, 03:53:00 PM »

I think my problem is that I don't have the SmartMacro  software.

You could just use two modules.  Plug your lamp module into an appliance module.  Have the appliance module turn 'on' and 'off' with dusk and dawn.  The lamp module will only turn 'on', when the appliance module is turned 'on'.

The poor man's conditionals.  :D
Logged
* Sears Home Control System, Radio Shack Plug 'n Power, NuTone, Stanley LightMaker, BSR, HomeLink.
* Tecmar Device Master, CP290 (LightHouse), CM11A (AH), CM14A (AH2), CM15A (AHPro).

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: Timers with Macros
« Reply #7 on: January 30, 2007, 09:02:26 AM »

Don't count on the Smart macro dusk/dawn condition working properly.
Plenty of folks report the the smart macros dusk/dawn does not work, including me.
The dusk/dawn timer in AHP does work properly for me though.

Here's how I got this sort of situation  to work properly with smart macros.

Set up a phantom 3 pin lamp module.
Add a timer in AHP that turns this phantom module on at dawn, off at dusk.
check the on/off state of the phantom module for night/day decision making conditions.
Logged
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm
 

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