sophware.home.insteon
Class InsteonPLCTransceiver

java.lang.Object
  extended by sophware.home.io.HomeReceiver
      extended by sophware.home.io.HomeTransceiver
          extended by sophware.home.insteon.InsteonPLCTransceiver
All Implemented Interfaces:
HomeTransmitter

public class InsteonPLCTransceiver
extends HomeTransceiver

InsteonPLCTransceiver implements the HomeTransmitter and HomeReceiver interfaces for the Smarthome PowerLinc V2 Controller.

Insteon Group broadcasts are automatically followed with Group Cleanup requests by the transceiver.

All X10Commands are echoed back as X10Events when successfully sent.

Version:
1.0, 02/17/06
Author:
Russell Soph
See Also:
HomeTransmitter, HomeReceiver

Constructor Summary
InsteonPLCTransceiver(HomeAccess access)
          Creates an instance of the InsteonPLCTransceiver
 
Method Summary
 InsteonAddress getAddress()
          Get PLC address (the interface must be running)
 int getDeviceType()
          Get PLC device type (the interface must be running)
 float getFirmwareRev()
          Get firmware revision (the interface must be running)
 void start()
          Starts event processing
 void stop()
          Stops event processing
 int transmit(HomeCommand command)
          Transmits the HomeCommand to the PLC
 
Methods inherited from class sophware.home.io.HomeReceiver
getHome, setHome
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsteonPLCTransceiver

public InsteonPLCTransceiver(HomeAccess access)
Creates an instance of the InsteonPLCTransceiver

Parameters:
access - the access interface
Method Detail

getAddress

public InsteonAddress getAddress()
Get PLC address (the interface must be running)

Returns:
the address type (as reported by the PLC)

getDeviceType

public int getDeviceType()
Get PLC device type (the interface must be running)

Returns:
the device type (as reported by the PLC)

getFirmwareRev

public float getFirmwareRev()
Get firmware revision (the interface must be running)

Returns:
the firmware revision (as reported by the PLC)

start

public void start()
           throws HomeException
Starts event processing

Specified by:
start in interface HomeTransmitter
Specified by:
start in class HomeTransceiver
Throws:
HomeException

transmit

public int transmit(HomeCommand command)
Transmits the HomeCommand to the PLC

Parameters:
command - the HomeCommand to be sent
Returns:
the request ID for this transmission

stop

public void stop()
Stops event processing

Specified by:
stop in interface HomeTransmitter
Specified by:
stop in class HomeTransceiver