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