Inspiration

What it does

It reads the data from IoT devices via HTTP Requests and adds it to a Block of Blockchain,and also suggest the user if it is advisable to go out of his house based on his location and sensor data

It also takes user feedback on data and update the Trust on that Sensor.

image-2020-12-11-T102712-367

image-2020-12-11-T102735-740

image-2020-12-11-T102806-197

How I built it

I built it by using a NodeMCU device with DHT sensor and Nodejs

  1. Make the NodeMCU wiring

dht22-esp8266-wiring

  1. Connect it to same wifi and flash the nodemcu ino file

  2. Run the App by cloning the repo and ,

npm install .
npm start

And Open http://localhost:3001

Challenges I ran into

  1. Connecting NodeMCU and Sending HTTP request
  2. Using the Digital Trust Protocol
  3. Creating my own trust algorithm from user feedback

Accomplishments that I'm proud of

  1. Completing it in 2 Days
  2. Using NodeMCU for First time

What I learned

  1. I didn't succeed in using the Digital Trust Protocol ,but learned a lot about OpenID and OAuth 2.0
  2. Http requests
  3. Creating Block from Scratch with my own Trust Algorithm

What's next for IoTBlock

  1. Adding More types of sensors.
  2. Using Data from APIs if sensors is not available
  3. Adding User Authentication using Digital Trust Protocol

Built With

Share this project:

Updates