Wiki source code of Notes for CloudStudio
Version 109.6 by Mengting Qiu on 2025/08/14 17:11
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **~ Table of Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | |||
7 | |||
8 | = 1. Introduction = | ||
9 | |||
10 | |||
11 | This guide provides step-by-step instructions for integrating Dragino LoRaWAN devices with the Cloud Studio IoT platform using The Things Network (TTN) as the network server. | ||
12 | |||
13 | Cloud Studio IoT supports other LoRaWAN network servers like ChirpStack, Loriot, AWS IoT, Actility, Helium, and Orbiwise as well. | ||
14 | |||
15 | |||
16 | = 2. Prerequisites = | ||
17 | |||
18 | |||
19 | Before starting, ensure you have: | ||
20 | |||
21 | * A Dragino LoRaWAN device (e.g., LHT65, LSE01, LGT92, etc.). | ||
22 | * An account on The Things Network (TTN). | ||
23 | * An account on Cloud Studio IoT. | ||
24 | |||
25 | |||
26 | |||
27 | = 3. Register the Device in The Things Network (TTN) = | ||
28 | |||
29 | |||
30 | == 3.1 Create an Application in TTN == | ||
31 | |||
32 | |||
33 | You must first have an account in The Things Network (TTN). Once logged in, the first step is to create an application in TTN. This creates a space where your devices will be grouped. | ||
34 | |||
35 | (% style="color:blue" %)**Step 1: ** | ||
36 | |||
37 | Log in to your TTN Console. | ||
38 | |||
39 | Navigate to Applications in the left menu and click Add application. | ||
40 | |||
41 | [[image:AD_4nXfHqy9yfnmGJMemFCARh7a1yHir9Sw9e-5dtO5SffOxRDJM2GakvAoct-OZBNDhjXy0E75nGt0nORsdUAWCJcAQ3sh6LIg0KDB9HW35qW4W5pRMopZxcl4nogb3YRxK9gsissGpbQ||height="242" width="927"]] | ||
42 | |||
43 | (% style="color:blue" %)**Step 2: ** | ||
44 | |||
45 | Fill in the required fields and click Create Application. | ||
46 | |||
47 | [[image:AD_4nXfyL_g6JiKtkY1r4xEjq_nU6PEeIYtSwcQy0wFnNx5n0dzptYnCgwSKl_FgS0EjND931clQQvaNYPx4wAVwRlD3byx0-OFozQAdqarWAi2C80SMl6-HvWS-32hS4kYaEGMYHB3yvw||height="511" width="567"]] | ||
48 | |||
49 | |||
50 | == 3.2 Register your Dragino device == | ||
51 | |||
52 | |||
53 | This is a virtual representation in TTN of the physical device you want to integrate. | ||
54 | |||
55 | (% style="color:blue" %)**Step 1: ** | ||
56 | |||
57 | In your TTN application, go to End devices and click Register end device. | ||
58 | |||
59 | [[image:AD_4nXeJEQuEERXILO4GWROFEj7eALLLMPfzZAFiD2okV6u2v6ZoYXfjmcx6IHC4TG7mc0edCztyWO24gCiVQtT6r9Wfn5OCFIBDOBAUKMCtGYzMhxqoCL0rG5vrWSz321YewiZMe1_5jg||height="539" width="567"]] | ||
60 | |||
61 | You can add your device in two ways: | ||
62 | |||
63 | * Selecting it from the repository (brand, model, hardware version, firmware version, and profile region) | ||
64 | * Adding it manually | ||
65 | |||
66 | For this example, we will select it from the repository. | ||
67 | |||
68 | (% style="color:blue" %)**Step 2: ** | ||
69 | |||
70 | Each Dragino device is shipped with a sticker with the default device EUI as below: | ||
71 | |||
72 | |||
73 | Further down, you'll need to enter the (% style="color:#037691" %)**JoinEUI**(%%) — a unique identifier provided by the manufacturer, used for OTAA (over-the-air activation), the process by which the device joins the LoRaWAN network. | ||
74 | |||
75 | [[image:AD_4nXfMnziRfzaI4Ynw2z7cntE13mPEe5Lh7Qq1FPbrktzqbw2mY_NJMo0fqfwvq0EuvE38z4SqZ9UFKUXTFpftggS6a1y5bFl255TGrT0L5p-o2n9LDTcEa4FozCbKNjzEfGkHvVtWbQ||height="471" width="978"]] | ||
76 | |||
77 | |||
78 | |||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | |||
86 | |||
87 | |||
88 | |||
89 | |||
90 | |||
91 | |||
92 | |||
93 | |||
94 | |||
95 | |||
96 | |||
97 | |||
98 | |||
99 | |||
100 | |||
101 | |||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |||
107 | |||
108 |