Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Raspberry Pi Home Automation with Arduino - Second Edition
  • Table Of Contents Toc
Raspberry Pi Home Automation with Arduino - Second Edition

Raspberry Pi Home Automation with Arduino - Second Edition - Second Edition

By : Andrew K. Dennis
3 (5)
close
close
Raspberry Pi Home Automation with Arduino - Second Edition

Raspberry Pi Home Automation with Arduino - Second Edition

3 (5)
By: Andrew K. Dennis

Overview of this book

If you are new to the Raspberry Pi, the Arduino, or home automation and wish to develop some amazing projects using these tools, then this book is for you. Any experience in using the Raspberry Pi would be an added advantage.
Table of Contents (11 chapters)
close
close
4
4. Temperature Storage – Setting Up a Database to Store Your Results
10
Index

A web-based Python application

Python comes with a simple HTTP library that is perfect for creating a small web application. The web application, also known as a web service, is designed to provide a simple set of functionality: receive data, store it, and e-mail to confirm that it has received the data.

In Chapter 3, Central Air and Heating Thermostat, we used the HTTP server functionality of the Arduino to query the thermostat for data. In this chapter, we will be reversing the actions, where the Arduino will be posting to the Raspberry Pi.

Setting up SMTP

We recommend using an external e-mail service and connecting to it.

While you can host an SMTP server on your Raspberry Pi, you may find spam blockers will prevent the email for reaching its target.

Note

SMTP stands for Simple Mail Transfer Protocol. An SMTP server is an application that handles sending e-mails on the device it is installed on, for example, the Raspberry Pi.

There are various choices of external e-mail services, including...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Raspberry Pi Home Automation with Arduino - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon