Configuration for Raspberry Pi-based temperature sensors connected to
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A Raspberry Pi-based temperature sensing station. The setup uses 2 DS18B20 digital temperature sensor modules and one USB TEMPer sensor. The data is then fed back to


The basic code for the temperature sensing python script was found here:

Details about including were found here:

The drivers for the TEMPer sensor were found here:

Information on how to create an Upstart Service was found here:


Install Upstart sudo apt-get install upstart

Follow the installation instructions:

  • Add dtoverlay=w1-gpio to /boot/config.txt using sudo nano /boot/config.txt

  • Reboot

  • Run the following the check that the temperature device(s) works:

    sudo modprobe w1-gpio

    sudo modprobe w1-therm

    cd /sys/bus/w1/devices


    cd 28-xxxx (change this to match what serial number pops up)

    cat w1_slave

  • Follow the TEMPer-python installation instructions

  • Place the temperature sensing python script in the pi user home directory

  • Place the Adafruit APIkey in a files in the pi user home directory called apikey.txt

  • Place the thermoservice.conf file in /etc/init

  • Change the permissions for the file: sudo chmod +x

  • Reboot the Pi