X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=automation%2Fclicker.sh;fp=automation%2Fclicker.sh;h=cb00e6a08ae7ced3b7ff98c1e349b4acd5ae7de7;hb=c1f6340b2dce0ed0443dadcc8a4ff48b6f2ab65f;hp=0817e6ee262cfb51aea60887ab1b8e194864741f;hpb=3730251c1696f843899313f3f7cd56fc31d0f828;p=pingpong.git diff --git a/automation/clicker.sh b/automation/clicker.sh index 0817e6e..cb00e6a 100755 --- a/automation/clicker.sh +++ b/automation/clicker.sh @@ -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 + # TP-Link bulb on/off + ./adb shell input tap 981 358 # 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]