From: rtrimana Date: Wed, 1 Aug 2018 20:27:33 +0000 (-0700) Subject: Updating the automation script clicker.sh X-Git-Url: http://plrg.eecs.uci.edu/git/?p=pingpong.git;a=commitdiff_plain;h=c1f6340b2dce0ed0443dadcc8a4ff48b6f2ab65f;hp=3730251c1696f843899313f3f7cd56fc31d0f828 Updating the automation script clicker.sh --- 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]