-
Notifications
You must be signed in to change notification settings - Fork 18
Home
Welcome to the Using-IOT-toProcess-BlockchainAnalytics wiki!
IoT receiving blocks from Blockchain and run Analytics
Build an IoT project with Watson IoT Platform and Node-RED to organize users and do analytics on blocks coming from Blockchain
- Emerging Technologies
This IoT app will insert incoming values from Blockchain into the Cloudant database, then it will be retrieved to go through analysis for the Node-Red dashboard and through sending it in events to the Watson IoT Platform for streaming graphs, device counting and other showcases.
- Please let us know what you think about this project. Comment on it, open issues and/or give us suggestions or reach us out.
- Live demo - https://think-iot-processor.mybluemix.net/ui/#/0
- Watch video
For better viewing and understanding with the transactions happening within Blockchain, without having to access the hyperledger network, this IoT app example targets this requirement for the first time. Our application setup in this tutorial will do that.
The IoT app plays the role of organizing the users, list them for different use purposes and receives values from the transactions for analytical displays and track transactions processed into a graph.
IoT is taking into consideration the new users, then registers them as devices. It takes the generated values, in this example it can be the steps and fitcoins, to do an overall counts of these values and transactions.
This can be taken into different use cases to whether use it per single user and run its analytics or an overall analytics as we did in this project.
IMPORTANT: For more detailed step-by-step instructions, please make sure you visit the README.md page on the Github repo.
Choose from IBM Cloud/Bluemix Catalog the Internet of Things service, name it and create it. After few minutes when your app is ready, open Cloudant and create a database with the name of secretmap
.
Click your app's URL to open your Node-Red editor. Copy in there all the contents from the json file inside the scripts folder and paste them in the import box.
Blockchain Network will pass the blocks where all the information will be taken and be saved to be used for analytics and display the values on the Node-Red dashboard as seen in the above image.
1- Make sure to have Cloudant database service available and binded to your Bluemix/IBM Cloud app instance.
2- Make sure also to have a Watson IoT Platform created and binded as a service too.
3- Dashboard needs to be created in the Node-Red if it's not taken care of by the code import.
Make sure you can see the Internet of Things Platform and Cloudant services available in your Bluemix:
Dashboard -> Connections
.
Included components
- IBM Bluemix
- Internet of Things Platform
- Cloudant DB
- IBM Cloud Functions
- Node-RED
- Blockchain
- Hyperledger Fabric V1.0
For better viewing and understanding with the transactions happening within Blockchain, without having to access the hyperledger network, this IoT app example targets this requirement for the first time. Our application setup in this tutorial will do that.
The IoT app plays the role of organizing the users, list them for different use purposes and receives values from the transactions for analytical displays and track transactions processed into a graph.
IoT is taking into consideration the new users, then registers them as devices. It takes the generated values, in this example it can be the steps and fitcoins, to do an overall counts of these values and transactions.
This can be taken into different use cases to whether use it per single user and run its analytics or an overall analytics as we did in this project.