Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aashish28
Contributor
0 Kudos

Purpose of this blog is to create simplest HCP Iot service example so that everyone can use it , try it and adapt it :grin:

In my last blog i'd shown keyboard led and laptop control via HCP iot service and it was bidirectional (http://scn.sap.com/community/developer-center/cloud-platform/blog/2016/01/20/hcp-iot-service--keyboa...)  so i was thinking can we create more easy blog to understand SAP HCP IOT service :???:

I got idea why not used same our cpu data as sensor data and show it via HCP Iot services :wink: same no Raspberry Pi is require and most of people can easily configure and test it simply without any issue.

Initial Phase design -

What you need to run this example -

Prerequisite - Configure your IOT service - Awesome blog from @rui.nogueira RaspberryPi on SAP HCP - IoT blog series part 6.1: Getting productive with IoT Services

Step 1) Create Device Type / Device and Message Type

Step 2) Create VBS script / Batch File and Python program ( download from my git hub - http://https://github.com/Aashish28/HCP )

Note :- keep your all three files in same folder and adjust path in all three files -

Prerequisite - Download python 3.5.1

Step 3) Create UI5 Application and deploy it on HCP . ( Download code from my github https://github.com/Aashish28/HCP)


Step 4 - Test it.

Open CMD and run your VBS file and Run your UI5 app which was deployed on HCP.

Run VBS  - cscript //nologo getCPUUsage.vbs



Final Execution - Watch this video

https://www.youtube.com/watch?v=YYpzOCyZudI

You can create mobile app as well for checking your CPU reading :smile:

Are you ready for predictive analytics and AI space ? if yes you're on right track .... will post on PA / AI with IOT :smile:

Thanks for reading my blog :smile: Just try it ....

BR

Ashish

SAPUI5 Developer Center

ABAP Development

SAP Gateway

Labels in this area