A web server app implemented with Node.js for monitoring temperature and humidity on Raspberry Pi with DHT22 sensor.
- Raspberry Pi;
- DHT22 sensor;
- Breadboard & cables.
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.46.tar.gz
tar -xvf bcm2835-1.46.tar.gz
cd bcm2835-1.46/
./configure
make
sudo make install
cd ..
rm -rf bcm2835-1.46/ bcm2835-1.46.tar.gz
git clone https://github.com/heqian/DHTServer.git
cd DHTServer/
npm install
sudo -b node server.js
The temperature & humidity in our Interaction Lab: http://pi.heqian.name