AlePW / rpi-thermometer

WebUI for a Raspberry Pi thermometer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebUI for a Raspberry Pi thermometer

WebUI for a Raspberry Pi thermometer writen in Node.js, measurring the temperature in the room.

Hardware

  • Raspberry Pi
  • DS18B20 temperature sensor
  • RRU 4K7 resistor

Software

  • RaspBMC or Raspbian
  • Node.js

Drivers

  • w1-gpio
  • w1-therm

Usage

First, load the drivers

sudo modprobe w1-gpio  
sudo modprobe w1-therm

then determine the device id of your sensor (28-000004e23e98 in my case)

ls /sys/bus/w1/devices/   

open server.js and set the deviceId variable to your device id

var deviceId="28-000004e23e98";

and run the server

node server.js

About

WebUI for a Raspberry Pi thermometer