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!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor

In the part 1 and part 2 of the blog series you learned how to create device information in IoT cockpit and deploy Message Management Service to HCP.

In this final part of the blog series you learn how to setup an IoT simulator and push notifications to the device.

Setting Up IoT Simulator

  • Download urllib3 1.14 ,unzip it and place the contents of the folder inside iot-starterkit-for-desktop folder.

  • Place the file inside the folder "iot-starterkit-for-desktop".
  • Edit the file - change the values according to the details in your IoT cockpit.

  • Open command window and navigate to the folder "iot-starterkit-for-desktop".
  • Then execute the command "python" to start the IoT simulator.

Sending Push Notifications to Simulator

  • Open MMS cockpit.
  • Click on "Push messages to devices" tile.

  • Enter the "Device ID" and "Message to push" details. Then press "Push" button.
  • The message should reach the simulator.

  • You could also control the LED of the simulator by changing the message as given below.

  • Given below is the video that shows sending push notifications to the device from MMS cockpit.

View Data from Device Simulator

The data from the simulator could be viewed in the MMS cockpit.

  • On the IoT simulator slide the slider to 100 to start sending data to MMS cockpit application. By changing the slider position we could see different values under stored messages in MMS cockpit.

  • Click on "Display stored messages" tile in the MMS cockpit.

  • Select the table T_IOT_D*** to view the value coming from device.

Other SCN spaces to follow:

SAP Solutions for the Internet of Things

SAP HANA Cloud Platform

Regards, Midhun

SAP Technology RIG

Labels in this area