Difference between revisions of "Creating A Macro"

From X10Wiki
Jump to navigation Jump to search
(Perl Automatic Add)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Questions
+
== Questions ==
How do I Create a Macro in Activehome Pro?
+
 
Answer
+
'''How do I create a macro in Activehome Pro?'''
Create the Macro
+
 
To create a new macro, click on the (+) button on the Macros bar in
+
== Answer ==
the Folder pane. You can also add a macro from the Edit menu, or by
+
To create a new macro, click on the (+) button on the Macros bar in the Folder pane. You can also add a macro from the Edit menu, or by right-clicking in a room and choosing "Add Macro" from the pop-up menu. When you create a new macro, you start in a blank macro Editor window.
right-clicking in a room and choosing �Add Macro� from the pop-up
+
 
menu. When you create a new macro, you start in a blank macro
+
You can follow this example yourself by opening the "Samples" file using the File Menu. This macro is designed to start the coffee pot and turn on the lights in the kitchen to get ready for breakfast. When you make a macro, you can activate it using a remote control, a plugin controller, or set a timer so the events happen exactly when you want them to--even before you get out of bed!
Editor window.
+
 
You can follow this example yourself by opening the "Samples" file using the File Menu. This macro is designed to start the coffee pot and turn on the lights in the kitchen to get ready for breakfast. When you make a macro like this, you can activate it using a remote control, or set a timer so the events happen exactly when you want them to--even before you get out of bed!
+
=== Step 1: Macro Information ===
Step 1: Macro Information
+
First, name your macro. Click into the Macro Name box, and type a new name. In this example, the macro will be called "Breakfast." Macro names can be up to 39 characters long.
First, name your macro. Click into the Macro Name box, and type a
+
 
new name. In this example, the macro will be called �Breakfast.At
+
At this point you can also change the macro's trigger (remote command you use to start it, like A1 ON), but ActiveHome will assign one automatically, which is usually fine. To change the trigger, click in the box next to the macro name where you see a House and Unit Code, clear the box out, and type the new address. When you are starting out with macro creation, we strongly recommend that you do not put a macro at the same House and Unit code as one of your modules or switches.
this point you can also select the macro�s trigger (remote command
+
 
you use to start it), but ActiveHome will assign one automatically,
+
Next, select the room in which you want this macro to appear. A macro can operate modules in more than one room, but it will appear in the Room View for only one room. Our Breakfast macro will be in the kitchen. Now we can start adding modules.
which is usually fine.
+
 
Next, select the room in which you want this macro to appear. A macro can
+
=== Step 2: Add the First Command ===
operate modules in more than one room, but it will appear in the
+
To add a command to a macro, drag the module you want to use from the available modules on the right-hand side of the screen.
Room View for only one room. Our Breakfast macro will be in the
+
 
kitchen. Now we can start adding modules.
+
You can view modules from any or all of the rooms by using the drop down menu to select them. By dragging the coffee pot module to the macro, turning it on will be the first event.
Step 2: Add the First Command
+
 
To add a command to a macro, drag the module you want to use from
+
=== Step 3: Use a Delay ===
the available modules on the right-hand side of the screen.
+
When you use macros, not everything has to happen at the same time. You can use delays to spread out the events of your macro.
You can view modules from any or all of the rooms by using the drop
+
 
down menu to select them. By dragging the coffee pot module to the
+
For the next event to occur 10 minutes after the coffee pot turns on, we will drag a delay into the macro, and change its time.
macro, turning it on will be the first event.
+
 
Step 3: Use a Delay
+
=== Step 4: Dim and Bright ===
When you use macros, not everything has to happen at the same time. You
+
Different kinds of modules use different types of commands in macros. If you add an appliance module, SuperSocket, or other module that cannot be dimmed, you only have the option of turning it On or Off.
can use delays to spread out the events of your macro.
+
 
For the next event to occur 10 minutes after the coffee pot turns on,
+
If you add a lamp module or other dimmable module to your macro, you have two different options. If you use "Set to," ActiveHome Pro will turn your module on to full brightness, then dim it to the selected level. If you use "Adjust by," ActiveHome Pro will just tell your module to dim or brighten, which only works if the module is already on.
we will drag a delay into the macro, and change its time.
+
 
Step 4: Dim and Bright
 
Different kinds of modules use different types of commands in macros. If
 
you add an appliance module, SuperSocket, or other module that cannot be
 
dimmed, you only have the option of turning it On or Off.
 
If you add a lamp module or other dimmable module to your macro, you
 
have two different options. If you use �Set to,ActiveHome Pro will turn
 
your module on to full brightness, then dim it to the selected level. If you
 
use �Adjust by,ActiveHome Pro will just tell your module to dim or
 
brighten, which only works if the module is already on.
 
 
Here we will set the Small Light to turn on to 70 percent.
 
Here we will set the Small Light to turn on to 70 percent.
Step 5: Extending Over Time
+
 
 +
=== Step 5: Extending Over Time ===
 +
 
 
One benefit to macros is using them to turn a set of lights on, then turn them off automatically at a specified time. For example, if we add another time delay to the macro, we can wait an hour before turning everything off.
 
One benefit to macros is using them to turn a set of lights on, then turn them off automatically at a specified time. For example, if we add another time delay to the macro, we can wait an hour before turning everything off.
Step 6: Room Controls
+
 
In addition to individual modules, you can use room modules and House Code modules in your macros to make it easy to turn on or off more than one device or �room.For example, you can create a Kitchen module with all your modules in the kitchen placed into the macro. Then you can turn everything in the kitchen off at the same time.
+
=== Step 6: Room Controls ===
Finishing Up
+
In addition to individual modules, you can use room modules and House Code modules in your macros to make it easy to turn on or off more than one device or "room." For example, you can create a Kitchen module with all your modules in the kitchen placed into the macro. Then you can turn everything in the kitchen off at the same time.
Now we have a working macro! Your macro is automatically saved. The
+
 
Macro Timeline shows you all of the commands in your macro, and tells
+
=== Important Note ===
you how long it will take to complete.
+
To run macros from remotes or motion sensors, you must make sure ActiveHome Pro is set up to receive their signals. Please see the [[Troubleshooting Remote Controls in ActiveHome Pro]] article.
 +
 
 +
=== Finishing Up ===
 +
Now we have a working macro! Your macro is automatically saved. The Macro Timeline shows you all of the commands in your macro, and tells you how long it will take to complete.
 +
 
 
If you are done with your macro, then you can go back to the room view or make a new macro. In addition to following the visual timeline, you can read the text box at the bottom of the Editor window to see what is happening with your macros.
 
If you are done with your macro, then you can go back to the room view or make a new macro. In addition to following the visual timeline, you can read the text box at the bottom of the Editor window to see what is happening with your macros.
Related Articles
+
 
[img src="http://site.x10.com/?Z3gxT2tiYXNlYXJ0aWNsZTEuZGF0=RND|kbasearticle"]
+
[[category: Software]]

Latest revision as of 21:21, 28 November 2011

Questions

How do I create a macro in Activehome Pro?

Answer

To create a new macro, click on the (+) button on the Macros bar in the Folder pane. You can also add a macro from the Edit menu, or by right-clicking in a room and choosing "Add Macro" from the pop-up menu. When you create a new macro, you start in a blank macro Editor window.

You can follow this example yourself by opening the "Samples" file using the File Menu. This macro is designed to start the coffee pot and turn on the lights in the kitchen to get ready for breakfast. When you make a macro, you can activate it using a remote control, a plugin controller, or set a timer so the events happen exactly when you want them to--even before you get out of bed!

Step 1: Macro Information

First, name your macro. Click into the Macro Name box, and type a new name. In this example, the macro will be called "Breakfast." Macro names can be up to 39 characters long.

At this point you can also change the macro's trigger (remote command you use to start it, like A1 ON), but ActiveHome will assign one automatically, which is usually fine. To change the trigger, click in the box next to the macro name where you see a House and Unit Code, clear the box out, and type the new address. When you are starting out with macro creation, we strongly recommend that you do not put a macro at the same House and Unit code as one of your modules or switches.

Next, select the room in which you want this macro to appear. A macro can operate modules in more than one room, but it will appear in the Room View for only one room. Our Breakfast macro will be in the kitchen. Now we can start adding modules.

Step 2: Add the First Command

To add a command to a macro, drag the module you want to use from the available modules on the right-hand side of the screen.

You can view modules from any or all of the rooms by using the drop down menu to select them. By dragging the coffee pot module to the macro, turning it on will be the first event.

Step 3: Use a Delay

When you use macros, not everything has to happen at the same time. You can use delays to spread out the events of your macro.

For the next event to occur 10 minutes after the coffee pot turns on, we will drag a delay into the macro, and change its time.

Step 4: Dim and Bright

Different kinds of modules use different types of commands in macros. If you add an appliance module, SuperSocket, or other module that cannot be dimmed, you only have the option of turning it On or Off.

If you add a lamp module or other dimmable module to your macro, you have two different options. If you use "Set to," ActiveHome Pro will turn your module on to full brightness, then dim it to the selected level. If you use "Adjust by," ActiveHome Pro will just tell your module to dim or brighten, which only works if the module is already on.

Here we will set the Small Light to turn on to 70 percent.

Step 5: Extending Over Time

One benefit to macros is using them to turn a set of lights on, then turn them off automatically at a specified time. For example, if we add another time delay to the macro, we can wait an hour before turning everything off.

Step 6: Room Controls

In addition to individual modules, you can use room modules and House Code modules in your macros to make it easy to turn on or off more than one device or "room." For example, you can create a Kitchen module with all your modules in the kitchen placed into the macro. Then you can turn everything in the kitchen off at the same time.

Important Note

To run macros from remotes or motion sensors, you must make sure ActiveHome Pro is set up to receive their signals. Please see the Troubleshooting Remote Controls in ActiveHome Pro article.

Finishing Up

Now we have a working macro! Your macro is automatically saved. The Macro Timeline shows you all of the commands in your macro, and tells you how long it will take to complete.

If you are done with your macro, then you can go back to the room view or make a new macro. In addition to following the visual timeline, you can read the text box at the bottom of the Editor window to see what is happening with your macros.