Smart Home Automation



Similar documents
Our Systems Experience, Specifically:

Intelligent Home Automation and Security System

Expert Oracle Application. Express Security. Scott Spendolini. Apress"

POPP Hub Gateway. Manual

Matrix Fitness 7xi Setup and Network Connection guide

Contents. Foreword. Acknowledgments

WALL TABLET. Smart Home Controller. make your home smart. Control your home from anywhere in the world

BRING YOUR WORLD TOGETHER

Beginning Windows 8. Mike Halsey Microsoft MVP for Windows. Apress*

AirMedia Network Multimedia Player 2.5 /3.5 SATA HDD Media Station HDMI. USB Host x2. USB Client x1. Wi-Fi (Optional) 10/100 Mbps.

ZIPAMINI. Smart Home Controller. make your home smart. Control your home from anywhere in the world

Training Guide: Configuring Windows8 8

VMWARE VSPHERE 5.0 WITH ESXI AND VCENTER

City of Georgetown. Cisco Unified Communications. Scope of Work

The 21 st Century Business Telephone System. VOIP PBX Telephone System

Smart Cities. Photo used under Creative Commons from nigelhowe

OPEN SERVICE RESIDENTIAL GATEWAY FOR SMART HOMES

Computer Networking. Definitions. Introduction

Workflow Administration of Windchill 10.2

Home Passport Gateway Series Simplify your Life with Smart Solutions

HControl offers you not One, nor Two, or even Three but Four vital home services with our exclusive Smart Home System.

APx4 Wireless System-on-Module 5/8/2013 1

Streamit s audio streaming solutions for dummies

NETWORKING TECHNOLOGIES

Audio Over IP. Building Pro AolP Systems. with Livewire. Skip Pizzi. Steve Church. Focal. Press ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON

2N Access Unit. 2N IP video intercoms support motion detection

Using AnywhereUSB to Connect USB Devices

Amcrest 960H DVR Quick Start Guide

GFSU Certified Cyber Crime Investigator GFSU-CCCI. Training Partner. Important dates for all batches

150Mbps Wireless N Mini Pocket Router

Agenda What can we do now? And 5 years from now we will still be current!

Mesh Networking and the Broadband-Hamnet

Networking. Sixth Edition. A Beginner's Guide BRUCE HALLBERG

Making My Book Social Acknowledgements Before We Begin About This Book

Product Guide for Windows Home Server

CMPD 323 DATA COMMUNICATION & COMPUTER NETWORKS. Chapter 5: Network Design and Troubleshooting Scenarios

AKCess Pro Server Management Software

Core Syllabus. Version 2.6 C OPERATE KNOWLEDGE AREA: OPERATION AND SUPPORT OF INFORMATION SYSTEMS. June 2006

Terminology and Definitions Acronyms and Abbreviations Acknowledgement

Big Data Analytics. Using Splunk. Peter Zadrozny. Raghu Kodali. Apress"

Discovering Computers Chapter 9 Communications and Networks

Understanding the Pros and Cons of Combination Networks 7. Acknowledgments Introduction. Establishing the Numbers of Clients and Servers 4

Sentrollers and The Internet of Things

The Trade & Industrial Education Binder

"Charting the Course... MOC B Server Virtualization with Windows Hyper-V and System Center. Course Summary

Paul McFedries. Home Server 2011 LEASHE. Third Edition. 800 East 96th Street, Indianapolis, Indiana USA

150Mbps Wireless N Mini Pocket Router

Features comparisons Matrix Virtualisation Migration Products

What is Bitdefender BOX?

15 Organisation/ICT/02/01/15 Back- up

What to do with your old PC Part 1

Networks. The two main network types are: Peer networks

How To Build A Network Security Firewall

FNC-1000 User Guide Table of Contents

QUICK START GUIDE RELEASE 7

Environmental IT Monitoring for serious professionals Detects all risks instant alerting ingeniously simple

UPiS - Uninterruptible Power intelligent Supply

Energy efficient Smart home based on Wireless Sensor Network using LabVIEW

