We are excited about launching (now in Beta) the IoT Gateway package in the OpenWhisk catalog. With this package, you can publish device events from OpenWhisk to Watson IoT Platform.

The OpenWhisk serverless architecture, which uses rules to bind events, triggers, and actions to each other, helps you quickly create and modify scalable action sequences to meet the evolving needs of IoT development. With OpenWhisk, you only pay for the time that your code is processing actions; you might see considerable cost savings compared to other technologies, such as virtual machines, runtime, and containers, which continue to take up memories even if they are not being fully utilized.

The sample app in this package shows how unstructured data can be processed using Watson IoT Platform. Drones or IP Cameras can take images of objects (for example, machines and cell towers) and use OpenWhisk to call the Watson Visual Recognition API to identify visible defects. The structured data (in the form of JSON responses) that is returned from Watson Visual Recognition can then be sent to the Watson IoT Platform for further data analytics.

  1. Drones or IP cameras send image files to a Cloudant NoSQL database.
  2. Cloudant triggers an OpenWhisk request.
  3. The OpenWhisk request calls Watson Visual Recognition API to analyze the image and process the unstructured data to JSON format.
  4. The request calls the IoT Gateway package in OpenWhisk. This IoT Gateway automatically registers the associated devices (drones or IP cameras) on the Watson IoT Platform and sends the JSON data to Watson IoT Platform.
  5. Watson IoT Platform takes actions based on the data analytics.

Are you ready to use serverless computing to build an IoT application? Try the Watson IoT Platform package in OpenWhisk! Read more about the Watson IoT Platform Gateway Package in the docs.

1 comment on"Serverless Computing with IoT – Watson IoT Platform Gateway Package in OpenWhisk"

  1. I want to know any things about IOT in elderlies

Join The Discussion

Your email address will not be published. Required fields are marked *