Date: 07/11/99
- Next message: Rasmus Lerdorf: "Re: [PHP-DEV] cvs commit"
- Previous message: Steven Lawrance: "[PHP-DEV] Documentation for SNMP"
- In reply to: Jim Winstead: "Re: [PHP-DEV] snmpset(), X10, and other stuff"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12 Jul 1999, Jim Winstead wrote:
> Steven Lawrance wrote:
> > I was thinking about porting my X10-CP290 home automation library to UNIX so
> > it can also be in PHP. Does this seem like something that would be useful?
> > It only uses the CP290 unit, but it supports all the operations that it can
> > do and has been tested over several years in its Win32 DLL form.
CP-290 is probably the worst serial->X-10 thing around -- it's
transmit-only and has no collision detection. I use
"Two-Way" with TW523 with my HTTP <-> X-10 thing
(http://phobos.illtel.denver.co.us/~abelits/apartment.php3), and CM11
seems to be a good choice, too.
PHP probably isn't the best language to implement such a thing either --
delays and locking will cause a lot of trouble. I wrote the program that
control my x-10 devices as fhttpd module in C, and while it probably will
be a good idea to use php frontend (my page with cameras and x-10 link is
in php after all), the "engine" should be very careful about simultaneous
requests, spontaneous responses, delays, error recovery and collisions.
PHP isn't designed for this.
> This sounds pretty cool, but one problem is that talking to X10 devices
> usually requires the correct permissions to open a serial device, which
> PHP may not have.
This is the least of your problems.
-- Alex---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rasmus Lerdorf: "Re: [PHP-DEV] cvs commit"
- Previous message: Steven Lawrance: "[PHP-DEV] Documentation for SNMP"
- In reply to: Jim Winstead: "Re: [PHP-DEV] snmpset(), X10, and other stuff"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

