X 10 Using AH PRO CLI

cort86 edited this page Sep 6, 2015 · 2 revisions

OpenHab does not have built-in support (yet) for direct control of X10 Devices via a CM11A/CM17A Device. However there is a CLI tool provided by X-10 in both the Active Home Pro Software and the SDK (now a free download), this used with an exec binding makes for X-10 Control via OpenHAB on Windows.

The steps are relatively simple:

  • Install Active Home X-10 SDK and Drivers
  • Browse to C:\Program Files (x86)\AHSDK
  • Find an application called AHCMD.exe
  • Copy it to your OpenHAB Directory
  • Insert the exec command into your items file, mine looks like this:

Switch Light_Main_Bedroomlamp "Bedroom Lamp" <lights> (Main, Lights){exec="ON:ahcmd.exe sendrf A1 ON, OFF:ahcmd.exe sendrf A1 off"}


  • If you have Active Home Pro installed you already have AHCMD.exe, it is located at C:\Program Files (x86)\Common Files\X10\Common
  • These steps will be similar in Linux, and can be achieved using the HEYU X-10 interface.
  • The command ahcmd.exe sendrf A1 ON will turn on the X-10 device at address A1 via the RF (Firecracker/CM17A), to use a CM11A replace "sendrf" with "sendplc".

Reference Credit:

X-10.com Forums - http://forums.x10.com/index.php?topic=16813.0 OpenHab WIKI- https://github.com/openhab/openhab/wiki/Exec-Binding

feature overview


Setup intro

Linux and OS X





User Interfaces



(link to openHAB forum)



Application Integration



A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Binding configurations

Use case examples

Item definition examples

Sitemap definition examples

Collections of Rules on a single page

Single Rules


Syntax highlighting for external editors

Release Notes

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.