Re: [LHA-misc] Help - So many linux HA options
Status: Beta
Brought to you by:
ncherry
From: Neil C. <nc...@ho...> - 2000-11-07 01:52:11
|
HGu...@ao... wrote: > > Ok, > > Thanks for the very quick reply, so lets get down to further understanding > and maybe I can lend a hand where fit. > > I see the CM-11A a major need so lets start there, > Is Dan Lanciani's code GPL? If not would he be interested ? The X10d works > pretty well (compiles and installs with no problems) but needs Docs, > makefile, and install scripts (maybe an RPM too). If it's GPL it would be > easy to add these things and finish that off. I've spoken to Dan and he doesn't want to GPL his code. That is his option so I respect that. Please don't read anything into my words as he is not harsh about it. As far as docs, you'll find them at: http://members.home.net/ncherry/common/README.html > So if I were to want to add a new interface I would use the same basic code > as from X10d and use a sockets interface? With some good comments maybe Dan > Lanciani's code could serve as a prototype for other devices. I'm hoping my code is an able replacement for his, there are certain things my code does that his doesn't. I still need to work on a few more things to finish that off. > I like the idea of a layered ISO modeled system. Every controller would have > a sockets interface that talks ASCII commands, cool! Just telnet in to test. > Just about all languages support sockets interface. This seems to make the most sense, most of the time. > Ok now what about Karl Denninger's HomeDaemon? It also talks directly to some > devices and uses Shared memory (don't care much for shared memory, but guess > it works). It needs to be able to know about talk to the other controllers > through sockets. As you said, that program need to be changed. There are 2 ways to approach this, the first is to build tools around his code. The second is to modify his code. I'll eventually do both, first add tools then rewrite his code so it will support the other daemons. > Has anyone gotten the CGI part to work on Homedaemon? Could someone document > how it works? It would be cool to have the Homedaemon to listen on a socket > for commands and display event (like a monitor) but maybe I'm getting too far > ahead. I've got it working but I don't care much for it. I'll try to document how I got it working and what the parts mean. Homedeamon actuall does listen on a socket connected to the X10d port and it can exec commands depending what the X10d reports. Also if you change chared memory values it can trigger events also. > As far as GUI, I kind of like the idea of doing it in JAVA, but Tk/TCl will > work find too. Seems like the GUI needs to talk to the HomeDaemon though > because the Homedaemon understands device names (alias's). Java is OK, I've found it to kill performance on most of my boxes. But it is easier for the end user to use an applet when they hit a page. I think you might find that a combo of Java, and PHP can make for some interesting pages. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |