If you had some kind of temperature sensor on the coffee pot and this was
connected to a machine running Apache+PHP and an interace program, the php
page could use exec() to run the interface program say every 5 seconds to
retrieve the temperature and if it was above say xº it could print "Coffee
ready" in the browser window (or active desktop on Win).
If it was a unix machine, it could send a messgae to all the networked
terminals in the workgroup i.e. those associated with coffe machine 1.
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
27E647E5629ED211BF78009027289C6302157D6F@mail1">news:27E647E5629ED211BF78009027289C6302157D6F@mail1...
> We are in Harrisburg...
>
> >-----Original Message-----
> >From: alain samoun [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, December 17, 2001 10:00 PM
> >To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED]
> >Subject: RE: [PHP-WIN] Re: coffee message
> >
> >
> >Yes, actually it does as there are several COM to control the serial
port.
> >But your nuclear powered coffee machine would probably better be
controlled
> >by something that has no relation with M$, or just tell us where your
> >installation is so we can move.
> >A+
> >Alain
> >
> >-----Original Message-----
> >From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, December 17, 2001 12:55 PM
> >To: [EMAIL PROTECTED]
> >Subject: RE: [PHP-WIN] Re: coffe message
> >
> >
> >The only thing I found about COM with php was the Component
> >Object Model,
> >and that doesn't really relate to the serial port, does it?
> >
> >>-----Original Message-----
> >>From: alain samoun [mailto:[EMAIL PROTECTED]]
> >>Sent: Monday, December 17, 2001 9:48 PM
> >>To: LaserJetter; [EMAIL PROTECTED]
> >>Subject: RE: [PHP-WIN] Re: coffe message
> >>
> >>
> >>Maybe also possible using some COM locally if the machine has
> >>a serial port.
> >>A+
> >>Alain
> >>
> >>-----Original Message-----
> >>From: LaserJetter [mailto:[EMAIL PROTECTED]]
> >>Sent: Monday, December 17, 2001 12:42 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: [PHP-WIN] Re: coffe message
> >>
> >>
> >>Yes, if you had a coffee machine with a network socket and
> >>supporting TCP/IP
> >>I can see that this would clearly be possible using sockets!!!
> >>
> >>
> >>
> >>"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
> >>27E647E5629ED211BF78009027289C6302157D67@mail1">news:27E647E5629ED211BF78009027289C6302157D67@mail1...
> >>> Is there a way for PHP to check the coffee machine if the
> >>coffee is ready?
> >>>
> >>> Maybe someone has a sample brew for me?
> >>
> >>
> >>
> >>--
> >>PHP Windows Mailing List (http://www.php.net/)
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>To contact the list administrators, e-mail:
> >>[EMAIL PROTECTED]
> >>
> >>
> >>--
> >>PHP Windows Mailing List (http://www.php.net/)
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>To contact the list administrators, e-mail:
> >>[EMAIL PROTECTED]
> >>
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail:
> >[EMAIL PROTECTED]
> >
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail:
> >[EMAIL PROTECTED]
> >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to