Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/x10.rb

Overview

X10 Interface

This is a really simple X10 framework for controlling X10 devices.

Example:

require 'x10/cm17a'
lamp = X10.device("a1")
lamp.on
sleep(1)
lamp.off

Controllers and Devices

An X10 controller is responsible for interfacing to the X10 interface device. An example is the CM17A firecracker module.

Default Controllers

blah blah blah.

Instance Method Summary collapse

Instance Method Details

#x10_controller?Boolean

:nodoc:

Returns:

  • (Boolean)


25
26
27
# File 'lib/x10.rb', line 25

def x10_controller?
  false
end