Portable Python Projects: Run Your Home on a Raspberry Pi

Discover easy ways to control your home with the powerful new Raspberry Pi hardware. Program short Python scripts that will detect changes in your home and react with the instructions you code. Use new add-on accessories to monitor a variety of measurements, from light intensity and temperature to motion detection and water leakage. Expand the base projects with your own IPS additions to perfectly match your own home setup. Most projects in the book can be completed in under an hour, giving you more time to enjoy and tweak your autonomous creations. No breadboard or electronics knowledge required!

Get to know the latest Raspberry Pi hardware, and create awesome automation solutions for home or work that don't require an electronics degree, cumbersome add-ons, or expensive third-party subscription services. Create easy to run Python scripts on your own that make your Pi do things that would have required a team of automation experts to build only a few years ago.

Connect to and control popular home automation lighting systems from a Raspberry Pi. Trigger autonomous actions based on movement, temperature, and timer events. Power on your own computer and appliances using your voice. Remotely control infrared-enabled consumer electronics, create chatbots to retrieve personalized items of interest, and implement a temperature-monitoring room fan. These are just some of the projects that the book will show you how to make. Most projects can be completed and operational in under an hour, and do not require any messy schematics or a spaghetti bowl of wires and breadboard-attached circuits to operate.

Control your home or office exactly the way you want instead of relying on an expensive mysterious box of third-party technology to do it for you.

What You Need:

Raspberry Pi (Pi 4 Model B or higher recommended) running Raspberry Pi OS

1140902486
Portable Python Projects: Run Your Home on a Raspberry Pi

Discover easy ways to control your home with the powerful new Raspberry Pi hardware. Program short Python scripts that will detect changes in your home and react with the instructions you code. Use new add-on accessories to monitor a variety of measurements, from light intensity and temperature to motion detection and water leakage. Expand the base projects with your own IPS additions to perfectly match your own home setup. Most projects in the book can be completed in under an hour, giving you more time to enjoy and tweak your autonomous creations. No breadboard or electronics knowledge required!

Get to know the latest Raspberry Pi hardware, and create awesome automation solutions for home or work that don't require an electronics degree, cumbersome add-ons, or expensive third-party subscription services. Create easy to run Python scripts on your own that make your Pi do things that would have required a team of automation experts to build only a few years ago.

Connect to and control popular home automation lighting systems from a Raspberry Pi. Trigger autonomous actions based on movement, temperature, and timer events. Power on your own computer and appliances using your voice. Remotely control infrared-enabled consumer electronics, create chatbots to retrieve personalized items of interest, and implement a temperature-monitoring room fan. These are just some of the projects that the book will show you how to make. Most projects can be completed and operational in under an hour, and do not require any messy schematics or a spaghetti bowl of wires and breadboard-attached circuits to operate.

Control your home or office exactly the way you want instead of relying on an expensive mysterious box of third-party technology to do it for you.

What You Need:

Raspberry Pi (Pi 4 Model B or higher recommended) running Raspberry Pi OS

39.99 In Stock
Portable Python Projects: Run Your Home on a Raspberry Pi

Portable Python Projects: Run Your Home on a Raspberry Pi

by Mike Riley
Portable Python Projects: Run Your Home on a Raspberry Pi

Portable Python Projects: Run Your Home on a Raspberry Pi

by Mike Riley

eBook

$39.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Discover easy ways to control your home with the powerful new Raspberry Pi hardware. Program short Python scripts that will detect changes in your home and react with the instructions you code. Use new add-on accessories to monitor a variety of measurements, from light intensity and temperature to motion detection and water leakage. Expand the base projects with your own IPS additions to perfectly match your own home setup. Most projects in the book can be completed in under an hour, giving you more time to enjoy and tweak your autonomous creations. No breadboard or electronics knowledge required!

Get to know the latest Raspberry Pi hardware, and create awesome automation solutions for home or work that don't require an electronics degree, cumbersome add-ons, or expensive third-party subscription services. Create easy to run Python scripts on your own that make your Pi do things that would have required a team of automation experts to build only a few years ago.

Connect to and control popular home automation lighting systems from a Raspberry Pi. Trigger autonomous actions based on movement, temperature, and timer events. Power on your own computer and appliances using your voice. Remotely control infrared-enabled consumer electronics, create chatbots to retrieve personalized items of interest, and implement a temperature-monitoring room fan. These are just some of the projects that the book will show you how to make. Most projects can be completed and operational in under an hour, and do not require any messy schematics or a spaghetti bowl of wires and breadboard-attached circuits to operate.

Control your home or office exactly the way you want instead of relying on an expensive mysterious box of third-party technology to do it for you.

What You Need:

Raspberry Pi (Pi 4 Model B or higher recommended) running Raspberry Pi OS


Product Details

ISBN-13: 9781680509519
Publisher: Pragmatic Bookshelf
Publication date: 02/01/2022
Sold by: Barnes & Noble
Format: eBook
Pages: 182
File size: 5 MB

About the Author

Mike Riley is the author of several titles published by Pragmatic Bookshelf, as well as a member of the company's Technical Advisory Board. He has been tinkering with computers since the late 70's beginning with the Tandy TRS-80, and has been a lifelong adventurer in science and technology.

Table of Contents

Acknowledgments ix

Introduction xi

Part I Setup

1 Assembling the Hardware 3

Raspberry Pi 4

MicroSD Card 5

USB-C Power Supply 6

Micro-HDMI Adapter 6

Keyboard, Mouse, and Monitor 8

Water Sensor 9

DockerPi SensorHub 9

Hue Starter Kit 10

Smart Voice Assistant 11

USB Infrared Transceiver 12

Pi Camera Module V2 13

Next Steps 14

2 Setting Up the Software 15

Raspberry Pi OS 15

Configuring the Settings 18

SSH Keys 20

Python 22

Pip Pip Hooray 23

Git 24

Rclone 28

Supervisor 33

Code Editor 34

Next Steps 36

Part II Projects

3 Twitch Timer 39

Setup 39

Creating a Sleep-Timer Script 42

TwitchTimer Script Improvements 44

Next Steps 47

4 Water Leak Notifier 49

Setup 49

Test Script 50

Water Sensor Email Alerts 52

Sensor Supervision 56

Next Steps 60

5 Hue Fan 61

Setup 61

Seating the Sensor 63

Bridge Registration 64

Registered Devices 65

Turn It On Again 66

Sensing the Heat 67

Excessively Warm 69

All Together Now 71

Next Steps 73

6 Hue Auto Light 75

Setup 75

Light Bright 78

We've Got Movement 80

Next Steps 82

7 PiSpeak 83

Setup 83

Feeding RSS 85

Database CRUD 87

Converting Audio 91

Processing the Audio 92

Tagging the Audio 93

Move It 95

List It 96

Play It On the Go 100

Schedule It 101

Next Steps 103

8 Voice Wake on LAN 105

Setup 106

Listen to Wake Up 106

Scripted WOL 113

Catching a Bullet 113

Wake Up 116

Next Steps 118

9 Voice IR Control 119

Setup 119

Test It 123

Add It 124

Blast It 125

Next Steps 125

10 RedditBot 127

Setup 127

Reddit Access 128

Reddit Commands 130

Bot Creation 133

Bot Interaction 135

Next Steps 139

11 PhotoHook 141

Setup 142

Camera Attachment 142

Camera Activation 144

Take a Picture 144

Motion Detector 146

Hook a Photo 147

Post a Picture 147

Movement Notification 148

Next Steps 150

12 Continuous Improvement 151

Maintain 151

Explore 152

Enjoy 152

Bibliography 153

Index 155

From the B&N Reads Blog

Customer Reviews