X10


Home - Download - Documentation - Source code

Why ?

Why would you use a command line interface when you have a perfectly good Graphical User Interface you ask? That's a legitimate question! The answer is simple; sometimes you need to (or want to) do things through SSH, Telnet, a batch file, a scheduled task or simply through the command line.

Usage

Usage: x10cmd [h|hn] [on|off|dim %|bright %]|alllightson|alllightsoff]
-? Display help.

Command Description
-h -? /h /? Display Help.
h House code from A to P.
n Device code from 1 to 16. Omit the device code when issuing an all lights command.
on Turn the device on.
off Turn the device off.
bright % Brighten the lamp by % percent. Valid % range is 1-100. Does nothing if the device is already on and has not been dimmed.
dim % Dims the lamp by % percent. Valid % range is 1-100. Does nothing if the device is off.
alllightson Turn all lights on of the specified house code.
alllightsoff Turn all lights off of the specified house code.

Example:

x10cmd a1 on
Turn on a1 appliance or lamp.

x10cmd b alllightsoff
Turn off all lights of the B house code.

x10cmd c12 dim 50
Dims the C12 lamp by 50%.