Book Image

Raspberry Pi Home Automation with Arduino - Second Edition

By : Andrew K. Dennis
Book Image

Raspberry Pi Home Automation with Arduino - Second Edition

By: Andrew K. Dennis

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Home Automation with Arduino Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Temperature Storage – Setting Up a Database to Store Your Results
Index

Summary


In this chapter, we built a package-detecting system and built upon the work completed in earlier chapters. We designed a circuit and attached it to the Arduino. This circuit recorded if a package was placed on a sensor.

When a parcel was detected, an HTTP POST request was made to the Raspberry Pi. Then the Raspberry Pi, through a web service, placed a timestamp and the location where the parcel was delivered in our SQLite database.

Following this, it sent an e-mail to alert us that the parcel had arrived. Next, we took our completed system and installed it so that it was ready for use in our home, and wrapped up with some ideas on improvements.

In the next chapter, we will build a system to open and close curtains based on the light in the room. For this, we will be using the Raspberry Pi to Arduino bridge shield.