Explore Plans
Mobile menu Close menu
FoobotFoobot

History of humidity threshold is crossed

This query returns a list of when the humidity sensor value was above or below the threshold. Note: this query will only return future events after this Applet is created.

Developer info

API endpoint slug
foobot.history_of_humidity_threshold_is_crossed
Runtime method
performQuery("foobot.history_of_humidity_threshold_is_crossed")

Query fields

Device ID Dropdown list

Label
Which Foobot?
Slug
device_id
Required
true
Can have default value
false

Operator Dropdown list

Label
Above or below threshold?
Helper text
Determine whether the humidity level is above or below the threshold.
Slug
operator
Required
true
Can have default value
true

Threshold value Dropdown list

Label
Humidity Threshold Value
Helper text
The humidity threshold in %.
Slug
threshold_value
Required
true
Can have default value
false

Ingredients

Event timeDate & time threshold was crossed.

Slug
created_at
Filter code
Foobot.historyOfHumidityThresholdIsCrossed.EventTime
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Hum valueObserved sensor value in %

Slug
sensor_value
Filter code
Foobot.historyOfHumidityThresholdIsCrossed.HumValue
Type
String
Example
63.0

Device nameThe name of the foobot.

Slug
device_name
Filter code
Foobot.historyOfHumidityThresholdIsCrossed.DeviceName
Type
String
Example
HappyBot