GithubHelp home page GithubHelp logo

qbss / wifidht Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aderusha/wifidht

0.0 2.0 0.0 23 KB

Arduino sketch for the ESP8266 and a DHT11/22 sensor to allow collection of temp/humidity readings via HTTP

C++ 100.00%

wifidht's Introduction

WiFiDHT

Arduino sketch for the ESP8266 and a DHT22 sensor to allow collection of temp/humidity readings via HTTP.

Configure the WiFi and IP address details found in the sketch and flash to your device. Once the device is attached to your network, temperature and humidity readings can be accessed via HTTP per the following examples:

curl http://192.168.0.200 returns 78.9,56

curl http://192.168.0.200/json returns {"temperature":"78.9", "humidity":"56"}

curl http://192.168.0.200/temp returns 78.9

curl http://192.168.0.200/humid returns 56

curl http://192.168.0.200/html returns a web page with the current sensor readings in HTML format

Requirements

Setup Procedure

1. Install the Arduino IDE

Download the Arduino IDE for your operating system and install with the instructions linked below

2. Configure the ESP8266 Board Manager

Once the Arduino IDE is available we can add support for the development boards we'll be using.

  1. Launch the Arduino application
  2. Select the "File" menu ("Arduino" menu on OSX), then "Preferences"
  3. Paste the following URL in the box labeled "Additional Boards Manager URLs": http://arduino.esp8266.com/stable/package_esp8266com_index.json The page should look something like this: Board Manager screenshot
  4. While we're here, check "Display line numbers"
  5. Click OK to accept the changes
  6. Select the "Tools" menu, "Board" menu, then "Boards Manager"
  7. Search for ESP8266, click on the "esp8266" board and select "Install"

wifidht's People

Contributors

aderusha avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.