Automate Reddit
Explore Plans
Mobile menu Close menu
UbiBotUbiBot

History of light crossed a threshold

This query monitors the UbiBot device's built-in light sensor readings and returns a list of whenever the light level rose above or dropped below the value in lux you provide. Note: this query will only return future events after this Applet is created.

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 monitors the UbiBot device's built-in light sensor readings and returns a list of whenever the light level rose above or dropped below the value in lux you provide. Note: this query will only return future events after this Applet is created.
API endpoint slug
ubibot.history_of_light_crossed_a_threshold
Runtime method
performQuery("ubibot.history_of_light_crossed_a_threshold")

Query fields

Channel ID Dropdown list

Label
Channel ID
Helper text
Select a Channel from your account
Slug
channel_id
Required
true
Can have default value
false

Condition Dropdown list

Label
Condition
Helper text
Light level condition
Slug
condition
Required
true
Can have default value
true

Value Text input > Other

Label
Value
Helper text
Light level in lux
Slug
value
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

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

ValueLight Reading in lux

Slug
value
Filter code
Ubibot.historyOfLightCrossedAThreshold.Value
Type
String
Example
500

Channel IDChannel ID

Slug
channel_id
Filter code
Ubibot.historyOfLightCrossedAThreshold.ChannelId
Type
String
Example
1510