nettemp: online temperature monitoring using Raspberry Pi #piday #raspberrypi @Raspberry_Pi


Thanks to lnx for sending in this great temperature monitoring project!

I would like to present measuring the temperature of my project called nettemp. It started with a temperature measurement using a single sensor DS18B20 through the serial port for OpenWRT. The project involves measuring the temperature from multiple sensors through 1-wire bus or USB. To make it easier to manage sensors created a web interface in PHP that uses Sqlite3 database. Currently, everything works on the Raspberry Pi , or other system on which you PHP, lighttpd web server, sqlite3 and rrdtool.

Nettemp not only logs the temperature and draws graphs friendly. It controls the relays which may, for example. Turn on the oven when the temperature is too low in a room or we can turn on the heat / radiators for a limited time in agitation. I personally controls logotermą in his agitation.

Objectives of the project

The main objective of the project is to provide a ready solution to manage sensors for temperature measurement. You do not need to worry about the software, everything is delivered in one piece by the installer and for this uses a convenient interface through a web interface. The entire system is based on the built-in kernel support for bus 1-wire and digitemp software that reads the sensor 1-wire USB, USB-Serial, Serial (digitemp_DS2490, digitemp_DS9097, digitemp_DS9097U). In addition, the system automatically detects which plugged into a computer or a USB or serial if the GPIO .

The project with the influx of ideas and my users change and thus adds time to time with new features. All topics can be found here nettemp nettemp.

My goal?

This time nettemp was not created out of boredom and in the first instance to monitor the mixing of heat in order to save. At the same notifications that provided me information that in one room is too warm spared for almost two pieces of Raspberry Pi. It was worth 🙂


  • Read temperature sensors DS18B20 digital
  • Read the temperature and humidity sensors DHT11 and DHT22
  • Display readings on the main page
  • Storing readings to the base
  • Displaying graphs based on readings from sensors
  • Convenient interface to manage sensors, adding, Usov, discovery of new sensors
  • Naming and color sensors
  • Defining where charts are charts in August appear from the sensors to choose from (hourly, daily, weekly, annual)
  • Setting alarms for sensors (maximum and minimum temperature)
  • Email notifications and sms
  • Defining users to notify
  • Control relays – time control, temperature control, on / off, setting the time zone temperature.
  • Permissions Administrator, Operator
  • Logging program
  • Reset to default settings

Read more.


998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — Your job’s a joke, you’re broke, your semiconductor is DOA

Biohacking — The Heart Rates of the Hazda

Python for Microcontrollers — One year of CircuitPython weeklies!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.