After doing the notification counter in Zooper with Tasker it got me thinking about other possibilities. I created a table with all built in Tasker Variables and an easy way to use them in Zooper.
You can search the Tasker Variable table for interesting Variables. Beneth the table is a pictured guide on how to use them.
Zooper Tasker Variables
[sam id=3 codes='false']
Name | Variable | Description |
---|---|---|
Airplane Mode Status | %AIR | Whether Airplane Mode is on or off |
Battery Level | %BATT | Current device battery level from 0-100 |
Bluetooth Status | %BLUE | Whether Bluetooth is on or off |
Call Name Incoming | %CNAME | The Caller name |
Call Number Incoming | %CNUM | The Caller Number. Caller number is 0 if it's unknown. |
Call Date Incoming | %CDATE | The Call Date |
Call Time Incoming | %CTIME | The Call Time |
Call Name Outgoing | %CONAME | The called name of the last (not the current) outgoing call made. |
Call Number Outgoing | %CONUM | The called number |
Call Date Outgoing | %CODATE | The call date of the last (not the current) outgoing call made. |
Call Time Outgoing | %COTIME | The call time of the last (not the current) outgoing call made. |
Call Duration Outgoing | %CODUR | The call duration of the last (not the current) outgoing call made. |
Cell ID | %CELLID | The current cell tower ID if known. |
Cell Signal Strength | %CELLSIG | The current phone signal level from 0-8 inclusive on a rougly linear scale. On some CDMA phones, the level will rise in steps of 2 (0,2,4,6,8). The value is -1 if the value is unknown or there is e.g. no service. |
Cell Service State | %CELLSRV | The current phone service state. One of unknown, service, noservice, emergency, nopower. |
Clipboard Contents | %CLIP | The current contents of the system clipboard. |
CPU Frequency | %CPUFREQ | The current frequency CPU 0 is running at. |
CPU Governor | %CPUGOV | The current governor controlling the frequency of CPU 0 |
Date | %DATE | Current human-readable date. |
Day of the Month | %DAYM | Current Day of the Month, starting at 1. |
Day of the Week | %DAYW | Current Day of the Week starting with Sunday. |
Display Brightness | %BRIGHT | Current screen brightness, 0-255. On some devices, if the Android setting Auto Brightness is enabled, the value will always be 255 |
Display Timeout | %DTOUT | Current system screen timeout (seconds). |
Email From | %EFROM | The From of the last email received by the K9 email agent. |
Email Cc | %ECC | The Cc of the last email received by the K9 email agent. |
Email Subject | %ESUBJ | The Subject of the last email received by the K9 email agent. |
Email Date | %EDATE | The Received Date of the last email received by the K9 email agent. |
Email Time | %ETIME | The Received Time of the last email received by the K9 email agent. |
Free Memory | %MEMF | System free memory remaining in MB. |
GPS Status | %GPS | Whether the system GPS receiver is on or off. |
HTTP Response Code | %HTTPR | Values from the last HTTP POST/GET action. |
HTTP Response Data | %HTTPD | Values from the last HTTP POST/GET action. |
HTTP Response Content Length | %HTTPL | Values from the last HTTP POST/GET action. |
Keyguard Status | %KEYG | Whether the Keyguard is on or off |
Last Application | %LAPP | The name of the application that was in the foreground before the current one e.g. Maps. |
Last Photo | %FOTO | The filesystem path to the last photo taken by Tasker or the standard system camera application. |
Light Level | %LIGHT | The last recorded light level in lux. |
Location | %LOC | The latitude and longitude of the last GPS fix. |
Location Accuracy | %LOCACC | The accuracy in metres of the last GPS fix. |
Location Altitude | %LOCALT | The altitude in metres of the last GPS fix, or 0 if unavailable. |
Location Speed | %LOCSPD | The speed in metres/second at the last GPS position fix or 0 if unavailable. |
Location Fix Time Seconds | %LOCTMS | The time in seconds of the last GPS fix |
Location (Net) | %LOCN | The latitude and longitude of the last network location fix. |
Location Accuracy (Net) | %LOCNACC | The accuracy in metres of the last network location fix. |
Location Fix Time (Net) | %LOCNTMS | The time in seconds of the last net location fix. To get age of fix, take this away from %TIMES. |
Muted | %MUTED | Whether the microphone is currently muted (on) or not (off). |
Night Mode | %NIGHT | The current Android Night Mode. One of on, off or auto. |
Notification Title | %NTITLE | The title of the last notification shown in the status bar. Requires Tasker's accessibility server to be running (see Android Accessibility Settings). Notifications generated by Tasker are not shown. Notifications for some apps will not register i.e. the variable will be blank. |
Phone Number | %PNUM | The current phone number of the device, if it's in service. |
Profiles Active | %PACTIVE | A comma-separated list of the currently active, named profiles in activation order. Duplicate names will appear on the list only once. The list always starts and ends with a comma to make matching easier, if it's not empty. |
Profiles Enabled | %PENABLED | A comma-separated list of the currently enabled, named profiles in creation order. Duplicate names will appear on the list only once. The list always starts and ends with a comma to make matching easier, if it's not empty. |
Roaming | %ROAM | on if device is roaming on the current telephone network, otherwise off. |
Screen | %SCREEN | Whether the screen is on (value on) or off (value off). |
Silent Mode | %SILENT | The current state of silent mode: off, vibrate or on. |
SIM Serial Number | %SIMNUM | The serial number of the SIM card, if one is present and accessible. |
SIM State | %SIMSTATE | The current state of the SIM card. One of unknown, absent, pinrequired, pukrequired, netlocked or ready. |
Speakerphone | %SPHONE | Whether the speakerphone is on or off |
Tasks Running | %TRUN | A comma-separated list of any named tasks which are currently running. The list always starts and ends with a comma to make matching easier, if it's not empty. |
Telephone Network | %TNET | The current telephony network operator the device is using. |
Text From | %SMSRF | The text sender. |
Text From Name | %SMSRN | The text sender name. Sender name is set to sender address of no contact could be looked up. |
Text Body | %SMSRB | The text body. |
Text Date | %SMSRD | The text date. |
Text Subject | %MMSRS | The text subject. Subject will only be set if the last text was an MMS. |
Text Time | %SMSRT | The text time. |
Time | %TIME | Current human-readable time separated by a period e.g. 10:59 |
Time Seconds | %TIMES | The current time in seconds. |
UI Mode | %UIMODE | The current Android UI mode. One of car, desk or normal. |
Uptime Seconds | %UPS | The number of seconds since the device last booted. |
Volume Alarm | %VOLA | Current audio channel volume level. |
Volume Call | %VOLC | Current audio channel volume level. |
Volume DTMF | %VOLD | Current audio channel volume level. |
Volume Media | %VOLM | Current audio channel volume level. |
Volume Notification | %VOLN | Current audio channel volume level. |
Volume Ringer | %VOLR | Current audio channel volume level. |
Volume System | %VOLS | Current audio channel volume level. |
WiFi Info | %WIFII | When connected to an Access Point (AP), shows human-readable data about the AP. When not connected, show details of the most recent Wifi scan results for nearby APs. |
WiFi Status | %WIFI | Whether WiFi is on or off. Note: if WiFi is enabling or disabled, in fact anything but enabled, it's classed as off. |
Wimax Status | %WIMAX | Whether Wimax is on or off. Note: if Wimax is enabling or disabled, in fact anything but enabled, it's classed as off. |
Window Label | %WIN | The label of the current window, which could be a full-screen activity or a dialog. |
How to use Tasker Variables in Zooper
Let's say you want to display the content of one of this Variables. To do so you need to create a Profile by pressing "+" in the Profiles screen. Then pick "Event".
Now select "Variables" and "Variable Set".
Now you can either manually input your Variable or choose it from a menu by pressing the sign next to the field. I chose "%CELLSIG" which is the Cell Signal Strength. It's just an example. Confirm by pressing the back button.
Now you have to assign a Task. Create a new Task and press "+".
Pick "Plugin" and "Zooper".
Press "Edit". “ZW Variable” names your variable in Zooper, “ZW Text” is your Tasker variable (actually its value). Press “Save”.
Tasker shows me that I will have to use #TCS# in Zooper. You can name your Variable in Zopper anyway you like.
The Tasker Configuration is finished.
Explanation: This type of Profile will always be triggered when a variable change (Variable Set) happens. This change is transfered to Zooper.
In Zooper simply add a text item and choose “Edit text manually”. Put in your Zooper Variable name, mine is “#TCS#” and confirm.
Hi alex, i would like to ask if it would be possible to make a bluetooth on/of toggle widget using zooper and tasker that changes icon if bluetooth is on or off? If so, how can this be done, would like to make my own toggles from scratch. Thanks
I’m working in something like this. Will post soon!
Here you go:
https://www.jagwar.de/zooper-bluetooth-toggle/
The Icon change will be added later.
Hi. thank you for your tutorial. can you please help me do the battery status? i want to integrate it with UCCW. tahnk you
UCCW can show Battery statuts itself, I think!
Thank you alex, i have studied the bluetooth toggle file you posted and i have learned to make toggles with my wifi, bluetooth, screen orientation and wifi hotspot also ican make the icon change by making icon set for zooper.
Is possible to add a field notifications “push” information to the stock exchange, or a specific channel of social networks?
Hello Alexander!
I wonder if it’s possible to create a variable in tasker to tell zooper the state of mobile data, like %WIFI does for wifi? I know there already is a variable for that in Zooper, but it’s so slow and that’s why I would like to create a variable in Tasker instead. If that’s possible, how do I do it? I have tried a lot of times but I can’t figure it out…
Thanks
Hello,
what do you mean by slow? What phone do you use?
To my knowledge Tasker has no Mobile Data monitoring Variable.
Thanks
Thank’s for quick response! 🙂
I’m using a bitmap + variable ( # NCSTATE # ) in Zooper that indicates when mobile data is on/off, but I have to turn off and on the screen every time so the bitmap will become visible/invisible. I don’t have to do that with the variables for BT, GPS and Wifi that are created in Tasker to use in Zooper.
I have a Xperia Compact, but it’s exactly the same procedure with my other devices (turn screen off/on to make the bitmap visible/inviible).
Well, I can live with that. 🙂 But when I discovered how fast and smooth (but also complicated) Tasker is, I wished to create a Tasker variable (like # NCSTATE #) to use in Zooper.
Thanks
thanks for the tutorials. I’ve had tasker for a couple of years, and just now created my first task (Wapp/zooper notification). Would it be possible to set up a task that creates and auditory or text alert when my phone re-engages with my home wifi network?
thanks again for a very precise and easy to follow instructions.
Do you know if it’s possible to identify when Tasker is no running? My objective is to put a text “Tasker is Running/Not Running” or something like that.
Here you go: https://play.google.com/store/apps/details?id=org.kc.tasker.processes&hl=de
Hi Jagwar, thanks for that – great info. I am just wondering how to implement the other way round. Reading ZOOPER variables content by TASKER…
Hello Martin,
this is not possible.
Thanks
That’s bad news, indeed…