Step 1: Configure Amazon IoT SiteWise to publish property value updates
In this procedure, you enable property value notifications on your demo turbine assets' Wind Speed properties. After you enable property value notifications, Amazon IoT SiteWise publishes each value update in an MQTT message to Amazon IoT Core.
To enable property value update notifications on asset properties
-
Sign in to the Amazon IoT SiteWise console
. -
Review the Amazon IoT SiteWise endpoints and quotas where Amazon IoT SiteWise is supported and switch Amazon Regions, if necessary. Switch to a Region where you're running the Amazon IoT SiteWise demo.
-
In the left navigation pane, choose Assets.
-
Choose the arrow next to Demo Wind Farm Asset to expand the wind farm asset's hierarchy.
-
Choose a demo turbine and choose Edit.
-
Update the Wind Speed property's Notification status to ENABLED.
-
Choose Save asset at the bottom of the page.
-
Repeat steps 5 through 7 for each demo turbine asset.
-
Choose a demo turbine (for example, Demo Turbine Asset 1).
-
Choose Measurements.
-
Choose the copy icon next to the Wind Speed property to copy the notification topic to your clipboard. Save the notification topic to use later in this tutorial. You only need to record the notification topic from one turbine.
The notification topic should look like the following example.
$aws/sitewise/asset-models/
a1b2c3d4-5678-90ab-cdef-11111EXAMPLE
/assets/a1b2c3d4-5678-90ab-cdef-22222EXAMPLE
/properties/a1b2c3d4-5678-90ab-cdef-33333EXAMPLE