Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.72 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.72 KB

Web Of Things

Introduction

The Web of Things is a refinement of the Internet of Things by integrating smart things not only into the Internet (network), but into the Web Architecture (application).

Prerequisites

  • Knowledge on Arduino Programming
  • Hardware Components
    • NodeMCU
    • Raspberry Pi 3 Model B+
    • DHT Sensor
    • LED
    • Connecting Wires
    • Breadboard

Preparing Gateway

Installing PlatformIO

  • First Install an open source IDE like Atom
  • Then to install PlatformIO follow this link
  • Once it is setup test the Environment by following this blog

Testing the Code

  • Install webthing-arduino with latest version and ArduinoJson with version 5.13.x (Since there are compatible issues) for Web of Things libraries
  • Install SimpleDHT for DHT libraries
  • There are two projects in this repo
    • WoT_Blink
    • WoT_DHT
  • Navigate to src/main.cpp in WoT_Blink and WoT_DHT
  • Change the ssid and password to connect the NodeMCU to the same network that the Gateway is connected
  • Upload Individual Project and check for the device in the Gateway
  • For WoT_Blink Toggle the LED in from the Things Dashboard
  • For WoT_DHT Check the Temperature and Humidity values in Things Dashboard

Voila we have just implemented Web of Things 😃