Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -397,10 +397,10 @@ 397 397 === 2.3.1 Sensor Configuration, FPORT~=4 === 398 398 399 399 400 -SW3L- LB will only send this command after getting the downlink command **(0x26 02)** from the server.400 +SW3L-NB will only send this command after getting the downlink command **(0x26 02)** from the server. 401 401 402 402 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 403 -|(% style="background-color:# d9e2f3;#0070c0; width:70px" %) **Size(bytes)**|(% style="background-color:#d9e2f3;#0070c0; width:105px" %)**3**|(% style="background-color:#d9e2f3;#0070c0; width:60px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:96px" %)**1**|(% style="background-color:#d9e2f3;#0070c0; width:105px" %)**2**|(% style="background-color:#d9e2f3;#0070c0; width:74px" %)**1**403 +|(% style="background-color:#4F81BD;color:white; width:70px" %) **Size(bytes)**|(% style="background-color:#4F81BD;color:white; width:105px" %)**3**|(% style="background-color:#4F81BD;color:white; width:60px" %)**1**|(% style="background-color:#4F81BD;color:white; width:96px" %)**1**|(% style="background-color:#4F81BD;color:white; width:105px" %)**2**|(% style="background-color:#4F81BD;color:white; width:74px" %)**1** 404 404 |**Value**|(% style="width:104px" %)TDC(unit:sec)|(% style="width:43px" %)N/A|(% style="width:91px" %)Stop Timer|(% style="width:100px" %)Alarm Timer|(% style="width:69px" %)Reserve 405 405 406 406 Example parse in TTNv3 ... ... @@ -422,7 +422,7 @@ 422 422 423 423 424 424 ((( 425 -SW3L- LB will send this uplink **after** Device Status once join theLoRaWAN network successfully. And SW3L-LB will:425 +SW3L-NB will send this uplink **after** Device Status once join the NB-IoT network successfully. And SW3L-NB will: 426 426 ))) 427 427 428 428 ((( ... ... @@ -611,7 +611,7 @@ 611 611 612 612 613 613 ((( 614 -SW3L- LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]].614 +SW3L-NB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]]. 615 615 ))) 616 616 617 617 ((( ... ... @@ -666,7 +666,7 @@ 666 666 ))) 667 667 668 668 ((( 669 -If SW3L- LB doesn't have any data in the polling time. It will uplink 11 bytes of 0669 +If SW3L-NB doesn't have any data in the polling time. It will uplink 11 bytes of 0 670 670 671 671 672 672 ))) ... ... @@ -762,6 +762,116 @@ 762 762 763 763 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 764 764 765 +== 2.7 Alarm for continuously water flow == 766 + 767 + 768 +((( 769 +This feature is to monitor and send Alarm for continuously water flow. 770 +))) 771 + 772 +((( 773 +Example case is for Toilet water monitoring, if some one push toilet button, the toilet will have water flow. If the toilet button has broken and can't returned to original state, the water flow will keep for hours or days which cause huge waste for water. 774 +))) 775 + 776 +((( 777 +To monitor this faulty and send alarm, there are two settings: 778 +))) 779 + 780 +* ((( 781 +(% style="color:blue" %)**Stop Duration: Unit: Second** 782 +))) 783 + 784 +((( 785 +Default: 15s, If SW3L-NB didn't see any water flow in 15s, SW3L-NB will consider stop of water flow event. 786 +))) 787 + 788 +* ((( 789 +(% style="color:blue" %)**Alarm Timer: Units: Minute; Default 0 minutes (means Alarm disable)** 790 +))) 791 + 792 +((( 793 +**Example:** 3 minutes, if SW3L-NB detect a start of water flow event and didn't detect a stop event within Alarm timer, SW3L-NB will send an Alarm to indicate a water flow abnormal alarm. 794 +))) 795 + 796 +((( 797 +So for example, If we set stop duration=15s and Alarm Timer=3minutes. If the toilet water flow continuously for more than 3 minutes, Sensor will send an alarm (in Confirmed MODE) to platform. 798 +))) 799 + 800 +((( 801 +(% style="color:red" %)**Note:** **After this alarm is send, sensor will consider a stop of water flow and count for another new event. So if water flow waste last for 1 hour, Sensor will keep sending alarm every 3 minutes.** 802 +))) 803 + 804 +((( 805 +(% style="color:blue" %)**AT Command to configure:** 806 +))) 807 + 808 +* ((( 809 +AT+PTRIG=15,3 ~-~-> Set Stop duration: 15s, Alarm Timer: 3 minutes. 810 +))) 811 + 812 +* ((( 813 +AT+ PTRIG=15,0 ~-~-> Default Value, disable water waste Alarm. 814 +))) 815 + 816 +((( 817 +(% style="color:blue" %)**Downlink Command to configure:** 818 +))) 819 + 820 +((( 821 +Command: **0xAA aa bb cc** 822 +))) 823 + 824 +((( 825 +AA: Command Type Code 826 +))) 827 + 828 +((( 829 +aa: Stop duration 830 +))) 831 + 832 +((( 833 +bb cc: Alarm Timer 834 +))) 835 + 836 +((( 837 +If user send 0xAA 0F 00 03: equal to AT+PTRIG=15,3 838 +))) 839 + 840 + 841 +== 2.8 Set the calculate flag == 842 + 843 + 844 +Feature: Set the calculate flag 845 + 846 +(% style="color:blue" %)**AT Command: AT+CALCFLAG** 847 + 848 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:461px" %) 849 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 193px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)**Response** 850 +|(% style="width:158px" %)AT+CALCFLAG =1|(% style="width:192px" %)Set the calculate flag to 1.|(% style="width:109px" %)OK 851 +|(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:109px" %)OK 852 + 853 +(% style="color:blue" %)**Downlink Command:** 854 + 855 +* **Example**: 0XA501 ~/~/ Same as AT+CALCFLAG =1 856 + 857 +== 2.9 Set count number == 858 + 859 + 860 +Feature: Manually set the count number 861 + 862 +(% style="color:blue" %)**AT Command: AT+SETCNT** 863 + 864 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479px" %) 865 +|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px;background-color:#D9E2F3;color:#0070C0" %)**Response** 866 +|(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK 867 +|(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK 868 + 869 +(% style="color:blue" %)**Downlink Command:** 870 + 871 +* **Example**: 0xA6000001 ~/~/ Same as AT+ SETCNT =1 872 + 873 +* **Example**: 0xA6000064 ~/~/ Same as AT+ SETCNT =100 874 + 765 765 = 3. Configure SW3L-NB = 766 766 767 767 == 3.1 Configure Methods ==