If you take X-10, for example, X-10 communicates over a powerline, but it can't communicate to a PC directly, you need an interface that connects to a serial port or USB. (In the home automation world, most actually use serial as opposed to USB.) If your into programming, you could build a program that communicates with these devices and control the light from your programming, but I wish you luck. Both Charmed Quark and HomeSeer are full-time projects for one or more developers for many ideas, so creating one of these from scratch would be about the same as you creating Microsoft Word from scratch, sure it could be done, but is it really worth it?
Both HomeSeer and Charmed Quark run from several hundred dollars to over a thousand depending on options. There are some open source programs out there, and some very inexpensive ones, but you get what you pay for. If you got LOTS of free time and not much money, they are the way to go, but if you are like many people with a job and other responsibilities, the cost of these programs are well worth the time they save you.
Both HomeSeer and Charmed Quark run from several hundred dollars to over a thousand depending on options. There are some open source programs out there, and some very inexpensive ones, but you get what you pay for. If you got LOTS of free time and not much money, they are the way to go, but if you are like many people with a job and other responsibilities, the cost of these programs are well worth the time they save you.