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: 
midhun_vp
Active Contributor

Everyone knows what is Internet of Things (IoT). SAP offers a comprehensive portfolio of solutions for Internet of Things. The HCP IoT Services can help you quickly develop, deploy and manage your own real time IoT and Machine to Machine applications. In this blog series I am explaining how to try HCP IoT services using an IoT simulator.

It was last year I first put my hands on a Beaglebone mini computer -  I was pretty impressed with the possibilities of this small device. And now, after the release of the $5 mini computer (rasberry pi zero) I thought to try the in-memory IoT platform SAP provides. Unfortunately because of huge demand, the device is out of stock. Doesn't matter, an IoT simulator helped me to try the HCP IoT services.

In this blog series you will learn how to push notifications to an IoT simulator using HCP IoT Services on cloud.

Enable HCP IoT Trial

  • Go to SAP HCP landing page and sign up for an HCP trial account.
  • After successful sign up, from the HCP cockpit go to "Services", then click on "Internet of Things Services".

  • Press "Enable" button.

  • After enabling it, click on "Go to Service" to see the IoT cockpit.

Create Device Information in IoT Cockpit

Create Device Type

  • Click on "Device Types".

  • Press on + button to add a new device type. And, enter name for the device.
  • Then, click on "Create" button.

Create Message Type

  • Click on "Message Types" tile.

  • Press on + button to add a new message type.
  • Enter a name for the message type - OutboundMessage.
  • Select the device from the drop down list - RasberryPi.
  • Select "From Device" as Direction from the dropdown list.

  • Add 3 fields (timestamp, sensor and value) as given below. Then click on "Create".

  • Press on + button to add a new message type.
  • Enter a name for the message type - InboundMessage.
  • Select the device from the drop down list - RasberryPi.
  • Select "To Device" as Direction from the dropdown list.
  • Add 2 fields (opcode and operand) as given below.
  • Finally, click on "Create" button.

Create Device

  • Press on "Devices" tile.
  • Press on + button to add a new device.
  • Enter name for the device - MyRasberryPi.
  • Select device type from the drop down - RasberryPi.
  • Press on "Create" button.

  • Note down the "OAuth Access Token".

  • The final result should look like below.

Go to next part of the blog: Little known Ways to Try HCP IoT Services using Simulator - Part 2

Labels in this area