AI Linkedin Assistant
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
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)
API endpoint slug
wirelesstag.tag_state
Runtime method
performQuery("wirelesstag.tag_state")

Query fields

Math Text input > Other

Label
Math expression
Helper text
Optional math expression to calculate the ingredient "answer", Available parameters are "tempDegC", "tempDegF", "RH" and "lux", as well as common math functions.
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 celsiusCurrent temperature (in degree Celsius).

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

Has movedtrue if the sensor is armed and has transitioned to moved (for tag) and detected motion (for PIR) state.

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

Is temp normaltrue if the sensor is enabled temperature monitoring and is neither too hot nor too cold state. False if temperature monitoring is not enabled.

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

Humidity threshold highThe user configured humidity threshold in % above which it is too wet

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

Temperature fahrenheitCurrent temperature (in Fahrenheit).

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

Is too hottrue if the sensor is enabled temperature monitoring and is in too hot state.

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

Tag commentThe comment you have assigned to the tag.

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

Tag image URLURL to the picture you took to identify the tag.

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 lowThe user configured humidity threshold in % below which it is too dry

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

Is too coldtrue if the sensor is enabled temperature monitoring and is in too cold state.

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

BrightnessCurrent ambient light intensity in lux if available, otherwise 0.

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

Is humidity normaltrue if the sensor is enabled humidity monitoring and is neither too humid nor too dry state. False if humidity monitoring is not enabled.

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

Is closedtrue if the sensor is armed in door mode and has transitioned to closed state.

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

Is armedtrue if the motion sensor is armed

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

Humidity percentageCurrent humidity (in %) if available, otherwise 0.

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

Is opentrue if the sensor is armed in door mode and has transitioned to opened state.

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

Temp threshold highThe user configured threshold in Celsius above which it is too hot

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

Is too wettrue if the sensor is enabled humidity monitoring and is in too humid state.

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

Is too drytrue if the sensor is enabled humidity monitoring and is in too dry state.

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

Temp threshold lowThe user configured threshold in Celsius below which it is too cold

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

Tag nameThe name you have given to the tag.

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