Building Smart Homes with Raspberry Pi Zero

Book description

Build revolutionary and incredibly useful home automation projects with the all-new Pi Zero

About This Book

  • Create and program home automation projects using the Raspberry Pi Zero board

  • Connect your Raspberry Pi Zero to a cloud API, and then build a cloud dashboard to control your devices

  • Integrate all the projects into a complex project to automate key aspects of your home: data monitoring, devices control, and security

  • Who This Book Is For

    This book is for enthusiasts and programmers who want to build powerful and inexpensive home automation projects using the Raspberry Pi zero, and to transform their home into a smart home. It is for those who are new to the field of home automation, or who already have experience with other platforms such as Arduino.

    What You Will Learn

  • Learn how to measure and store data using the Raspberry Pi Zero board

  • Control LED lights, lamps, and other electrical applications

  • Send automated notifications by e-mail, SMS, or push notifications

  • Connect motion detectors, cameras, and alarms

  • Create automated alerts using Raspberry Pi Zero boards

  • Control devices using cloud-based services

  • Build a complete home automation system using Pi Zero

  • In Detail

    The release of the Raspberry Pi Zero has completely amazed the tech community. With the price, form factor, and being high on utility—the Raspberry Pi Zero is the perfect companion to support home automation projects and makes IoT even more accessible.

    With this book, you will be able to create and program home automation projects using the Raspberry Pi Zero board. The book will teach you how to build a thermostat that will automatically regulate the temperature in your home. Another important topic in home automation is controlling electrical appliances, and you will learn how to control LED Lights, lamps, and other electrical applications.

    Moving on, we will build a smart energy meter that can measure the power of the appliance, and you’ll learn how to switch it on and off. You’ll also see how to build simple security system, composed of alarms, a security camera, and motion detectors. At the end, you will integrate everything what you learned so far into a more complex project to automate the key aspects of your home.

    By the end, you will have deepened your knowledge of the Raspberry Pi Zero, and will know how to build autonomous home automation projects.

    Style and approach

    This book takes a step-by-step approach to automate your home like never before!

    Table of contents

    1. Building Smart Homes with Raspberry Pi Zero
      1. Table of Contents
      2. Building Smart Homes with Raspberry Pi Zero
      3. Credits
      4. About the Author
      5. About the Reviewer
      6. www.PacktPub.com
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Configuring Your Raspberry Pi Zero Board
        1. Introducing the Raspberry Pi Zero board
        2. Required components for the Zero board
        3. Assembling the different components
        4. Installing Raspbian
        5. Configuring the board for remote access
        6. Installing Node.js
        7. Summary
      9. 2. Measure Data Using Your Raspberry Pi Zero Board
        1. Hardware and software requirements
          1. Hardware configuration
          2. Software configuration
        2. Reading data from the sensor
        3. Storing sensor data
        4. Accessing the data remotely
        5. Plotting the stored data
        6. Summary
      10. 3. Building a Smart Home Thermostat
        1. Hardware and software requirements
          1. Hardware configuration
        2. Testing individual components
        3. Building the thermostat
        4. Controlling the thermostat remotely
        5. Summary
      11. 4. Controlling Appliances fromthe Raspberry Pi Zero
        1. Hardware and software requirements
        2. Controlling LEDs
        3. Controlling the speed of a DC motor
        4. Controlling home appliances
        5. Summary
      12. 5. Making a Smart Plug with the Raspberry Pi Zero
        1. Hardware and software requirements
          1. Hardware configuration
        2. Configuring the smart plug
        3. Creating an interface for the smart plug
        4. Logging your energy consumption over time
        5. Summary
      13. 6. Sending Notifications using Raspberry Pi Zero
        1. Hardware and software requirements
        2. Making a motion sensor that sends text messages
        3. Sending temperature alerts through email
        4. Receiving measurement SATA through push notifications
        5. Summary
      14. 7. Use the Raspberry Pi Zero to Build a Security System
        1. Hardware and software requirements
        2. Building a motion sensor with the Pi Zero
        3. Making a simple alarm module
        4. Building a wireless security camera
        5. Creating a security system
        6. Summary
      15. 8. Monitor Your Home from the Cloud
        1. Hardware and software requirements
        2. Monitoring data from a cloud dashboard
        3. Creating a cloud dashboard for your devices
        4. Accessing your security camera from anywhere
        5. Summary
      16. 9. Control Appliances from Anywhere
        1. Hardware and software requirements
        2. Control a LED from anywhere in the world
        3. Creating several lamps from the cloud
        4. Make a motion-activated lamp using IFTTT
        5. Build an automated cloud thermostat
        6. Summary
      17. 10. Building a Home Automation System with Raspberry Pi Zero Boards
        1. Hardware and software requirements
        2. Building all the modules
        3. Configuring the modules
        4. Integrating the modules into a single interface
        5. Automating your home
        6. Accessing your home automation system from anywhere
        7. Summary
      18. Index

    Product information

    • Title: Building Smart Homes with Raspberry Pi Zero
    • Author(s): Marco Schwartz
    • Release date: October 2016
    • Publisher(s): Packt Publishing
    • ISBN: 9781786466952