I vantaggi dell?utilizzo di JAVA nella strategia M2M

The following is a summary of the key features of the ARM Injector:

Lab Configuring Access Policies and DMZ Settings

NETWORK ADMINISTRATOR

Special software can be created for you specific requirements: Lutron Light system, Conson Light System and more

Almond. Quick Setup Guide

The Most Powerful One Button HD Streaming, Recording and Auto-Publishing Solution. April White Paper

inet Enterprise Features Fact Sheet

Introduction. Acknowledgments Support & Feedback Preparing for the Exam. Chapter 1 Plan and deploy a server infrastructure 1

Chapter 1 Hardware and Software Introductions of pcduino

Embedded Based Web Server for CMS and Automation System

Implementation of Billing System for x-play services of Telecom Operator with Resource Development & Management Process

NEWT Managed PBX A Secure VoIP Architecture Providing Carrier Grade Service

What is NAS? Why NAS? Brief Introduction to Synology NAS

Honeywell Total Connect 2.0 Remote Services. FAQs. LYNX Touch, LYNX Plus. VISTA Products. Service. Remote Monitoring and Control. Automation Services

White Paper. Telenor VPN

Integrated Security System

Appendix A - Cost Estimate Spreadsheet

Your ASK4 Internet Guide. PLUS: 2013/14 Calendar

The 21 st Century Business Telephone System. VOIP PBX Telephone System

Cisco. A Beginner's Guide Fifth Edition ANTHONY T. VELTE TOBY J. VELTE. City Milan New Delhi Singapore Sydney Toronto. Mc Graw Hill Education

In the pursuit of becoming smart

System Administration of Windchill 10.2

SMART HOME A DEFINITION

SIP Trunking. Cisco Press. Christina Hattingh Darryl Sladden ATM Zakaria Swapan. 800 East 96th Street Indianapolis, IN 46240

Practical Load Balancing

Cisco Virtual Office Express

KeyScan KS-NAS-120. Applications Benefits

1 of 7 31/10/ :34

BUILDING BLOCKS AND CHALLENGES. of the Internet of Things

"Charting the Course to Your Success!" MOC D Windows 7 Enterprise Desktop Support Technician Course Summary

2-Bay NAS Media Server Enclosure (1 x 1 TB) TN-200T1 (v1.0r)

Home Automation Based on an Android and a Web Application Using Raspberry Pi

CONTEG Pro Server Management software

Bob Eager. 16 th February 2015

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Live Streaming Motion Detection Camera Security System with Notification using Raspberry Pi

IP PBX SH-500N

Kings Regional Occupational Program Course Information

Understand VLANs, Wired LANs, and Wireless LANs

Technical Notes TN 1 - ETG FactoryCast Gateway TSX ETG 3021 / 3022 modules. How to Setup a GPRS Connection?

Contents. vii. Preface. P ART I THE HONEYNET 1 Chapter 1 The Beginning 3. Chapter 2 Honeypots 17. xix

Transcription:

Smart Home Automation with Linux and Raspberry Pi Steven Goodwin Apress*

Contents J About the Author About the Technical Reviewers Acknowledgments Introduction xv xvii xix xxi Chapter 1: Appliance Control: Making Things Do Stuff 1 X10 1 About X10 1 General Design 3 Device Modules 6 Stand-Alone Controllers 14 Gateways and Other Exotic Devices 19 Computer Control 21 Z-Wave 26 System Design 26 Bypassing NDAs 26 ZigBee 28 Linux Software 28 The Differences with Z-Wave 28 C-Bus 29 About C-Bus 29 Differences Between X10 and C-Bus 29 Devices 30 Controllers 31 Gateways 31 vii

CONTENTS Lighting Control 31 Hue 32 Insteon 34 Life 34 Night Lights Sheding Light 34 35 Networked Devices 36 Ethernet Devices 36 Networking Primer 37 CCTV Cameras 43 Stand-Alone BitTorrent Clients 45 Infrared Remote Control 45 All-in-One Remotes 46 IR Relays 46 IR Control 50 Conclusion 51 Chapter 2: Appliance Hacking: Converting Existing Technology 53 Software Hacks 53 Linksys NSLU2 53 Developing on the Slug 55 Hacking Game Consoles 55 Hardware Hacks 60 Linksys NSLU2 60 LEGO Mindstorms 62 Arduino as an I/O Device 63 Joysticks for Input 82 Other Input Controllers 83 Hacking Laptops 83 Your Own Powered Devices 84 Conclusion 86 viii

