mimiflynn / arduino-node-temp-humidity

Web interface to view temp and humidity from an Arduino with a DHT22 sensor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temperature and Humidity

Work in progress.

Browser based interface to view temperature and humidity data from an Arduino with a DHT22 sensor.

Features

Track minute by minute temperature and humidity data via website and / or MagicMirrorModule.

Purpose and Objectives and Stuff

Overall, I started this project in an attempt to collect large amounts of data and render SVG's via React and D3 on the server and update the UI in the browser upon the arrival of new data points.

I would like to thank my darling orchid as the true inspiration for this project. Although neglect is highly suggested in regards to orchid care, I've decided to further explore environmental variables to better understand my plant. (Update: may orchid rest in peace).

Requirements

Optional

  • Raspberry Pi 3 (server for app)

Usage

  • Hook up Arduino and DHT22 sensor hardware.
  • Load firmware onto Arduino
  • cd nodejs
  • npm install
  • npm start to begin collecting temperature and humidity data and outputting values from the database
  • if no errors in the console, go to localhost:3000 and view data

Credits

https://plot.ly/arduino/dht22-temperature-tutorial/

https://learn.adafruit.com/dht

https://github.com/bblanchon/ArduinoJson

Todo

replace underscore with lodash

update front-end to more modern whatnot

About

Web interface to view temp and humidity from an Arduino with a DHT22 sensor.


Languages

Language:JavaScript 96.9%Language:C++ 2.8%Language:Makefile 0.3%