• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

X-10 programming using Java?

 
Sam Moran
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone successfully communicated to an X-10 device using Java. If so, do you have a starting snipet of code? Where do you begin? Thank you.
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is an "X-10 device" ?
 
Sam Moran
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An X-10 device is an RF controlled device(s) in your home that can receive programming signals via your existing house wiring. The application that I have uses the COM1 port of my PC and connects to a device that plugs into my power outlet. Using X-10's software, I can program the various devices that I have in my house. Each device uses a unique code to identify itself. The first version of the software that I received, which bare in mind was only a month ago, wasn't y2k compliant! Yah, I said it wasn't y2k compliant! This version, that I was charged for, came from another vender by the name of Smarthome. When I called and questioned them on the software the person said yah we're aware of that. The next version that I downloaded from the X10 website for free was y2k compliant, but is buggy. I am trying to find out if anyone has done anything with this, and if so how did they go about it. This technology has been around for quite awhile, but is really cool. I am hoping to configure this stuff so that I can turn the lights on before I go home, adjust the theromstat from work, and perhaps install a couple of cameras to keep an eye on my house from anywhere.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to J2ME (Micro Edition) where they might know something about this.
 
Yeo lev
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sam Moran:
Has anyone successfully communicated to an X-10 device using Java. If so, do you have a starting snipet of code? Where do you begin? Thank you.

I have experienced quite a bit with X-10 and Java (CM11A). One great place to start is http://www.jpeterson.com/rnd/ where you can find source and examples.
I attempted to create a system that will control 5 relays. Using X-10 will indeed save you the trouble of setting up a communication line between your computer and the relay. However, you will soon notice that X-10 is EXTREEMLY unreliable and is easily disturbed by anything that is going on the wires.
If you don�t mind running the communication wires, I would suggest to use FT649 from www.ferrettronics.com. It has a Java API and examples, and will easily control up to 5 relays.
IC
 
Sam Moran
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeo, thank you very much for the information. I will take a look at the APIa and info from Jesse Petterson's website.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic