Home automation

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Not really sure if this is the right place to start for this.  I've just got
this burning desire to mess around with some home automation.  Is there any
way with PHP that you can write out to a USB port, for example, to turn a
device on of off?

Does anyone know where there's any decent information about this?


Re: Home automation

USB connections can be used just as another COM-port:
(haven't tested this, but it should work)

`mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=off`;
$fp = fopen ("COM1:", "w+");
$command = chr(27)+chr(64);  //DEVICE DEPENDANT
fputs ($fp, $command);
fclose ($fp);


Quoted text here. Click to load it

Re: Home automation

On 13/11/04 10:37 am, in article ktlld.340$72.180217344@news.telia.no,

Quoted text here. Click to load it

Hmmm...  Probably should have said that I'm running a Mac.  I get your point



Site Timeline