X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: Kramer Chins on January 24, 2009, 07:18:57 PM

Title: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 24, 2009, 07:18:57 PM
Having a hard time understanding the Macro thing !!!!!!

What I'm trying to do is set it up to where my camera will start recording when motion is detected on my motion sensor ( Which I have that part down and it works) The problem I'm having is I only want it to work from 8am till 5 pm (The hours we're not home) My camera is C5 and my motion Detector is A5, how to I program my Macros to just run these certain hours? And can I also only have it run on weekdays????????

Thank You !!!
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 24, 2009, 09:22:44 PM
Do you have the smart macro plug in for AHP?

If you go to the Macro designer and pick use conditions.
then in the up in the right corner there is a white drop down menu...in the menu pick conditions then you will find under that white box where all the color box's are one says "Time Range"
Title: Re: Need Help setting up Macros !!!!
Post by: HA Dave on January 24, 2009, 09:23:44 PM
Having a hard time understanding the Macro thing !!!!!!........   how to I program my Macros to just run these certain hours? And can I also only have it run on weekdays????????

I would use a conditional macro myself. I would use timers to turn ON a fake module during the hours I wanted the macro to be on. The fake/ghost module would of course have to be on a monitored house code. (http://www.x10community.com/forums/index.php?topic=13989.0) Then when the motion sensor turned On.. the condition would be that the fake module was also On.

It should look like this:

Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 24, 2009, 10:50:08 PM
Here's what I have..... Let me know if I'm right or even close.....

TRIGGER CONDITIONS  A5 ON and
It's Before 8:00 am and
It's After 5:00 pm
END TRIGGER CONDITIONS
Select Camera
Turn Kitchen C5 On
Start Recording

My Motion Sensor is A5, My Camera is C5....

Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 24, 2009, 10:55:11 PM
Thing I see is that you said you want it to work from 8-5 but your macro says it will only work before 8am and after 5pm. So it will not be running 8am to 5pm
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 24, 2009, 10:57:49 PM
Ok, I see what your saying....  What if I used "Between Times" Conditions? Would that be easier?

The time is Between 8am and 5 pm.. Would this work?
Title: Re: Need Help setting up Macros !!!!
Post by: HA Dave on January 24, 2009, 10:59:37 PM
Here's what I have..... Let me know if I'm right or even close.....

TRIGGER CONDITIONS  A5 ON and
It's Before 8:00 am and
It's After 5:00 pm
END TRIGGER CONDITIONS
Select Camera
Turn Kitchen C5 On
Start Recording



That could work... I don't think it would work for me. I am not sure... some versions of AHP may work differently. I have better luck when I break-down my functions and run more than one macro... not push everthing into one macro.

I would use the timer to turn On/Off the monitored dummy module... and THEN use the dummy as the condition.. in the conditional macro. But that's just me... there are many ways to remove the fur coat from a cat.
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 24, 2009, 11:13:56 PM
Dave,

   Is there anyway you could give me a visual break down of that? Or is there anywhere I can go to see how it's laid out in that format?

WOW !!! Is everything in AHP this confusing?  rofl And they say quick easy Set-Up.........................
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 24, 2009, 11:21:54 PM
RULE ONE anything X10 says takes minutes means hours lol


Set up a dummy module to D1 (or any other housecode) and click on the little clock icon in the corner of the module. Set it up  to turn on at 8am and off at 5pm. Then instead of using the time condition in the macro use the condition that the dummy module  is on.

TRIGGER CONDITIONS A5 ON and
D1 on
END TRIGGER CONDITIONS
Select Camera
Turn Kitchen C5 On
Start Recording

A5 is the Motion sensor D1 is your dummy module C5 is your camera
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 24, 2009, 11:37:15 PM
Can I use anything for my Dummy Module?
Title: Re: Need Help setting up Macros !!!!
Post by: HA Dave on January 24, 2009, 11:39:11 PM
And they say quick easy Set-Up.........................

Yes.. most people setup their AHP in ten minutes or less. However like Jsnlong points out... X10 minutes last somewhat longer than the minutes I use. It could be they are already using the metric clock.
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 24, 2009, 11:40:16 PM
Yea what ever module you like. I use appliance module that way there is no dim setting just on and off.
Title: Re: Need Help setting up Macros !!!!
Post by: HA Dave on January 24, 2009, 11:41:14 PM
Can I use anything for my Dummy Module?

I generally use the two pin appliance module. Just make sure it is a Monitored House Code.
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 24, 2009, 11:51:57 PM
Monitored House Code = The ActiveHome Pro interface keeps track of the status of the modules on the Monitored House Code, and reports this data to the computer when it is connected or reconnected. Choose which House Code you want to monitor in Tools-Hardware Configuration. This is the house code designated for use as a module condition for the Smart Macros plugin. If you build a conditional macro


Go to "tool" menu in AHP and then click "hardware configuration" then in the lower right hand corner on the box that pops up it will say
"Monitored House Code" just pick the house code you want to monitor
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:00:12 AM
Ok I used a 2 pin appliance module for my "Dummy" and set the times on it ( I set it for the time now so I could test it). It turned the "Dummy" modlue on, but once I tripped the motion sensor it started to record like it should BUT it turned the "Dummy" Module off....... Is it suppose to do that?
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 12:01:32 AM
what is the dummy module house and unit code and what is the camera house and unit code
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:09:42 AM
Dummy Module is A16... Camera is C6... Sensor is A6
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:13:20 AM
 :)% I think I might have it....................
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:16:53 AM
 >!  Beers to you guys !!!!!!!!! 

  ( >*<) I'm the horse and the smilie is AHP.......... rofl
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 12:19:54 AM
I take it there is nothing else using A16 that could make it shut off? or maybe you have the timer set up wrong?
you could try not using a timer right now and just manual turn it on to see if it shuts of after the macro.

Try a different unit code to see if that helps.
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 12:33:33 AM
You Got it .............Great


WHat did you find the reason was for the module turning off?
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:37:28 AM
I had the module set to "OFF" when the macro started.....

One more question...... When I set the conditions up I had to pick A16 because no other House Codes showed up, so I couldn't use "D"

How do I fix that?
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 12:45:26 AM
You have to set the Monitored House Code to D....................



Monitored House Code = The ActiveHome Pro interface keeps track of the status of the modules on the Monitored House Code, and reports this data to the computer when it is connected or reconnected. Choose which House Code you want to monitor in Tools-Hardware Configuration. This is the house code designated for use as a module condition for the Smart Macros plugin. If you build a conditional macro


Go to "tool" menu in AHP and then click "hardware configuration" then in the lower right hand corner on the box that pops up it will say
"Monitored House Code" just pick the house code you want to monitor
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:50:43 AM
Ok.. So if I'm understanding right you can only pick one house code to monitor?

Because I tried to enter code "D" and it told me I have more items using "A" then I do "D".....
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 12:56:09 AM
I can't thank everyone enough for your help tonight !!!!!!

I think I have a little better understanding of AHP (emphasise Little).... 

Next I will try to learn "Flags"

Thanks Again !!!!!!!!!!!!!
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 12:58:05 AM
Yes only one.

It only pops up and said that cause you are using more A modules then any others. but still OK to switch it to D just have to remember that D is set to be Monitored. I use D house code for my Dummy modules. Kinda going of the kindergartener theme D is for dummy  rofl
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 01:00:27 AM
Come back to the chat room sometime.. might be alittle faster with one on one talking instead of posting and waiting for a reply..... but either way its working


Goo luck and enjoy your new addiction
Title: Re: Need Help setting up Macros !!!!
Post by: Kramer Chins on January 25, 2009, 01:05:10 AM
Thanks !!!!

 :' My wife is not real thrilled with it...... ( Already looking to expand and get The Home Security Package plus more goodies for AHP)
Title: Re: Need Help setting up Macros !!!!
Post by: Jsnlong on January 25, 2009, 01:10:43 AM
My wife don't like it to much either.....she thinks its just a hobby that cost alt lol but you have to look for some things to automate that makes her life easy then she will be on-broad
Title: Re: Need Help setting up Macros !!!!
Post by: HA Dave on January 25, 2009, 07:14:38 AM
Excellent Job Jsnlong!

WAF (Wife Approval Factor) is a very important part of most of our setups. As a hobby goes.. X10 isn't all that expensive.. so I sometimes claim X10 to be my Home Automation Hobby. In reality Home Automation is a lifestyle... at least for me (http://www.davesdomainonline.com/bvc/bvc.htm). My wife has found several parts of the automation setup she really enjoys. Making sure the wife gets what she wants from the automation is key to high WAF.