The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Question.. would like to use Java how good is it for interfacing to PC?


  • Subject: Re: Question.. would like to use Java how good is it for interfacing to PC?
  • From: "vectra999uk2002" <questuk1@xxxxxxxxxxx>
  • Date: Mon, 07 Dec 2009 19:16:04 -0000

Hi dreamgreenhouse,

After your post I have looked at Java again, using Eclipse, and like it
but, it seems Java and RS232 are not easilly supported (RXTX may be
useable?), as i want it to work on received data event only not on polling
the port.

Then i looked at USB and again almost no support?

Not sure about ethernet, as i would like to eventaully connect PIC Micro
via ethernet to PC, can Java easily do this?

I have read that you make a wrapper for various interfaces and devices, but
not sure what this means, and how it would be used?

An easy to understand example would be useful?

Thanks


Regards


Gary





--- In ukha_d@xxxxxxx, "dreamgreenhouse_com" <yahoo@...>
wrote:
>
>
>
> --- In ukha_d@xxxxxxx, "vectra999uk2002" <questuk1@>
wrote:
> >
> > Hi
> >
> > Am once again looking at home automation, my own projects. Most
will interface through the RS232 port or USB.
> >
> > Have looked a lot on the internet but not really found the
answer.
>
> What is it that you are trying to do specifically?
>
> I've written my whole home automation system from scratch in Java and
its the best way to do it in my view. I've got Java wrappers written for
X10, Dallas 1-wire, Ethernet IO boards, etc. which mean I can pick and
choose which hardware I use and where. As new technologies come and go I
can use them and swap the old ones out. I'm also using many technologies
together, choosing the best one for each task to be automated.
>
> I'm not tied to any particular controller, user interface or devices.
I'm using web browsers, iPhones and Android devices to control the home and
the devices within it.
>
> By separating and abstracting the hardware in a Java software layer,
you can completely control the behaviour of any device or sensor in your
home. I can also control linkages between devices so that one event has an
impact on any number of devices. I've not seen any one technology or
controller 'off the shelf' that even gets close to the kind of features I
can enable programmatically.
>
> On top of that, there are Java for text to speech, sunset/sunrise
prediction, email, SMS, Twitter, Google Latitude and a whole range of other
services that can be used to make your home more intelligent and dynamic.
>
> So I guess my question is, why isn't everyone using Java for home
automation?
>




------------------------------------


UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.