diff --git a/eval/latency/dlink-cam/flow.yml b/eval/latency/dlink-cam/flow.yml new file mode 100644 index 0000000000000000000000000000000000000000..1a50a478804b24de59c42fa7d06c31b266ddbdb4 --- /dev/null +++ b/eval/latency/dlink-cam/flow.yml @@ -0,0 +1,21 @@ +appId: com.dlink.mydlinkunified +name: D-Link Caméra +--- +- launchApp: + appId: "com.dlink.mydlinkunified" + # clearState: true + stopApp: true + label: Start the D-Link app +- tapOn: + id: "com.dlink.mydlinkunified:id/clStatus" + label: "Open the camera" +- waitForAnimationToEnd: + timeout: 10000 + label: "Wait 10 secs" +- launchApp: + appId: "com.amazon.dee.app" + label: "Open the Amazon Alexa app" + # clearState: true + stopApp: true +- tapOn: "Cameras" +- tapOn: "Camera D" diff --git a/eval/latency/philips-hue/alexa.yml b/eval/latency/philips-hue/alexa.yml new file mode 100644 index 0000000000000000000000000000000000000000..3af658eaff23ad938f91eae3741d33542195e957 --- /dev/null +++ b/eval/latency/philips-hue/alexa.yml @@ -0,0 +1,43 @@ +appId: com.amazon.dee.app +name: "Power-on/off TP-Link plug using Alexa" +--- +- launchApp: + clearState: false + stopApp: true + label: "Open the Amazon Alexa app" +- tapOn: + id: "com.amazon.dee.app:id/tab_channels_device" + label: "Open the Devices tab" +- tapOn: + id: "DevicePageSearchButton" + label: "Open the search menu" +- tapOn: + id: "DeviceSearchPageSearchInput_SearchInput" + label: "Open the search bar" +- inputText: + text: "Lamp" + label: "Type 'Lamp' in the search bar" +- doubleTapOn: + text: "Lamp" + index: 1 + label: "Select the Philips Hue lamp" +- tapOn: + point: "50%,23%" + label: "Turn on the lamp" +- tapOn: + id: "ColorControl::Color=Custom-primary" + label: "Open the color picker" +- scroll: + label: "Scroll down the color picker" +- tapOn: + text: "Orange" + label: "Set the color to orange" +- tapOn: + id: "header-back-button" + label: "Close the color picker" +- tapOn: + point: "85%,55%" + label: "Set the power to 100%" +- tapOn: + point: "50%,23%" + label: "Turn off the lamp" \ No newline at end of file diff --git a/eval/latency/philips-hue/flow.yml b/eval/latency/philips-hue/flow.yml new file mode 100644 index 0000000000000000000000000000000000000000..972622c893d35d4917a1c5b6d2404b3c44650515 --- /dev/null +++ b/eval/latency/philips-hue/flow.yml @@ -0,0 +1,8 @@ +appId: com.tplink.kasa_android +--- +- runFlow: + file: hueEssentials.yml + label: "Edit the light using Hue Essentials" +- runFlow: + file: alexa.yml + label: "Edit the light using Alexa" \ No newline at end of file diff --git a/eval/latency/philips-hue/hueEssentials.yml b/eval/latency/philips-hue/hueEssentials.yml new file mode 100644 index 0000000000000000000000000000000000000000..2f850c0542e1f5331f6955f46801d14062593d8a --- /dev/null +++ b/eval/latency/philips-hue/hueEssentials.yml @@ -0,0 +1,41 @@ +appId: com.superthomaslab.hueessentials +name: Hue Essentials +--- +- launchApp: + appId: "com.superthomaslab.hueessentials" + clearState: false + stopApp: true + label: "Open the Hue Essentials app" +- tapOn: + text: "Office" + index: 1 + label: "Tap on the Office room" +- tapOn: + point: "87%,31%" + label: "Turn on the light" +- tapOn: + point: "81%,76%" + label: "Open the device settings" +- tapOn: + point: "61%,76%" + label: "Open the color picker" +- eraseText: + label: "Remove the old HEX color" +- inputText: + text: "#3F2A56" + label: "Set the new HEX color to purple" +- tapOn: + id: "com.google.android.inputmethod.latin:id/0_resource_name_obfuscated" + index: 82 + label: "Select the purple color" +- hideKeyboard: + label: "Hide the keyboard" +- tapOn: + point: "50%,16%" + label: "Set the power to 50%" +- tapOn: + text: "Close" + label: "Close the device settings" +- tapOn: + point: "87%,31%" + label: "Turn off the light" \ No newline at end of file diff --git a/eval/latency/philips-hue/smarthings.yml b/eval/latency/philips-hue/smarthings.yml new file mode 100644 index 0000000000000000000000000000000000000000..253e5a8235dff35db27fa7dd4a616e1bd70d7884 --- /dev/null +++ b/eval/latency/philips-hue/smarthings.yml @@ -0,0 +1,11 @@ +appId: com.samsung.android.oneconnect +title: "Power-on/off TP-Link plug using SmartThings" +--- +- launchApp: + appId: "com.samsung.android.oneconnect" + clearState: false + stopApp: true + label: "Open the SmartThings app" +- tapOn: + id: "com.samsung.android.oneconnect:id/menu_devices" + label: "Open the Devices tab" \ No newline at end of file diff --git a/eval/latency/philips-hue/wifi.yml b/eval/latency/philips-hue/wifi.yml new file mode 100644 index 0000000000000000000000000000000000000000..5b6a2e7ac08ed235e4d8a51be181717f49ce2b1f --- /dev/null +++ b/eval/latency/philips-hue/wifi.yml @@ -0,0 +1,20 @@ +appId: com.android.settings +name: "Connect to a Wi-Fi network" +# env: +# WIFI : "wifiname" + +--- +- launchApp: + # appId: "com.android.settings" + clearState: false + stopApp: true + label: "Open the Settings app" +- tapOn: + text: "Network & internet" + label: "Open the Network & internet settings" +- tapOn: + text: "Wi‑Fi" + label: "Open the Wi-Fi settings" +- tapOn: + text: ${WIFI} + label: "Connect to the provided Wi-Fi network" \ No newline at end of file diff --git a/eval/latency/tplink-plug/alexa.yml b/eval/latency/tplink-plug/alexa.yml new file mode 100644 index 0000000000000000000000000000000000000000..38775afa86670cfa7f87adaa07cd7ced2ff7ae77 --- /dev/null +++ b/eval/latency/tplink-plug/alexa.yml @@ -0,0 +1,28 @@ +appId: com.amazon.dee.app +name: "Power-on/off TP-Link plug using Alexa" +--- +- launchApp: + clearState: false + stopApp: true + label: "Open the Amazon Alexa app" +- tapOn: + id: "com.amazon.dee.app:id/tab_channels_device" + label: "Open the Devices tab" +- tapOn: + id: "DevicePageSearchButton" + label: "Open the search menu" +- tapOn: + id: "DeviceSearchPageSearchInput_SearchInput" + label: "Open the search bar" +- inputText: + text: "TP-Link" + label: "Type 'TP-Link' in the search bar" +- doubleTapOn: + text: "TP-Link plug" + label: "Select the TP-Link plug" +- tapOn: + point: "50%,23%" + label: "Toggle the plug power" +- tapOn: + point: "50%,23%" + label: "Toggle the plug power" diff --git a/eval/latency/tplink-plug/flow.yml b/eval/latency/tplink-plug/flow.yml new file mode 100644 index 0000000000000000000000000000000000000000..45b3ff7162e3837a3dc47d0ec6764fe9991c4010 --- /dev/null +++ b/eval/latency/tplink-plug/flow.yml @@ -0,0 +1,30 @@ +appId: com.tplink.kasa_android +--- +- runFlow: + file: kasa.yml + label: "Power-on/off TP-Link plug using Kasa" +- runFlow: + file: smarthings.yml + label: "Power-on/off TP-Link plug using SmartThings" +- runFlow: + file: "alexa.yml" + label: "Power-on/off TP-Link plug using Alexa" +- runFlow: + file: "wifiUCLouvain.yml" + env: + WIFI: "UCLouvain" + label: "Connect to the UCLouvain Wi-Fi network" +- runFlow: + file: kasa.yml + label: "Power-on/off TP-Link plug using Kasa" +- runFlow: + file: smarthings.yml + label: "Power-on/off TP-Link plug using SmartThings" +- runFlow: + file: "alexa.yml" + label: "Power-on/off TP-Link plug using Alexa" +- runFlow: + file: "wifiUCLouvain.yml" + env: + WIFI: "OpenWrt-5GHz" + label: "Connect to the OpenWrt-5GHz Wi-Fi network" \ No newline at end of file diff --git a/eval/latency/tplink-plug/kasa.yml b/eval/latency/tplink-plug/kasa.yml new file mode 100644 index 0000000000000000000000000000000000000000..c2e22e55775ba230e17cef08fc88fa40dfcfef63 --- /dev/null +++ b/eval/latency/tplink-plug/kasa.yml @@ -0,0 +1,14 @@ +appId: com.tplink.kasa_android +title: "Power-on/off TP-Link plug using Kasa" +--- +- launchApp: + appId: "com.tplink.kasa_android" + clearState: false + stopApp: true + label: "Open the Kasa app" +- tapOn: + id: "com.tplink.kasa_android:id/device_switch" + label: "Toggle the plug power" +- tapOn: + id: "com.tplink.kasa_android:id/device_switch" + label: "Toggle the plug power" \ No newline at end of file diff --git a/eval/latency/tplink-plug/smarthings.yml b/eval/latency/tplink-plug/smarthings.yml new file mode 100644 index 0000000000000000000000000000000000000000..253e5a8235dff35db27fa7dd4a616e1bd70d7884 --- /dev/null +++ b/eval/latency/tplink-plug/smarthings.yml @@ -0,0 +1,11 @@ +appId: com.samsung.android.oneconnect +title: "Power-on/off TP-Link plug using SmartThings" +--- +- launchApp: + appId: "com.samsung.android.oneconnect" + clearState: false + stopApp: true + label: "Open the SmartThings app" +- tapOn: + id: "com.samsung.android.oneconnect:id/menu_devices" + label: "Open the Devices tab" \ No newline at end of file diff --git a/eval/latency/tplink-plug/wifi.yml b/eval/latency/tplink-plug/wifi.yml new file mode 100644 index 0000000000000000000000000000000000000000..5b6a2e7ac08ed235e4d8a51be181717f49ce2b1f --- /dev/null +++ b/eval/latency/tplink-plug/wifi.yml @@ -0,0 +1,20 @@ +appId: com.android.settings +name: "Connect to a Wi-Fi network" +# env: +# WIFI : "wifiname" + +--- +- launchApp: + # appId: "com.android.settings" + clearState: false + stopApp: true + label: "Open the Settings app" +- tapOn: + text: "Network & internet" + label: "Open the Network & internet settings" +- tapOn: + text: "Wi‑Fi" + label: "Open the Wi-Fi settings" +- tapOn: + text: ${WIFI} + label: "Connect to the provided Wi-Fi network" \ No newline at end of file