User Tools

Site Tools


cloud:aws:iot_core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cloud:aws:iot_core [2023/11/01 07:13] – removed - external edit (Unknown date) 127.0.0.1cloud:aws:iot_core [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:cloud:aws:iot_core to cloud:aws:iot_core skipidar
Line 1: Line 1:
 +====== IoT ======
 +
 +
 +===== IoT Device Catalogue =====
 +
 +Device catalogue with IoT conformant devices.
 +https://devices.amazonaws.com/search?page=1
 +
 +===== IoT Core =====
 +
 +=== Thing ===
 +
 +Subscribing to topic
 +{{https://s3.eu-central-1.amazonaws.com/alf-digital-wiki-pics/sharex/2021-09-25_23-31-05.png}}
 +
 +
 +
 +==== Example ====
 +https://iot4beginners.com/tutorial-on-aws-iot-core-with-raspberry-pi-to-visualize-sensor-data/
 +
 +
 +
 +==== Rules ====
 +
 +
 +
 +=== Redirect to SiteWise ===
 +
 +{{https://s3.eu-central-1.amazonaws.com/alf-digital-wiki-pics/sharex/2021-10-09_15-20-02.png}}
 +
 +
 +In order not to define a rule for each single Thing - use wildcards.
 +
 +  * Example setup https://docs.aws.amazon.com/iot-sitewise/latest/userguide/ingest-data-from-iot-things.html
 +  * Topic wildCards https://docs.aws.amazon.com/iot/latest/developerguide/topics.html#topicfilters
 +  * Functions https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-functions.html
 +
 +
 +
 +== Have multiple things ==
 +
 +The MQTT **topics** for things in Iot Core
 +are as structured as following:
 +
 +<code>
 +$aws/things/alf-dev-con1-pi0-simulated/shadow/update/accepted
 +$aws/things/alf-dev-con1-pi1/shadow/update/accepted
 +</code>
 +
 +
 +== Define a rule selection==
 +
 +Which match all things, 
 +independent of thing-name
 +
 +<code>
 +SELECT * FROM '$aws/things/+/shadow/update/accepted'
 +</code>
 +
 +
 +{{https://s3.eu-central-1.amazonaws.com/alf-digital-wiki-pics/sharex/2021-10-09_15-45-12.png}}
 +
 +
 +== 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.
 +
 +{{https://s3.eu-central-1.amazonaws.com/alf-digital-wiki-pics/sharex/2021-10-09_15-40-43.png}}
 +
 +
 +== Define a rule action ==
 +
 +Using **${topic(3)}** which match the topic of the thing.
 +The rules would redirect data to assets - depending on topic.
 +
 +{{https://docs.aws.amazon.com/iot-sitewise/latest/userguide/images/rule-ingestion/rule-configure-sitewise-action-console.png}}
 +
 +
 +