Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


tags

This is an old revision of the document!


Tags

Tags are placeholders that can be used in expressions to make your watch face dynamic. They can be used in Lua scripts or simply be printed.

All properties that accept tags will open a tag picker dialog when clicking the little triangle next to the property value. The selected tag will be inserted at the cursor position.

Date Tags

Tag Description Example
{dd} Day in month 9
{ddz} Day in month (with leading zero) 09
{ddy} Day in year 282
{ddw2} Day of week Th
{ddw} Day of week Thu
{ddww} Day of week Thursday
{ddw0} Day of week (Sun = 0, Sat = 6) 5
{ddim} Days in current month 31
{dn} Month in year 1
{dnn} Month in year 01
{dnnn} Month in year Jan
{dnnnn} Month in year January
{dy} Year (2 digits) 14
{dyy} Year (4 digits) 2014
{dwm} Week in month 4
{dw} Week in year 40

Time Tags

Tag Description Example
{dh} Hour in day (1-12) 9
{dh11} Hour in day (0-11) 21
{dh24} Hour in day (1-24) 9
{dh23} Hour in day (0-23) 21
{dhutc12} Hour in day UTC (12 hr) 8
{dhutc12z} Hour in day UTC (12 hr with leading zero) 08
{dhutc24} Hour in day UTC (24 hr) 20
{dhutc24z} Hour in day UTC (24 hr with leading zero) 20
{dutcoff} UTC Offset +100
{dht} Hour in day text (1-12) nine
{dh24t} Hour in day text (1-24) twenty-one
{dhz} Hour in day (1-12) (with leading zero) 09
{dh11z} Hour in day (0-11) (with leading zero) 21
{dh24z} Hour in day (1-24) (with leading zero) 09
{dh23z} Hour in day (0-23) (with leading zero) 21
{dm} Minute in hour 7
{dmz} Minute in hour (with leading zero) 07
{dhtt} Hour in day (1-12 tens) 0
{dhto} Hour in day (1-12 ones) 9
{dh11tt} Hour in day (0-11 tens) 0
{dh11to} Hour in day (0-11 ones) 9
{dh24tt} Hour in day (1-24 tens) 0
{dh24to} Hour in day (1-24 ones) 9
{dh23tt} Hour in day (0-23 tens) 0
{dh23to} Hour in day (0-23 ones) 9
{dmz} Minute in hour (with leading zero) 07
{dmt} Minute in hour (tens) 3
{dmo} Minute in hour (ones) 1
{dmat} Minute in hour text (all) thirty one
{dmtt} Minute in hour text (tens) thirty
{dmot} Minute in hour text (ones) one
{ds} Second in minute 2
{dsz} Second in minute (with leading zero) 02
{da} AM/PM AM
{dss} Milliseconds 32
{dssz} Milliseconds (with leading zeros) 032
{dsps} Seconds * 1000 + milliseconds 1207
{depoch} Seconds since epoch 1495105593
{dz} Timezone BST
{dtp} Time (% 24 hours) 0.74
{drh} Rotation value for hour (12h, adj for mins) 290
{drh24} Rotation value for hour hand (24h, adj for mins) 145
{drh0} Rotation value for hour hand (12h) 270
{drm} Rotation value for min hand (adj for secs) 242
{drs} Rotation value for second hand 156
{drss} Rotation smooth value for second hand 156.2
{drms} Rotation value for milliseconds 193.4

Color Switcher Tags

Tag Description Example
{ucolor} Current Color ff0000

Counter Tags

Tag Description Example
{c_elapsed} Seconds elapsed since loaded 50
{c_0_100_2_st} 0 to 100 in 2s, then stop 50
{c_0_100_2_rp} 0 to 100 in 2s, then repeat 50
{c_0_100_2_rv} 0 to 100 in 2s, then reverse 50
{c_0_100_2_rv_2} As above with 2s start delay 50

Time Zone Tags

Tag Description Example
{tz1l} Extra Time Zone 1 Location Los Angeles
{tz1o} Extra Time Zone 1 Offset - 8:00
{tz1t} Extra Time Zone 1 Time 01:26
{tz1rh} Extra Time Zone 1 Rotation hour hand 42
{tz1rh24} Extra Time Zone 1 Rotation hour hand (24h) 24
{tz1rm} Extra Time Zone 1 Rotation minute hand 160
{tz2l} Extra Time Zone 2 Location London
{tz2o} Extra Time Zone 2 Offset + 0:00
{tz2t} Extra Time Zone 2 Time 09:26
{tz2rh} Extra Time Zone 2 Rotation hour hand 283
{tz2rh24} Extra Time Zone 2 Rotation hour hand (24h) 141
{tz2rm} Extra Time Zone 2 Rotation minute hand 160
{tz3l} Extra Time Zone 3 Location Tokyo
{tz3o} Extra Time Zone 3 Offset + 9:00
{tz3t} Extra Time Zone 3 Time 18:26
{tz3rh} Extra Time Zone 3 Rotation hour hand 190
{tz3rh24} Extra Time Zone 3 Rotation hour hand (24h) 95
{tz3rm} Extra Time Zone 3 Rotation minute hand 160

…up to 3 time zone locations can be specified in settings

Battery Tags

Tag Description Example
{bl} Battery level 71
{blp} Battery level % 71%
{br} Rotation value for Battery level 250
{btc} Battery temperature (C) 27
{btf} Battery temperature (F) 81
{btcd} Battery temperature (C) (percent) 27°C
{btfd} Battery temperature (F) (percent) 81°F
{bc} Battery charging status Charging

Phone Tags

