Last modified by Alec Chen on 2025/11/26 17:10

From version 28.1
edited by Alec Chen
on 2025/11/26 17:10
Change comment: There is no comment for this version
To version 25.1
edited by Alec Chen
on 2025/11/19 15:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -14,39 +14,52 @@
14 14  This instructions will show you how to connect a device that has been registered to the server to the Thingseye platform.
15 15  
16 16  
17 -= (% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)2. UDP Protocol – Direct Connection(%%) =
17 +(% _mstvisible="1" %)
18 += (% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)2. UDP Procotol——直接连接(%%) =
18 18  
19 -(% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)2.1 UDP Interface
20 -**Server Address: server1.thingseye.io
21 -Port: 11560**
22 -Data sent to the above UDP interface will not directly enter the client's database.
20 +(% _mstvisible="1" %)
21 +== (% _msthash="754" _msttexthash="8267792" _mstvisible="2" %)2.1 UDP接口(%%) ==
23 23  
24 -(% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)For detailed information on how to forward data to clients, please contact the ThingsEye team.
23 +(% _mstvisible="1" %)
24 +* 服务器地址:server1.thingseye.io
25 +* 端口:11560
25 25  
26 -(% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)Note: Currently, UDP connections require port forwarding. Please contact the ThingsEye team before connecting and provide them with your device's IMEI.
27 +(% _msthash="751" _msttexthash="151236319" _mstvisible="1" %)
28 +发送到上方UDP接口的数据不会直接进入客户端数据库。
27 27  
30 +(% _msthash="750" _msttexthash="169541242" _mstvisible="1" %)
31 +如需详细了解如何将数据转发给客户,请联系ThingsEye团队。
28 28  
29 29  (% _mstvisible="1" %)
30 -----
34 +(% _msthash="749" _msttexthash="321726288" _mstvisible="2" %)**注意:目前 UDP 连接需要端口转发,连接前请联系 ThingsEye 团队告知他们您设备的 IMEI。**
31 31  
32 -== (% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)2.2 Testing with Dragino NB Device(%%) ==
33 33  
34 -=== (% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)2.2.1 Configuring the NB-IoT End Node(%%) ===
37 +(% _mstvisible="1" %)
38 +----
35 35  
36 -(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)The device here is an S31-NB, and it has been configured as follows:
40 +(% _mstvisible="1" %)
41 +== (% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)2.2 使用Dragino NB装置的测试(%%) ==
37 37  
38 -(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)**Set to use the ThingsEye UDP server: AT+SERVADDR=server1.thingseye.io,11560**
43 +(% _mstvisible="1" %)
44 +=== (% _msthash="747" _msttexthash="11644464" _mstvisible="2" %)2.2.1 配置NB-IoT End Node(%%) ===
39 39  
40 -(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)**Use UDP uplink and JSON protocol: AT+PRO=2,5**
46 +(% _msthash="746" _msttexthash="126369737" _mstvisible="1" %)
47 +这里的设备是(% _istranslated="1" %)**[[S31-NB>>https://www.dragino.com/products/temperature-humidity-sensor/item/288-s31-nb-s31b-nb.html||_istranslated="1"]]**(%%):并且已经在下面配置了
41 41  
42 -(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)Equipped with an NB-IoT card to access the NB-IoT network.
49 +(% _mstvisible="1" %)
50 +* 设置为使用 ThingsEye UDP 服务器:(% _istranslated="1" %)**AT+SERVADDR=server1.thingseye.io,11560**
51 +* 使用 UDP 上行链路和 JSON 协议:(% _istranslated="1" %)**AT+PRO=2,5**
52 +* 配备NB-IoT卡以接入NB-IoT网络。
43 43  
44 -(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)The S31-NB's cellular module IMEI is: 863663062789483
54 +(% _msthash="742" _msttexthash="52789451" _mstvisible="1" %)
55 +S31-NB的蜂窝模块为IMEI:(% _istranslated="1" %)**863663062789483**
45 45  
46 -(% class="wikigeneratedid" _mstvisible="1" id="H2.2.268C067E54E0A884C6570636E" %)
47 -(% _msthash="741" _msttexthash="30173117" _mstvisible="2" %)2.2.2 Check Uplink Data
48 -Enable Debug Module
57 +(% _mstvisible="1" %)
58 +=== (% _msthash="741" _msttexthash="30173117" _mstvisible="2" %)2.2.2 检查上行数据(%%) ===
49 49  
60 +(% _msthash="740" _msttexthash="22249344" _mstvisible="1" %)
61 +开启调试模组
62 +
50 50  (% _mstvisible="1" %)
51 51  (% _mstvisible="3" %)[[image:1758762334133-608.png||_mstalt="294801" _msthash="584" _mstvisible="5" height="494" width="1003"]]
52 52  
... ... @@ -54,7 +54,7 @@
54 54  ----
55 55  
56 56  (% _msthash="739" _msttexthash="156775723" _mstvisible="1" %)
57 -After reactivating the S31-NB, we can see it in the debug window:
70 +重新激活S31-NB,我们可以在调试窗口中看到它:
58 58  
59 59  (% _mstvisible="1" %)
60 60  (% _mstvisible="3" %)[[image:1758762371290-726.png||_mstalt="296088" _msthash="586" _mstvisible="5" height="528" width="1005"]]
... ... @@ -62,12 +62,14 @@
62 62  (% _mstvisible="1" %)
63 63  (% _mstvisible="3" %)[[image:1728378218744-800.png||_mstalt="295269" _msthash="588" _mstvisible="5" height="431" width="1003"]]
64 64  
78 +(% _mstvisible="1" %)
65 65  ----
66 66  
67 -=== 2.2.2 Automatic Device Creation ===
81 +(% _mstvisible="1" %)
82 +=== (% _msthash="738" _msttexthash="29837379" _mstvisible="2" %)2.2.4 自动创建设备(%%) ===
68 68  
69 -(% class="wikigeneratedid" %)
70 -The default tenant UDP server is already configured to decode Dragino-NB/-CB NB-IoT nodes. Therefore, each end node sends data to the server. The tenant will automatically create devices on the server.
84 +(% _msthash="737" _msttexthash="810829929" _mstvisible="1" %)
85 +默认(% _istranslated="1" %)**的租户UDP服务器**(%%)已经配置好解码Dragino -NB / -CB NB-IoT节点。所以每个端节点都会向服务器发送数据。租户会自动在服务器上创建设备。
71 71  
72 72  (% _mstvisible="1" %)
73 73  (% _mstvisible="3" %)[[image:1728378968101-683.png||_mstalt="297154" _msthash="590" _mstvisible="5" height="210" width="1005"]]
... ... @@ -94,7 +94,7 @@
94 94  (% _mstvisible="1" %)
95 95  == (% _msthash="733" _msttexthash="1191008" _mstvisible="2" %)3.2 Creat Integration for The Things Stack.(%%) ==
96 96  
97 -(% class="lead" _msthash="732" _msttexthash="255775" _mstvisible="1" %)
112 +(% _msthash="732" _msttexthash="255775" _mstvisible="1" class="lead" %)
98 98  Add Integration
99 99  
100 100  (% _mstvisible="1" %)
... ... @@ -101,7 +101,7 @@
101 101  (% _mstvisible="3" %)[[image:1728535775119-971.png||_mstalt="297661" _msthash="596" _mstvisible="5" height="423" width="1007"]]
102 102  
103 103  
104 -(% class="lead" _msthash="731" _msttexthash="448994" _mstvisible="1" %)
119 +(% _msthash="731" _msttexthash="448994" _mstvisible="1" class="lead" %)
105 105  Choose Connection Type
106 106  
107 107  (% _mstvisible="1" %)
... ... @@ -108,7 +108,7 @@
108 108  (% _mstvisible="3" %)[[image:1728535857345-950.png||_mstalt="297154" _msthash="598" _mstvisible="5" height="257" width="403"]]
109 109  
110 110  
111 -(% class="lead" _msthash="730" _msttexthash="762996" _mstvisible="1" %)
126 +(% _msthash="730" _msttexthash="762996" _mstvisible="1" class="lead" %)
112 112  Input Uplink Data Converter Code
113 113  
114 114  (% _mstvisible="1" %)
... ... @@ -118,7 +118,7 @@
118 118  Demo JavaScript Code: [[https:~~/~~/raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Uplink_Converter.js >>https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Uplink_Converter.js]]
119 119  
120 120  
121 -(% class="lead" _msthash="728" _msttexthash="532480" _mstvisible="1" %)
136 +(% _msthash="728" _msttexthash="532480" _mstvisible="1" class="lead" %)
122 122  Input Downlink Converter
123 123  
124 124  (% _mstvisible="1" %)
... ... @@ -128,7 +128,7 @@
128 128  Example Javascript Code as below: [[https:~~/~~/raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Downlink_Converter.js>>https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Downlink_Converter.js]]
129 129  
130 130  
131 -(% class="lead" _msthash="726" _msttexthash="1724853" _mstvisible="1" %)
146 +(% _msthash="726" _msttexthash="1724853" _mstvisible="1" class="lead" %)
132 132  Set up Connection to The Things Network application
133 133  
134 134  (% _mstvisible="1" %)
... ... @@ -136,7 +136,7 @@
136 136  
137 137  
138 138  
139 -(% class="lead" _msthash="725" _msttexthash="851097" _mstvisible="1" %)
154 +(% _msthash="725" _msttexthash="851097" _mstvisible="1" class="lead" %)
140 140  Test Connection & Add iIntegration
141 141  
142 142  (% _mstvisible="1" %)
... ... @@ -461,7 +461,7 @@
461 461  (% _mstvisible="3" %)[[image:图片8.png||_mstalt="5132205" _msthash="630" _mstvisible="5" height="508" width="1024"]]
462 462  
463 463  
464 -(% class="wikigeneratedid" _mstvisible="1" %)
479 +(% _mstvisible="1" class="wikigeneratedid" %)
465 465  (% _mstvisible="3" %)[[image:屏幕截图 2024-11-25 095805.png||_mstalt="10831028" _msthash="632" _mstvisible="5" height="301" width="1024"]]
466 466  
467 467  (% _mstvisible="1" %)