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

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

Summary

Details

Page properties
Content
... ... @@ -14,52 +14,39 @@
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 -(% _mstvisible="1" %)
18 -= (% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)2. UDP Procotol——直接连接(%%) =
17 += (% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)2. UDP Protocol – Direct Connection(%%) =
19 19  
20 -(% _mstvisible="1" %)
21 -== (% _msthash="754" _msttexthash="8267792" _mstvisible="2" %)2.1 UDP接口(%%) ==
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.
22 22  
23 -(% _mstvisible="1" %)
24 -* 服务器地址:server1.thingseye.io
25 -* 端口:11560
24 +(% _msthash="755" _msttexthash="40707030" _mstvisible="2" %)For detailed information on how to forward data to clients, please contact the ThingsEye team.
26 26  
27 -(% _msthash="751" _msttexthash="151236319" _mstvisible="1" %)
28 -发送到上方UDP接口的数据不会直接进入客户端数据库。
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.
29 29  
30 -(% _msthash="750" _msttexthash="169541242" _mstvisible="1" %)
31 -如需详细了解如何将数据转发给客户,请联系ThingsEye团队。
32 32  
33 33  (% _mstvisible="1" %)
34 -(% _msthash="749" _msttexthash="321726288" _mstvisible="2" %)**注意:目前 UDP 连接需要端口转发,连接前请联系 ThingsEye 团队告知他们您设备的 IMEI。**
35 -
36 -
37 -(% _mstvisible="1" %)
38 38  ----
39 39  
40 -(% _mstvisible="1" %)
41 -== (% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)2.2 使用Dragino NB装置的测试(%%) ==
32 +== (% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)2.2 Testing with Dragino NB Device(%%) ==
42 42  
43 -(% _mstvisible="1" %)
44 -=== (% _msthash="747" _msttexthash="11644464" _mstvisible="2" %)2.2.1 配置NB-IoT End Node(%%) ===
34 +=== (% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)2.2.1 Configuring the NB-IoT End Node(%%) ===
45 45  
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"]]**(%%):并且已经在下面配置了
36 +(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)The device here is an S31-NB, and it has been configured as follows:
48 48  
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网络。
38 +(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)**Set to use the ThingsEye UDP server: AT+SERVADDR=server1.thingseye.io,11560**
53 53  
54 -(% _msthash="742" _msttexthash="52789451" _mstvisible="1" %)
55 -S31-NB的蜂窝模块为IMEI:(% _istranslated="1" %)**863663062789483**
40 +(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)**Use UDP uplink and JSON protocol: AT+PRO=2,5**
56 56  
57 -(% _mstvisible="1" %)
58 -=== (% _msthash="741" _msttexthash="30173117" _mstvisible="2" %)2.2.2 检查上行数据(%%) ===
42 +(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)Equipped with an NB-IoT card to access the NB-IoT network.
59 59  
60 -(% _msthash="740" _msttexthash="22249344" _mstvisible="1" %)
61 -开启调试模组
44 +(% _msthash="748" _msttexthash="55449407" _mstvisible="2" %)The S31-NB's cellular module IMEI is: 863663062789483
62 62  
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
49 +
63 63  (% _mstvisible="1" %)
64 64  (% _mstvisible="3" %)[[image:1758762334133-608.png||_mstalt="294801" _msthash="584" _mstvisible="5" height="494" width="1003"]]
65 65  
... ... @@ -67,7 +67,7 @@
67 67  ----
68 68  
69 69  (% _msthash="739" _msttexthash="156775723" _mstvisible="1" %)
70 -重新激活S31-NB,我们可以在调试窗口中看到它:
57 +After reactivating the S31-NB, we can see it in the debug window:
71 71  
72 72  (% _mstvisible="1" %)
73 73  (% _mstvisible="3" %)[[image:1758762371290-726.png||_mstalt="296088" _msthash="586" _mstvisible="5" height="528" width="1005"]]
... ... @@ -75,14 +75,12 @@
75 75  (% _mstvisible="1" %)
76 76  (% _mstvisible="3" %)[[image:1728378218744-800.png||_mstalt="295269" _msthash="588" _mstvisible="5" height="431" width="1003"]]
77 77  
78 -(% _mstvisible="1" %)
79 79  ----
80 80  
81 -(% _mstvisible="1" %)
82 -=== (% _msthash="738" _msttexthash="29837379" _mstvisible="2" %)2.2.4 自动创建设备(%%) ===
67 +=== 2.2.2 Automatic Device Creation ===
83 83  
84 -(% _msthash="737" _msttexthash="810829929" _mstvisible="1" %)
85 -默认(% _istranslated="1" %)**的租户UDP服务器**(%%)已经配置好解码Dragino -NB / -CB NB-IoT节点。所以每个端节点都会向服务器发送数据。租户会自动在服务器上创建设备。
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.
86 86  
87 87  (% _mstvisible="1" %)
88 88  (% _mstvisible="3" %)[[image:1728378968101-683.png||_mstalt="297154" _msthash="590" _mstvisible="5" height="210" width="1005"]]
... ... @@ -109,7 +109,7 @@
109 109  (% _mstvisible="1" %)
110 110  == (% _msthash="733" _msttexthash="1191008" _mstvisible="2" %)3.2 Creat Integration for The Things Stack.(%%) ==
111 111  
112 -(% _msthash="732" _msttexthash="255775" _mstvisible="1" class="lead" %)
97 +(% class="lead" _msthash="732" _msttexthash="255775" _mstvisible="1" %)
113 113  Add Integration
114 114  
115 115  (% _mstvisible="1" %)
... ... @@ -116,7 +116,7 @@
116 116  (% _mstvisible="3" %)[[image:1728535775119-971.png||_mstalt="297661" _msthash="596" _mstvisible="5" height="423" width="1007"]]
117 117  
118 118  
119 -(% _msthash="731" _msttexthash="448994" _mstvisible="1" class="lead" %)
104 +(% class="lead" _msthash="731" _msttexthash="448994" _mstvisible="1" %)
120 120  Choose Connection Type
121 121  
122 122  (% _mstvisible="1" %)
... ... @@ -123,7 +123,7 @@
123 123  (% _mstvisible="3" %)[[image:1728535857345-950.png||_mstalt="297154" _msthash="598" _mstvisible="5" height="257" width="403"]]
124 124  
125 125  
126 -(% _msthash="730" _msttexthash="762996" _mstvisible="1" class="lead" %)
111 +(% class="lead" _msthash="730" _msttexthash="762996" _mstvisible="1" %)
127 127  Input Uplink Data Converter Code
128 128  
129 129  (% _mstvisible="1" %)
... ... @@ -133,7 +133,7 @@
133 133  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]]
134 134  
135 135  
136 -(% _msthash="728" _msttexthash="532480" _mstvisible="1" class="lead" %)
121 +(% class="lead" _msthash="728" _msttexthash="532480" _mstvisible="1" %)
137 137  Input Downlink Converter
138 138  
139 139  (% _mstvisible="1" %)
... ... @@ -143,7 +143,7 @@
143 143  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]]
144 144  
145 145  
146 -(% _msthash="726" _msttexthash="1724853" _mstvisible="1" class="lead" %)
131 +(% class="lead" _msthash="726" _msttexthash="1724853" _mstvisible="1" %)
147 147  Set up Connection to The Things Network application
148 148  
149 149  (% _mstvisible="1" %)
... ... @@ -151,7 +151,7 @@
151 151  
152 152  
153 153  
154 -(% _msthash="725" _msttexthash="851097" _mstvisible="1" class="lead" %)
139 +(% class="lead" _msthash="725" _msttexthash="851097" _mstvisible="1" %)
155 155  Test Connection & Add iIntegration
156 156  
157 157  (% _mstvisible="1" %)
... ... @@ -476,7 +476,7 @@
476 476  (% _mstvisible="3" %)[[image:图片8.png||_mstalt="5132205" _msthash="630" _mstvisible="5" height="508" width="1024"]]
477 477  
478 478  
479 -(% _mstvisible="1" class="wikigeneratedid" %)
464 +(% class="wikigeneratedid" _mstvisible="1" %)
480 480  (% _mstvisible="3" %)[[image:屏幕截图 2024-11-25 095805.png||_mstalt="10831028" _msthash="632" _mstvisible="5" height="301" width="1024"]]
481 481  
482 482  (% _mstvisible="1" %)