Zooper Tasker VariablesZooper Tasker Variables

Tasker meets Zooper

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']

NameVariableDescription
Airplane Mode Status%AIRWhether Airplane Mode is on or off
Battery Level%BATTCurrent device battery level from 0-100
Bluetooth Status%BLUEWhether Bluetooth is on or off
Call Name Incoming%CNAMEThe Caller name
Call Number Incoming%CNUMThe Caller Number. Caller number is 0 if it's unknown.
Call Date Incoming%CDATEThe Call Date
Call Time Incoming%CTIMEThe Call Time
Call Name Outgoing%CONAMEThe called name of the last (not the current) outgoing call made.
Call Number Outgoing%CONUMThe called number
Call Date Outgoing%CODATEThe call date of the last (not the current) outgoing call made.
Call Time Outgoing%COTIMEThe call time of the last (not the current) outgoing call made.
Call Duration Outgoing%CODURThe call duration of the last (not the current) outgoing call made.
Cell ID%CELLIDThe current cell tower ID if known.
Cell Signal Strength%CELLSIGThe 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%CELLSRVThe current phone service state. One of unknown, service, noservice, emergency, nopower.
Clipboard Contents%CLIPThe current contents of the system clipboard.
CPU Frequency%CPUFREQThe current frequency CPU 0 is running at.
CPU Governor%CPUGOVThe current governor controlling the frequency of CPU 0
Date%DATECurrent human-readable date.
Day of the Month%DAYMCurrent Day of the Month, starting at 1.
Day of the Week%DAYWCurrent 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%DTOUTCurrent system screen timeout (seconds).
Email From%EFROMThe From of the last email received by the K9 email agent.
Email Cc%ECCThe Cc of the last email received by the K9 email agent.
Email Subject%ESUBJThe Subject of the last email received by the K9 email agent.
Email Date%EDATEThe Received Date of the last email received by the K9 email agent.
Email Time%ETIMEThe Received Time of the last email received by the K9 email agent.
Free Memory%MEMFSystem free memory remaining in MB.
GPS Status%GPSWhether the system GPS receiver is on or off.
HTTP Response Code%HTTPRValues from the last HTTP POST/GET action.
HTTP Response Data%HTTPDValues from the last HTTP POST/GET action.
HTTP Response Content Length%HTTPLValues from the last HTTP POST/GET action.
Keyguard Status%KEYGWhether the Keyguard is on or off
Last Application%LAPPThe name of the application that was in the foreground before the current one e.g. Maps.
Last Photo%FOTOThe filesystem path to the last photo taken by Tasker or the standard system camera application.
Light Level%LIGHTThe last recorded light level in lux.
Location%LOCThe latitude and longitude of the last GPS fix.
Location Accuracy%LOCACCThe accuracy in metres of the last GPS fix.
Location Altitude%LOCALTThe altitude in metres of the last GPS fix, or 0 if unavailable.
Location Speed%LOCSPDThe speed in metres/second at the last GPS position fix or 0 if unavailable.
Location Fix Time Seconds%LOCTMSThe time in seconds of the last GPS fix
Location (Net)%LOCNThe latitude and longitude of the last network location fix.
Location Accuracy (Net)%LOCNACCThe accuracy in metres of the last network location fix.
Location Fix Time (Net)%LOCNTMSThe time in seconds of the last net location fix. To get age of fix, take this away from %TIMES.
Muted%MUTEDWhether the microphone is currently muted (on) or not (off).
Night Mode%NIGHTThe current Android Night Mode. One of on, off or auto.
Notification Title%NTITLEThe 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%PNUMThe current phone number of the device, if it's in service.
Profiles Active%PACTIVEA 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%PENABLEDA 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%ROAMon if device is roaming on the current telephone network, otherwise off.
Screen%SCREENWhether the screen is on (value on) or off (value off).
Silent Mode%SILENTThe current state of silent mode: off, vibrate or on.
SIM Serial Number%SIMNUMThe serial number of the SIM card, if one is present and accessible.
SIM State%SIMSTATEThe current state of the SIM card. One of unknown, absent, pinrequired, pukrequired, netlocked or ready.
Speakerphone%SPHONEWhether the speakerphone is on or off
Tasks Running%TRUNA 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%TNETThe current telephony network operator the device is using.
Text From%SMSRFThe text sender.
Text From Name%SMSRNThe text sender name. Sender name is set to sender address of no contact could be looked up.
Text Body%SMSRBThe text body.
Text Date%SMSRDThe text date.
Text Subject%MMSRSThe text subject. Subject will only be set if the last text was an MMS.
Text Time%SMSRTThe text time.
Time%TIMECurrent human-readable time separated by a period e.g. 10:59
Time Seconds%TIMESThe current time in seconds.
UI Mode%UIMODEThe current Android UI mode. One of car, desk or normal.
Uptime Seconds%UPSThe number of seconds since the device last booted.
Volume Alarm%VOLACurrent audio channel volume level.
Volume Call%VOLCCurrent audio channel volume level.
Volume DTMF%VOLDCurrent audio channel volume level.
Volume Media%VOLMCurrent audio channel volume level.
Volume Notification%VOLNCurrent audio channel volume level.
Volume Ringer%VOLRCurrent audio channel volume level.
Volume System%VOLSCurrent audio channel volume level.
WiFi Info%WIFIIWhen 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%WIFIWhether WiFi is on or off. Note: if WiFi is enabling or disabled, in fact anything but enabled, it's classed as off.
Wimax Status%WIMAXWhether Wimax is on or off. Note: if Wimax is enabling or disabled, in fact anything but enabled, it's classed as off.
Window Label%WINThe 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".

tasker_variables_1 tasker_variables_2

Now select "Variables" and "Variable Set".

tasker_variables_3 tasker_variables_4

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.

tasker_variables_5 tasker_variables_6

Now you have to assign a Task. Create a new Task and press "+".

tasker_variables_7 tasker_variables_8

Pick "Plugin" and "Zooper".

tasker_variables_9 tasker_variables_10

Press "Edit". “ZW Variable” names your variable in Zooper, “ZW Text” is your Tasker variable (actually its value). Press “Save”.

tasker_variables_11 tasker_variables_12

Tasker shows me that I will have to use #TCS# in Zooper. You can name your Variable in Zopper anyway you like.

tasker_variables_13

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.

16 Comments

  1. 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

  2. Hi. thank you for your tutorial. can you please help me do the battery status? i want to integrate it with UCCW. tahnk you

  3. 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.

  4. 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

      • 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

  5. 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.

  6. 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.

  7. Hi Jagwar, thanks for that – great info. I am just wondering how to implement the other way round. Reading ZOOPER variables content by TASKER…

Leave a Reply

Your email address will not be published. Required fields are marked *