Difference between revisions of "Advanced Functions in Macros"

From X10Wiki
Jump to navigation Jump to search
 
 
(10 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
'''What do the various items listed under Advanced Functions in the Macro Designer do?'''
 
'''What do the various items listed under Advanced Functions in the Macro Designer do?'''
 +
 +
'''How can I have one macro trigger another macro?'''
  
 
==Answer==
 
==Answer==
Line 14: Line 16:
 
This function lets you issue an X10 address over the powerline, but without any ON or OFF command after it. We know of no uses for this command.
 
This function lets you issue an X10 address over the powerline, but without any ON or OFF command after it. We know of no uses for this command.
  
===Windows Command (PC and MyHouse required) ===
+
===Windows Command===
 
+
* This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.
This lets you run any program on your PC that you could run from the command line (Start->Run...). If you need to append conditionals (like dir -od) you will need to build a [http://en.wikipedia.org/wiki/Batch_file batch file] then run that from your macro.
+
This lets you run any program on your PC that you could run from the command line (Start->Run...). For example, you can play the default Windows chime sound by putting '''mplay32''' in the Command field and '''/play /close "c:\windows\media\chimes.wav"''' in the Arguments field. This will only work for .wav, .mid, *.cda, *.avi, or *.asf files; you will need to [http://www.google.com/search?q=convert+mp3+to+wav convert MP3 files to WAV format] to play them this way.
  
 
===Extended Code===
 
===Extended Code===
This lets you use the X10 Extended Code protocol, detailed [http://www.x10.com/support/technology1.htm here]. Unless you are developing your own X10-compatible devices this is likely to be of little use
+
This lets you use the X10 Extended Code protocol, detailed [http://www.authinx.com/manuals/activehome/xtdcode.pdf here]. Unless you are developing your own X10-compatible devices this is likely to be of little use. X10 does not provide any other support or documentation for use of this Extended Code command in macros.
  
 
===Module Control===
 
===Module Control===
Line 27: Line 29:
 
This lets you issue an arbitrary ON/OFF command to some module without having to define it elsewhere in the software.  
 
This lets you issue an arbitrary ON/OFF command to some module without having to define it elsewhere in the software.  
  
===Email Notification (PC and MyHouse required) ===
+
====Triggering Macros From Other Macros====
 +
To trigger a macro from another macro, make sure there is at least a 2-second delay in the first macro, then use Appliance Control to issue the trigger command for the second macro. This is only useful if you have SmartMacros and have [[Using Flags|read this article about flags thoroughly]].
 +
 
 +
===Email Notification===  
 +
'''''Not Currently Supported'''''
 +
 
 +
* This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.
 
Self-explanatory; lets you have MyHouse send a predefined email.
 
Self-explanatory; lets you have MyHouse send a predefined email.
  
===Network Access (PC and MyHouse required) ===
+
===Network Access===
 +
 
 +
'''''Not Currently Supported'''''
 +
 
 +
* This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.
 
Lets you connect or disconnect from the MyHouse Online server.
 
Lets you connect or disconnect from the MyHouse Online server.
  
===Dialup Service (PC and MyHouse required) ===
+
===Dialup Service===
 +
 
 +
'''''Not Currently Supported'''''
 +
 
 +
* This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.
 
If you have a modem, this will make it dial out or hang up.
 
If you have a modem, this will make it dial out or hang up.

Latest revision as of 20:07, 9 November 2015

Question

What do the various items listed under Advanced Functions in the Macro Designer do?

How can I have one macro trigger another macro?

Answer

Make sure you click here to locate Advanced Functions:

Thisbit.JPG

Some advanced functions require that you have MyHouse Online; those are noted below.

X10 Address Command

This function lets you issue an X10 address over the powerline, but without any ON or OFF command after it. We know of no uses for this command.

Windows Command

  • This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.

This lets you run any program on your PC that you could run from the command line (Start->Run...). For example, you can play the default Windows chime sound by putting mplay32 in the Command field and /play /close "c:\windows\media\chimes.wav" in the Arguments field. This will only work for .wav, .mid, *.cda, *.avi, or *.asf files; you will need to convert MP3 files to WAV format to play them this way.

Extended Code

This lets you use the X10 Extended Code protocol, detailed here. Unless you are developing your own X10-compatible devices this is likely to be of little use. X10 does not provide any other support or documentation for use of this Extended Code command in macros.

Module Control

This lets you issue an arbitrary BRIGHT/DIM/ON/OFF command to some module without having to define it elsewhere in the software.

Appliance Control

This lets you issue an arbitrary ON/OFF command to some module without having to define it elsewhere in the software.

Triggering Macros From Other Macros

To trigger a macro from another macro, make sure there is at least a 2-second delay in the first macro, then use Appliance Control to issue the trigger command for the second macro. This is only useful if you have SmartMacros and have read this article about flags thoroughly.

Email Notification

Not Currently Supported

  • This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.

Self-explanatory; lets you have MyHouse send a predefined email.

Network Access

Not Currently Supported

  • This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.

Lets you connect or disconnect from the MyHouse Online server.

Dialup Service

Not Currently Supported

  • This command requires that you have MyHouse Online and leave the CM15A attached to your runnning PC.

If you have a modem, this will make it dial out or hang up.