Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
29.2 | 1 | **~ Table of Contents:** |
![]() |
1.1 | 2 | |
![]() |
1.3 | 3 | {{toc/}} |
![]() |
1.1 | 4 | |
![]() |
1.3 | 5 | |
![]() |
29.2 | 6 | = 1. Setup Gateway to connect to Mydevices = |
![]() |
1.1 | 7 | |
![]() |
29.2 | 8 | == 1.1 Introduction == |
9 | |||
10 | |||
![]() |
1.2 | 11 | ((( |
![]() |
29.2 | 12 | The Dragino LoRaWAN gateway amd end node can commuicate with Mydevices LoRaWAN Network Server: [[Mydevices>>url:https://console.mydevices.thethings.industries/]] |
![]() |
5.2 | 13 | |
14 | |||
![]() |
1.2 | 15 | ))) |
![]() |
1.1 | 16 | |
![]() |
29.3 | 17 | == 1.2 Gateway Registered == |
![]() |
1.1 | 18 | |
19 | |||
![]() |
29.3 | 20 | (% style="color:blue" %)**Step 1: Get the GWID of the gateway and set the correct service address** |
21 | |||
22 | |||
![]() |
5.2 | 23 | [[image:image-20220526154956-1.png]] |
![]() |
1.1 | 24 | |
![]() |
1.2 | 25 | Configure the gateway |
![]() |
1.1 | 26 | |
27 | |||
28 | |||
![]() |
29.3 | 29 | (% style="color:blue" %)**Step 2: Select Gateway in the mydevice console** |
30 | |||
31 | |||
![]() |
5.2 | 32 | [[image:image-20220526155036-2.png]] |
![]() |
1.1 | 33 | |
![]() |
1.2 | 34 | Select Gateway |
![]() |
1.1 | 35 | |
36 | |||
37 | |||
![]() |
29.3 | 38 | (% style="color:blue" %)**Step 3: Registered gateway for mydevice** |
39 | |||
40 | |||
![]() |
5.2 | 41 | [[image:image-20220526155114-3.png]] |
![]() |
1.2 | 42 | |
43 | Registered gateway for mydevice | ||
44 | |||
![]() |
5.2 | 45 | |
![]() |
29.3 | 46 | == 1.3 Check Gateway connection == |
47 | |||
48 | |||
![]() |
1.2 | 49 | Users can check if the gateway is properly connected according to 'Satus' or check the gateway WEB like below |
50 | |||
![]() |
29.3 | 51 | |
![]() |
10.2 | 52 | [[image:image-20220526155145-4.png]] |
![]() |
1.2 | 53 | |
54 | Check Status1 | ||
55 | |||
56 | |||
![]() |
10.2 | 57 | [[image:image-20220526155223-5.png]] |
![]() |
1.2 | 58 | |
59 | Check statis2 | ||
60 | |||
![]() |
10.2 | 61 | |
![]() |
29.4 | 62 | == 1.4 Check Gateway traffic from Mydevie == |
63 | |||
64 | |||
![]() |
1.2 | 65 | user can see the gateway traffic |
66 | |||
![]() |
29.4 | 67 | |
![]() |
10.2 | 68 | [[image:image-20220526155317-6.png]] |
![]() |
1.2 | 69 | |
70 | Gateway trafiic | ||
71 | |||
![]() |
10.2 | 72 | |
![]() |
29.4 | 73 | == 1.5 Add up End node for mydevice == |
74 | |||
75 | |||
![]() |
1.2 | 76 | ((( |
![]() |
29.6 | 77 | (% style="color:blue" %)**Step 1 : **(%%)Create a device in TTN with the OTAA keys from LT IO controller. Each end node is shipped with a sticker with the default device EUI as below: |
![]() |
1.2 | 78 | ))) |
79 | |||
80 | (% class="box infomessage" %) | ||
81 | ((( | ||
![]() |
1.4 | 82 | AT+DEUI=a8 40 41 08 01 81 87 49 |
![]() |
1.2 | 83 | AT+APPKEY=01 8e e4 c9 b6 c9 d6 86 3a 6f 48 5e db cc 6d 69 |
84 | AT+APPEUI=70 b3 d5 7e d0 01 5f 25 | ||
85 | ))) | ||
86 | |||
87 | ((( | ||
88 | User can enter this key in their LoRaWAN Server portal. Below is mydevice screen shot: Add APP EUI in the application. | ||
89 | ))) | ||
90 | |||
![]() |
10.2 | 91 | [[image:image-20220526155353-7.png]] |
![]() |
1.2 | 92 | |
93 | Add App EUI | ||
94 | |||
95 | |||
![]() |
29.4 | 96 | |
![]() |
1.2 | 97 | Add APP KEY and DEV EUI |
98 | |||
![]() |
10.2 | 99 | [[image:image-20220526155419-8.png]] |
![]() |
1.2 | 100 | |
101 | Add App key and App DEUI | ||
102 | |||
103 | |||
![]() |
29.7 | 104 | |
![]() |
1.2 | 105 | ((( |
![]() |
29.4 | 106 | (% style="color:blue" %)**Step 2 :**(%%) Power on end node and it will auto join to the TTN network. After join success, it will start to upload message to Mydevice and user can see in the panel and analyze the data |
![]() |
1.2 | 107 | ))) |
108 | |||
![]() |
11.2 | 109 | [[image:image-20220526155449-9.png]] |
![]() |
1.2 | 110 | |
111 | Join mydevice of end node | ||
![]() |
13.1 | 112 | |
113 | |||
![]() |
29.4 | 114 | = 2. Route a TTN End Node to Cayenne = |
![]() |
13.1 | 115 | |
![]() |
29.4 | 116 | |
117 | (% style="color:blue" %)**Step 1: **(%%) Add a webhooks | ||
118 | |||
119 | |||
![]() |
22.1 | 120 | [[image:image-20220621164313-1.png||height="418" width="836"]] |
![]() |
13.1 | 121 | |
122 | |||
![]() |
22.1 | 123 | |
![]() |
29.4 | 124 | (% style="color:blue" %)**Step 2:**(%%)Choose Cayenne |
125 | |||
126 | |||
![]() |
22.1 | 127 | [[image:image-20220621164618-2.png||height="536" width="816"]] |
128 | |||
129 | |||
130 | |||
![]() |
29.4 | 131 | (% style="color:blue" %)**Step 3:**(%%)Successfully created webhooks |
132 | |||
133 | |||
![]() |
22.1 | 134 | [[image:image-20220621164944-3.png||height="612" width="891"]] |
135 | |||
136 | [[image:image-20220621165316-4.png||height="718" width="781"]] | ||
137 | |||
138 | |||
139 | |||
![]() |
29.4 | 140 | (% style="color:blue" %)**Step 4:**(%%)Add new Device in Cayenne |
141 | |||
142 | |||
![]() |
29.1 | 143 | [[image:image-20220621170212-5.png||height="427" width="852"]] |
![]() |
22.1 | 144 | |
145 | |||
146 | |||
![]() |
29.4 | 147 | (% style="color:blue" %)**Step 5:** (%%)Select TTN |
148 | |||
149 | |||
![]() |
29.1 | 150 | [[image:image-20220621170631-6.png||height="427" width="853"]] |
![]() |
22.1 | 151 | |
152 | |||
153 | |||
![]() |
29.4 | 154 | (% style="color:blue" %)**Step 6:**(%%)Select the device you need |
155 | |||
156 | |||
![]() |
29.1 | 157 | [[image:image-20220621170823-7.png||height="428" width="854"]] |
![]() |
22.1 | 158 | |
159 | |||
160 | |||
![]() |
29.4 | 161 | (% style="color:blue" %)**Step 7:**(%%)Enter Deveui and Location |
162 | |||
163 | |||
![]() |
22.1 | 164 | [[image:image-20220621171221-8.png||height="432" width="863"]] |
165 | |||
166 | |||
![]() |
29.1 | 167 | |
![]() |
29.4 | 168 | (% style="color:blue" %)**Step 8:**(%%)Complete connection |
169 | |||
170 | |||
![]() |
29.1 | 171 | [[image:image-20220621172048-9.png||height="434" width="867"]] |
172 | |||
![]() |
13.1 | 173 | |
![]() |
29.4 | 174 | = 3. Create Alarm event in Cayenne = |
175 | |||
176 | |||
![]() |
29.5 | 177 | (% style="color:blue" %)**Step 1: **(%%)Select widget to alarm,Click settings in the upper right corner - trigger |
![]() |
29.4 | 178 | |
179 | |||
![]() |
29.1 | 180 | [[image:image-20220621172422-11.png||height="476" width="884"]] |
181 | |||
182 | |||
183 | |||
![]() |
29.4 | 184 | (% style="color:blue" %)**Step 2:**(%%)Set your trigger and alarm address |
![]() |
29.1 | 185 | |
![]() |
29.4 | 186 | |
![]() |
29.1 | 187 | [[image:image-20220621173225-13.png||height="446" width="892"]] |
188 | |||
189 | |||
190 | |||
![]() |
29.4 | 191 | (% style="color:blue" %)**Step 3:**(%%)When an alarm occurs, it will be sent to your email or mobile phone |
192 | |||
193 | |||
![]() |
29.1 | 194 | [[image:image-20220621173358-14.png||height="553" width="462"]] |
195 | |||
196 |