From f3d73543514759adfe8600697f86218f3623f61f Mon Sep 17 00:00:00 2001 From: rtrimana Date: Wed, 25 Jul 2018 16:10:30 -0700 Subject: [PATCH 1/1] Adding coordinates for the SmartThings app button. --- automation/clicker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/automation/clicker.sh b/automation/clicker.sh index 5f3a964..0817e6e 100755 --- a/automation/clicker.sh +++ b/automation/clicker.sh @@ -14,10 +14,13 @@ RAN_END=200 for ((i=$BEGIN; i<=$END; i+=$INC)); do + #./adb shell getevent -l - use this command to get the position # TP-Link switch #./adb shell input tap 1002 913 # D-Link switch - ./adb shell input tap 987 346 + #./adb shell input tap 987 346 + # SmartThings + ./adb shell input tap 921 1188 #date +%r date +"%m/%d/%Y %r" #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA] -- 2.34.1