Tag Description Example
{pbl} Battery Phone level 71
{pblp} Battery Phone level % 71%
{pbr} Rotation value for Battery Phone level 250
{pbtc} Battery Phone temperature (C) 27
{pbtf} Battery Phone temperature (F) 81
{pbtcd} Battery Phone temperature (C) (percent) 27°C
{pbtfd} Battery Phone temperature (F) (percent) 81°F
{pbc} Battery Phone charging status Charging
{pws} Phone Wifi Strength % 0.7
{pwc} Phone Wifi Connected Y/N Y

Device Tags

Tag Description Example
{aname} Device name GT1505
{aman} Device manufacturer samsung
{awname} Watch name Motorola 360
{around} Is round? true
{atyre} Has flat tyre? true
{abright} Is bright? true
{adimlo} Dim mode only supports lo-bit false
{abss} Milliseconds since bright (-1 for dim) 150
{alat} Current latitude 40.7127
{alon} Current longitude 74.0059
{alatd} Current latitude (degrees) 40.7127°
{alond} Current longitude (degrees) 74.0059°
{alatdd} Current latitude (degrees + direction) 40.7127°N
{alondd} Current longitude (degrees + direction) 74.0059°E

Stopwatch Tags

Tag Description Example
{swh} Stopwatch hours 0
{swm} Stopwatch minutes 1
{sws} Stopwatch seconds 25
{swss} Stopwatch milliseconds (2 digits) 274
{swsss} Stopwatch milliseconds (3 digits) 27
{swsst} Stopwatch milliseconds total 1274
{swr} Stopwatch is running? true
{swrm} Stopwatch minute rotation 30
{swrs} Stopwatch second rotation 45
{swrss} Stopwatch millisecond rotation 47.2

Weather Tags

Tag Description Example
{wl} Weather Location London
{wt} Current Temperature 13
{wth} Today's High 14
{wtl} Today's Low 12
{wtd} Current Temperature (degrees) 13°C
{wthd} Today's High (degrees) 14°C
{wtld} Today's Low (degrees) 12°C
{wm} Weather Units c
{wct} Current Condition Text Rain
{wci} Current Condition Icon 10d
{wh} Current Humidity Number 87
{whp} Current Humidity Percentage 87%
{wp} Atmospheric Pressure 1003
{wws} Wind Speed (mph) 6.2
{wwd} Wind Direction (degrees) 140
{wwdb} Wind Direction (NE) NE
{wwdbb} Wind Direction (NNE) NNE
{wcl} Cloudiness (%) 0.4
{wr} Rain volume for last 3 hrs (mm) 30
{wsr} Sunrise time 08:14
{wss} Sunset time 17:15
{wsrp} Sunrise time (% 24 hours) 0.3
{wssp} Sunset time (% 24 hours) 0.7
{wmp} Moon Phase (1=young, 5=full, 9=old) 3
{wml} Weather manual location New York
{wlu} Weather last update 12:08:27
{wf0dt} Forecast Day 0 Temp 11
{wf0dth} Forecast Day 0 High 12
{wf0dtl} Forecast Day 0 Low 5
{wf0dct} Forecast Day 0 Condition Text Rain
{wf0dci} Forecast Day 0 Condition Icon 10d
{wf1dt} Forecast Day 1 Temp 11
{wf1dth} Forecast Day 1 High 12
{wf1dtl} Forecast Day 1 Low 5
{wf1dct} Forecast Day 1 Condition Text Rain
{wf1dci} Forecast Day 1 Condition Icon 10d

Weather forecasts are available up to day 5. Fahrenheit can be set in settings.

Calendar Tags

Tag Description Example
{cex} Events Exist? true
{c1t} Event 1 Text Gym
{c1ex} Event 1 Exists? true
{c1b} Event 1 Begin 19:00
{c1br} Event 1 Begin Rotation (12 hours) 210
{c1bp} Event 1 Begin % 24 Hours 0.79
{c1e} Event 1 End 20:00
{c1er} Event 1 End Rotation (12 hours) 240
{c1ep} Event 1 End % 24 Hours 0.83
{c1l} Event 1 Location Statue of Liberty
{c1c} Event 1 Color ff0000
{c1i} Event 1 ID 520

…calendars available for up to 10 unfinished events up to a week ahead (configurable in settings)

Sensor Tags

Tag Description Example
{ssc} Step Count 1046
{shr} Heart Rate 72
{sax} Accelerometer X 0.5
{say} Accelerometer Y 0.5
{saz} Accelerometer Z 0.5
{sgx} Gyroscope X 0.5
{sgy} Gyroscope Y 0.5
{sgz} Gyroscope Z 0.5
{scr} Compass for Rotation (needs negative) -210
{sct} Compass Display (0=N, 90=E, 180=S, 270=W) 210
{sctd} Compass Display (degrees) 210°
{scb} Compass Bearing (NE) SW
{scbb} Compass Bearing (NNE) SSW
{sctdb} Compass Display (degrees + NE bearing) 210° SW
{sctdbb} Compass Display (degrees + NNE bearing) 210° SSW

Tasker Tags

Tag Description Example
{t…} Tasker Plugin Variable Example Value

Tasker variables must be set up from Tasker “WM Send Variables” Plugin. Specify the Tasker variable name, e.g. %BATT. This will convert to a WatchMaker variable of {tbatt}

Complication Tags

Tag Description Example
{m1text} Complication 1 Text e.g. News Text
{m1title} Complication 1 Title e.g. News Title
{m1value} Complication 1 Value e.g. 60, e.g. battery level
{m1min} Complication 1 Min e.g. 0, e.g. battery level
{m1max} Complication 1 Max e.g. 100, e.g. battery level
tags.1512991810.txt.gz · Last modified: 2017/12/11 12:30 by alex_curran