Conditions
- Action Sound Playing
- Active Cyanogen/LineageOS Profile
- Active Network Type
- Airplane Mode On
- Android Wear Device Connected
- App Process Running
- App Task Running
- Audio Manager Mode
- Audio Stream Active
- Audio Volume
- Auto Sync Enabled
- Auto-rotate Screen Enabled
- Battery Level
- Battery Level (Android Wear)
- Battery Level BLE (Experimental)
- Battery Saver Mode Enabled
- Biometric Authentication Dialog
- Bluetooth Device Connected
- Bluetooth Enabled
- Bluetooth LE Device Available
- Bluetooth SCO On
- Calendar Event
- Call State
- Confirmation Dialog
- Custom Widget Overlay Showing
- Debug Dialog
- Device Idle/Doze Mode Active
- Device Orientation
- Device Storage Space
- Device Storage Space Low
- Dock State
- Execution Count
- Expression
- Flashlight On
- Flow Enabled
- Flow Executing
- Gleeo is Recording
- Gmail Unread Conversation Count
- Hardware Keyboard State
- Hardware Keyboard Type
- Host Reachable
- Interruptions Mode
- Keyguard Locked
- Keyguard with Security
- Light Sensor
- Location
- Location Entering
- Location Provider Enabled
- Magnetic Field Sensor
- Microphone Mute
- Mobile Datanetwork Enabled
- Mobile Datanetwork Type
- Music Active
- Network Connected
- NFC Enabled
- Night Mode
- Notification on Statusbar Displayed
- Phone Cell CDMA
- Phone Cell GSM
- Phone Service State
- Phone Signal Strength
- Plugin (Experimental)
- Power Source Connected
- Power Source Connected (Android Wear)
- Pressure Sensor
- Proximity Sensor
- Ringer Mode
- Roaming
- Root Setting Enabled
- Screen Automatic Brightness Enabled
- Screen On
- Screen Orientation
- Service Running
- Sound Level (Experimental)
- Speakerphone On
- Telephony Radio Enabled
- Theater Mode On (Android Wear)
- Time Range
- UI Mode
- USB Tethering Enabled
- Vibrate on Ring Enabled
- WiFi Access Point Enabled
- WiFi Available
- WiFi Connected
- WiFi Signal Level
- WiFi State
- WiFi Tethering State
- Wired Headset Plugged
Conditions
The condition Action Sound Playing checks if an action Sound is currently playing a sound.
Examples:
- Refresh a stop-button in a widget depending whether a sound is currently playing or not.
See action Script for a description.
sound_position
sound_duration
The condition Active Cyanogen/LineageOS Profile checks whether one of the listed profiles is active.
Warning: This function is not officially supported by Android and might not work on all devices.
Examples:
- Play a sound only when the active profile is not Cinema.
See action Script for a description.
profile_name
The condition Active Network Type checks if a network (usually WiFi or Mobile) is active and usable for data traffic.
Examples:
- Execute a download action only when the current active network is WiFi.
See action Script for a description.
network_type
network_type_name
WIFI
or MOBILE
network_subtype
network_subtype_name
network_state
network_detailed_state
network_extra_info
network_reason
The condition Airplane Mode On checks whether the airplane mode is on or not.
Examples:
- Only download a file when airplane mode is turned off.
The condition Android Wear Device Connected checks whether a particular Android Wear device is currently connected to the main device.
Warning: This function is not officially supported by Android and might not work on all devices.
Examples:
- Play a notification shound only when not connected to the Android Wear device.
See action Script for a description.
node_id
node_name
The condition App Process Running checks whether the process hosting an app is currently running.
Note: Android keeps processes in memory even when the process might not be required anymore and enough free memory is available.
Note: The official API used to access this information has been removed by Google on Android 5.1.1 which means that the condition is now marked as not officially supported.
Note: The unofficial workarounds to access this information don't work anymore on most devices running Android 7.
See action Script for a description.
pid
importance
(Android <5.1.1)lru
(Android <5.1.1)process_state
(not available on all versions of Android, Android <5.1.1)uid
The condition App Task Running checks whether a task for one of the specified packages is currently running.
Warning: This function is not officially supported by Android 5+ and might not work on all devices.
Warning: This option must be activated on Android 5+.
See action Script for a description.
package_name
index
(not available on Android 5+)base_activity
(not available on Android 5+)top_activity
(not available on Android 5+)id
(not available on Android 5+)num_running
(not available on Android 5+)description
(not available on Android 5+)The condition Audio Manager Mode checks whether the device is currently configured to use the desired audio manager mode.
The condition Audio Stream Active checks if the defined audio stream is currently in active use.
Warning: This function is not officially supported by Android and might not work on all devices.
Examples:
- check if a ringtone is currently played.
The condition Audio Volume checks whether the volume of the selected stream type is above or below a certain level.
Examples:
- Execute a vibrate action only when the music volume is very low.
The condition Auto Sync Enabled checks whether the automatic synchronisation is turned on or off either globally (the master switch) or for a specific account/authority.
Examples:
- Check the current state of auto sync to toggle the setting to the opposite value.
The condition Auto-rotate Screen Enabled checks whether the system setting to automatically rotate the screen is enabled or not.
The condition Battery Level checks whether the battery level is above or below a certain level.
Examples:
- Download a file only when the battery level is above 50%.
lower than
true when the reported percentage by the system is below the defined level
higher than
true when the reported percentage by the system is above the defined level
exactly
true when the reported percentage by the system is exactly on the defined level
full
true when the reported battery status by the system is full
See action Script for a description.
battery_level
battery_percentage
battery_plugged
battery_present
battery_scale
battery_status
battery_technology
battery_temperature
battery_voltage
battery_health
battery_charge_counter
(Android 5+)battery_current_now
(Android 5+)battery_current_average
(Android 5+)battery_energy_counter
(Android 5+)The condition Battery Level (Android Wear) checks whether the battery level is above or below a certain level.
Examples:
- Download a file only when the battery level is above 50%.
lower than
true when the reported percentage by the system is below the defined level
higher than
true when the reported percentage by the system is above the defined level
exactly
true when the reported percentage by the system is exactly on the defined level
full
true when the reported battery status by the system is full
See action Script for a description.
battery_level
battery_percentage
battery_plugged
battery_present
battery_scale
battery_status
battery_technology
battery_temperature
battery_voltage
battery_health
node_id
The condition Battery Level BLE (Experimental) checks the battery level of a Bluetooth LE device that supports the standardized Battery service.
Warning: Bluetooth LE is not working reliable on many Android ROMs. Restarting the device or turning Bluetooth off and on again can help when the condition does not work.
Examples:
- Check once a week if the battery of the Polar heart rate sensor is still OK.
lower than
true when the reported percentage by the device is below the defined level
higher than
true when the reported percentage by the device is above the defined level
exactly
true when the reported percentage by the device is exactly on the defined level
See action Script for a description.
battery_level
battery_percentage
The condition Battery Saver Mode Enabled checks whether the battery saver mode is active or not (Android 5+).
Warning: This function does not work for manufacturer specific battery saving modes like Samsungs (Ultra-)energy saving mode or Sony and HTC specific modes. Please use action Init Variable System Setting on such devices.
Examples:
- Execute a battery hungry flow only when the battery saver mode is not active.
The condition Biometric Authentication Dialog shows the authentication dialog of the system and validates a biometric attribute like a fingerprint.
The dialog is temporarily not shown by the system when the fingerprint scanning failed a few times.
Examples:
- Show an authentication dialog for security reasons before deleting a file.
See action Script for a description.
operation
Can be one of:
success
when the user successfully authenticatedfailure
when the user failed to authenticatetimeout
when the dialog was closed by a timeoutcancel
when the user pressed the back button or back key
error_code
error_message
The condition Bluetooth Device Connected checks whether a connection to a Bluetooth device exists.
Warning: This function is not directly supported by Android. The list of currently connected Bluetooth devices is collected using connect/disconnect events reported to Automagic.
Under certain circumstances, the list of connected devices might not correspond to the list of really connected devices, for example when Automagic is freshly installed and a bluetooth device was already connected. In such cases, the bluetooth adapter must be disabled temporarily and reenabled in the preferences of Android to force the Bluetooth devices to reconnect.
Examples:
- Turn on WiFi in the evening only when one of the Bluetooth devices at home is connected.
See action Script for a description.
connected_devices_addresses
connected_devices_names
The condition Bluetooth Enabled checks whether bluetooth is turned on or off.
Examples:
- Open an app when bluetooth is turned on.
The condition Bluetooth LE Device Available executes a BT LE scan to test if a device is currently available.
Examples:
- Scan every 10 minutes if a BT LE beacon is available to turn WiFi on at home.
See action Script for a description.
rssi
The condition Bluetooth SCO On checks whether communications use Bluetooth SCO or not.
The condition Calendar Event checks, whether an event on the calendar is currently active.
Examples:
- Send an SMS to the calling number telling when your meeting ends.
- Don't let the SMS be read aloud in a meeting.
*
and ?
. Variables are supported.*
and ?
. Variables are supported.Examples:
Plan*
matches titles likePlanning
,Plan B
etc.
*
and ?
. Variables are supported.*
and ?
. Variables are supported.See action Script for a description.
event_calendar
event_title
event_description
event_location
event_start
event_end
event_all_day
event_availability
event_id
The condition Call State checks whether a call is currently active or not.
Note: State Ringing is only valid for incoming calls, an outgoing call directly changes the state from Idle to Off-hook
The condition Confirmation Dialog shows a dialog with a question and continues flow execution depending on the button pressed.
Examples:
- Turn on bluetooth but ask for confirmation first.
See action Script for a description.
operation
Can be one of:
yes
when the user pressed the Yes-buttonno
when the user pressed the No-buttontimeout
when the dialog was closed by a timeoutcancel
when the user pressed the back key and the appropriate option is set
The condition Custom Widget Overlay Showing checks if a particular custom widget is currently showing as an overlay.
Note: Android sometimes temporarily hides overlays for security reasons. This condition can not detect this circumstance and might assume that the widget is showing.
Examples:
- Execute some actions of a flow only when a particular overlay is showing.
The condition Debug Dialog shows a dialog containing all variables and the corresponding values in a dialog. Buttons can be used to control if the condition continues at true or false.
Examples:
- Debug a complex flow.
The condition Device Idle/Doze Mode Active checks if the device is currently in idle/doze mode.
Examples:
- Only make network access from a flow when the device is not in idle/doze mode to save battery.
The condition Device Orientation checks whether the device is in one of the specified orientation.
Examples:
- Beep every 5 minutes when recording your time but only when the device display is not facing down.
- Face down: The display of the device is facing down for example when lying on a table with the display towards the table.
- Face up: The display of the device is facing up for example when lying on a table with the display facing away from the table.
- Face left: The display faces to the left with the longer side lying on a table when the upper edge of the device is pointing away from you.
- Face right: The display faces to the right with the longer side lying on a table when the upper edge of the device is pointing away from you.
- Standing upright: The device is standing upright on a table.
- Standing upside-down: The device is standing upside-down on a table.
See action Script for a description.
accel_x
accel_y
accel_z
The condition Device Storage Space checks the storage space on the filesystem containing the specified path.
- Check every morning if 100MB are still free on the SD card.
See action Script for a description.
available_blocks
free_blocks
block_count
block_size
available_space
used_space
The condition Device Storage Space Low checks whether the free space of the internal memory of the device is low.
Note: The amount of free space to consider as low is defined by the device manufacturer.
Standard Android considers less than 10% of free internal memory as low.
- Play a warning sound every 5 minutes when the device storage space is low.
The condition Dock State checks whether the device is in one of the docking states or not.
- Docked Car: in a car dock
- Docked Desk: in a desk dock
- Docked Desk (High End, Digital): in a high end, digital dock
- Docked Desk (Low End, Analog Dock): in a low end, analog dock
- Docked Special: in a special dock like a hardware keyboard for an ASUS Transformer
- Undocked: not in a dock
The condition Execution Count checks whether the condition has been executed a certain amount of times. An internal counter is incremented whenever the condition is executed. The counter is reset to zero when the condition is met.
Examples:
- Play an alarm when 2 SMS are received within 5 minutes.
- Turn off the screen when the device is shook 2 times in 10 seconds.
The condition Expression checks whether the expression is true or not.
Example Expressions:a==1
b > =3
c < b AND a > 3
(a--)==0
startsWith(a, "test")
a > addDays(b, 4)
isEmpty(files)
Examples:
- Check if the accuracy of a location is good enough:
location_accuracy<300
- Check if a counter reached zero:
counter==0
Note: Variables can be used directly in an expression and don't need to be escaped using curly braces.
Example: use
location_accuracy
instead of {location_accuracy}
.
The condition Flashlight On checks if the flashlight has been turned on by Automagic.
Warning: This condition can only check if the flashlight was turned on by Automagic but not if the flashlight has been turned on by another app.
The condition Flow Enabled checks whether a flow is enabled or disabled.
The condition Flow Executing checks if a particular flow is currently executing.
Examples:
- Don't execute a flow when the flow is already executed.
See action Script for a description.
flow_execution_contexts
The condition Gleeo is Recording checks whether Gleeo Time Tracker is currently recording a specific project or task.
The condition Gmail Unread Conversation Count checks the number of unread conversations available in the Gmail app on the device.
Examples:
- Play an alert sound every 5 minutes when unread conversations are available.
lower than
true when the reported count is below the defined count
higher than
true when the reported count is above the defined count
exactly
true when the reported count is exactly matches the defined count
*
and ?
. Variables are supported.See action Script for a description.
count
The condition Hardware Keyboard State checks whether the hardware keyboard of the device is currently open or closed.
Examples:
- Play an alert sound only when the keyboard is closed.
See action Script for a description.
keyboard_type
The condition Hardware Keyboard Type checks if the currently connected hardware keyboard type matches one of the selected types.
See action Script for a description.
keyboard_type
The condition Host Reachable tests whether a host can be reached by either opening a TCP-connection using a socket or by executing a ping command.
Examples:
- Check once an hour if a server can be reached or not.
- Automatic: Tries to connect to the host to port 7 to determine if the host is available. This method might use ping on some versions of Android.
- Socket: Tries to establish a TCP-connection to the specified host and port. The host is only considered to be reachable when the connection can be successfully established.
- Ping: Checks the reachability of the host using a
ping
-command (only one echo-request is sent). This option only works when theping
-command is available on the device.
The condition Interruptions Mode checks if the device is in the specified interruption mode.
Examples:
- Only speak out an SMS when all interruptions are allowed.
The condition Keyguard Locked checks whether or not the keyguard is currently active/showing.
The condition Keyguard with Security checks whether a keyguard/lockscreen with a security element (PIN, password, ...) or not (None, Swipe) is set.
The condition Light Sensor checks whether the measured value of the light sensor is below or above the defined level.
Warning: Some devices turn off the sensors when the screen is off.
Warning: Some devices can not determine the current value of the sensor and only deliver a value when the measured value of the sensor changes. This condition does not work on such devices.
See action Script for a description.
light_level
The condition Location checks whether a location is inside a specific area or not. The condition can also check if an area is entered or exited by comparing the location of the last execution and the current location.
The condition uses the location already made available to the flow from a location trigger or uses the last known location of the system.
The condition fails when no location is available in the flow and the device does not have a last known location ready. This usually happens when the flow is executed manually. Either use one of the location triggers to execute your flow or explicitly acquire the location using an action Init Variable Location before the condition is reached.
Examples:
- Enable WiFi when you enter your office.
- Stop recording in Gleeo Time Tracker when you leave your office.
See action Script for a description.
location
location_name
entering
exiting
inside
The condition Location Entering checks whether an area has been entered or exited. This condition should only be used in conjunction with a Location trigger.
Examples:
- Enable WiFi when entering a location, disable WiFi when exiting the location.
- Start recording in Gleeo Time Tracker when coming to the office, stop recording when exiting the office.
The condition Location Provider Enabled checks whether a particular location provider like GPS is enabled or not.
Examples:
- Report your location per SMS only when GPS is active.
Network
This provider uses the location provided by the cell tower and Wi-Fi signals. Depending on environment this provider can deliver location of about 60 meters of accuracy. Locations found using the cell tower can be very inaccurate (up to several kilometers or miles).
Passive
This provider delivers the location from the currently active provider (Network or GPS) without activating one of the providers by itself. This might result in very infrequent location updates.
GPS
This provider delivers the location using the GPS receiver. This provider usually uses more battery than the network provider.
The condition Magnetic Field Sensor checks whether the measured value of the magnetic field sensor is below or above the defined level.
Warning: Some devices turn off the sensors when the screen is off.
Warning: Some devices can not determine the current value of the sensor and only deliver a value when the measured value of the sensor changes. This condition does not work on such devices.
Examples:
- Execute some actions only when the device is placed near a magnet.
See action Script for a description.
magnetic_field_strength
The condition Microphone Mute checks whether the microphone is currently muted.
Examples:
- Play a warning sound when the microphone is mute.
The condition Mobile Datanetwork Enabled checks whether the mobile datanetwork is turned on or off.
Warning: This function is not officially supported by Android and might not work on all devices.
Examples:
- Open an app when the mobile datanetwork is turned on.
The condition Mobile Datanetwork Type checks if the current datanetwork type matches one selected in the list.
Examples:
- Download a PDF only when the network type is UMTS or LTE.
See action Script for a description.
mobile_network_type
The condition Music Active checks whether the music audio stream is currently in use.
Examples:
- Turn down the media volume when entering a location and the music is playing.
The condition Network Connected checks if a network connection is currently available.
Examples:
- Check that a network connection is available before sending a mail.
The condition NFC Enabled checks whether NFC is turned on or off.
Examples:
- Play an alert sound when NFC is turned off when you enter the office.
The condition Night Mode checks whether the device is currently configured to use the desired night mode.
The condition Notification on Statusbar Displayed checks whether a notification of an app is displayed in the statusbar and supplies the information of the first matching notification as variables to the flow.
Examples:
- Check every 5 minutes if an Hangout message is displayed in the statusbar and play a notification sound.
A notification is considered regular when the notification is not marked as ongoing by the posting app.
A notification is marked as an ongoing event by the application that posts the notification and is usually set when a notification shows some progress like a file download, an app is playing a sound, or an app is running as a foreground service.
A group summary is an additional notification that is used to group several related notifications together.
See action Script for a description.
title
content_title
content_title_big
notification_text
(This function is not officially supported by Android and does not work with all notifications)notification_text_big
(This function is not officially supported by Android and does not work with all notifications)notification_channel_id
(Android 8.0+)notification_priority
(Android 4.1+, This function is not officially supported by Android and does not work with all notifications)notification_large_icon
(This function is not officially supported by Android and does not work with all notifications)notification_when
notification_number
notification_vibrate_default
notification_vibrate_pattern
notification_sound_default
notification_sound_uri
notification_people
(Android 4.4+)notification_info_text
(Android 4.4+)notification_sub_text
(Android 4.4+)notification_summary_text
(Android 4.4+)notification_progress
(Android 4.4+)notification_progress_max
(Android 4.4+)notification_progress_indeterminate
(Android 4.4+)notification_text_lines
(Android 4.4+)notification_background_image_uri
(Android 5+)notification_category
(Android 5+)notification_accent_color
(Android 5+)notification_ticker_text
notification_visibility
(Android 5+)notification_ongoing
notification_foreground_service
notification_local_only
notification_group
(Android 7+)notification_is_group_summary
(Android 7+)package_name
app_name
id
buttons
(This function is not officially supported by Android and does not work with all notifications)wearable_actions
(Android 4.4+, This function is not officially supported by Android and does not work with all notifications)count
The condition Phone Cell CDMA checks whether the phone is connected to one of the specified cells of interest.
Examples:
- Turn on WiFi when the phone cell at home is detected.
See action Script for a description.
triggertime
cell_id
base_station_id
network_id
system_id
base_station_latitude
base_station_longitude
neighboring_cells
cells
(Android 4.2+)The condition Phone Cell GSM checks whether the phone is connected to one of the specified cells of interest.
Examples:
- Turn on WiFi when the phone cell at home is detected.
See action Script for a description.
lac
cid
psc
neighboring_cells
cells
(Android 4.2+)
The condition Phone Service State checks whether the phone service is currently available, unavailable or only emergency calls can be placed.
Warning: Some devices don't send the current service state to applications when the screen is turned off.
See action Script for a description.
service_state
roaming
The condition Phone Signal Strength checks whether the signal strength of the mobile network is above or below a certain level.
Warning: Some devices don't send the current signal strength to applications when the screen is turned off. You can use the options to periodically turn the screen on or wake the device.
Examples:
- Beep every five minutes when the network strength is very weak.
lower than
true when the reported signal strength by the system is below the defined level
higher than
true when the reported signal strength by the system is above the defined level
exactly
true when the reported signal strength by the system is exactly on the defined level
See action Script for a description.
is_gsm
signal_strength_level
signal_strength_asu
gsm_signal_strength
gsm_bit_error_rate
cdma_dbm
cdma_ecio
evdo_dbm
evdo_ecio
evdo_snr
lte_dbm
The condition Plugin (Experimental) checks the condition of a plugin.
Warning: This function is experimental and might not work with all existing plugins available in Google Play. We can not provide support for plugins.
Note: Plugins can be defined using the interface description available from the app Locale: Locale developer documentation and Tasker: Tasker plugin extensions.
See action Script for a description.
Tasker variables
The condition Power Source Connected checks whether the device is currently connected to a power source.
Examples:
- Turn on WiFi only when the device is connected to an AC adapter.
When a power source is connected.
- AC Adapter: when charging with the AC adapter
- USB: when charging over an USB connection
- Wireless: when charging wirelessly
Disconnected
When no power source is connected.
See action Script for a description.
battery_level
battery_percentage
battery_plugged
battery_present
battery_scale
battery_status
battery_technology
battery_temperature
battery_voltage
battery_health
battery_charge_counter
(Android 5+)battery_current_now
(Android 5+)battery_current_average
(Android 5+)battery_energy_counter
(Android 5+)The condition Power Source Connected (Android Wear) checks whether the device is currently connected to a power source.
Examples:
- Turn on WiFi only when the device is connected to an AC adapter.
When a power source is connected.
- AC Adapter: when charging with the AC adapter
- USB: when charging over an USB connection
- Wireless: when charging wirelessly
Disconnected
When no power source is connected.
See action Script for a description.
battery_level
battery_percentage
battery_plugged
battery_present
battery_scale
battery_status
battery_technology
battery_temperature
battery_voltage
battery_health
node_id
The condition Pressure Sensor checks whether the measured pressure is below or above the defined value.
Warning: Some devices turn off the sensors when the screen is off.
Warning: Some devices can not determine the current value of the sensor and only deliver a value when the measured value of the sensor changes. This condition does not work on such devices.
See action Script for a description.
pressure
The condition Proximity Sensor checks whether the measured distance of the proximity sensor is below or above the defined distance.
Warning: Some devices turn off the sensors when the screen is off.
Warning: Some devices can not determine the current value of the sensor and only deliver a value when the measured value of the sensor changes. This condition does not work on such devices.
See action Script for a description.
proximity
The condition Ringer Mode checks whether the device is currently configured to use the desired ringer mode.
The condition Roaming checks whether you are currently in a roaming location.
Examples:
- Only download a file when you are not using a more expensive roaming tariff.
The condition Root Setting Enabled checks whether the Root setting in Automagic is enabled or not.
Examples:
- Execute an action only when root actions are allowed to be executed.
The condition Screen Automatic Brightness Enabled checks whether the setting to change the display brightness automatically depending on the environment is turned on or not.
The condition Screen On checks whether the screen is currently turned on.
Examples:
- Show an alert only when the display is on.
The condition Screen Orientation tests whether the device is currently in portrait or landscape mode.
The condition Service Running checks whether the specified service is currently running.
See action Script for a description.
package_name
service_name
pid
uid
active_since
last_activity_time
restarting
foreground
The condition Sound Level (Experimental) checks whether or not the environment sound exceed a certain level.
Warning: This condition records the environment sound using the microphone of the device which does not work, when another app already uses the microphone.
See action Script for a description.
sound_level
The condition Speakerphone On checks whether speakerphone is turned on or off.
The condition Telephony Radio Enabled checks if the radio of the phone is enabled or not.
Warning: This function is not officially supported by Android and might not work on all devices.
The condition Theater Mode On (Android Wear) checks whether the theater mode is turned on or not.
Warning: This function is not officially supported by Android and might not work on all devices.
The condition Time Range is true when the current time is in the defined time range.
Examples:
- Play an alert only during the day.
The condition UI Mode checks whether the device is currently in car, desk, TV or normal UI mode.
Note: Many devices only support the normal UI mode.
The condition USB Tethering Enabled checks whether USB tethering is enabled or not.
Warning: This function is not officially supported by Android and might not work on all devices.
The condition Vibrate on Ring Enabled checks whether the setting to vibrate on ring is enabled or not.
Warning: This function is not officially supported by Android and might not work on all devices.
The condition WiFi Access Point Enabled checks whether a WiFi configuration is enabled and the system is allowed to connect to this access point.
The condition WiFi Available checks whether one specific WiFi access point is currently available. The condition waits for the first available scan result when wifi has just been enabled and no scan result is available yet.
Note: Starting with Android 6, scan results are only provided to apps when the location services of the system are enabled.
Examples:
- Check if a specific free access point is available and enable this one.
The variables supplied by the condition relate to the available access point with the highest signal strength.
See action Script for a description.
access_points
bssid
(only set when the SSID is available)bssids
(only set when the SSID is available)ssid
(only set when the SSID is available)capabilities
(only set when the SSID is available)frequency
(only set when the SSID is available)level
(only set when the SSID is available)The condition WiFi Connected checks whether the device is currently connected to one of the specified WiFi networks.
Examples:
- Start recording in Gleeo Time Tracker when you are in the office and connected to the wireless network.
- Enable a flow downloading big PDF files only when connected to your free wireless network at home.
See action Script for a description.
bssid
ssid
The condition WiFi Signal Level checks the signal level of the connected wifi network.
Note: The current signal strength has to be measured using a wifi scan when the display is turned off. A wifi scan can take a few seconds and increases battery consumption.
lower than
true when the reported level by the system is below the defined level
higher than
true when the reported level by the system is above the defined level
exactly
true when the reported level by the system is exactly on the defined level
See action Script for a description.
rssi
signal_strength_level
The condition WiFi State checks whether the device wireless network adapter is in the specified state.
See action Script for a description.
wifi_state
The condition WiFi Tethering State checks whether the device wireless network adapter is in the specified state.
See action Script for a description.
wifi_tethering_state
The condition Wired Headset Plugged checks whether a wired headset is currently plugged in or not.
Examples:
- Turn the volume to maximum only when the headset is not plugged.