| Author | 
         | 
         
      
        
         
         wobbles Newbie 
          
  
  Joined: February 26 2008
 Online Status: Offline Posts: 4
          | 
        
         
          
           | Posted: February 27 2008 at 16:20 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         BeachBum Super User 
          
  
  Joined: April 11 2007 Location: United States
 Online Status: Offline Posts: 1880
          | 
        
         
          
           | Posted: February 27 2008 at 19:30 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Deleted....
  Edited by BeachBum - February 27 2008 at 19:34
  __________________ Pete - X10 Oldie
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         BeachBum Super User 
          
  
  Joined: April 11 2007 Location: United States
 Online Status: Offline Posts: 1880
          | 
        
         
          
           | Posted: February 27 2008 at 19:40 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         wobbles Newbie 
          
  
  Joined: February 26 2008
 Online Status: Offline Posts: 4
          | 
        
         
          
           | Posted: February 27 2008 at 19:52 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         BeachBum Super User 
          
  
  Joined: April 11 2007 Location: United States
 Online Status: Offline Posts: 1880
          | 
        
         
          
           | Posted: February 27 2008 at 20:00 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         BeachBum Super User 
          
  
  Joined: April 11 2007 Location: United States
 Online Status: Offline Posts: 1880
          | 
        
         
          
           | Posted: February 28 2008 at 09:12 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
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 | 
         
          
         | 
       
       
       
        |   |