Changes for page Connect Devices to ThingsEye
Last modified by Hera Guo on 2025/02/18 09:29
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,10 +9,6 @@ 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 - 16 16 = 2. UDP Procotol ~-~- Directly Connection = 17 17 18 18 == 2.1 UDP Interface == ... ... @@ -24,7 +24,6 @@ 24 24 25 25 Please contact ThingsEye team for detail how to forward data to client. 26 26 27 - 28 28 == 2.2 Test UDP Interface via Socket Tool == 29 29 30 30 Download the UDP Test Tool from: [[https:~~/~~/sourceforge.net/projects/sockettest/ >>https://sourceforge.net/projects/sockettest/]]. Run this tool, and input the server address and UDP port as below and click send. ... ... @@ -41,7 +41,6 @@ 41 41 42 42 We can see the message arrives, but it shows ERROR because the message doesn't follow with the UDP Server format. 43 43 44 - 45 45 == 2.3 Test with Dragino NB device == 46 46 47 47 === 2.3.1 Configure NB-IoT End Node === ... ... @@ -48,13 +48,12 @@ 48 48 49 49 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 50 50 51 -* Set to use ThingsEye UDP server: **AT+SERVADDR=server1.thingseye.io,1156 2**45 +* Set to use ThingsEye UDP server: **AT+SERVADDR=server1.thingseye.io,11560** 52 52 * Use UDP Uplink & Json protocol:** AT+PRO=2,5** 53 53 * Equip with a NB-IoT SIM Card to access to NB-IoT Network. 54 54 55 55 The S31-NB's cellular module has the IMEI: **863663062789483** 56 56 57 - 58 58 === 2.3.2 Check Uplink Data === 59 59 60 60 Re-activate the S31-NB, and we can see it in the debug window: ... ... @@ -61,7 +61,6 @@ 61 61 62 62 [[image:1728378218744-800.png||height="431" width="1003"]] 63 63 64 - 65 65 === 2.3.3 Auto-Create Device === 66 66 67 67 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. ... ... @@ -77,7 +77,10 @@ 77 77 78 78 == 3.1 Network Structure == 79 79 72 +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. 80 80 74 +[[image:1732679444539-853.jpg||height="388" width="1452"]] 75 + 81 81 == 3.2 Creat Integration for The Things Stack. == 82 82 83 83 (% class="lead" %) ... ... @@ -138,13 +138,19 @@ 138 138 139 139 * **How to connect chirpstack to Thingseye by way of MQTT? The following tutorial will show you** 140 140 141 -== 4.1 Thingseyeadds MQTT integration==136 +== 4.1 Network Structure == 142 142 138 +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. 139 + 140 +[[image:1732679647697-982.jpg||height="399" width="1492"]] 141 + 142 +== 4.2 Thingseye adds MQTT integration == 143 + 143 143 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"; 144 144 145 145 [[image:图片1.png]] 146 146 147 -== 4. 2Add an uplink and downlink data converter ==148 +== 4.3 Add an uplink and downlink data converter == 148 148 149 149 In the function decoder field, specify the script to parse and transform the data. 150 150 ... ... @@ -280,7 +280,7 @@ 280 280 281 281 return result; 282 282 283 -== 4. 3Configure the connection ==284 +== 4.4 Configure the connection == 284 284 285 285 Generate MQTT certificate integrated on chirpstack 286 286 ... ... @@ -320,7 +320,7 @@ 320 320 (% class="wikigeneratedid" %) 321 321 [[image:屏幕截图 2024-11-25 095805.png||height="374" width="1272"]] 322 322 323 -== 4. 4Check the connection ==324 +== 4.5 Check the connection == 324 324 325 325 [[image:图片9.png]] 326 326
- 1732679444539-853.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +180.5 KB - Content
- 1732679647697-982.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +179.2 KB - Content