DX1 with AWS Setup Example
Example setup of DX1 with AWS IoT Core
Disclaimer
This article is based only on this example and does not address all the requirements for setup of DX1 with AWS (Amazon Web Services). It does not also address any requirements related from AWS and is not responsible for 3rd party services and/or requirements. We strongly recommend that you first address AWS requirements prior to going through this example setup.
It also assumes that you are already familiar with the use of Omron DX1 hardware/software and you are already collecting data from a device, if not we recommend first going through the documentation for this device.
Here we will look at a setup between Omron DX1 Edge Gateway and AWS IoT Core for collection of data using MQTT protocol.

Setting of Cloud Emitter for AWS
1: Name: Name of the module. This will be used as a source name for your emitter
2: ClientID: Enter here the Client ID name ( usually the Thing name in AWS)
3: Host: AWS connection host ( provided by AWS)
4: Port: Select 443 (HTTPS) or 8883 (MQTTS)
5: MQTT QoS: if selected MQTT, select the QoS level
6: Keep Connect: keeps the connection alive, otherwise it will open & close the connection on each AWS communication
7: Certificate store: enter here the given AWS CA Root certificate, the Device certificate and the private key.
8: Topic: Topic to assign when publishing
9: TimeOut: Enter the time in milliseconds until the sending process times out
10: Message sent count: Maximum number of transmissions per event
11: Retry mode: retry until sent / until retry count
12: Retry interval: Enter the retry interval for sending
13: Retry Count: setting valid if retry mode is “until retry count”
14: Emit data continued from last time on restart: After startup, data is output from the continuation of the previously sent data

Preparation at AWS: Select IoT Core
Disclaimer
Here we assume that you have already setup a AWS account and already have access to AWS IoT Core Service
At AWS account, select IoT Core

From IoT Core, find the option Things → Create Things

Create single things settings
Select a Thing name

Select “Auto-generate a new certificate (recommended)”

Create and configure a new policy

You can create custom policy, but here will use on of the example policy's

Select the “Publish/Subscribe” policy example

Client ID must match with Thing name
Publish topic must be prefixed with Thing Name

Attach Access policies to a Certificate

You must download the following items in preparation for DX1 setup


DX1 Emitter Setup
Link settings from IoT Core to AWS Emitter Node in DX1

Check connection status
Run the project in SpeedBee Synapse and confirm that all connections and indicators are green, if so you have a successful connection.
