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
-
... ... @@ -762,6 +762,118 @@ 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-LB didn't see any water flow in 15s, SW3L-LB 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-LB detect a start of water flow event and didn't detect a stop event within Alarm timer, SW3L-LB 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 + 858 +== 2.9 Set count number == 859 + 860 + 861 +Feature: Manually set the count number 862 + 863 +(% style="color:blue" %)**AT Command: AT+SETCNT** 864 + 865 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479px" %) 866 +|=(% 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** 867 +|(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK 868 +|(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK 869 + 870 +(% style="color:blue" %)**Downlink Command:** 871 + 872 +* **Example**: 0xA6000001 ~/~/ Same as AT+ SETCNT =1 873 + 874 +* **Example**: 0xA6000064 ~/~/ Same as AT+ SETCNT =100 875 + 876 + 765 765 = 3. Configure SW3L-NB = 766 766 767 767 == 3.1 Configure Methods ==