Group Location
Explore Plans
Mobile menu Close menu
CloudRain Smart Garden IrrigationCloudRain Smart Garden Irrigation

History of irrigation stops

This query returns a list of when an irrigation was stopped.

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 a list of when an irrigation was stopped.
API endpoint slug
cloudrain.history_of_irrigation_stops
Runtime method
performQuery("cloudrain.history_of_irrigation_stops")

Query fields

Zone name Dropdown list

Label
Zone Name
Helper text
Zone in which the irrigation stop will appear.
Slug
zone_name
Required
true
Can have default value
false

Ingredients

Stopped atDate and time irrigation has finished.

Slug
stopped_at
Filter code
Cloudrain.historyOfIrrigationStops.StoppedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Started atDate and time irrigation has started.

Slug
started_at
Filter code
Cloudrain.historyOfIrrigationStops.StartedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

DurationDuration in seconds.

Slug
duration
Filter code
Cloudrain.historyOfIrrigationStops.Duration
Type
String
Example
300

Zone nameThe name of the Zone where the irrigation has started

Slug
zone_name
Filter code
Cloudrain.historyOfIrrigationStops.ZoneName
Type
String
Example
Front Yard

Zone IDThe unique identifier of the Zone where the irrigation has started.

Slug
zone_id
Filter code
Cloudrain.historyOfIrrigationStops.ZoneId
Type
String
Example
1234

Irrigation IDUnique id representing each irrigation.

Slug
irrigation_id
Filter code
Cloudrain.historyOfIrrigationStops.IrrigationId
Type
String
Example
1234