Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 154.1
edited by Mengting Qiu
on 2024/07/16 14:34
on 2024/07/16 14:34
Change comment:
Uploaded new attachment "image-20240716143403-1.png", version {1}
To version 148.1
edited by Mengting Qiu
on 2024/06/11 15:12
on 2024/06/11 15:12
Change comment:
Uploaded new attachment "image-20240611151206-8.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Content
-
... ... @@ -203,6 +203,7 @@ 203 203 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS03A%20-%20Outdoor%20LoRaWAN%20OpenClose%20Door%20Sensor%20Manual/WebHome/1654741444887-479.png?width=513&height=399&rev=1.1||alt="1654741444887-479.png"]] 204 204 205 205 206 + 206 206 == 1.10 Magnet Distance == 207 207 208 208 ... ... @@ -291,16 +291,16 @@ 291 291 292 292 **The General Json format payload for the single-channel mode is as follows:** 293 293 294 -(% style="color:#4472c4" %)**{"IMEI":"86 3663062798914","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":0,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":0,"last open time2":0,"battery":3.34,"signal":17,"1":[1,0,0,"2024/06/11 03:09:07"],"2":[1,0,0,"2024/06/11 02:51:00"],"3":[1,0,0,"2024/06/11 02:36:00"],"4":[8,100,100,"2024/05/3010:19:53"],"5":[8,100,100,"2024/05/3010:19:18"],"6":[8,100,100,"2024/05/3010:17:53"],"7":[8,100,100,"2024/05/3010:16:53"],"8":[8,100,100,"2024/05/3010:16:28"]}**295 +(% style="color:#4472c4" %)**{"IMEI":"866207052559857","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":0,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":0,"last open time2":0,"battery":3.48,"signal":24,"1":{1,0,0,2023/11/13 09:59:01},"2":{0,0,261,2023/11/13 03:20:00},"3":{237,9896971,263,2023/11/13 03:05:00},"4":{0,29,263,2023/11/13 02:20:12},"5":{215,9897015,268,2023/11/13 01:58:16},"6":{0,79,261,2023/11/13 01:43:16},"7":{227,9896991,5368540,2023/11/13 01:18:46},"8":{0,19,5367640,2023/11/11 08:53:57}}** 295 295 296 -[[image:image-202 40611150437-1.png||height="733" width="958"]]297 +[[image:image-20231115162221-7.png]] 297 297 298 298 299 299 **The General Json format payload for the double-channel mode is as follows:** 300 300 301 -(% style="color:#4472c4" %)**{"IMEI":"86 3663062798914","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":0,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":0,"last open time2":0,"battery":3.34,"signal":15,"1":[1,0,0,1,0,0,"2024/06/11 05:49:07"],"2":[0,200,300,1,0,0,"2024/06/11 05:34:07"],"3":[0,200,300,1,0,0,"2024/06/11 05:19:07"],"4":[0,200,300,1,0,0,"2024/06/11 05:04:07"],"5":[0,200,300,1,0,0,"2024/06/11 04:49:07"],"6":[0,200,300,1,0,0,"2024/06/11 04:34:07"],"7":[0,200,300,1,0,0,"2024/06/11 04:19:07"],"8":[0,200,300,1,0,0,"2024/06/11 04:04:07"]}**302 +(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":2,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":3,"last open time2":0,"battery":3.39,"signal":25,"1":{1,4,0,1,3,0,2023/11/15 07:54:30},"2":{1,3,0,1,6,1,2023/11/15 07:10:04},"3":{0,0,0,1,1,0,2023/11/15 06:55:04},"4":{0,0,0,1,0,0,2023/11/15 06:40:04},"5":{0,0,0,1,0,0,2023/11/15 03:50:36},"6":{0,0,0,1,4,11,2023/11/15 03:28:16},"7":{0,0,0,1,4,11,2023/11/15 03:13:16},"8":{0,0,0,1,3,11,2023/11/15 02:58:25}}** 302 302 303 -[[image:image-202 40611150520-2.png||height="733" width="945"]]304 +[[image:image-20231115161803-6.png]] 304 304 305 305 306 306 (% style="color:red" %)**Notice, from above payload:** ... ... @@ -307,7 +307,7 @@ 307 307 308 308 * level status, alarm status, door open num, last open time, level status2, alarm status2, door open sum2, last open time2, Battery & Signal are the value at uplink time. 309 309 310 -* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+ CLOCKLOG=1,65535,15,8 ** (%%)Command. Each entry includes (from left to right):311 +* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): 311 311 312 312 Single-channel mode: level status, door open num, last open time, Sampling time. 313 313 ... ... @@ -323,26 +323,27 @@ 323 323 324 324 **The HEX format payload for the single-channel mode is as follows:** 325 325 326 -(% style="color:#4472c4" %)** 062798914127b0d00120101000000000000006667e2e0010000000000006667e1cf010000000000006667de4b010000000000006667dac7010000000000006667d743010000000000006667d3bf010000000000006667d03b010000000000006667ccb7010000000000006667c7c7**327 +(% style="color:#4472c4" %)**f86620705255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125** 327 327 329 +[[image:image-20231114091247-2.png||height="186" width="1363"]] 328 328 329 -[[image:image-20240611151016-5.png]] 330 330 331 331 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 332 332 333 -[[image:image-202 40611151101-6.png||height="753" width="980"]]334 +[[image:image-20231114094432-3.png]] 334 334 335 335 337 + 336 336 **The HEX format payload for the double-channel mode is as follows:** 337 337 338 -(% style="color:#4472c4" %)** 062798914127b0cea0e01010000000000000001000000000000006667e66a01000000000000010000000000006667e55301000000000000000000c800012c6667e1cf01000000000000000000c800012c6667de4b01000000000000000000c800012c6667dac701000000000000000000c800012c6667d74301000000000000000000c800012c6667d3bf01000000000000000000c800012c6667d03b01000000000000000000c800012c6667ccb7**340 +(% style="color:#4472c4" %)**f86620705255985712640db71701010000000000000001000000000000006552d13401000000000000000000000000006551f365000000000001050000005f00005f655195e0ed97040b0001070000005c00005c6551925c0000001d00010700000033000033655187dcd797043700010c00000033000033655182b80000004f0001050000003300003365517f34e397041f51eadc00000000000000655179760000001351e75800000000000000654f4125** 339 339 342 +[[image:image-20231114091229-1.png||height="180" width="1584"]] 340 340 341 -[[image:image-20240611151148-7.png]] 342 342 343 343 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 344 344 345 -[[image:image-202 40611151206-8.png||height="741" width="961"]]347 +[[image:image-20231114094838-5.png]] 346 346 347 347 348 348 (% style="color:blue" %)**Version:** ... ... @@ -351,7 +351,7 @@ 351 351 352 352 (% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x12 for DS03A-NB 353 353 354 -(% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x 7b=123, means firmware version 1.2.3356 +(% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 1.0.0 355 355 356 356 357 357 (% style="color:blue" %)**BAT (Battery Info):** ... ... @@ -388,66 +388,24 @@ 388 388 389 389 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard. 390 390 391 -**The type3 format payload for the single-channel mode is as follows:** 392 - 393 393 (% style="color:#4472c4" %)**{ 394 - "topic": "2276492", 395 - "payload": { 396 - "IMEI": "863663062798914", 394 + "IMEI": "866207058378443", 397 397 "Model": "DS03A-NB", 398 398 "level status": 1, 399 399 "alarm status": 0, 400 - "door open num": 0,401 - "last open time": 0,398 + "door open num": 6, 399 + "last open time": 1, 402 402 "level status2": 1, 403 403 "alarm status2": 0, 404 - "door open num2": 0,402 + "door open num2": 2, 405 405 "last open time2": 0, 406 - "battery": 3.33, 407 - "signal": 22, 408 - "1": [1, 0, 0, "2024/06/11 06:08:46"], 409 - "2": [1, 0, 0, "2024/06/11 05:49:07"], 410 - "3": [1, 0, 0, "2024/06/11 05:34:07"], 411 - "4": [1, 0, 0, "2024/06/11 05:19:07"], 412 - "5": [1, 0, 0, "2024/06/11 05:04:07"], 413 - "6": [1, 0, 0, "2024/06/11 04:49:07"], 414 - "7": [1, 0, 0, "2024/06/11 04:34:07"], 415 - "8": [1, 0, 0, "2024/06/11 04:19:07"] 416 - } 417 -}**(%%) 418 -[[image:image-20240611151445-9.png||height="663" width="1398"]] 404 + "battery": 3.4, 405 + "signal": 24 406 + }** 419 419 420 - **Thetype3 format payload for thedouble-channel modeisas follows:**408 +[[image:image-20231115150948-1.png||height="625" width="1188"]] 421 421 422 -(% style="color:#4472c4" %)**{ 423 - "topic": "2276492", 424 - "payload": { 425 - "IMEI": "863663062798914", 426 - "Model": "DS03A-NB", 427 - "level status": 1, 428 - "alarm status": 0, 429 - "door open num": 0, 430 - "last open time": 0, 431 - "level status2": 1, 432 - "alarm status2": 0, 433 - "door open num2": 0, 434 - "last open time2": 0, 435 - "battery": 3.34, 436 - "signal": 20, 437 - "1": [1, 0, 0, 1, 0, 0, "2024/06/11 06:08:46"], 438 - "2": [1, 0, 0, 1, 0, 0, "2024/06/11 05:49:07"], 439 - "3": [0, 200, 300, 1, 0, 0, "2024/06/11 05:34:07"], 440 - "4": [0, 200, 300, 1, 0, 0, "2024/06/11 05:19:07"], 441 - "5": [0, 200, 300, 1, 0, 0, "2024/06/11 05:04:07"], 442 - "6": [0, 200, 300, 1, 0, 0, "2024/06/11 04:49:07"], 443 - "7": [0, 200, 300, 1, 0, 0, "2024/06/11 04:34:07"], 444 - "8": [0, 200, 300, 1, 0, 0, "2024/06/11 04:19:07"] 445 - } 446 -}** 447 447 448 -[[image:image-20240611151543-10.png||height="672" width="1417"]] 449 - 450 - 451 451 === 2.2.4 ThingSpeak Payload(Type~=1) === 452 452 453 453 ... ... @@ -464,6 +464,7 @@ 464 464 [[image:image-20231115154821-3.png||height="695" width="1119"]] 465 465 466 466 427 + 467 467 == 2.3 Test Uplink and Change Update Interval == 468 468 469 469 ... ... @@ -510,7 +510,7 @@ 510 510 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 511 511 (% style="display:none" %) (%%) 512 512 513 -== 2. 6Set Transmit Interval Time ==474 +== 2.5 Set Transmit Interval Time == 514 514 515 515 516 516 ((( ... ... @@ -745,7 +745,7 @@ 745 745 746 746 (% style="color:blue" %)**AT Command:** 747 747 748 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)709 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 749 749 |=(% style="width: 163px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 290px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response** 750 750 |(% style="width:155px" %)AT+CLRC|(% style="width:259px" %)clear the open door times and the duration of the last open door.|(% style="width:44px" %)((( 751 751 OK ... ... @@ -805,8 +805,6 @@ 805 805 806 806 (% style="color:blue" %)**d:**(%%)** **How many entries should be uplink on every TDC **(max 32)** 807 807 808 -(% style="color:red" %)**Note: To disable clock recording, set the following parameters: AT+CLOCKLOG=1,65535,0,0** 809 - 810 810 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SPH01-NB_NB-IoT_Soil_pH_Sensor_User_Manual/WebHome/image-20240315141254-1.png?rev=1.1||alt="image-20240315141254-1.png"]] 811 811 812 812 **Example:** ... ... @@ -822,16 +822,6 @@ 822 822 (% style="color:red" %)**Note: Users need to synchronize the server time before configuring this command. If the server time is not synchronized before this command is configured, the command takes effect only after the node is reset.** 823 823 824 824 825 -* (% style="color:blue" %)**Downlink Command: 0x0A** 826 - 827 -Format: Command Code (0x0A) followed by 5 bytes. 828 - 829 -* **Example 1**: Downlink Payload:** 0A01FFFF0F08** ~/~/ Set SHT record time: AT+CLOCKLOG=1,65535,15,8 830 -* **Example 1**: Downlink Payload:** 0A0104B00F08** ~/~/ Set SHT record time: AT+CLOCKLOG=1,1200,15,8 831 - 832 -(% style="color:red" %)**Note: When entering the downlink payload, there must be no Spaces between bytes.** 833 - 834 - 835 835 == 2.15 Example Query saved historical records == 836 836 837 837 ... ... @@ -865,24 +865,6 @@ 865 865 After setting this command, domain name resolution will be performed regularly. 866 866 867 867 868 -== 2.18 Set the QoS level == 869 - 870 - 871 -This command is used to set the QoS level of **MQTT**. 872 - 873 -(% style="color:blue" %)**AT command:** 874 - 875 -* (% style="color:#037691" %)**AT+MQOS=xx**(%%)** **~/~/ 0~~2 876 - 877 -(% style="color:blue" %)**Downlink Command: 0x07** 878 - 879 -Format: Command Code (0x07) followed by 1 byte. 880 - 881 -**Ex1:** Downlink payload: **0x0700** ~/~/AT+MQOS=0 882 - 883 -**Ex2:** Downlink payload: **0x0701** ~/~/AT+MQOS=1 884 - 885 - 886 886 = 3. Configure DS03A-NB = 887 887 888 888 == 3.1 Configure Methods == ... ... @@ -1012,6 +1012,7 @@ 1012 1012 User can can refer to this [[description>>url:http://wiki.dragino.com/xwiki/bin/view/How%20to%20configure%20the%20certificate%3F/]] to configure the certificate. 1013 1013 1014 1014 946 + 1015 1015 = 7. Order Info = 1016 1016 1017 1017
- image-20240611151445-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -107.4 KB - Content
- image-20240611151543-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -108.3 KB - Content
- image-20240611151637-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -15.6 KB - Content
- image-20240716143403-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -428.0 KB - Content