Last modified by Hera Guo on 2025/02/18 09:29

From version 21.1
edited by Hera Guo
on 2025/02/18 09:29
Change comment: There is no comment for this version
To version 17.1
edited by Hera Guo
on 2024/11/27 11:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,18 +9,21 @@
9 9  
10 10  The instructions in this chapter will show you how to connect a device that has been registered to the server to the Thingseye platform.
11 11  
12 +The network diagram below illustrates the connection between the devices and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform.
13 +
14 +[[image:1732679080974-799.jpg||height="444" width="1660"]]
15 +
12 12  = 2. UDP Procotol  ~-~- Directly Connection =
13 13  
14 14  == 2.1 UDP Interface ==
15 15  
16 16  * Server Address: server1.thingseye.io
17 -* Port: 11560
21 +* Port: 11562
18 18  
19 19  The data sent to above UDP interface will not go directly to client's database.
20 20  
21 21  Please contact ThingsEye team for detail how to forward data to client.
22 22  
23 -**Note:Currently udp connections require port forwarding, please contact the ThingsEye team to inform them of your device's IMEI before connecting.**
24 24  
25 25  == 2.2 Test UDP Interface via Socket Tool ==
26 26  
... ... @@ -38,6 +38,7 @@
38 38  
39 39  We can see the message arrives, but it shows ERROR because the message doesn't follow with the UDP Server format.
40 40  
44 +
41 41  == 2.3 Test with Dragino NB device ==
42 42  
43 43  === 2.3.1 Configure NB-IoT End Node ===
... ... @@ -44,12 +44,13 @@
44 44  
45 45  Device here is **[[S31-NB>>https://www.dragino.com/products/temperature-humidity-sensor/item/288-s31-nb-s31b-nb.html]]** : and have been configure below
46 46  
47 -* Set to use ThingsEye UDP server: **AT+SERVADDR=server1.thingseye.io,11560**
51 +* Set to use ThingsEye UDP server: **AT+SERVADDR=server1.thingseye.io,11562**
48 48  * Use UDP Uplink & Json protocol:** AT+PRO=2,5**
49 49  * Equip with a NB-IoT SIM Card to access to NB-IoT Network.
50 50  
51 51  The S31-NB's cellular module has the IMEI: **863663062789483**
52 52  
57 +
53 53  === 2.3.2 Check Uplink Data ===
54 54  
55 55  Re-activate the S31-NB, and we can see it in the debug window:
... ... @@ -56,6 +56,7 @@
56 56  
57 57  [[image:1728378218744-800.png||height="431" width="1003"]]
58 58  
64 +
59 59  === 2.3.3 Auto-Create Device ===
60 60  
61 61  The default **Tenant UDP Server** has already been configured to decode the Dragino -NB / -CB NB-IoT node. So once each end node sends a data to server. Tenant will auto create the device in the server.
... ... @@ -71,10 +71,7 @@
71 71  
72 72  == 3.1 Network Structure ==
73 73  
74 -The network diagram below illustrates the connection between the devices and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform.
75 75  
76 -[[image:1732679444539-853.jpg||height="388" width="1452"]]
77 -
78 78  == 3.2 Creat Integration for The Things Stack. ==
79 79  
80 80  (% class="lead" %)
... ... @@ -135,19 +135,13 @@
135 135  
136 136  * **How to connect chirpstack to Thingseye by way of MQTT? The following tutorial will show you**
137 137  
138 -== 4.1 Network Structure ==
141 +== 4.1 Thingseye adds MQTT integration ==
139 139  
140 -The network diagram below illustrates the connection between the devices andchirpstack, as well as how the data can be integrated with the ThingsEye IoT platform.
141 -
142 -[[image:1732679647697-982.jpg||height="399" width="1492"]]
143 -
144 -== 4.2 Thingseye adds MQTT integration ==
145 -
146 146  Go to the Integrations page in the Integrations center section. Click the plus button to start adding a new integration. Select the type "MQTT" integration and click "Next";
147 147  
148 148  [[image:图片1.png]]
149 149  
150 -== 4.3 Add an uplink and downlink data converter ==
147 +== 4.2 Add an uplink and downlink data converter ==
151 151  
152 152  In the function decoder field, specify the script to parse and transform the data.
153 153  
... ... @@ -283,7 +283,7 @@
283 283  
284 284  return result;
285 285  
286 -== 4.4 Configure the connection ==
283 +== 4.3 Configure the connection ==
287 287  
288 288  Generate MQTT certificate integrated on chirpstack
289 289  
... ... @@ -323,7 +323,7 @@
323 323  (% class="wikigeneratedid" %)
324 324  [[image:屏幕截图 2024-11-25 095805.png||height="374" width="1272"]]
325 325  
326 -== 4.5 Check the connection ==
323 +== 4.4 Check the connection ==
327 327  
328 328  [[image:图片9.png]]
329 329  
1732679444539-853.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.hera
Size
... ... @@ -1,1 +1,0 @@
1 -180.5 KB
Content
1732679647697-982.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.hera
Size
... ... @@ -1,1 +1,0 @@
1 -179.2 KB
Content