وبلاگ بلیان

اتوماسیون خانه هوشمند با لینوکس (صدای کارشناسان در لینوکس)

Smart Home Automation with Linux (Expert's Voice in Linux)

معرفی کتاب «اتوماسیون خانه هوشمند با لینوکس (صدای کارشناسان در لینوکس)» (با عنوان لاتین Smart Home Automation with Linux (Expert's Voice in Linux)) نوشتهٔ Steven Goodwin، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2010. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

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? In Smart Home Automation with Linux , Steven Goodwin will show you how a house can be fully controlled by its occupants, all using open source software. From appliances to kettles to curtains, control your home remotely! What you’ll learn Control appliances like kettles and curtains both locally and remotely. Find and harness data sources to provide context-aware living. Hack/change existing hardware/software to better fit your needs. Integrate various technologies into a function greater than the whole. Set up a home network, for both network and audio/video traffic. Who this book is for This book is for amateur and professional Linux users who want to control their homes and their gadgets! Table of Contents Appliance Control Appliance Hacking Media Systems Home is Home Communication Data Sources Control Hubs Prelim 1 Contents at a Glance 6 Contents 7 About the Author 14 About the Technical Reviewers 15 Acknowledgments 16 Introduction 17 Appliance Control 19 Making Things Do Stuff 19 X10 19 About X10 20 General Design 22 Simple Case 22 Standard Case 22 Fully Automated 23 Assigning Addresses 23 Using Multiple House Codes 24 Device Modules 24 Controlling Lights 25 Lamp Module (LM12U) 25 Bayonet Lamp Module (LM15EB) 26 Wall Switch (LW10U) 27 MicroModule with Dimmer (LWM1) 28 DIN Rail Dimmer (LD11) 29 Appliance MicroModule (AWM2) 29 Controlling Appliances 30 Appliance Module (AM12U) 30 Appliance MicroModule (AWM2) 31 Internal Devices 32 Combination Devices 32 Electronic Curtain Rails: Retrofit 33 Electronic Curtain Rails: Prebuilt 33 Stand-Alone Controllers 33 Tabletop Transmitter Modules 33 Mini Controller (MC460) 34 Sundowner Dusk/Dawn Controller (SD7233/SD533) 34 Mini Timer (MT10U) 34 Maxi Controller (SC2800) 35 Handheld Transmitter Modules 36 Handheld RF Remote (HR10U) 36 Keyfob Remote (KR22E) 36 EasyTouch Panel10 RF 37 EasyTouch35 Universal Remote Control 37 In-Wall Transmitter Modules 37 Motion Sensors 38 Gateways and Other Exotic Devices 38 Computer Control 41 Heyu 42 Configuration 43 Sending Messages 43 Receiving Messages 44 Programming the EEPROM 45 C-Bus 46 About C-Bus 46 Differences Between X10 and C-Bus 46 Devices 47 Controlling Lights 47 Controlling Appliances 48 Controllers 48 Gateways 49 Networked Devices 49 Ethernet Devices 49 Networking Primer 49 Concepts 50 Addressing 50 Computer Names 53 Network Services 54 CCTV Cameras 56 Wireless Cameras That Aren’t 57 Custom Hardware 58 Linux Software 58 Stand-Alone BitTorrent Clients 59 Infrared Remote Control 59 All-in-One Remotes 60 IR Relays 60 Over the Aerial Cable 60 IR-RF-IR Gateways 61 IR Over IP 61 IR Control 64 Conclusion 66 Appliance Hacking 67 Converting Existing Technology 67 Software Hacks 67 Linksys NSLU2 67 Unslung 68 SlugOS 69 Developing on the Slug 69 Hacking Game Consoles 70 Sega Dreamcast 70 Sony PlayStation 71 PlayStation 1 71 PlayStation 2 72 PlayStation Portable 73 Microsoft Xbox 73 Running Linux 74 Xbox Media Center 75 Hardware Hacks 76 Linksys NSLU2 76 Always On 76 Overclocking 76 Serial Port 77 LEGO Mindstorms 78 Arduino as an I/O Device 79 Installation and Setup 80 Arduino Software 81 Reading Digital Inputs 82 Reading Analog Inputs 85 Sending Digital Outputs 86 Sending Analog Outputs 87 Creating Audio Outputs 88 Communication with a PC 88 Arduino Hardware 90 Ethernet Networking 91 Wireless Control 91 Sound 91 Motors 91 Example: The Arduino Welcome Mat 91 Example: The Arduino Dictaphone 94 Joysticks for Input 97 Other Input Controllers 98 Hacking Laptops 98 Your Own X10 Devices 99 Conclusion 101 Media Systems 103 Incorporating the TV and the HiFi 103 The Data Chain 103 Extracting the Data 104 Compact Disc 104 DVD 105 Rip As ISO 106 Rip As Movie Files 106 Issues with Movies 107 Cassette Tapes and Vinyl 108 Storage 109 Stand-Alone NAS Systems 109 Hard Drive Considerations 109 Networking Considerations 111 Extra Functionality 112 NAS with Media Playback 112 Configuring a Linux Box 113 Preparing a Machine 114 Preparing a Filesystem 115 Preparing a Master Server 115 Media Extenders 116 Stand-Alone Hardware 117 Hauppauge MediaMVP 117 Creating a Server 117 MediaMVP Media Center 118 Weather Reports 119 Video Transcoding 119 Other Functionality 121 The Xtremer 121 Squeezebox 121 Server Software 122 Other Software 122 Emprex ME1 122 Just Linux 123 The Operating System 123 The Software 123 MythTV 124 Freevo 124 Xbox Media Center 125 The Video Disk Recorder Project 125 Distribution 125 Local Processing vs. Remote Processing 125 AV Distribution 125 Switching 126 Splitting and Merging 126 Wiring Looms 127 Wireless AV Distribution 128 Matrix Switchers 128 Control 130 Local Control 130 Remote-Control Methods 130 Direct Control 130 Relay Control 131 Server Control 132 A Web Interface 132 SMS 132 Conclusion 133 Home Is Home 135 The Physical Practicalities 135 Node0 135 Function and Purpose 135 Determining the Best Room 136 Lawful Considerations 136 Necessary Considerations 136 Negative Effects 137 Human Considerations 138 Primary Options 139 Building the Rack 140 Servers 141 Purposes of Servers 141 CPU Power 141 Disk Space 142 Server Extensibility 142 Bandwidth Capabilities 142 Types of Server 143 Rack Mount 143 Desktop PC 143 Mini-ITX 144 Mini-PC 145 Custom Embedded 146 Power Consumption 146 Server Coordination 149 UPS 150 Backups 154 Hiding Your Home 158 Adding to Your Home 159 General Considerations 160 Wired Network 161 Wireless Points 163 Audio Cabling 164 Other Access Points? 165 Conclusion 166 Communication 167 Humans Talk. Computers Talk. 167 Why Comms? 167 IP Telephony 168 Skype 168 Asterisk 169 E-mail 169 Preparing E-mail in Linux 169 Sending E-mail 170 Autoprocessing E-mails 171 Security Issues 174 Voice 175 The Software for Voice Recognition 176 Remote Voice Control 178 Speech Synthesis 179 Piecemeal Samples 182 Web Access 183 Building a Web Server 184 Virtual Sites 184 Secure Server 186 Controlling the Machine 190 Media Access 191 SMS 192 Processing with a Phone 193 Custom Numbers and APIs 196 Sending Messages 196 Receiving Messages 199 Conclusion 202 Data Sources 203 Making Homes Smart 203 Why Data Is Important 203 Legalities 203 Screen Scraping 204 Data Through APIs 207 Distribution 208 Public Data 208 TV Guides 208 Train Times 209 Road Traffic 211 Weather 211 Forecasts 211 Local Reporting 215 Radio 215 CD Data 217 News 219 Reported Stories: Push 219 Retrieving Data: Pull 221 Private Data 222 Calendar 222 Webmail 224 Twitter 226 Posting Tweets with cURL 227 Reading Tweets with cURL 227 Reading Tweets with RSS 228 Facebook 228 Automation 228 Timed Events 229 Periodic Control with Cron Jobs 229 Occasional Control with At 231 Error Handling 231 Conclusion 232 Control Hubs 233 Bringing It All Together 233 Integration of Technologies 233 The Teakettle: An Example 234 Minerva 236 Overview 237 Linux Users Are Not HA Users 238 The Minerva User 240 The Public User 240 Device Abstractions 240 Typical Application Abstractions 241 Monexec 242 TODO: A Worked Example 243 Conduits 244 Echo 245 Email 245 Infrared Remote Control 245 Logging 245 SMS 245 Twitter 245 The Voice Conduit 246 Web Log 246 Window Alert 246 Administering Conduits 246 Messaging Conduits 247 Output Conduits: Transmission 247 Input Conduits: Receiving Messages 249 TODO: Building a Conduit 251 Message Relays 252 Time-Based Messaging 252 Other Uses for MTS 254 Location-Based Messaging 254 Cosmic 255 Configuration 255 Creating Modes 257 Web Applets 257 Zinc: Between Web and Native 258 Of Web Pages and Applets 258 Existing Applets 261 Media 261 Lifestyle 263 Information 266 Administration 267 Creating Your Own Applets 268 The WARP Directories 269 The Components of WebFace 269 The Basic Structure 269 TODO: Controlling the Applet 270 Global Configuration 272 Applet Configuration 273 Utilities 274 Release 274 Manifest 274 Marple 275 The Workings 276 Handling Protocols 276 Bearskin Compatibility 278 Utility Scripts 279 Status 279 User Tools 279 Topology Ideas 280 Networking 280 Wiring Looms 282 Conclusion 285 Index 287 ¦Numbers & Symbols 287 ¦A 287 ¦B 289 ¦C 289 ¦D 291 ¦E 292 ¦G 293 ¦F 293 ¦H 293 ¦I 294 ¦J 295 ¦K 295 ¦L 295 ¦M 296 ¦N 299 ¦O 300 ¦P 300 ¦Q 301 ¦R 301 ¦S 301 ¦T 303 ¦U 304 V 304 ¦ 304 ¦W 305 ¦X 306 ¦Y 307 ¦Z 307 "With this book you will turn your house into a smart and automated home. You will learn how to put together all the hardware and software needed for home automation, to control appliances such as your teakettle, CCTV, light switches, and TV ... In the realm of media and media control, for instance, you'll learn how you can read TV schedules digitally and use them to program video remotely through email, SMS, or a web page ... You'll also learn techniques for streaming music and video from one machine to another, how to give your home its own Twitter and e-mail accounts for sending automatic status reports, and the ability to remotely control the home lights or heating system ..."-- Page 4 of cover
دانلود کتاب اتوماسیون خانه هوشمند با لینوکس (صدای کارشناسان در لینوکس)