x10 protocol DLL
x10 protocol DLL
Hello,
I needed to use the x10 protocol on Windows but found nothing so I ported a linux lib to windows (x10 protocol is used to control elements like a plug, a store, etc.. trough electrical wire). A little DLL is available, and sources too (in C), and a little PB console program.
You can grab it here: www.purebasic.com/extra/x10_win32.zip
Bye,
Fred.
I needed to use the x10 protocol on Windows but found nothing so I ported a linux lib to windows (x10 protocol is used to control elements like a plug, a store, etc.. trough electrical wire). A little DLL is available, and sources too (in C), and a little PB console program.
You can grab it here: www.purebasic.com/extra/x10_win32.zip
Bye,
Fred.
Hi Fred, thanks for doing this!
Turning a device on/off via command line works great :
Now Pure Basic can controll the AC electricity in my home! 

Turning a device on/off via command line works great :
Code: Select all
x10controller COM2: A 2 ON
Code: Select all
x10controller COM2: A 2 OFF

UH-OH!!griz wrote: Now Pure Basic can controll the AC electricity in my home!

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
-
- Enthusiast
- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
Re: x10 protocol DLL
Sweet, thanks Fred ..
Don`t tell me you`re making an X10 controlled coffee maker and beer cooler for those late night coding sessions
Also, does anyone here know much about using X10 in the UK?
How does the signal stay limited in the house, and not affect anyone else on the same street with any X10 devices?
Don`t tell me you`re making an X10 controlled coffee maker and beer cooler for those late night coding sessions

Also, does anyone here know much about using X10 in the UK?
How does the signal stay limited in the house, and not affect anyone else on the same street with any X10 devices?
Re: x10 protocol DLL
NEWSFLASH
Citizens of the United Kingdom were truely united last night. United in shock and irritation, after a freakish prank perpetrated by a computer guru known only as "Doobrey".
The lights of the entire nation flashed out a 10-4 message in morse after "Doobrey" had hooked into the national grid with his x10 technology.
"It was pure hell!" said one citizen, who wishes to remain anonymous. Inside sources doubt this, believing it was Pure Basic.
Authorities are now seeking "Doobrey" and a shady accomplice known only as "Fred". "Doobrey" was last seen driving an austin A10 down the M10, x10 installed in the ignition to boost speed 10x. It is believed "Doobrey" now intends to head to Southern California, there to hang 10 whilst evaluating the US national grid.
Re: x10 protocol DLL
Dare2
I don't know about the UK, but in France each house is independant, because of the electrical block (where all the electric items are controlled) filter any variation in the AC. Anyway, this techno is somewhat cool, I use it to start the wash-machine at work from a web page (and yes, it even work from a mobil phone) so all is ready to pack when I comeback

Sure I doDoobrey wrote:Sweet, thanks Fred ..
Don`t tell me you`re making an X10 controlled coffee maker and beer cooler for those late night coding sessions

I don't know about the UK, but in France each house is independant, because of the electrical block (where all the electric items are controlled) filter any variation in the AC. Anyway, this techno is somewhat cool, I use it to start the wash-machine at work from a web page (and yes, it even work from a mobil phone) so all is ready to pack when I comeback

Re: x10 protocol DLL
Now Fred can flush the toilet from everywhere....to bad it fails from time to timeFred wrote:Dare2![]()
Sure I doDoobrey wrote:Sweet, thanks Fred ..
Don`t tell me you`re making an X10 controlled coffee maker and beer cooler for those late night coding sessions![]()
I don't know about the UK, but in France each house is independant, because of the electrical block (where all the electric items are controlled) filter any variation in the AC. Anyway, this techno is somewhat cool, I use it to start the wash-machine at work from a web page (and yes, it even work from a mobil phone) so all is ready to pack when I comeback

Re: x10 protocol DLL
Berikco wrote: Now Fred can flush the toilet from everywhere....to bad it fails from time to time

-
- Enthusiast
- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
Re: x10 protocol DLL
I really hope he doesn`t plug the X10 module in back to front.... 8OBerikco wrote: Now Fred can flush the toilet from everywhere....
-
- Enthusiast
- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
Re: x10 protocol DLL
LMAO..Nice one Dare2..but just cos I have long hair doesn`t make me a guru..Dare2 wrote:NEWSFLASHCitizens of the United Kingdom were truely united last night. United in shock and irritation, after a freakish prank perpetrated by a computer guru known only as "Doobrey".
Although I`ve caused a few of them coding on the Amiga

BTW, did anyone see that Blinkenlights thing done a few years back, where they wired up the lights of an office block, then used it as a display to play Pong ?
Re: x10 protocol DLL
lol. You're not joking .. ?Doobrey wrote: .. where they wired up the lights of an office block, then used it as a display to play Pong ?
