New services
Explore Plans
Mobile menu Close menu
Wireless TagWireless Tag

Current Tag State

This query returns specified door/window sensor/tag's current state, including temperature, humidity/lux (when available) and motion state such as door open/close, moved, or detected motion (for PIR sensor)

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
API endpoint slug
wirelesstag.tag_state
Runtime method
performQuery("wirelesstag.tag_state")

Query fields

Math Text input > Other

Label
Math expression
Helper text
Slug
math
Required
false
Can have default value
true

Uuid Dropdown list

Label
Which tag/sensor?
Slug
uuid
Required
false
Can have default value
false

Ingredients

Temperature celsius

Slug
tempDegC
Filter code
Wirelesstag.tagState.TemperatureCelsius
Type
String
Example
27.15

Has moved

Slug
has_moved
Filter code
Wirelesstag.tagState.HasMoved
Type
String
Example
false

Is temp normal

Slug
is_temp_normal
Filter code
Wirelesstag.tagState.IsTempNormal
Type
String
Example
true

Humidity threshold high

Slug
humidity_threshold_high
Filter code
Wirelesstag.tagState.HumidityThresholdHigh
Type
String
Example
75.5

Temperature fahrenheit

Slug
tempDegF
Filter code
Wirelesstag.tagState.TemperatureFahrenheit
Type
String
Example
70.15

Is too hot

Slug
is_too_hot
Filter code
Wirelesstag.tagState.IsTooHot
Type
String
Example
false

Tag comment

Slug
comment
Filter code
Wirelesstag.tagState.TagComment
Type
String
Example
Suite 101 under sink.

Tag image URL

Slug
image_url
Filter code
Wirelesstag.tagState.TagImageUrl
Type
Image URL
Example
http://mytaglist.com/eth/tags/c5bf3859-eb13-4482-8eb4-d87bd769bd89.jpg

Humidity threshold low

Slug
humidity_threshold_low
Filter code
Wirelesstag.tagState.HumidityThresholdLow
Type
String
Example
25.1

Is too cold

Slug
is_too_cold
Filter code
Wirelesstag.tagState.IsTooCold
Type
String
Example
true

Brightness

Slug
brightness
Filter code
Wirelesstag.tagState.Brightness
Type
String
Example
10000

Is humidity normal

Slug
is_humidity_normal
Filter code
Wirelesstag.tagState.IsHumidityNormal
Type
String
Example
false

Is closed

Slug
is_closed
Filter code
Wirelesstag.tagState.IsClosed
Type
String
Example
false

Is armed

Slug
is_armed
Filter code
Wirelesstag.tagState.IsArmed
Type
String
Example
true

Humidity percentage

Slug
humidity
Filter code
Wirelesstag.tagState.HumidityPercentage
Type
String
Example
55.2

Is open

Slug
is_open
Filter code
Wirelesstag.tagState.IsOpen
Type
String
Example
true

Temp threshold high

Slug
temp_threshold_high
Filter code
Wirelesstag.tagState.TempThresholdHigh
Type
String
Example
27.5

Is too wet

Slug
is_too_wet
Filter code
Wirelesstag.tagState.IsTooWet
Type
String
Example
true

Is too dry

Slug
is_too_dry
Filter code
Wirelesstag.tagState.IsTooDry
Type
String
Example
false

Temp threshold low

Slug
temp_threshold_low
Filter code
Wirelesstag.tagState.TempThresholdLow
Type
String
Example
17.2

Tag name

Slug
name
Filter code
Wirelesstag.tagState.TagName
Type
String
Example
Tag 1