Please login or register.

Login with username, password and session length
Advanced search  

News:

The X10Hub (PiX10Hub) is here! Created by the Community, for the Community.:)% #:)

Author Topic: API in JAVA  (Read 23625 times)

pume

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 5
API in JAVA
« on: November 22, 2006, 04:27:31 AM »

http://home.comcast.net:80/~ncherry/common/x10_1_0_1.zip

I found jpeterson API. Can I use CM11A Api for X10 240V/50Hz ?
 
Logged

neil cherry

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 14
Re: API in JAVA
« Reply #1 on: November 22, 2006, 09:42:44 AM »

That would be the CM12 that works with 240V/50Hz (I think) and I believe it's the exact same 'api'. BTW, I'm also keeping that link my another site ( http://www.linuxha.com/athome/common/x10_1_0_1.zip  ). The Comcast link could go away in the future if I get a better deal on DSL. I maintain both web pages. :-)

--
Neil Cherry
http://www.linuxha.com/ - Linux Home Automation
Logged

pume

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 5
Re: API in JAVA
« Reply #2 on: November 22, 2006, 11:31:21 AM »

http://www.intellihome.be/english/store.asp?pag=index&menu=7

this product is CM11 PC Interface - USB .

Can I develope this product with this API ?
Logged

neil cherry

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 14
Re: API in JAVA
« Reply #3 on: November 22, 2006, 03:05:09 PM »

I can only guess that the answer is yes in that I haven't used the file before. I have the source also, so if it needs updating someone can update it. I strongly suspect that the CM11 with the USB cable (and serial cable according to the advert) has the exact API as the CM11 in the US. If Active Home interfaces to it (it's in the kit) it matches.

I took a quick look at the file and it was origianlly written for the TINI processor, I don't think that will cause you a problem but it's good to know.
Logged

pume

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 5
Re: API in JAVA
« Reply #4 on: November 23, 2006, 09:17:40 AM »

Can CM11E  ( 230Vac / 50Hz ) PC interface - serial port use together with  this API ?  ???
« Last Edit: November 23, 2006, 11:47:20 AM by pume »
Logged

neil cherry

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 14
Re: API in JAVA
« Reply #5 on: November 23, 2006, 09:43:23 PM »

I think the answer is yes. Like I said some work may be needed on the Java code as it was written for the TINI. I'm pretty sure it uses the rxtx java library. I'm not sure if that's included with Linux or not but you can get it.
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.