dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: March 08 2006 at 04:03 | IP Logged
|
|
|
Charles,
Welcome to PowerHome!
This should be pretty easy. You didnt indicate what level you're at and since you're new here, I'll assume that you're just starting out.
The first thing I would do is create a macro. Most all configuration is done from the PowerHome Explorer so go ahead and open that. Navigate the left hand pane to macros. In the right-hand pane, go to the empty line (or right-click and select "Insert"). Give the macro a meaningful ID name. Give it a description as well. Both are required. The ID can be shorter as this is what will be used later in formulas. The Description is what will appear on a button.
After creating the Macro Header record, click on the little button to the left of the line to go to Macro Detail. Here is where we'll define what we want to do. You didnt say what kind of light you're controlling (X-10 or Insteon, etc), so I'll give generic instructions of both. If X-10, choose a command type of X-10 raw. The first command will be for the X-10 address. Go all the way to the end and press the "tab" key and you'll get a new line. You can also add new lines by "right-clicking" and select "Insert". The second line will be another X-10 raw command turning on your light. If your device is on A1, your lines will look like:
10 X-10 Raw "Your controller ID" A 1
20 X-10 Raw "Your controller ID" A ON
If you are using Insteon, then can use the Insteon command and do it in a single line.
The next line, use a "Wait" command with a "Send Keys" value of 30.
Follow the "Wait" command with the appropriate X-10 or Insteon commands to turn the light off.
Next navigate in the left hand pane to "Control Center". Create an appropriate "Control Center Tab" if you don't already have one. Click on the button to the left and go to "Control Center Button Details". Create a new button of type "Macro" and use the ID of your newly created macro. Exit the Explorer. If the Control Center is currently open, close and reopen it. Your button will now be there. If you want to reposition or resize the button, right-click on the control center and choose "Design View".
Let me know if this is what you needed to know and I apologize if this was too basic.
Dave.
|