background image

Tech note

E*4080 IP Gateway Amazon Web Services MQTT Quick Start

Summary of Contents for E 4080 Series

Page 1: ...Tech note E 4080 IP Gateway Amazon Web Services MQTT Quick Start ...

Page 2: ...WS and permissions to access change settings in the IoT dashboard Contact Information For questions contact Inovonics technical support E mail support inovonics com Phone 800 782 2709 303 939 9336 Materials Needed An AWS account The ability to connect to Amazon servers outside of your firewall Traffic allowed on the following ports Port 9000 TCP for OTA upgrades Port 123 UDP for NTP sync Port 8883...

Page 3: ... AWS certificate files to put on your IP gateway using the USB flash drive 1 On your computer navigate to the AWS IoT dashboard and select Manage Figure 1 Select Manage on the AWS IoT dashboard 2 Select Create in the top right of the AWS IoT dashboard 3 Select Create a Single Thing 4 Give your thing a name No other fields are required 5 Select Next 6 Select One Click certificate creation ...

Page 4: ...2 Download certificates and keys Note The Download link opens a new tab where you select the files 8 Click Activate 9 Click Done The thing has been created with AWS 10 Navigate to the Secure tab and select Policies Figure 3 Select Policies on the AWS IoT dashboard 11 Select Create 12 Give your policy a name ...

Page 5: ...tach a policy 18 Select your new policy and click Attach 19 Click the three dots on the certificate you generated and select Attach thing Connect the IP Gateway to AWS This procedure will establish a connection between your IP gateway and AWS 1 Referring to the IP gateway s installation instructions download the configuration yaml file and gateway license file onto a blank USB flash drive 2 Keepin...

Page 6: ... with an can be changed later remotely any field not marked with an must be edited using the USB flash drive host this will be a url which can be found in the IoT dashboard Under the Manage tab select Things then your new thing then Interact Locate the url ending in amazonaws com which on the top of the page This is your host port This indicates which port your IP gateway communicates on and will ...

Page 7: ...s topic qos This stands for quality of service and is a part of MQTT It will be an integer 0 or 1 A setting of 1 is recommended in most cases This impacts most messages but discovery mode messages always use a QOS of 0 A QOS of 2 is not currently supported by AWS and cannot be used here txids This is a list of txids to collect messages from batching If true this sends messages in groups to save re...

Page 8: ...le This can be done in a variety of ways but we ll showcase the simplest method here 1 Navigate to the Test tab of AWS IoT dashboard 2 Enter the name of your subscribe_conf_topic 3 Click Subscribe to topic This will use your configured QOS so be sure to match your configured QOS setting with the QOS setting here 4 Add the amended settings in valid JSON 5 Click Publish to topic Figure 7 Update sett...

Page 9: ...rupt connectivity with the cloud and create a large queue on the IP gateway Note Sending only to the device will return the current settings without any modification Store Message Data This section will show a basic use case to store message data in DynamoDB This is only an example of a possible next step If you re familiar with using IoT devices in AWS this section can be skipped 1 Select the Act...

Page 10: ...Set one or more actions Figure 9 Add an action 4 Select Insert a message into a DynamoDB table 5 Set a Hash key value 6 Select a role and update it 7 Click Add action After that you can create the rule 8 Check the AWS Act tab and ensure your rule is listed as enabled ...

Page 11: ...e do not contain any data from the sensor and can be ignored on the receiving end Transmitter RF Message message header InboundComplete signal margin 38 level 38 metadata traceCount 0 originatorUid serialNumber 16249316 market name Submetering firstHopUid serialNumber 10894274 market name NetworkCoordinator traceUidList hopCount 0 payload leakDetectCount 100 mcb 61 status stat1bit4 false tamper tr...

Page 12: ...changed False rapid_message False message metadata traceUidList hopCount 0 firstHopUid market name NetworkCoordinator serialNumber 10894274 originatorUid market name Repeater serialNumber 8086348 traceCount 0 header InboundComplete signal level 15 margin 15 payload name RepeaterApplicationPayload repeaterPayload name RepeaterStatusWithBroadcastRepeater pti 0 status tamper True noChange True neighb...

Page 13: ...8 TN1114C Inovonics 2018 www inovonics com 12 stat0bit2 False lossOfLinePower False reset False statusAck False mcb 65 network type echostream market Repeater txid 8086348 timestamp 2018 06 26T14 54 59 190750 ...

Reviews: