Wiki source code of AVNET/IOTConnect
Version 12.1 by Kilight Cao on 2024/04/01 10:58
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
12.1 | 1 | **~ Table of Contents:** |
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | = 1. AVNET/IOTConnect = | ||
7 | |||
8 | == 1.1 What is IoTConnect == | ||
9 | |||
10 | IoTConnect is a secured, cloud-based enterprise IoT and AI platform. It simplifies the complex. It jumpstarts the development of IoT-enabled systems, turning real-time data into actionable value-driven insights. It enables making an informed decision quickly, consequently sparking innovation. | ||
11 | |||
12 | IoTConnect brings IoT hardware, software, applications, data analytics and artificial intelligence capabilities. It comes with a feature-rich tool kit that is easy to use and significantly reduces complexity, cost and time-to-market. | ||
13 | |||
14 | In this guide, you will learn how to connect a dragino gateway to the LNS solution provided by AVNET/IOTConnect. | ||
15 | |||
16 | |||
17 | == 1.2 Login or crate an account == | ||
18 | |||
19 | |||
20 | **[[Login or crate an account>>https://subscription.iotconnect.io/subscribe]]**to get started with IoTConnect and start using IoTConnect Console. | ||
21 | |||
22 | Once you have an account,get started by following steps for adding Gateway,Device and Intergrations. | ||
23 | |||
24 | |||
25 | == 1.3 List the support products and Requirements == | ||
26 | |||
27 | |||
28 | LoRaWAN Gateway model: Existing Gateway | ||
29 | |||
30 | |||
31 | = 2. Configure Gateway connection to IoTConnect = | ||
32 | |||
33 | (% style="color:blue" %)**Below list the support products and Requirements:** | ||
34 | |||
35 | 1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]],[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]],[[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]],[[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]] ,[[DLOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]] ,[[LPS8V2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] | ||
36 | |||
37 | (% style="color:blue" %)**What do you need to prepare?** | ||
38 | |||
39 | A gateway that can access the internet normally. | ||
40 | |||
41 | |||
42 | For more information, please refer to the official IOTConnect documentation: [[Wireless Device – docs.iotconnect.io>>url:https://docs.iotconnect.io/iotconnect/user-manuals/devices/device/wireless-device/]] | ||
43 | |||
44 | |||
45 | == Step 1. Log in IoTConnect == | ||
46 | |||
47 | Log in to your dashboard at [[Avnet / IOTConnect login>>https://login.iotconnect.io/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Diotconnect.aws%26redirect_uri%3Dhttps%253A%252F%252Fconsole.iotconnect.io%252Fcallback%26response_type%3Did_token%2520token%26scope%3Dopenid%2520profile%2520iotconnect.api.fullaccess%26state%3D01f9e4527d6d4638a5a840a37dc9061d%26nonce%3D5aed230483234f93a1e267751e180d2a%26acr_values%3DsolutionCode%253AAFD9B0BA-0AA5-4690-9A7A-656A0000D62C]] | ||
48 | |||
49 | == [[image:image-20240401101022-1.png||height="598" width="1107"]] == | ||
50 | |||
51 | == Step 2. Create a template == | ||
52 | |||
53 | To create a template for your organization: | ||
54 | |||
55 | 1. From the left navigation, mouseover the **Devices** module. In the middle and toward the down, select **Templates**. | ||
56 | 1. Along the top and toward the right, select **Create Template**. | ||
57 | 1. Enter data in the following fields: | ||
58 | |||
59 | * | ||
60 | ** **Template Code**: Enter a unique code for the template. Once entered, you cannot change. | ||
61 | ** **Template Name**: Enter a unique name for the template. | ||
62 | ** **Authentication Type**: We offer a X.509 authentication to secure online communications and verify the identity of individuals or devices on a network. | ||
63 | ** **Device Message Version**: Select the **device message version.** The platform displays the data type while editing a template based on a device message version. | ||
64 | |||
65 | 4. Click **Save** to create a template. | ||
66 | |||
67 | [[image:image-20240401102119-2.png||height="581" width="1126"]] | ||
68 | |||
69 | [[image:https://docs.iotconnect.io/wp-content/uploads/2023/12/Create-Template-1.png||alt="img" height="194" width="1126"]] | ||
70 | |||
71 | |||
72 | Attributes are device properties that you want a template’s devices to measure. It can be anything from temperature, humidity, luminosity, wattage, to CO2 concentration. | ||
73 | |||
74 | [[image:image-20240401102658-3.png||height="583" width="1131"]] | ||
75 | |||
76 | |||
77 | == Step 3. Create a LoRaWAN Gateway == | ||
78 | |||
79 | To create a LoRaWAN gatway device for your organization: | ||
80 | |||
81 | 1. From the left navigation, mouseover the **Devices** module. Click **Wireless Device**. | ||
82 | 1. Along the bottom center toward the left, select **LoRaWAN gateway.** | ||
83 | 1. Enter data in the following fields: | ||
84 | |||
85 | [[image:image-20240401103307-5.png||height="592" width="1147"]] | ||
86 | |||
87 | * | ||
88 | ** **Gateway Name:** Enter the display name for a Gateway device. | ||
89 | ** **EUI Code:** Provide the gateway EUI that you identified in the previous section.You can find it either on a sticker at the back of the device or in the **Web UI > LoRaWAN~-~-Basic station** | ||
90 | ** **Frequency Band:** Choose a frequency band for the geographic region e.g. US915 for North America, EU868 for Europe. | ||
91 | |||
92 | Once you create and store gateway credentials, you will get the certificate file under the zip to onboard your gateway. Upload the following files to your gateway: | ||
93 | |||
94 | * **<gateway id>.cert.pem:** Gateway device certificate file. | ||
95 | * **<gateway id>.private.key:** Gateway device private key file. | ||
96 | |||
97 | [[image:image-20240401103615-6.png||height="355" width="1138"]] | ||
98 | |||
99 | |||
100 | 4.CUPS URI and LNS URI can be found on the **Settings~-~->Key Vaylt** interface | ||
101 | |||
102 | 5.Download **Server Trust Certificates** | ||
103 | |||
104 | [[image:image-20240401104152-8.png||height="589" width="1142"]] | ||
105 | |||
106 | [[image:image-20240401104653-9.png||height="588" width="1140"]] | ||
107 | |||
108 | == Step 4. Access the gateway GUI == | ||
109 | |||
110 | To configure the gateway, access it via the Web UI. To learn how to do that, refer to the Quick Start Guide for each gateway. | ||
111 | |||
112 | Users need to fill in the LNS URI and upload the Certificate. | ||
113 | |||
114 | [[image:image-20240401103813-7.png||height="688" width="1082"]] | ||
115 | |||
116 | |||
117 | == Step 5. Configure Station == | ||
118 | |||
119 | Users need to fill in the CUPS URI, LNS URI and upload the Certificate. | ||
120 | |||
121 | (% style="color:red" %)**Note:**(%%) The uploaded Private Key and Cert Pem cannot be displayed and the Service Provider does not have AVNET/IOTConnect, we will fix and add it in the next firmware release | ||
122 | |||
123 | Users can now use Amazon IoT Basic Station for testing. | ||
124 | |||
125 | [[image:image-20240401105010-10.png||height="691" width="1112"]] | ||
126 | |||
127 | |||
128 | == Trouble Shooting == | ||
129 | |||
130 | User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page. | ||
131 | |||
132 | [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135845-15.png?rev=1.1||alt="image-20220526135845-15.png"]] | ||
133 | |||
134 | |||
135 | |||
136 | and recode the station log in the(% style="color:blue" %)** LogRead ~-~-> Recode Log**(%%) page. | ||
137 | |||
138 | [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135940-16.png?rev=1.1||alt="image-20220526135940-16.png"]] | ||
139 | |||
140 | |||
141 |