CARVIEW |
About This Title
Pages: 180
Published: February 2022
ISBN: 9781680508598
In Print

Portable Python Projects
Run Your Home on a Raspberry Pi
by Mike Riley
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 custom 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!
eBook Formats:
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for $24.95 (USD)
Paperback Formats:
Order via Bookshop (U.S. Only)
Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.
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 OSResources
Releases:
- P1.0 2022/02/01
- B5.0 2022/01/17
- B4.0 2021/12/03
- B3.0 2021/09/27
Contents & Extracts
- Introduction
- Setup
- Assembling the Hardware
- Raspberry Pi
- microSD Card
- USB-C Power Supply
- Micro-HDMI Adapter
- Keyboard, Mouse, and Monitor
- Water Sensor
- DockerPi SensorHub
- Hue Starter Kit
- Smart Voice Assistant
- USB Infrared Transceiver
- Pi Camera Module V2
- Next Steps
- Setting Up the Software
- Raspberry Pi OS
- Configuring the Settings
- SSH Keys
- Python
- Pip Pip Hooray
- Git
- Rclone
- Supervisor
- Code Editor
- Next Steps
- Assembling the Hardware
- Projects
- Twitch Timer
- Setup
- Creating a Sleep-Timer Script
- TwitchTimer Script Improvements
- Next Steps
- Water Leak Notifier
excerpt
- Setup
- Test Script
- Water Sensor Email Alerts
- Sensor Supervision
- Next Steps
- Hue Fan
excerpt
- Setup
- Seating the Sensor
- Bridge Registration
- Registered Devices
- Turn It On Again
- Sensing the Heat
- Excessively Warm
- All Together Now
- Next Steps
- Hue Auto Light
- Setup
- Light Bright
- We’ve Got Movement
- Next Steps
- PiSpeak
excerpt
- Setup
- Feeding RSS
- Database CRUD
- Converting Audio
- Processing the Audio
- Tagging the Audio
- Move It
- List It
- Play It On the Go
- Schedule It
- Next Steps
- Voice Wake on LAN
- Setup
- Listen to Wake Up
- Scripted WOL
- Catching a Bullet
- Wake Up
- Next Steps
- Voice IR Control
- Setup
- Test It
- Add It
- Blast It
- Next Steps
- RedditBot
- Setup
- Reddit Access
- Reddit Commands
- Bot Creation
- Bot Interaction
- Next Steps
- PhotoHook
- Setup
- Camera Attachment
- Camera Activation
- Take a Picture
- Motion Detector
- Hook a Photo
- Post a Picture
- Movement Notification
- Next Steps
- Continuous Improvement
- Maintain
- Explore
- Enjoy
- Twitch Timer
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.eBook Formats:
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for $24.95 (USD)
Paperback Formats:
Order via Bookshop (U.S. Only)
Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.
Releases, Offers & More
Be the first to hear about our newest content, best promotions and upcoming events. Plus get 25% off your next purchase.
Related categories:
Related Titles:

About This Title
Pages: 180
Published: February 2022
ISBN: 9781680508598
Edition: 1
In Print