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