Last modified by Hera Guo on 2025/06/10 15:14

From version 3.1
edited by Hera Guo
on 2025/05/23 17:45
Change comment: There is no comment for this version
To version 5.2
edited by Hera Guo
on 2025/05/26 10:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,7 +19,7 @@
19 19  == **1.2 Features ** ==
20 20  
21 21  * Extensive support
22 -** Only one LA66 and one Dragino account are needed, and the gateway and LNS can be freely matched**High Precision Measurement**
22 +** Only one LA66 and one Dragino account are needed, and the gateway and LNS can be freely matched **High Precision Measurement**
23 23  ** High-accuracy sensors
24 24  ** Reliable data readings
25 25  * **Real-Time measuring**
... ... @@ -28,7 +28,6 @@
28 28  * **User-Friendly Interface**
29 29  ** Intuitive dashboard design
30 30  
31 -
32 32  ----
33 33  
34 34  == **1.3 Specifications ** ==
... ... @@ -36,7 +36,6 @@
36 36  * **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]]**
37 37  * **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/]]**
38 38  
39 -
40 40  ----
41 41  
42 42  
... ... @@ -44,7 +44,7 @@
44 44  
45 45  == **2.1 Network Structure** ==
46 46  
47 -[[image:1747967901656-282.png]]
45 +[[image:结构.png]]
48 48  
49 49  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)
50 50  
... ... @@ -113,10 +113,54 @@
113 113  }
114 114  {{/code}}
115 115  
114 +
115 +
116 116  * **Decoding for TTN:**
117 117  
118 -* 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.com>>mailto:support@dragino.com]]
118 +{{code language="none"}}
119 +function add0(m){return m<10?'0'+m:m }
120 +function format(shijianchuo){
121 +//shijianchuo是整数,否则要parseInt转换
122 + var time = new Date(shijianchuo);
123 + var y = time.getFullYear();
124 + var m = time.getMonth()+1;
125 + var d = time.getDate();
126 + var h = time.getHours();
127 + var mm = time.getMinutes();
128 + var s = time.getSeconds();
129 + return y+'-'+add0(m)+'-'+add0(d)+' '+add0(h)+':'+add0(mm)+':'+add0(s);
130 +}
119 119  
132 +function Decoder(bytes) {
133 + var data={};
134 + var doorflg
135 + if (bytes[0]===1){
136 + doorflg = "indoor"
137 + }
138 + else{
139 + doorflg = "outdoor"
140 + }
141 + if (bytes.length==13){
142 + data.doorflg = doorflg
143 + data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
144 + data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
145 + timestamp1=bytes[9]<<24|bytes[10]<<16|bytes[11]<<8|bytes[12];
146 + data.timestamp=timestamp1;
147 + data.beijintime=format((timestamp1+28800)*1000);
148 + return data;
149 + }
150 + else if(bytes.length==9){
151 + data.doorflg = doorflg
152 + data.Node_type = "LA66"
153 + data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
154 + data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
155 + return data;
156 + }
157 +}
158 +{{/code}}
159 +
160 +* 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]]
161 +
120 120  ----
121 121  
122 122  
... ... @@ -135,7 +135,6 @@
135 135  )))
136 136  1. Example of ChirpStack[[image:1747972538335-599.png]]
137 137  
138 -
139 139  ----
140 140  
141 141  
... ... @@ -155,21 +155,22 @@
155 155  
156 156  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).
157 157  
158 -[[image:1747986037475-165.png||height="263" width="202"]][[image:1747986042208-121.png||height="240" width="698"]]
199 +[[image:1748226933887-176.png||height="326" width="271"]]👉[[image:1748226941899-789.png||height="323" width="940"]]
159 159  
201 +
160 160  ----
161 161  
162 162  Click here to delete the gateway layer.
163 163  
164 -[[image:1747987031250-278.png]]
206 +[[image:1748226990199-388.png]]
165 165  
208 +
166 166  ----
167 167  
168 168  Click row of gateway layer will turn to the detail page, this page will be blank before gateway upload data.
169 169  
170 -[[image:1747987048124-685.png]]
213 +[[image:1748227035403-882.png||height="700" width="282"]]👉 [[image:1748227056061-411.png||height="717" width="975"]]
171 171  
172 -[[image:1747986100902-572.png]]
173 173  
174 174  ----
175 175  
... ... @@ -294,5 +294,3 @@
294 294  After that you can use your dashboard as normal.The display is as follows:
295 295  
296 296  
297 -
298 -
1747967901656-282.png
Size
... ... @@ -1,1 +1,1 @@
1 -683.2 KB
1 +1.2 MB
Content
1748226933887-176.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +27.3 KB
Content
1748226941899-789.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +21.9 KB
Content
1748226990199-388.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +49.5 KB
Content
1748227035403-882.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +55.0 KB
Content
1748227056061-411.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +63.5 KB
Content
结构.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +1.2 MB
Content