User Tools

Site Tools


cloud:aws:iot_core

This is an old revision of the document!


IoT Core

Thing

Subscribing to topic

Example

Rules

Redirect to SiteWise

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.

cloud/aws/iot_core.1633786919.txt.gz · Last modified: by skipidar