Difference between revisions of "Advanced Functions in Macros"

From X10Wiki
Jump to: navigation, search
(Windows Command)
Line 26: Line 26:
 
===Appliance Control===
 
===Appliance Control===
 
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.  
 +
 +
====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===
 
===Email Notification===

Revision as of 19:16, 16 August 2011

Question

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

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

  • 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

  • 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

  • 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.