Name: Using-IOT-toProcess-BlockchainAnalytics
Owner: International Business Machines
Description: IoT and Blockchain combined. IoT with different uses.
Created: 2018-03-28 17:43:38.0
Updated: 2018-05-19 14:51:04.0
Pushed: 2018-05-02 20:02:16.0
Homepage: https://developer.ibm.com/code/patterns/iot-dashboards-analyze-data-blockchain-network/
Size: 2068
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
IoT's role in this project will take the users from the Blockchain network and list them as devices on the Watson IoT Platform everytime there's a new user created.
Besides that IoT will simulate a demo device and/or a real device can be chosen to display their data on the platform's dashboard. All these devices in this project will one Device Type.
That's with the Watson IoT Platform, but within Node-Red our IoT app will run analytics to display the total steps and total fitcoins of all users.
The app will also use a graph in real-time to show the Blockchain transactions coming to the IoT whether for new user creation, user validation or for generated values of steps and fitcoins.
You will need the following accounts and tools:
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
as seen below in the pic.
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.
Make sure to have Cloudant database service available and binded to your Bluemix/IBM Cloud app instance.
Make sure also to have a Watson IoT Platform created and binded as a service too.
'https://<YOUR-APP-NAME>.mybluemix.net/steps?message=' + blocks
Try live demo url: