Updating the automation script clicker.sh
authorrtrimana <rtrimana@uci.edu>
Wed, 1 Aug 2018 20:27:33 +0000 (13:27 -0700)
committerrtrimana <rtrimana@uci.edu>
Wed, 1 Aug 2018 20:27:33 +0000 (13:27 -0700)
automation/clicker.sh

index 0817e6ee262cfb51aea60887ab1b8e194864741f..cb00e6a08ae7ced3b7ff98c1e349b4acd5ae7de7 100755 (executable)
@@ -17,10 +17,16 @@ do
        #./adb shell getevent -l - use this command to get the position
        # TP-Link switch
        #./adb shell input tap 1002 913
        #./adb shell getevent -l - use this command to get the position
        # TP-Link switch
        #./adb shell input tap 1002 913
+       # TP-Link bulb on/off
+       ./adb shell input tap 981 358
        # D-Link switch
        #./adb shell input tap 987 346
        # SmartThings
        # D-Link switch
        #./adb shell input tap 987 346
        # SmartThings
-       ./adb shell input tap 921 1188
+       #./adb shell input tap 921 1188
+       # WeMo
+       #./adb shell input tap 981 532
+       # WeMo Insight
+       #./adb shell input tap 981 326
        #date +%r
        date +"%m/%d/%Y %r"
        #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]
        #date +%r
        date +"%m/%d/%Y %r"
        #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA]