Hello to all IoT friends 🙂

In this blog I want to introduce you Pebble @SAP. This blog is just for give ideas to people what can be done with Pebble Timeline.

Let’s move… There are 2 parts of application.

  1. Pebble Watchapp
  2. ABAP Package

Pebble Watchapp shows notifications from SAP ABAP and sends Pebble user token using configuration page to SAPUI5 application for the first time. In Pebble Timeline API if you want to send notifications to a user you need to know users Pebble watch token. So this is done by configuration page. I store this token in ABAP table which maps with SAP username. So when you want to send a notification to a user you could just get token this table.

ABAP package contain methods to send notification to Pebble, user token table, log table and an SAPUI5 application to get user token that I mentioned above.

Step-by-step:

  • User installs Pebble Watchapp and opens configuration time just one time for registration. And now we know users token for sending notifications.
  • Now we are to use ABAP methods to send notification. We can call method wherever you want in ABAP system. We have to fill some parameters(usern name, data to send etc). Method prepares JSON data and pass this data to Pebble Timeline API. That’s all!

I’ll make project open source in future. Before that I need to make ABAP classes and methods better 🙂 Also I need to get my Pebble Time for better testing 🙂

Note: Pebble Watchapp and ABAP package is a personal project, SAP and I don’t give any guarantee and/or support for this app, class and methods or any developments.

And the screenshots:

Pebble Watchapp on emulator:

/wp-content/uploads/2015/05/2_watchapp_710686.png

Configuration page that gets Pebble user token

/wp-content/uploads/2015/05/1_sapui5_710685.png

ABAP Test program that can send notification to Pebble. You don’t need to use this app, just for test purposes.

/wp-content/uploads/2015/05/3_abap_710690.png

Notification on Pebble

/wp-content/uploads/2015/05/watchapp_detail4_710694.png/wp-content/uploads/2015/05/watchapp_detail3_710693.png/wp-content/uploads/2015/05/watchapp_detail2_710692.png

/wp-content/uploads/2015/05/watchapp_detail1_710691.png

Note to moderators: If this is not the right place, please move.

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

    1. Erhan Keseli Post author

      Hi Florian,

      This app shows we can use Pebble for SAP things. When I complete coding(cleaning some junk code) I’ll make it public. So you can use code on the abap side. Just for inspiration, it is not an official product, app. Just for inspiration for the community.

      (0) 
      1. Alvaro Tejada Galindo

        Great blog Erhan! And @Florian showing a way to integrate SAP with Pebble is pretty in itself and Erhan is just showing his work in progress which is something that you do when you want present something in advance 😉

        Greetings,

        Blag.

        Development Culture.

        (0) 

Leave a Reply