Using acts in IoT Core

IoT Core has a feature called acts, which allows us to build rules to interact with DynamoDB, or to write simple analytical rules. In this case, we are going to use an act to store the data received in the DynamoDB table:

  1. From the menu on the left, click on Act, then Create a rule, as shown in the following screenshot:
Creating an act in IoT Core
  1. We can provide a name and the attributes that we want to import. In this example, we want the data (*) and the name of the topic (topic()), so that we need to set the attributes to *, topic() as topic. Finally, we can subscribe to all signals, so that we can use signals/# ...

Get Hands-On Industrial Internet of Things now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.