A set of java classes written to communicate with X10 home automation devices using serial port commands.
$100-125 USD
Completed
Posted about 16 years ago
$100-125 USD
Paid on delivery
A set of java classes written to communicate with X10 home automation devices using a serial port interface and X10 commands.
The project must be written for modification and compilation in the Netbeans IDE 6.0 environment.
## Deliverables
A set of java classes written to communicate with X10 home automation devices using serial port commands.
?
The project must be written for modification and compilation in the Netbeans IDE 6.0 environment.
?
A serial port communications library has been purchased (iCaste’s JComm library ??" see <[login to view URL]>) to do the communication but its use is not mandatory.
?
Please see the included file “[login to view URL]? for the serial communication protocol of the X10 system.
?
The only method that needs to be implemented at this stage is to set the “brightness?? level of any X10 device using the housecode (integers 1-16 to be substituted for letters A-P), devicecode (integers 1-16) and brightness level (integers 0-22). *This is equivalent to the command and example in section 3.1 of the protocol document.* The format of the required method is as follows:
?
public bool SendCommand(int iHousecode, int iDevicecode, int iLevel)
?
The method must check the checksum returned by the device and resend the command if necessary. The returned value will be true if the sent command was set successfully or false if a timeout, repeated checksum failure or other error occurs.
?
A Domia X10 Computer Interface and Lamp Module have been purchased to test the system (see <[login to view URL]>). Terminal service or RealVNC access to a Windows XP Pro system (Netbeans installed) connected to these devices will be given to a successful applicant for testing and development purposes. Completion of project will depend on successful control of the lamp module.