Version 6.5 by Hera Guo on 2025/05/26 13:50

Hide last authors
Hera Guo 3.1 1 {{toc/}}
2
Hera Guo 5.9 3 = **1. Introduction~/~/名字已修改,以下内容中“LA66”全部替换成“LA66USB LoRaWAN Adapter”** =
Hera Guo 1.1 4
Hera Guo 5.9 5 == **1.1 What is Outdoor & Indoor signal measuring Solution?** ==
Hera Guo 1.1 6
Hera Guo 5.7 7 To help customers identify optimal sensor placement locations, we have designed a one-click signal strength measurement solution. All you need is one **LA66 USB LoRaWAN Adapter **and a **Dragino account**.
Hera Guo 1.1 8
Hera Guo 3.1 9 The **outdoor signal measurement solution** supports simultaneous testing with multiple gateways. It allows for both individual gateway signal map display and combined signal overlay from multiple gateways.
Hera Guo 1.1 10
Hera Guo 3.1 11 For **indoor signal measurement**, due to the complex layout and numerous obstacles, the user needs to walk to a suitable location before starting the measurement. Measurement points can then be marked on an indoor map, with flexible options to add or remove markers.
Hera Guo 1.1 12
Hera Guo 3.1 13 Both dashboards support **data export**.
Hera Guo 1.1 14
Hera Guo 3.1 15
Hera Guo 1.1 16 ----
17
18
19 == **1.2 Features ** ==
20
Hera Guo 3.1 21 * Extensive support
Hera Guo 5.7 22 ** Only one LA66 USB LoRaWAN Adapter** **and one Dragino account are needed, and the gateway and LNS can be freely matched **High Precision Measurement**
Hera Guo 1.1 23 ** High-accuracy sensors
24 ** Reliable data readings
25 * **Real-Time measuring**
26 ** Button to switch receiving data or stop
27 ** Continuous measuring
28 * **User-Friendly Interface**
29 ** Intuitive dashboard design
30
31 ----
32
33 == **1.3 Specifications ** ==
34
35 * **Mobile Support: [[Dedicated mobile app for on-the-go monitoring>>https://www.dropbox.com/scl/fo/qdiwkpcxc03qu2r2w0g46/AKqR2FByUdkoWZPZh-diYfQ?rlkey=t1a1kwlvr93c1459mz9jifers&e=1&st=kji4rdg0&dl=0]]**
36 * **Device Manual: [[LA66 USB LoRaWAN Adapter User Manual>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/]]**
37
38 ----
39
40
41 = **2. How to Build?** =
42
Hera Guo 5.7 43 == **2.1 Network Structure~/~/图片已替换** ==
Hera Guo 1.1 44
Hera Guo 5.1 45 [[image:结构.png]]
Hera Guo 1.1 46
47 The network structure consists of end nodes and gateways, which work together to measuring signal strength. You can replace gateway and Network Server with which you using.(It should be supported LoRaWAN)
48
Hera Guo 3.1 49
Hera Guo 1.1 50 ----
51
52 == **2.1 Get Account** ==
53
Hera Guo 3.1 54 To begin, contact your local representative to obtain a customer account or send mail to [[support@dragino.cc>>mailto:support@dragino.cc]]
Hera Guo 1.1 55
Hera Guo 3.1 56
Hera Guo 1.1 57 ----
58
Hera Guo 5.7 59 == **2.2 Get Device And Configuration** ==
Hera Guo 1.1 60
Hera Guo 5.7 61 1.Reach out to your local representative to acquire the necessary devices for your signal measuring solution. These devices include:
Hera Guo 1.1 62
Hera Guo 5.7 63 * **End Nodes:** LA66 USB LoRaWAN Adapter
Hera Guo 1.1 64 * **Gateway(If you want):**For data transmission.
65
Hera Guo 5.7 66 2.Download firmware to LA66 USB LoRaWAN Adapter
Hera Guo 1.1 67
Hera Guo 5.10 68 **--Ensure that all devices are pre-registered on Dragino before use.~/~/移至下文并配图确认--**
Hera Guo 3.1 69
Hera Guo 5.7 70
Hera Guo 1.1 71 ----
72
Hera Guo 3.1 73 == **2.3 Register Devices & Gateways on LNS** ==
Hera Guo 1.1 74
Hera Guo 3.1 75 === **2.3.1 Register Device** ===
Hera Guo 1.1 76
77 1.Have a check of package box to get DEVEUI/ APPEUI/ APPKEY(OTTAKEY)
78
79 [[image:1747970430695-168.jpg||height="510" width="852"]]
80
81
82 2.Register on LNS and replace decoding
83
84 * **Decoding for ChirpStack:**
85
86 {{code language="none"}}
87 function decodeUplink(input) {
88 return {
89 data: Decode(input.fPort, input.bytes, input.variables)
90 };
91 }
92
93 function bytesToString(bytes) {
94 return decodeURIComponent(bytes.map(b => '%' + b.toString(16).padStart(2, '0')).join(''));
95 }
96
97 function Decode(fPort, bytes, variables) {
98 var data = {};
99 if (bytes.length >= 9) {
100 data.flag = bytes[0];
101 data.Node_type = "LA66";
102 data.latitude = parseFloat(((bytes[1] << 24 >>> 0 | bytes[2] << 16 | bytes[3] << 8 | bytes[4]) / 1e6).toFixed(6));
103 data.longitude = parseFloat(((bytes[5] << 24 >>> 0 | bytes[6] << 16 | bytes[7] << 8 | bytes[8]) / 1e6).toFixed(6));
104
105 // 剩余字节为 title(如果存在)
106 if (bytes.length > 9) {
107 const titleBytes = bytes.slice(9);
108 data.title = bytesToString(titleBytes);
109 }
110 }
111 return data;
112 }
113 {{/code}}
114
Hera Guo 3.2 115
116
Hera Guo 1.1 117 * **Decoding for TTN:**
118
Hera Guo 3.2 119 {{code language="none"}}
120 function add0(m){return m<10?'0'+m:m }
121 function format(shijianchuo){
122 //shijianchuo是整数,否则要parseInt转换
123 var time = new Date(shijianchuo);
124 var y = time.getFullYear();
125 var m = time.getMonth()+1;
126 var d = time.getDate();
127 var h = time.getHours();
128 var mm = time.getMinutes();
129 var s = time.getSeconds();
130 return y+'-'+add0(m)+'-'+add0(d)+' '+add0(h)+':'+add0(mm)+':'+add0(s);
131 }
Hera Guo 1.1 132
Hera Guo 3.2 133 function Decoder(bytes) {
134 var data={};
135 var doorflg
136 if (bytes[0]===1){
137 doorflg = "indoor"
138 }
139 else{
140 doorflg = "outdoor"
141 }
142 if (bytes.length==13){
143 data.doorflg = doorflg
144 data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
145 data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
146 timestamp1=bytes[9]<<24|bytes[10]<<16|bytes[11]<<8|bytes[12];
147 data.timestamp=timestamp1;
148 data.beijintime=format((timestamp1+28800)*1000);
149 return data;
150 }
151 else if(bytes.length==9){
152 data.doorflg = doorflg
153 data.Node_type = "LA66"
154 data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
155 data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
156 return data;
157 }
158 }
159 {{/code}}
160
Hera Guo 5.7 161 * If you using other LNS, you can code yourself(The first nine bits of the uploaded data are the flag bit + position, and the rest are the title) or  send mail to [[support@dragino.cc>>mailto:support@dragino.cc]])
Hera Guo 3.2 162
Hera Guo 5.7 163 === --**2.2.2 Register Gateway(If you use Dragino's gateway)~/~/删除网关配置介绍**-- ===
Hera Guo 1.1 164
165 ----
166
Hera Guo 3.1 167 == **2.4 Import device to Dragino map** ==
Hera Guo 1.1 168
Hera Guo 6.4 169 **Choose LNS:**after log in Dragino platform, click the button "Import-Dragino-map"an choose the LNS you using.[[image:1747971716633-666.png]]
Hera Guo 6.2 170
171 ----
172
173 (((
Hera Guo 6.5 174 **Example of TTN**~/~/已增添详细文字说明
Hera Guo 5.8 175
Hera Guo 6.2 176 [[image:1748237918280-338.png]]
Hera Guo 6.4 177
Hera Guo 6.5 178 **Account & Passwork:** Imput your TTN account and password to use API port.
Hera Guo 6.4 179
Hera Guo 6.5 180 **MQTT Address: **Imput public address (Don't imput Port)
Hera Guo 6.3 181 )))
Hera Guo 6.2 182
Hera Guo 6.4 183 ----
Hera Guo 6.2 184
Hera Guo 5.8 185 Example of ChirpStack~/~/已增添详细文字说明[[image:1747972538335-599.png]]
186
Hera Guo 5.7 187 **MQTT Address: **Your MQTT server address or the cloud server address you use
188
Hera Guo 5.8 189 **Subscribe Topic: **The default for Topic is: application/**chirpstack application id**/device/+/event/up(Replace"**chirpstack application id**" with the one which is actually used)
Hera Guo 5.7 190
Hera Guo 5.9 191 **SSL Certificates: ** Copy the contents of the certificates and paste them into the linked file below, a total of three certificates are required(Integrated Certificate File demo Download Address: [[https:~~/~~/github.com/ThingsEye-io/te-platform/tree/main/chirpstack>>url:https://github.com/ThingsEye-io/te-platform/tree/main/chirpstack]])
Hera Guo 5.8 192
Hera Guo 3.1 193 ----
194
195
Hera Guo 6.1 196 = **3. How To Use?~/~/图片显示问题已修复** =
Hera Guo 3.1 197
198 == **3.1 Outdoor_signal dashboard** ==
199
200 Outdoors_signal supports viewing both the signal coverage of a single gateway and the combined coverage of all gateways.
201
202
203 === **3.1.1 Create the gateway layer.** ===
204
205 (% class="wikigeneratedid" id="HClickthecenterbuttonontherighttoaddagatewaylayer.28PleasecreatealldevicesthatcanacceptthecurrentLA66frequencyband3Botherwise2Cthereceiveddatawillnotbedisplayed.29" %)
Hera Guo 5.7 206 Click the center button on the right to add a gateway layer. (Please create all devices that can accept the current LA66 USB LoRaWAN Adapter frequency band; otherwise, the received data will not be displayed.)
Hera Guo 3.1 207
208 For example, here we created a gateway with the ID a84041fdfe27e8fa
209
210 You can click here to modify the gateway layer ID (it must correspond one-to-one with the gateway ID that will receive the data).
211
Hera Guo 6.5 212 [[image:1748226933887-176.png||height="279" width="232"]]👉[[image:1748226941899-789.png||height="308" width="896"]]
Hera Guo 3.1 213
214 ----
215
216 Click here to delete the gateway layer.
217
Hera Guo 5.2 218 [[image:1748226990199-388.png]]
Hera Guo 3.1 219
Hera Guo 5.2 220
Hera Guo 3.1 221 ----
222
223 Click row of gateway layer will turn to the detail page, this page will be blank before gateway upload data.
224
Hera Guo 5.4 225 [[image:1748227035403-882.png||height="487" width="196"]]👉 [[image:1748227056061-411.png||height="655" width="891"]]
Hera Guo 3.1 226
227 ----
228
229 Click the top-left corner to return.
230
Hera Guo 5.3 231 [[image:1748227163443-264.png]]
Hera Guo 3.1 232
233 ----
234
235 === **3.1.2 Measuring** ===
236
Hera Guo 5.7 237 Insert the LA66 USB LoRaWAN Adapter into phone or tablet, press the button to switch to ON and start detection. Click the button in the top-right corner of the main page to start receiving data. Data will be uploaded every 6 seconds based on the tablet's location. Simply move the tablet to measure signal strength from different places.
Hera Guo 3.1 238
Hera Guo 5.4 239 [[image:1748227286978-688.png||height="149" width="660"]]
Hera Guo 3.1 240
Hera Guo 5.4 241 👇
242
243 [[image:1748227303533-598.png||height="151" width="661"]]
244
Hera Guo 3.1 245 ----
246
247 When the gateway received the first set of data, the current gateway will appear in the left-side list of the gateway interface. When received the second set of data, the current signal strength will be displayed on the right-side map.
248
249 The measured data will be displayed in translucent dots of different colors, green represents a good signal, and red represents a poor signal.
250
Hera Guo 5.4 251 [[image:1748227348704-578.png||height="360" width="663"]]
Hera Guo 3.1 252
253 ----
254
255 You can click here to edit the device remarks.
256
Hera Guo 5.4 257 [[image:1748227380372-654.png||height="509" width="659"]]
Hera Guo 3.1 258
259 ----
260
261 You can click here to delete the device (deletion is irreversible, please proceed with caution).
262
Hera Guo 5.4 263 [[image:1748227409566-450.png||height="443" width="659"]]
Hera Guo 3.1 264
265 ----
266
267 All data collected by the gateways will also be displayed in All_signal simultaneously.
268
Hera Guo 5.4 269 [[image:1748227432762-994.png||height="478" width="660"]]
Hera Guo 3.1 270
271 ----
272
273 === **3.1.3 Turn OFF to stop measuring** ===
274
275 Once the current location's detection is complete, press the button again to switch to OFF and pause detection.
276
Hera Guo 5.4 277 [[image:1748227523105-709.png||height="150" width="649"]]
Hera Guo 3.1 278
Hera Guo 5.4 279 👇
Hera Guo 3.1 280
Hera Guo 5.4 281 [[image:1748227534764-184.png||height="147" width="649"]]
282
Hera Guo 3.1 283 ----
284
285
286 == **3.2 Indoors_signal dashboard** ==
287
288 Indoors_signal supports measuring and marking the signal strength of all locations on the indoor floor plan.
289
290
291 === **3.2.1 Import the map** ===
292
293 Drag the map image here and click √ to import.
294
Hera Guo 5.6 295 [[image:1748228668245-725.png||height="202" width="651"]]
Hera Guo 3.1 296
297 ----
298
299 === **3.2.2 Measuring** ===
300
301 1.Mark on map where you want to measuring.
302
Hera Guo 5.6 303 [[image:1748228872833-162.png||height="477" width="732"]]
Hera Guo 3.1 304
305 ----
306
Hera Guo 5.7 307 2.Move to the measurement point, insert the LA66 USB LoRaWAN Adapter , and press the button to switch to ON, then you can see the new data renewing.
Hera Guo 3.1 308
Hera Guo 5.6 309 [[image:1748229559964-501.png||height="401" width="733"]]
Hera Guo 3.1 310
311 ----
312
Hera Guo 5.6 313 3.Mark the next place which to be measured than move to the measurement point.Repeat the above steps to measure(**Remeber: Mark point before move.**)
Hera Guo 3.1 314
Hera Guo 5.6 315 [[image:1748229639368-109.png||height="605" width="820"]]
Hera Guo 3.1 316
317 ----
318
319 4.Click button to Off to stop measuring.
320
Hera Guo 5.6 321 [[image:1748229757097-872.png||height="232" width="736"]]
Hera Guo 3.1 322
323 ----
324
325 === **3.2.3 Delete point** ===
326
327 Click the marking points, then click yes.
328
Hera Guo 5.6 329 [[image:1748229833594-993.png||height="320" width="735"]]
Hera Guo 3.1 330
331 ----
332
333
334 == **4. Use of Tablet** ==
335
336 For added convenience, you can use a tablet to access the **ThingsEye.io** platform. This allows for real-time monitoring and management of your food safety solution on the go.
337
338 * **Download APP: **Scan the QR code or click the link to download the app.
339
340 | |**QR code**|**Link**
341 |**Google Play**|[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8BThingsEye%20Food%20Safety%20Solution%20End%20User%20Guide/WebHome/1739501688627-693.png?rev=1.1||alt="1739501688627-693.png"]]|[[https:~~/~~/play.google.com/store/apps/details?id=com.teyiwulian.thingseye.app>>url:https://play.google.com/store/apps/details?id=com.teyiwulian.thingseye.app]]
342 |**APP Store**|[[image:https://wiki.thingseye.io/xwiki/bin/download/Main/%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8BThingsEye%20Food%20Safety%20Solution%20End%20User%20Guide/WebHome/1739501688627-907.png?rev=1.1||alt="1739501688627-907.png"]]|[[https:~~/~~/apps.apple.com/us/app/thingseye-io/id6739418014>>url:https://apps.apple.com/us/app/thingseye-io/id6739418014]]
343
344 After that you can use your dashboard as normal.The display is as follows: