Cover by Andrew K. Dennis

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 6. Temperature Storage – Setting up a Database to Store Your Results

In this chapter, we will cover setting up a database on your Raspberry Pi using SQLite. This SQL-based database will be used for storing the results from the temperature readings that we captured in the previous chapter. We will also look at HyperText Structured Query Language (HTSQL), a language that allows you to query your database via HTTP requests.

Along with these technologies, we will set up an Apache web server running Python via WSGI —a server-side programming language that we can use to run SQL queries against our database.

Let's get started, our first step will be to install SQLite Version 3.x and set up our temperature database.

SQLite

SQLite Version 3.x is ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required