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... |