Home Automation with Mac OS X, Part 2
Pages: 1, 2, 3

Slimline Wall Switches Can Be Placed Almost Anywhere
Slimline Switches
There really is nothing to installing these wall switches, as they do not use any wiring. They operate on a simple watch battery and send RF signals to the X10 transceiver. The basic switch controls any house code you desire, but can only control unit codes 1, 2, and 3. A nice feature with the Slimline switch is that it can dim lights. The switch has self-adhesive tape on the back that is used to mount to your wall. You should clean your wall thoroughly before you attach it. Also, if you have a high-gloss wall finish or high humidity, it may have trouble sticking. I suggest using a silicon-based adhesive, like E6000. This way you can remove it later and it should peel off with no trouble (just be careful with the torque).
Motion Detectors
Installing motion detectors in the "right" location is a process of constant fine tuning. For example, on our staircase going upstairs, we had some difficulty because we didn't want it going off every time you walk past the staircase. It took a few days to finalize the best position for this particular detector. So you want to make sure you don't put the final screws into the wall until the detector works to your satisfaction. Instead, I recommend using tacks, tape, or pins during the testing phase. You might also look into setting it on a surface, like a bookshelf.

Can you see the motion detector? It's hidden behind the framed picture.
Screw-In/Socket Rocket Modules
The screw-in module has some heft, length, and girth to it. This is not for smaller table lamps or floor lamps with small lampshades. It does have a great benefit of being dimmable, and it works well where a plug-in module isn't practical. It can also be used outdoors if it's weatherproofed or installed upside down.
The Socket Rocket module fixes the size issue that you'll find with the screw-in, but cannot be dimmed. It can be used outside if it's weatherproofed or installed upside down. It's easy to program; the unit code is set by simply sending the same code over the house wiring three times in quick succession.

Notice the difference in sizes between a screw-in module, a Socket Rocket, and a regular light bulb.
Appliance Modules
These can be used in a variety of ways. I use one on a fountain, and another on Ikea halogen track lighting in my office. (I may have a few others lying around.) The Ikea lighting uses a transformer that is supposed to mount into a light fixture box or be hardwired onto the wall. I didn't want this ugly thing on my wall or ceiling, so I wired it with a plug and used an appliance module to control it.

This transformer just doesn't fit the look of my house.
PowerLinc USB Interface
Obviously, this has to be located next to the computer with which you wish to control it. Simply plug the USB cable into your computer and then into the PowerLinc module. Then plug the module into the wall. It has an "always on" pass-through plug built into it, which is handy.

PowerLinc module. The USB cable comes out the bottom, while the plug has a built-in pass through.

My Home Server
Phase Coupler
The phase coupler simply plugs into your dryer's 240v wall plug, and your dryer plugs into the phase coupler. If you do require a phase coupler, you really need to pay attention to which shape your house/dryer plug is before you buy the coupler. There are different types of plug configurations. Otherwise, installing the unit is as simple as plugging it in.

Plug the coupler into the receptacle and the dryer into the coupler.
Surge Protection
Like many electronic devices, your X10 components are sensitive to power-line surges. Why just protect your computer or entertainment system, when everything in your home is susceptible to the same danger? Instead of purchasing tons of crappy surge protectors, why not solve the problem at the source?
Think about installing a surge protector at your circuit breaker. While an additional $200+ investment might seem like a lot, it is really no more expensive than many UPS protectors, and covers everything in your house.

Leviton Surge Protector
Next Step: Software
Now that we have the basic hardware down, in the next article, we will start to program our home automation software and see some results.
Alan Graham is the creator of the Best of Blogs book series and is a frequent writer on the O'Reilly Network.
Return to the Mac DevCenter
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 8 of 8.
-
Next article?
2004-03-14 06:22:11 zacharyfarley [Reply | View]
When will the next article be published?
-
MisterHouse
2004-02-25 09:49:32 queueball [Reply | View]
I have been looking into up some home automation for a little while now. I have been looking at some software called MisterHouse written in Perl. http://www.misterhouse.com/
I am wondering if anyone has gotten the software to to work on OSX and if anyone knows of a good place on the web with some notes/help on how to set it up with OSX?
Thanks for the help
Q -
MisterHouse Works :)
2004-03-01 05:59:25 queueball [Reply | View]
Hello Everyone
Well I spent some of Saterday evening and Sunday morning setting up MisterHouse on my OS X machines. I got it working. However; I only have 1 light hooked up but it is a start. I guess next I need to start customizing it for my house. Right now it thinks the light module I have is in the Garage ;)
The good news, I noticed that the modules work all over the house as long as the computer module is not buried between all the power/network wires in the computer room. I guess there is too much there to block the signal.
I now look forward to expanding the system to something more useful :)
P.S. This has been a helpful article and got me off my butt to work on it :) Thanks
Later Days
Q -
MisterHouse
2004-02-28 07:05:40 coderanger [Reply | View]
No, I have not tried that yet. But I have been able to compile Bottlerocket for the Firecracker and use it with both Keyspan and IOGear USB-Serial Adapters. It compiles "out of the box" but is commandline only. However it shoudl be easy to wrap a GUI around it if you like. I like simple tools and it works for me. There are many solutions out there for Unix and Linux and I intend to try them all and see what works, what can be made to work, and what doesn't. Then I might even write my own Java or ObjC application.
-
X10
2004-02-20 18:16:20 jbharding [Reply | View]
Actually, there is no company named X10, but the name is used generically for a number of companies owned by X10 Ltd, a Singapore-owned Bermuda corporation operating out of Hong Kong. X10's devices are made in China, and are marketed through several X10 companies in the United States and Canada. Last October, X10 Wireless Technology, and X10 subsidiary, lost a lawsuit to a California company for $4.3 million with another $2.3 million in punitive damages for non-payment, and for "appropriating" technology and clients.
The lawsuit against X10 was, however, only the tip of the iceberg. Immediately after losing the $4.3 million lawsuit, X10 filed for bankruptcy under Chapter 11 of the Bankruptcy Code in U.S. Bankruptcy Court in Seattle.
The filing reveals some financial details of a company that had made itself known throughout the Web for its ubiquitous pop-under campaign and yet remained secretive about its operations.
X10 owes its creditors between $10 and $50 million. Other creditors include some of the Internet's best-known names, including Yahoo!, $346,000; Google Inc., $68,000; America Online Inc., $55,000; eBay Inc., $49,000; and Microsoft, about $459,000. X10 even owes $667,412 to its own lawyers, Sheppard Mullin Richter & Hampton of Los Angeles.
That's no problem for X10, however, as it has other subsidiaries to push its products.
Perhaps the nature of X10's operations should have been mentioned in your article.
John Harding
-
X10
2004-02-20 19:01:55 Alan Graham |
[Reply | View]
Well the article isn't about the business practices of this particular company, but home automation. And I did mention there are other compatible products to X10. -
X10
2004-02-20 18:57:03 perceptive_automation [Reply | View]
While I sure won't try to defend the company X10 or its subsidiaries, I think it is important to note that the term "X10" also refers to the power line protocol commonly used for home automation. This protocol / technique for communicating with appliances over the power line is public domain and there are several manufactures of X10 compatible devices that have absolutely nothing to do with the company X10. For example, the Smarthome design line of products (PowerLinc USB, LampLinc, SwitchLinc, etc), PCS, Marrick, and many other companies manufacture quality products that use the X10 protocol.
Even if X10 the company and all of its subsidiaries ceased operations tomorrow, there are other manufactures and vendors that would continue to fill the need for low cost X10 compatible home automation hardware.
Regards,
Matt Bendiksen





