Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Apress - Smart Home Automation with Linux (2010)- P6:Linux users can now control their homes remotely! Are you a Linux user who has ever wanted to turn on the lights in your house, or open and close the curtains, while away on holiday? Want to be able to play the same music in every room, controlled from your laptop or mobile phone? Do you want to do these things without an expensive off-the-shelf kit | CHAPTER 1 APPLIANCE CONTROL This will support any incandescent lamp between 60 and 300 watts and can be switched on and off or dimmed by any X10 controller set to the same house code. The LM12U has a sister device the AM12U which works in the same work. The primary difference is that the AM12U is intended for appliances and therefore ignores any dim messages. The LM12U will also respond to two special messages all lights on and all units off provided they are sent using a matching house code. This module like many of the others featured here is placed in series with the power line acting like a logical AND gate. That is both the lamp s switch and the power switch at the wall must be on for the X10 turn on message to have any effect. Note The code numbers given here are for the U.K. versions of these devices. Because of slightly but significantly different power systems used in various countries around the world alternate modules are required according to your country. The LM12U in Italy for example is called the LM12I. Bayonet Lamp Module LM15EB This is also a simple zero-installation device but one that requires slightly more configuration. To install it you plug it into an existing light socket and then reinsert the bulb up to 150W into its free end. Neither fluorescent lamps nor low-energy lamps should be used though. The address is set by turning the lamp off and on again and then pressing the required house unit code on the controller three times once a second within 30 seconds of it being switched back on. The light will come on once the code has been learned. There is also a screw-in version of the same device LM15ES with ES standing for Edison screw although it is the bayonet version that s shown in Figure 1-2. Figure 1-2. The LM15EB 45 x45 x95mm 8 CHAPTER 1 APPLIANCE CONTROL LM15EBs lack the dimming facility of the larger LM12U but because they extend only 62mm farther than a traditional fitting they are small enough to hide inside most lamp shades making