CONTENTS Chapter 3: Media Systems: Incorporating the TV and the HiFi 87 The Data Chain 87 Extracting the Data 87 Storage 93 Stand-Alone NAS Systems 93 NAS with Media Playback 96 Configuring a Linux Box 96 Media Extenders 99 Stand-Alone Hardware 99 Just Linux 104 Remote Control and UPnP 106 A Brief History of UPnP 106 High-Level Separation of UPnP 109 Distribution 114 Local Processing versus Remote Processing 114 AV Distribution 114 Wiring Looms 116 Wireless AV Distribution 117 Matrix Switchers 117 Control 118 Local Control 118 Remote-Control Methods 119 Conclusion 121 Chapter 4: Home is Home: The Physical Practicalities 123 NodeO 123 Function and Purpose 123 Determining the Best Room 124 Building the Rack 127 Servers 128 Server Capacity 128 ix

is CONTENTS Server Extensibility 129 Types of Server 129 Power Consumption 132 Server Coordination 135 UPS 136 Backups 140 Hiding Your Home 142 Adding to Your Home 144 General Considerations 144 Wired Network 146 Wireless Points 148 Audio Cabling 148 Other Access Points? 150 Conclusion 151 Chapter 5: Communication: Humans Talk. Computers Talk 153 Why Comms? 153 IP Telephony 154 Skype 154 Asterisk 154 E-mail 155 Preparing E-mail in Linux 155 Sending E-mail 155 Autoprocessing E-mails 156 Security Issues 159 Voice 160 The Software for Voice Recognition 160 Remote Voice Control 165 Speech Synthesis 166 Piecemeal Samples 169 Web Access 171 Building a Web Server 171 x

s CONTENTS SMS 179 Processing with a Phone 179 Custom Numbers and APIs 182 Conclusion 188 Chapter 6: Data Sources: Making Homes Smart 189 Why Data Is Important 189 Legalities 189 Distribution 193 Public Data 193 TV Guides 193 Train Times 194 Road Traffic 196 Weather 196 Radio 200 CD Data 202 News 204 Other Public Sources 207 Private Data 207 Calendar 208 Accessing Webmail through P0P3 209 Twitter 211 Facebook 213 Automation 213 Timed Events 213 Error Handling 216 Conclusion 216 Chapter 7: Control Hubs: Bringing It All Together 217 Integration of Technologies 217 The Teakettle: An Example 218 Minerva 220 xi

CONTENTS Overview 220 Linux Users Are Not HA Users 222 Device Abstractions 223 Conduits 227 Messaging Conduits 229 Message Relays 234 Time-Based Messaging 234 Location-Based Messaging 236 Cosmic 237 To Yaks 239 Living Modes 240 Routines 241 Minty 243 The Universal Remote Control 244 Web Applets 246 Manifest 263 Marple 265 Utility Scripts 267 Topology Ideas 269 Networking 269 Wiring Looms 271 Conclusion 273 Chapter 8: Raspberry Pi 275 The Raspberry Pi within HA 275 Obvious Benefits 276 Towards Full Local Control 276 The Joy of Community 277 The Drawbacks 278 Typical Projects 280 The Telephone 280 Child Minding 280 xii

CONTENTS Photo Frames 281 Weather Stations 281 Raspberry Pi as a USB Host 281 As a Device Host 282 Proximity Sensing 283 Coffee Machine 283 Clock Radio 284 Without Mains Power 284 Installation 284 Software 284 Hardware 285 Interfacing With Hardware 286 Hardware Caution 286 With the GPIO 287 With thearduino 290 With SPI 293 WithArduino Shields 294 Software Options 295 Conclusion 296 Index 297 xiii