Skip to content

pellenberger/pi-temp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-temp

Setup the Raspberry Pi

Goal : having a Raspberry Pi configured to get temperature from a sensor, save it on a database and push it to a webservice.

Basics

Temperature sensor

Required material is : sensor DS18B20+, resistance of 4.7k ohm / 0.25W and some cables.

Database

  • Install sqlite3 using apt-get install sqlite3
  • Create database in project root : sqlite3 pi-temp.db
  • In sqlite, import table measure : .read measure.sql
  • Exit sqlite using .exit
  • Useful :
    Several sqlite manipulations (dump, using with Python, etc.) : https://doc.ubuntu-fr.org/sqlite
    SQLite Documentation : http://www.sqlite.org/docs.html

Python scripts

Supported version is 2.7.9

About

Monitor the temperature of a room using a Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published