Wiki source code of Notes for LORIOT
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.4 | 1 | (% class="wikigeneratedid" %) |
![]() |
52.4 | 2 | **~ Table of Contents:** |
![]() |
1.1 | 3 | |
![]() |
1.6 | 4 | {{toc/}} |
![]() |
1.4 | 5 | |
![]() |
48.4 | 6 | |
7 | |||
8 | |||
![]() |
1.4 | 9 | = 1. Introduction = |
10 | |||
![]() |
52.5 | 11 | |
![]() |
1.4 | 12 | ((( |
![]() |
1.7 | 13 | ((( |
![]() |
1.2 | 14 | The Dragino LoRaWAN gateway can commuicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server: |
![]() |
1.4 | 15 | ))) |
![]() |
1.7 | 16 | ))) |
![]() |
1.1 | 17 | |
![]() |
1.4 | 18 | ((( |
![]() |
1.7 | 19 | ((( |
![]() |
1.2 | 20 | Below list the support products and Requirements: |
![]() |
1.4 | 21 | ))) |
![]() |
1.7 | 22 | ))) |
![]() |
1.1 | 23 | |
![]() |
1.4 | 24 | 1. ((( |
![]() |
1.7 | 25 | ((( |
![]() |
1.4 | 26 | LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.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]] |
27 | ))) | ||
![]() |
1.7 | 28 | ))) |
![]() |
1.4 | 29 | 1. ((( |
![]() |
1.7 | 30 | ((( |
![]() |
1.4 | 31 | Firmware version since :[[LG02_LG08~~-~~-build-v5.4.1590459021-20200526-1012>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] |
![]() |
32.2 | 32 | |
![]() |
52.5 | 33 | |
![]() |
32.2 | 34 | |
![]() |
1.4 | 35 | ))) |
![]() |
1.7 | 36 | ))) |
![]() |
1.1 | 37 | |
![]() |
1.4 | 38 | = 2. Gateway Setup Instruction = |
![]() |
1.1 | 39 | |
![]() |
1.4 | 40 | == 2.1 Step 1: Get Gateway ETH0 MAC Address == |
![]() |
1.1 | 41 | |
![]() |
52.6 | 42 | |
![]() |
1.4 | 43 | ((( |
![]() |
1.2 | 44 | Dragino LoRaWAn gateway use ETH0 MAC address to generate Gateway ID to communicate with LORIOT, User can get the ETH0 MAC address from SSH access and run **ifconfig** command. |
![]() |
52.6 | 45 | |
46 | |||
![]() |
1.4 | 47 | ))) |
![]() |
1.1 | 48 | |
![]() |
4.2 | 49 | [[image:image-20220524175559-2.png]] |
![]() |
1.1 | 50 | |
![]() |
1.2 | 51 | Get ETH0 MAC address |
![]() |
1.1 | 52 | |
![]() |
52.7 | 53 | |
![]() |
1.4 | 54 | ((( |
![]() |
52.7 | 55 | (% style="color:red" %)**Note**: **To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.** |
![]() |
32.2 | 56 | |
![]() |
52.7 | 57 | |
![]() |
32.2 | 58 | |
![]() |
1.4 | 59 | ))) |
![]() |
1.1 | 60 | |
![]() |
1.5 | 61 | == 2.2 Step 2: Choose LORIOT service == |
![]() |
1.1 | 62 | |
![]() |
49.3 | 63 | [[image:image-20220531182035-1.png]] |
![]() |
1.1 | 64 | |
![]() |
1.2 | 65 | Choose to use LORIOT as LoRaWAN service provider |
![]() |
1.1 | 66 | |
![]() |
49.3 | 67 | |
![]() |
52.8 | 68 | |
![]() |
50.2 | 69 | [[image:image-20220531182109-2.png]] |
![]() |
1.1 | 70 | |
![]() |
1.2 | 71 | Install and choose the LORIOT server to be used |
72 | |||
![]() |
32.2 | 73 | |
![]() |
52.8 | 74 | |
![]() |
1.5 | 75 | == 2.3 Step 3: Checking Connection Status == |
![]() |
1.2 | 76 | |
![]() |
51.2 | 77 | [[image:image-20220531182202-3.png]] |
![]() |
1.2 | 78 | |
79 | Click to Home page and check the connection status | ||
80 | |||
![]() |
32.2 | 81 | |
![]() |
52.9 | 82 | |
![]() |
1.5 | 83 | == 2.4 Step 4: Setup Account in LORIOT == |
![]() |
1.2 | 84 | |
![]() |
52.9 | 85 | |
![]() |
1.2 | 86 | Login [[LORIOT>>url:https://www.loriot.io/]] and create account |
87 | |||
![]() |
52.2 | 88 | [[image:image-20220531182253-4.png]] |
![]() |
1.2 | 89 | |
90 | Log in LORIOT portal | ||
91 | |||
92 | |||
![]() |
52.9 | 93 | |
![]() |
1.4 | 94 | Choose to use the server same as the gateway setting |
95 | |||
![]() |
32.2 | 96 | [[image:image-20220526111312-1.png||height="493" width="1098"]] |
![]() |
1.2 | 97 | |
98 | Choose server | ||
99 | |||
100 | |||
![]() |
52.9 | 101 | |
![]() |
1.4 | 102 | Create a New Network |
103 | |||
![]() |
32.2 | 104 | [[image:image-20220526111425-2.png||height="579" width="1378"]] |
![]() |
1.2 | 105 | |
106 | Create a New Network | ||
107 | |||
108 | |||
![]() |
32.2 | 109 | [[image:image-20220526111500-3.png]] |
![]() |
1.5 | 110 | |
![]() |
1.2 | 111 | Create a New Network |
112 | |||
![]() |
32.2 | 113 | |
![]() |
52.9 | 114 | |
![]() |
1.5 | 115 | == 2.5 Step 5: Register the gateway == |
![]() |
1.2 | 116 | |
![]() |
52.9 | 117 | |
![]() |
32.2 | 118 | [[image:image-20220526111650-4.png]] |
![]() |
1.2 | 119 | |
120 | Register the Gateway in LORIOT | ||
121 | |||
122 | |||
![]() |
52.9 | 123 | |
![]() |
1.2 | 124 | Choose LG308 as gateway model |
125 | |||
![]() |
32.2 | 126 | [[image:image-20220526111742-5.png||height="496" width="1372"]] |
![]() |
1.2 | 127 | |
128 | Choose LG308 as gateway model | ||
129 | |||
130 | |||
![]() |
52.9 | 131 | |
![]() |
1.2 | 132 | Input Gateway ETH0 address |
133 | |||
![]() |
35.2 | 134 | [[image:image-20220526111918-6.png||height="744" width="1336"]] |
![]() |
1.2 | 135 | |
136 | Choose SX1301 Reference and use SPI protocol | ||
137 | |||
138 | |||
![]() |
52.9 | 139 | |
![]() |
1.2 | 140 | Choose the right Frequency Band and input location |
141 | |||
![]() |
35.2 | 142 | [[image:image-20220526112029-7.png||height="620" width="1306"]] |
![]() |
1.2 | 143 | |
144 | Set up regional settings. | ||
145 | |||
![]() |
45.2 | 146 | |
![]() |
52.9 | 147 | |
![]() |
1.5 | 148 | == 2.6 Step 6: Check Connection == |
![]() |
1.2 | 149 | |
![]() |
52.9 | 150 | |
![]() |
1.5 | 151 | ((( |
![]() |
1.2 | 152 | LORIOT will show disconnect if Gateway doesn't connect |
![]() |
1.5 | 153 | ))) |
![]() |
1.2 | 154 | |
![]() |
1.5 | 155 | ((( |
![]() |
1.2 | 156 | LORIOT will show connect if Gateway connect to LORIOT ok. |
![]() |
52.9 | 157 | |
158 | |||
![]() |
1.5 | 159 | ))) |
![]() |
1.2 | 160 | |
![]() |
36.2 | 161 | [[image:image-20220526112143-8.png||height="654" width="1373"]] |
![]() |
1.2 | 162 | |
163 | Status: Connected | ||
164 | |||
![]() |
45.2 | 165 | |
![]() |
52.9 | 166 | |
![]() |
1.5 | 167 | == 2.7 Debug If there is connection issue == |
![]() |
1.2 | 168 | |
![]() |
52.9 | 169 | |
![]() |
1.2 | 170 | User can check if loriot is running by checking the web ui |
171 | |||
![]() |
52.9 | 172 | |
![]() |
45.2 | 173 | [[image:image-20220526112917-18.png]] |
![]() |
1.2 | 174 | |
175 | Status: Connected | ||
176 | |||
![]() |
52.9 | 177 | |
![]() |
1.11 | 178 | ((( |
![]() |
1.2 | 179 | If user want to see more log, he can run below commands in Linux and see the full log: |
![]() |
1.11 | 180 | ))) |
![]() |
1.2 | 181 | |
![]() |
1.5 | 182 | (% class="box" %) |
183 | ((( | ||
![]() |
1.8 | 184 | ((( |
![]() |
1.11 | 185 | ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9 |
186 | /usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io | ||
![]() |
1.5 | 187 | ))) |
![]() |
1.8 | 188 | ))) |
![]() |
1.2 | 189 | |
![]() |
1.11 | 190 | ((( |
![]() |
52.9 | 191 | |
192 | |||
![]() |
1.2 | 193 | Above two commands will first kill the loriot process and run it again to get more output. |
![]() |
1.11 | 194 | ))) |
![]() |
1.2 | 195 | |
![]() |
47.2 | 196 | [[image:image-20220530145011-1.png]] |
![]() |
1.2 | 197 | |
198 | Get more debug info | ||
199 | |||
![]() |
45.2 | 200 | |
![]() |
52.9 | 201 | |
![]() |
1.5 | 202 | = 3. End Device Note = |
![]() |
1.2 | 203 | |
![]() |
1.5 | 204 | == 3.1 Downlink Setup == |
![]() |
1.2 | 205 | |
![]() |
52.9 | 206 | |
![]() |
48.2 | 207 | [[image:image-20220530145133-2.png]] |
![]() |
1.2 | 208 | |
![]() |
45.2 | 209 | |
![]() |
41.2 | 210 | [[image:image-20220526112416-11.png]] |
![]() |
1.2 | 211 | |
![]() |
45.2 | 212 | |
![]() |
41.2 | 213 | [[image:image-20220526112459-12.png]] |
![]() |
1.2 | 214 | |
![]() |
45.2 | 215 | |
![]() |
41.2 | 216 | [[image:image-20220526112537-13.png]] |
![]() |
1.2 | 217 | |
![]() |
45.2 | 218 | |
![]() |
41.2 | 219 | [[image:image-20220526112608-14.png||height="610" width="1382"]] |
![]() |
1.2 | 220 | |
![]() |
45.2 | 221 | |
![]() |
44.2 | 222 | [[image:image-20220526112655-15.png]] |
![]() |
1.2 | 223 | |
![]() |
45.2 | 224 | |
![]() |
44.2 | 225 | [[image:image-20220526112719-16.png]] |
![]() |
1.2 | 226 | |
![]() |
45.2 | 227 | |
![]() |
44.2 | 228 | [[image:image-20220526112759-17.png||height="483" width="1386"]] |