Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

Display your Lego Mindstorms sensor data on a Fiori Overview Page and deploy it to the HCP Portal Fiori Launchpad

$
0
0

With my Lego Mindstorms sensor data in the HCP Internet of Things Services as described in my previous blog Connect a Lego Mindstorms NXT to the HCP Internet of Things Services via a Raspberry Pi over Bluetooth, I wanted to visualise this data on a Fiori Overview Page. Luckily, the HCP Internet of Things Services provide OData services for any device you register out of the box, so this was not so different from creating my first Fiori Overview Page as described in my previous blog How to make your OData entities work with the Fiori Overview Page and Cards leveraging the new SAP Web IDE annotation modeller. Therefore, I will focus on describing the differences to the above in this blog.

 

To start with, I had to create a Destination to my HCP Internet of Things Services, very similar to using the web service as described before:

Destination Configuration.png

Then, I create a Fiori Overview Page project in the Web IDE as before and specify my HCP Internet of Things Services destination and URL as the Data Connection. As a result, I can select my Application Data table:

Data Connection.png

The remaining steps are as before and next I have to edit my annotation file. I choose the G_DEVICE, G_CREATED and most importantly my Mindstorms UltrasonicSensor C_DISTANCE data fields:

Annotation Structure.png

Next, I add a Table Card to the Fiori Overview Page with data from my Application Data Table:

Table Customization.png

With that I got my Lego Mindstorms NXT sensor data displayed in a Fiori Overview Page:

Default User.png

Deploying this Fiori Overview Page to my HCP Portal is only a few more click away. First I deploy it to the HCP itself:

Deploy to SAP HANA Cloud Platform.png

For this I have to specify my HCP account and can assign an Application Name and Version:

Application Details.png

With this, I can register it to my Fiori Launchpad in the HCP Portal:

Register to SAP Fiori Launchpad.png

For this I provide a Description:

General Information.png

And Tile Configuration information:

Tile Configuration.png

As well as Assignment to a Fiori Catalog and Group:

Assignment.png

All done, and I see my HCP IoT Fiori Overview Page in my HCP Portal Fiori Launchpad:

flpportal.png


Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>