3 # This script does clicking action automatically
4 # We just need to set up the timer duration
12 # Range of random number (in seconds)
16 for ((i=$BEGIN; i<=$END; i+=$INC));
20 #./adb shell getevent -l - use this command to get the position
22 #./adb shell input tap 500 1500
24 #./adb shell input tap 1002 913
26 #./adb shell input tap 994 560
28 #./adb shell input tap 987 346
29 # D-Link motion sensor
30 #./adb shell input tap 975 840
32 #./adb shell input tap 921 1188
33 #./adb shell input tap 533 653
34 # WeMo, WeMo Insight, LiFX bulbs, Hue bulbs with ST-app
35 #./adb shell input tap 533 653
37 #./adb shell input tap 981 532
39 ./adb shell input tap 981 326
44 # ./adb shell input tap 153 1211
47 # ./adb shell input tap 520 1211
50 #./adb shell input tap 923 383
51 #./adb shell input tap 900 550
56 # ./adb shell input tap 100 650
59 # ./adb shell input tap 100 750
62 #./adb shell input tap 506 580
67 # ./adb shell input tap 92 139
68 # ./adb shell input tap 92 139
70 # stop live view (go to playback)
71 # ./adb shell input tap 92 139
72 # ./adb shell input tap 92 250
78 #./adb shell input tap 532 740
79 # ./adb shell input tap 533 653
82 #./adb shell input tap 101 1012
83 # ./adb shell input tap 533 653
84 # ./adb shell input tap 533 653
85 # ./adb shell input tap 533 653
87 # Blossom - turning on/off 1 zone
91 # ./adb shell input tap 538 1597
94 # ./adb shell input tap 496 1533
96 # Blossom - change mode active/hibernate
97 #./adb shell input tap 1002 1176
99 #./adb shell input tap 994 802
104 # ./adb shell input tap 524 1668
105 # ./adb shell input tap 936 1709
108 # ./adb shell input tap 524 1668
109 # ./adb shell input tap 679 1702
114 # Using Google Translate and
115 # having her speak to Alexa
117 # ./adb shell input tap 907 145
118 # ./adb shell input tap 543 692
119 # ./adb shell input tap 148 775
122 # ./adb shell input tap 907 145
123 # ./adb shell input tap 463 1668
124 # ./adb shell input tap 148 775
127 #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]
128 #RAND=$[`jot -r 1 $RAN_STA $RAN_END`]
129 #echo "Delay: $RAND seconds"
132 # TP-Link bulb - change colors & intensity
135 # color 1 - horizontal
136 #./adb shell input tap 250 1000
138 #./adb shell input tap 500 1250
139 # intensity change (vertical)
140 # ./adb shell input tap 250 1405
142 # color 2 - horizontal
143 #./adb shell input tap 750 1000
145 #./adb shell input tap 500 750
146 # intensity change (vertical)
147 # ./adb shell input tap 850 1405
149 # Hue bulb - change intensity
152 # intensity change (bright)
153 # ./adb shell input tap 300 550
155 # intensity change (dimmed)
156 # ./adb shell input tap 800 550
158 # Arlo camera - arm/disarm
162 # ./adb shell input tap 500 500
165 # ./adb shell input tap 500 750
168 # pick a prime number > 120 seconds
172 #ssh root@192.168.1.1 "kill -9 18572 18576"