Wiki source code of Notes for LORIOT

Version 1.5 by Xiaoling on 2022/05/16 16:58

Show last authors
1 (% class="wikigeneratedid" %)
2 Contents:
3
4
5 = 1. Introduction =
6
7 (((
8 The Dragino LoRaWAN gateway can commuicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server:
9 )))
10
11 (((
12 Below list the support products and Requirements:
13 )))
14
15 1. (((
16 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]]
17 )))
18 1. (((
19 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/]]
20 )))
21
22 = 2. Gateway Setup Instruction =
23
24 == 2.1 Step 1: Get Gateway ETH0 MAC Address ==
25
26 (((
27 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.
28 )))
29
30 [[image:https://wiki.dragino.com/images/thumb/9/9d/LORIOT_1.png/600px-LORIOT_1.png||height="474" width="600"]]
31
32 Get ETH0 MAC address
33
34 (((
35 **Note**: To make set up more friendly, the ETH0 will show on the LORIOT page in a new firmware version.
36 )))
37
38 == 2.2 Step 2: Choose LORIOT service ==
39
40 [[image:https://wiki.dragino.com/images/thumb/d/de/LORIOT_2.png/600px-LORIOT_2.png||height="232" width="600"]]
41
42 Choose to use LORIOT as LoRaWAN service provider
43
44 [[image:https://wiki.dragino.com/images/thumb/d/d0/LORIOT_3.png/600px-LORIOT_3.png||height="123" width="600"]]
45
46 Install and choose the LORIOT server to be used
47
48 == 2.3 Step 3: Checking Connection Status ==
49
50 [[image:https://wiki.dragino.com/images/thumb/a/ae/LORIOT_4.png/600px-LORIOT_4.png||height="301" width="600"]]
51
52 Click to Home page and check the connection status
53
54 == 2.4 Step 4: Setup Account in LORIOT ==
55
56 Login [[LORIOT>>url:https://www.loriot.io/]] and create account
57
58 [[image:https://wiki.dragino.com/images/thumb/d/df/LORIOT_5.png/600px-LORIOT_5.png||height="298" width="600"]]
59
60 Log in LORIOT portal
61
62
63 Choose to use the server same as the gateway setting
64
65 [[image:https://wiki.dragino.com/images/thumb/8/82/LORIOT_6.png/600px-LORIOT_6.png||height="248" width="600"]]
66
67 Choose server
68
69
70 Create a New Network
71
72 [[image:https://wiki.dragino.com/images/thumb/2/2f/LORIOT_7.png/600px-LORIOT_7.png||height="264" width="600"]]
73
74 Create a New Network
75
76
77 [[image:https://wiki.dragino.com/images/thumb/d/d8/LORIOT_8.png/600px-LORIOT_8.png||height="248" width="600"]]
78
79 Create a New Network
80
81 == 2.5 Step 5: Register the gateway ==
82
83 [[image:https://wiki.dragino.com/images/thumb/2/21/LORIOT_9.png/600px-LORIOT_9.png||height="166" width="600"]]
84
85 Register the Gateway in LORIOT
86
87
88 Choose LG308 as gateway model
89
90 [[image:https://wiki.dragino.com/images/thumb/a/aa/LORIOT_10.png/600px-LORIOT_10.png||height="231" width="600"]]
91
92 Choose LG308 as gateway model
93
94
95 Input Gateway ETH0 address
96
97 [[image:https://wiki.dragino.com/images/thumb/9/9c/LORIOT_11.png/600px-LORIOT_11.png||height="336" width="600"]]
98
99 Choose SX1301 Reference and use SPI protocol
100
101
102 Choose the right Frequency Band and input location
103
104 [[~[~[image:https://wiki.dragino.com/images/thumb/8/8e/LORIOT_12.png/600px-LORIOT_12.png~|~|height="284" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LORIOT_12.png]]
105
106 Set up regional settings.
107
108 == 2.6 Step 6: Check Connection ==
109
110 (((
111 LORIOT will show disconnect if Gateway doesn't connect
112 )))
113
114 (((
115 LORIOT will show connect if Gateway connect to LORIOT ok.
116 )))
117
118 [[~[~[image:https://wiki.dragino.com/images/thumb/a/a0/LORIOT_14.png/600px-LORIOT_14.png~|~|height="275" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LORIOT_14.png]]
119
120 Status: Connected
121
122 == 2.7 Debug If there is connection issue ==
123
124 User can check if loriot is running by checking the web ui
125
126 [[image:https://wiki.dragino.com/images/thumb/2/20/LORIOT_141.png/600px-LORIOT_141.png||height="277" width="600"]]
127
128 Status: Connected
129
130 If user want to see more log, he can run below commands in Linux and see the full log:
131
132 (% class="box" %)
133 (((
134 ps | grep "loriot_dragino" | grep -v grep | awk '{print $1}' | xargs kill -s 9
135 /usr/bin/loriot_dragino_lg308_spi -f -s eu1.loriot.io
136 )))
137
138 Above two commands will first kill the loriot process and run it again to get more output.
139
140 [[image:https://wiki.dragino.com/images/thumb/c/c2/LORIOT_142.png/600px-LORIOT_142.png||height="306" width="600"]]
141
142 Get more debug info
143
144 = 3. End Device Note =
145
146 == 3.1 Downlink Setup ==
147
148 [[image:https://wiki.dragino.com/images/thumb/9/92/LORIOT_Down_1.png/600px-LORIOT_Down_1.png||alt="LORIOT Down 1.png" height="275" width="600"]]
149
150 [[image:https://wiki.dragino.com/images/thumb/9/90/LORIOT_Down_2.png/600px-LORIOT_Down_2.png||alt="LORIOT Down 2.png" height="295" width="600"]]
151
152 [[~[~[image:https://wiki.dragino.com/images/thumb/4/4f/LORIOT_Down_3.png/600px-LORIOT_Down_3.png~|~|alt="LORIOT Down 3.png" height="207" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LORIOT_Down_3.png]]
153
154 [[image:https://wiki.dragino.com/images/thumb/9/91/LORIOT_Down_4.png/600px-LORIOT_Down_4.png||alt="LORIOT Down 4.png" height="198" width="600"]]
155
156 [[image:https://wiki.dragino.com/images/thumb/8/8d/LORIOT_Down_5.png/600px-LORIOT_Down_5.png||alt="LORIOT Down 5.png" height="267" width="600"]]
157
158 [[~[~[image:https://wiki.dragino.com/images/thumb/1/11/LORIOT_Down_6.png/600px-LORIOT_Down_6.png~|~|alt="LORIOT Down 6.png" height="120" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LORIOT_Down_6.png]]
159
160 [[image:https://wiki.dragino.com/images/thumb/9/95/LORIOT_Down_7.png/600px-LORIOT_Down_7.png||alt="LORIOT Down 7.png" height="158" width="600"]]
161
162 [[image:https://wiki.dragino.com/images/thumb/5/57/LORIOT_Down_8.png/600px-LORIOT_Down_8.png||alt="LORIOT Down 8.png" height="210" width="600"]]