Table of Contents

IoT

IoT Device Catalogue

Device catalogue with IoT conformant devices. https://devices.amazonaws.com/search?page=1

IoT Core

Thing

Subscribing to topic

Example

https://iot4beginners.com/tutorial-on-aws-iot-core-with-raspberry-pi-to-visualize-sensor-data/

Rules

Redirect to SiteWise

In order not to define a rule for each single Thing - use wildcards.

Have multiple things

The MQTT topics for things in Iot Core are as structured as following:

$aws/things/alf-dev-con1-pi0-simulated/shadow/update/accepted
$aws/things/alf-dev-con1-pi1/shadow/update/accepted
Define a rule selection

Which match all things, independent of thing-name

SELECT * FROM '$aws/things/+/shadow/update/accepted'

Configure the SiteWise Assets

Add the name of the topic - to the property “aliases” . So that you can use the topics - in the asset aliases.

Define a rule action

Using ${topic(3)} which match the topic of the thing. The rules would redirect data to assets - depending on topic.