Browse developer docs

Control an irrigation scene

POSTfarm-device-smart-control

Request

Send POST to /open/service with serviceName=farm-device-smart-control and the common signing parameters.

Send extra fields in the JSON body

Some irrigation starts require extent with a level device and a water-level or duration target. Match the parameters to the selected control type.

This operation submits a change. Replace the illustrative values, confirm access, and review the intended action before sending a signed request.

Illustrative payload
{
  "org_id": "YOUR_FARM_ID",
  "fs_sn": "YOUR_FARM_SERVER_SN",
  "control_type": "<selected action code>",
  "scene_id": "YOUR_SCENE_ID"
}
ParameterRequirementMeaning
org_idRequiredAuthorized farm or organization ID.
fs_snRequiredFarm server serial from farm-server-list.
control_typeRequiredAction code for the selected type of irrigation scene.
scene_idRequiredIrrigation scene ID.
extentOptionalWKT search polygon for survey queries, or a settings object for applicable irrigation scene commands.
extent.device_idConditionalWater-level sensor ID for supported basin irrigation actions.
extent.target_water_levelConditionalTarget water level in millimetres.
extent.target_durationConditionalTarget irrigation duration in minutes.

Response

Confirm the resulting scene and device state after submission. Duration and water-level targets apply to specific actions.

Show example response fields and types
{
  "status": "number",
  "success": "boolean",
  "data": "null",
  "message": "string"
}

All Smart Farm operations

Location
Richmond Hill, Ontario, Canada