Show last authors
author | version | line-number | content |
---|---|---|---|
1 | |||
2 | |||
3 | |||
4 | **~ ** | ||
5 | |||
6 | **~ Table of Contents:** | ||
7 | |||
8 | {{toc/}} | ||
9 | |||
10 | |||
11 | |||
12 | = 1. Parse Payload = | ||
13 | |||
14 | |||
15 | ((( | ||
16 | The following is our operation process and interface. | ||
17 | ))) | ||
18 | |||
19 | ((( | ||
20 | The code can be run in the payload parser. | ||
21 | |||
22 | |||
23 | ))) | ||
24 | |||
25 | [[image:image-20220526143905-6.png]] | ||
26 | |||
27 | Parse Payload | ||
28 | |||
29 | |||
30 | |||
31 | [[image:image-20220526143653-4.png]] | ||
32 | |||
33 | Parse Payload | ||
34 | |||
35 | |||
36 | = 2. Create device steps at Tago = | ||
37 | |||
38 | == 2.1 General Steps == | ||
39 | |||
40 | |||
41 | Take the creation of LGT92 as an example | ||
42 | |||
43 | |||
44 | [[image:image-20220526143953-7.png]] | ||
45 | |||
46 | |||
47 | |||
48 | Get the authorization code and fill in it | ||
49 | |||
50 | |||
51 | [[image:image-20220526144034-8.png]] | ||
52 | |||
53 | |||
54 | |||
55 | All the following options require authorization. | ||
56 | |||
57 | |||
58 | [[image:image-20220526144110-9.png]] | ||
59 | |||
60 | |||
61 | |||
62 | create device. | ||
63 | |||
64 | |||
65 | [[image:image-20220526145059-13.png||height="559" width="1314"]] | ||
66 | |||
67 | |||
68 | [[image:image-20220526145031-12.png]] | ||
69 | |||
70 | |||
71 | [[image:image-20220526145237-14.png||height="228" width="1287"]] | ||
72 | |||
73 | |||
74 | [[image:image-20220526145316-15.png]] | ||
75 | |||
76 | |||
77 | |||
78 | |||
79 | The corresponding widget can be created according to the decoding of the device on TTN. | ||
80 | |||
81 | |||
82 | [[image:image-20220526145459-16.png]] | ||
83 | |||
84 | |||
85 | [[image:image-20220526145527-17.png]] | ||
86 | |||
87 | |||
88 | == 2.2 Downlink Message to LoRaWAN End node == | ||
89 | |||
90 | |||
91 | Make sure to use Base64 Code. [[Reference>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.1A0ChirpstackDownlinkNote]] for how to get Base64 | ||
92 | |||
93 | |||
94 | [[image:image-20220526143317-1.png||height="330" width="942"]] | ||
95 | |||
96 | |||
97 | = 3. Example - Create TrackerD/LGT92 positioning widget = | ||
98 | |||
99 | |||
100 | Creating TrackerD/ LGT92 in TTN does not require manual creation, you directly select LGT92 in the brand. | ||
101 | |||
102 | Devices registered from the LoRaWAN device repository do not need to add a decoder. To manually create a device, you need to add a decoder. | ||
103 | |||
104 | [[image:image-20220526145723-1.png]] | ||
105 | |||
106 | The same steps are used to create widgets and location maps. | ||
107 | |||
108 | |||
109 | |||
110 | [[image:image-20220526145753-2.png]] | ||
111 | |||
112 | |||
113 | [[image:image-20220526145831-3.png]] | ||
114 | |||
115 | |||
116 | [[image:image-20220526145901-4.png]] | ||
117 | |||
118 | |||
119 | LGT92 displays the walking track according to the location of the sent data packet. | ||
120 | |||
121 | The device sets the time interval for sending data packets to control the positioning track. | ||
122 | |||
123 | |||
124 | [[image:image-20220526145932-5.png]] | ||
125 | |||
126 | |||
127 | = 4. Example - Real Time Location System demo(RTLS) = | ||
128 | |||
129 | == 4.1 Introduction == | ||
130 | |||
131 | |||
132 | The purpose of this document is to describe the Real Time Location System demo(RTLS). It is created as a manual guide for understanding each process of the application, explaining types of users and setting the application. | ||
133 | |||
134 | You can access the application through: [[https:~~/~~/rtls.run.tago.io>>url:https://rtls.run.tago.io/]] | ||
135 | |||
136 | |||
137 | * The user can read this document for the description of the real-time positioning system demonstration. | ||
138 | |||
139 | [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/LBT1/RTLS_demo_documentation.pdf>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/LBT1/RTLS_demo_documentation.pdf]] | ||
140 | |||
141 | |||
142 | == 4.2 Instructions for using LBT1 with RTLS == | ||
143 | |||
144 | |||
145 | (1)RTLS supports TTNv3 and helium servers for indoor positioning. | ||
146 | |||
147 | (2)The user needs to register the device with LBT1 on the TTNv3 or helium server. | ||
148 | |||
149 | (3)Then the user needs to integrate the application into Tago. | ||
150 | |||
151 | (4)Create LBT1 devices and beacons in RTLS. Please refer to the RTLS instruction document for the specific process. | ||
152 | |||
153 | (5)The coordinate position will be updated every time the device sends a data packet. | ||
154 | |||
155 | |||
156 | [[image:image-20220526150133-6.png]] | ||
157 | |||
158 | |||
159 | = 5. Install Tago Core in LPS8v2 = | ||
160 | |||
161 | == 5.1 Tago Core == | ||
162 | |||
163 | |||
164 | Tago Core is a (% style="color:blue" %)**free**(%%), (% style="color:blue" %)**fast**(%%), and (% style="color:blue" %)**open-source**(%%) IoT platform for edge computing that you can use to parse, and analyze the data from your devices! | ||
165 | |||
166 | Tago Core supports all major operating systems and can be downloaded on this [[Downloads page>>https://downloads.tagocore.com/]]. | ||
167 | |||
168 | For more information on Tago Core, Users can check out this [[Link>>https://tagocore.com/docs#tagocore ]]. | ||
169 | |||
170 | Once you have downloaded and extracted TagoCore, you can run it by opening a terminal in the folder where the tagocore binary is located and typing the following command: | ||
171 | |||
172 | |||
173 | (% class="box infomessage" %) | ||
174 | ((( | ||
175 | wget [[https:~~/~~/downloads.tagocore.com/v0.4.1/tagocore-v0.4.1-linux-armv7.tar.gz>>https://downloads.tagocore.com/v0.4.1/tagocore-v0.4.1-linux-armv7.tar.gz]] | ||
176 | tar -xvzf tagocore-v0.4.1-linux-armv7.tar.gz | ||
177 | ))) | ||
178 | |||
179 | [[image:image-20220713185521-1.png]] | ||
180 | |||
181 | |||
182 | == 5.2 Run Tago Core == | ||
183 | |||
184 | |||
185 | When you run the following command, you can access the GUI of TagoCore using the LPS8v2 gateway (% style="color:blue" %)**IP_ADDRESS:8888.** | ||
186 | |||
187 | |||
188 | (% class="box infomessage" %) | ||
189 | ((( | ||
190 | ./tagocore start | ||
191 | |||
192 | ./tagocore logs | ||
193 | ))) | ||
194 | |||
195 | [[image:image-20220713191020-2.png||height="73" width="589"]] | ||
196 | |||
197 | |||
198 | [[image:image-20220713194013-1.png||height="246" width="558"]] | ||
199 | |||
200 | |||
201 | [[image:image-20220713191539-3.png||height="538" width="938"]] | ||
202 | |||
203 |