Atnaujinkite slapukų nuostatas

Portable Python Projects: Run Your Home on a Raspberry Pi [Minkštas viršelis]

  • Formatas: Paperback / softback, 185 pages, aukštis x plotis: 235x190 mm
  • Išleidimo metai: 21-Apr-2022
  • Leidėjas: Pragmatic Bookshelf
  • ISBN-10: 1680508598
  • ISBN-13: 9781680508598
Kitos knygos pagal šią temą:
  • Formatas: Paperback / softback, 185 pages, aukštis x plotis: 235x190 mm
  • Išleidimo metai: 21-Apr-2022
  • Leidėjas: Pragmatic Bookshelf
  • ISBN-10: 1680508598
  • ISBN-13: 9781680508598
Kitos knygos pagal šią temą:

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!

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

Acknowledgments ix
Introduction xi
Part I Setup
1 Assembling the Hardware
3(12)
Raspberry Pi
4(1)
microSD Card
5(1)
USB-C Power Supply
6(1)
Micro-HDMI Adapter
6(2)
Keyboard, Mouse, and Monitor
8(1)
Water Sensor
9(1)
DockerPi SensorHub
9(1)
Hue Starter Kit
10(1)
Smart Voice Assistant
11(1)
USB Infrared Transceiver
12(1)
Pi Camera Module V2
13(1)
Next Steps
14(1)
2 Setting Up the Software
15(24)
Raspberry Pi OS
15(3)
Configuring the Settings
18(2)
SSH Keys
20(2)
Python
22(1)
Pip Pip Hooray
23(1)
Git
24(4)
Rclone
28(5)
Supervisor
33(1)
Code Editor
34(2)
Next Steps
36(3)
Part II Projects
3 Twitch Timer
39(10)
Setup
39(3)
Creating a Sleep-Timer Script
42(2)
TwitchTimer Script Improvements
44(3)
Next Steps
47(2)
4 Water Leak Notifier
49(12)
Setup
49(1)
Test Script
50(2)
Water Sensor Email Alerts
52(4)
Sensor Supervision
56(4)
Next Steps
60(1)
5 Hue Fan
61(14)
Setup
61(2)
Seating the Sensor
63(1)
Bridge Registration
64(1)
Registered Devices
65(1)
Turn It On Again
66(1)
Sensing the Heat
67(2)
Excessively Warm
69(2)
All Together Now
71(2)
Next Steps
73(2)
6 Hue Auto Light
75(8)
Setup
75(3)
Light Bright
78(2)
We've Got Movement
80(2)
Next Steps
82(1)
7 PiSpeak
83(22)
Setup
83(2)
Feeding RSS
85(2)
Database CRUD
87(4)
Converting Audio
91(1)
Processing the Audio
92(1)
Tagging the Audio
93(2)
Move It
95(1)
List It
96(4)
Play It On the Go
100(1)
Schedule It
101(2)
Next Steps
103(2)
8 Voice Wake on LAN
105(14)
Setup
106(1)
Listen to Wake Up
106(7)
Scripted WOL
113(1)
Catching a Bullet
113(3)
Wake Up
116(2)
Next Steps
118(1)
9 Voice IR Control
119(8)
Setup
119(4)
Test It
123(1)
Add It
124(1)
Blast It
125(1)
Next Steps
125(2)
10 RedditBot
127(14)
Setup
127(1)
Reddit Access
128(2)
Reddit Commands
130(3)
Bot Creation
133(2)
Bot Interaction
135(4)
Next Steps
139(2)
11 PhotoHook
141(10)
Setup
142(1)
Camera Attachment
142(2)
Camera Activation
144(1)
Take a Picture
144(2)
Motion Detector
146(1)
Hook a Photo
147(1)
Post a Picture
147(1)
Movement Notification
148(2)
Next Steps
150(1)
12 Continuous Improvement
151(2)
Maintain
151(1)
Explore
152(1)
Enjoy
152(1)
Bibliography 153(2)
Index 155
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.