Thread: Re: [LHA-misc] [Fwd: Bored...w/ screenshots]
Status: Beta
Brought to you by:
ncherry
From: Jay H. <jay...@2i...> - 2001-12-08 02:41:28
|
Hmm... May be time to post/swap some code :) I'm working in PHP on some stuff and have a status/control page that can: - Group to specific rooms - send commands to a Ocelot/ADICON devices via a CGI URL in an IFrame (read: no full screen refresh) - Gets dynamic updates (using tattler as base code) from devices in the network and refresh status/timestamp on the screen (read: no full screen refresh) I am finishing up getting my HVAC, Napco, Ocelot, and ADICON stuff to broadcast updates via UDP (XML encoded) and a program that listens for the UDP messages, manages a state table, and forward messages to the browser (TCP, simple delimited). It is just a beginning and rather simple... I've spent more time researching style sheets and Java Applets (good books are hard to find!) There is still some stuff I don't have completely worked out but I can put it up... http://www.2imagineit.net/hacontrol/lights.php Obviously you can't do anything and you don't get status messages. (I hope ;) Jay At 10:12 AM 12/7/01 -0500, Lee Nash wrote: >Well, I first started the code with 4.0.6 php (socket, fread, fwrite, etc). >That worked fine for sending normal x10 commands (btw the socket code in >4.0.6 is experimental). But, I couldn't read big strings. I could read >the real time clock, but not the x10 state table. More than likely its a >timing issue. Anyway, in my blind rampage, I installed a snaps copy of the >php cvs tree, which contains almost all of the C sockets library. So now >I have socket_recv, socket_send, etc. The x10 commands still work, but >reading strings does not..... > >I thought Karl had his leopard working with Homedaemon (x10, ir, modules, >etc.). >Just as a passthrough device, though. I could be wrong about this (I don't >have it running). > >BTW, have you guys heard anything from Mark Day???? > >-lee > >Quoting Neil Cherry <nc...@ho...>: > > > > > > > So, I'm bored. This interface is using Mark's cpuxad server as a > > connecter > > > to the ocelot(this could easily to adapted to x10d). Its kinda flakey > > (ok, > > > really flakey) since I have to use the"experimental" php socket code. > > Anyway, > > > I need thoughts. > > > > > > What should I use to store the state of things? Should I use Karl's > > > HomeDaemon (a little overhead, since I use the ocelot's onboard > > processor)? > > > Should I use something that monitors X10 activity and update a database? > > > Thoughts? > > > > > > BTW - I built this module on top of horde (http://www.horde.org). If > > your > > > looking for a most excellant webmail program checkout imp, while your > > there. > > > > > > I'm sorry to those that are bandwidth challanged :( > > > > > > Oh yeah, its called Aether (god of light....hehe...I'm blushing) > > > > Here are teh links to the previously attached GIF files: > > > > http://members.home.net/linuxha/root.gif > > http://members.home.net/linuxha/action.gif > > > > Lee, lets get a few more details about the code. What experimental PHP > > code are you playing with? I have some code that attached to the X10d > > that seems to work fine. Also I didn't know that HomeDaemon supports > > the Ocelot!?! I thought it supported the CM11A and had an interface to > > the ADI modules. > > > >_______________________________________________ >https://lists.sourceforge.net/lists/listinfo/linuxha-misc >To unsubscribe, send "unsubscribe Linuxha-misc" >in the body of a message to Lin...@li... |
From: Neil C. <nc...@ho...> - 2001-12-23 19:53:12
|
Jay Hogg wrote: > > Hmm... > > May be time to post/swap some code :) > > I'm working in PHP on some stuff and have a status/control > page that can: > - Group to specific rooms > - send commands to a Ocelot/ADICON devices via a CGI URL in > an IFrame (read: no full screen refresh) > - Gets dynamic updates (using tattler as base code) from > devices in the network and refresh status/timestamp on > the screen (read: no full screen refresh) Hmm that sounds really interesting, tattler ... What is tattler? Is that code you made available previously? > I am finishing up getting my HVAC, Napco, Ocelot, and ADICON > stuff to broadcast updates via UDP (XML encoded) and a program > that listens for the UDP messages, manages a state table, and > forward messages to the browser (TCP, simple delimited). So what do you thik of UPnP? > It is just a beginning and rather simple... I've spent more time > researching style sheets and Java Applets (good books are hard > to find!) The worst part for me (other than the lack of time and too many projects ;-) is that I lack the imagination for a user interface. These table and link or row and column stuff lacks imagination but it is simple to do. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://linuxha.sourceforge.net/ (SourceForge) http://hcs.sourceforge.net/ (HCS II) |
From: John K. <jk...@pr...> - 2001-12-24 16:34:50
|
On Sun, 23 Dec 2001, Neil Cherry wrote: > Hmm that sounds really interesting, tattler ... What is tattler? > Is that code you made available previously? No, that's the Java applet I wrote to add a means to inform a page of system events instead of having the page poll the server. http://www.projectplasma.com/tattler/ What is it? ----------- Tattler is a Java applet intended to be embedded in an HTML page to enable realtime notification from the page's server to the browser. This is useful in cases where polling is impractical or an ugly page reload needs to be avoided. |
From: Neil C. <nc...@ho...> - 2001-12-24 18:21:12
|
John Klar wrote: > > On Sun, 23 Dec 2001, Neil Cherry wrote: > > > Hmm that sounds really interesting, tattler ... What is tattler? > > Is that code you made available previously? > > No, that's the Java applet I wrote to add a means to inform a page of > system events instead of having the page poll the server. > > http://www.projectplasma.com/tattler/ > > What is it? > ----------- > Tattler is a Java applet intended to be embedded in an HTML page to > enable realtime notification from the page's server to the browser. > This is useful in cases where polling is impractical or an ugly page > reload needs to be avoided. Cool, now that sounds very useful! -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://linuxha.sourceforge.net/ (SourceForge) http://hcs.sourceforge.net/ (HCS II) |