Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Basic command line script for A1 on Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wobbles
Newbie
Newbie
Avatar

Joined: February 26 2008
Online Status: Offline
Posts: 4
Posted: February 27 2008 at 16:20 | IP Logged Quote wobbles

Hey guys,

Tony made my life much easier in my last posting, and I now have the worlds simplest question:
in any scripting format, what is the simplest way run to run this when the script is executed:
x10 device A1 on, wait 1 second, X10 A1 off.

simple eh?
Back to Top View wobbles's Profile Search for other posts by wobbles
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: February 27 2008 at 19:30 | IP Logged Quote BeachBum

Deleted....

Edited by BeachBum - February 27 2008 at 19:34


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: February 27 2008 at 19:40 | IP Logged Quote BeachBum

I’ll try this again.. If a macro qualifies as a scripting format then…. assuming you have the device defined in setup under devices and your ID for A1 is something like LAMP then the easiest way would be to create a MACRO with entries:

COMMAND: X-10    ID: LAMP   VALUE: ON
COMMAND: WAIT Send Keys: 1
COMMAND: X-10    ID: LAMP   VALUE: OFF


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
wobbles
Newbie
Newbie
Avatar

Joined: February 26 2008
Online Status: Offline
Posts: 4
Posted: February 27 2008 at 19:52 | IP Logged Quote wobbles

Where do i put this macro in Powerhome? when I open macros in PH explorer it has a build your own dropdown functionality and no where to copy/paste. and the command option is not available.
Back to Top View wobbles's Profile Search for other posts by wobbles
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: February 27 2008 at 20:00 | IP Logged Quote BeachBum

You start by going to PowerHome Explorer then to Macros. Page 35 of the Users Manual shows this info.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: February 28 2008 at 09:12 | IP Logged Quote BeachBum

Another source of information I forgot is Tony’s tutorial.

http://tonyno.ods.org/ph/PHTutorial1-AddingDevicesandMakingT hemDoSomething.htm

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum