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).
- Knowledge on Arduino Programming
- Hardware Components
- NodeMCU
- Raspberry Pi 3 Model B+
- DHT Sensor
- LED
- Connecting Wires
- Breadboard
- We will be using Mozilla WebThings Gateway for this demo
- Follow this Demo and setup the Gateway
- 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
- 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