Skip to content

Control irrigation with a humidity proxy

Inspect a humidity proxy, two bounded gateway rules, and the sprinkler command in dry and humid simulated conditions.

Packet Pete, your practice guide

Packet Pete
Predict the reading, then compare it with the measurement.

Cisco Packet Tracer

Desktop lab

Tier 3 · Install required · Cisco account required

Last tested October 2026.

Install the tool, then download lab.pkt and open it.

Download the Packet Tracer file

Need the app? Get Packet Tracer free from Cisco Networking Academy (free NetAcad login required).

Steps

The tool may have moved on since the screenshots were taken — the text steps are the contract.

  1. 1 Step 1

    Do
    Open lab.pkt in the Packet Tracer Logical workspace. Find Home Gateway0 and its wired PC0. Find Humidity-Proxy and Irrigation-Sprinkler. Keep this local service boundary in view.
    You will see
    • The gateway and PC are at the left.
    • The Humidity Monitor is named Humidity-Proxy.
    • The Lawn Sprinkler is named Irrigation-Sprinkler.
    • Both wireless Things appear on the right.
    Why it matters
    The gateway holds the two automation rules. PC0 is the operator browser for this exercise. The monitor is a humidity proxy, not a soil probe. The sprinkler is the commanded output.
    Step 1: Logical Packet Tracer topology with gateway, PC, humidity monitor and lawn sprinkler.
    Step 1 · Cisco Packet Tracer; numbered callout added to a real capture.
  2. 2 Step 2

    Do
    On PC0, open the Desktop tab → Web Browser. Visit http://192.168.25.1 and sign in. Use this project’s local admin/admin account. Inspect the two rows on the Home page.
    You will see
    • Humidity-Proxy appears as Humidity Sensor.
    • Irrigation-Sprinkler appears as Lawn Sprinkler.
    • Both device rows show green registration dots.
    • The browser is served by the local gateway.
    Why it matters
    Registration makes both Things visible to rules. The device names connect topology to browser rows. A green registration dot is a path check. It does not alone prove an action occurred.
    Step 2: Gateway browser listing the registered humidity monitor and lawn sprinkler.
    Step 2 · Cisco Packet Tracer; numbered callout added to a real capture.
  3. 3 Step 3

    Do
    In the same browser, open the Conditions list. Read the Dry-air-starts-sprinkler row. Read the Humid-air-stops-sprinkler row. Confirm that both Enabled cells say Yes.
    You will see
    • Humidity < 60% sets sprinkler Status true.
    • Humidity >= 70% sets sprinkler Status false.
    • Both rows are enabled in the capture.
    • The two thresholds leave a 60–70% hold band.
    Why it matters
    The low threshold starts watering in this proxy lesson. The high threshold gives a bounded stop action. The hold band avoids opposing rules at one value. Rule rows are configuration, not outcome evidence.
    Step 3: Two enabled gateway conditions with 60 and 70 percent humidity thresholds.
    Step 3 · Cisco Packet Tracer; numbered callout added to a real capture.
  4. 4 Step 4

    Do
    Open the Packet Tracer Environment editor. Select the root Intercity location. Choose Edit → Advanced and keyframe 3 of 5. Expand Water and inspect Humidity at 12 PM.
    You will see
    • The captured third keyframe is 12:00 PM.
    • Its Humidity Init Value reads 35%.
    • The Humidity checkbox is enabled.
    • Interpolate and Show are checked.
    Why it matters
    The root environment drives this monitor. A lower midday value creates a dry interval. The keyframe is input configuration evidence. Check the sensor and actuator separately next.
    Step 4: Environment editor with the 12 PM humidity keyframe set to 35 percent.
    Step 4 · Cisco Packet Tracer; numbered callout added to a real capture.
  5. 5 Step 5

    Do
    Switch the Environment editor to View mode. Filter for Humidity and advance into the dry interval. Pause the environment clock for comparison. Read the displayed humidity value.
    You will see
    • Pause when the root environment humidity is below 60%.
    • The displayed value is the simulator environment input.
    • The control shows Start when time is paused.
    • Compare the monitor reading separately.
    Why it matters
    The dry environment sits below the start threshold. The Thing sensor may report a different value. The gateway rule evaluates the Thing reading. Use the browser to inspect the actual command.
    Step 5: Packet Tracer Environment view paused during the dry interval with humidity below the start threshold.
    Step 5 · Cisco Packet Tracer; numbered callout added to a real capture.
  6. 6 Step 6

    Do
    Raise PC0’s gateway browser and open the Home panel. Expand Humidity-Proxy and Irrigation-Sprinkler. Read the sensor before inspecting Status. Compare the green Status with the dry rule.
    You will see
    • The monitor reading falls below the 60% start threshold.
    • It may differ from the environment value.
    • The sprinkler Status control is green.
    • Green is the active true state in this run.
    Why it matters
    This pairs an observed sensor input with output. The rule predicts true below 60%. The browser confirms the sprinkler command. The environment value alone would not prove it.
    Step 6: Gateway browser with monitor humidity below 60 percent and sprinkler Status true.
    Step 6 · Cisco Packet Tracer; numbered callout added to a real capture.
  7. 7 Step 7

    Do
    Return to the Environment editor view. Set its current time to the evening keyframe. Pause in the humid evening interval and read Humidity. Keep the same rule pair enabled.
    You will see
    • Root environment humidity rises toward the evening keyframe.
    • Pause when the displayed input is above 70%.
    • The control shows Start when time is paused.
    • The 6 PM keyframe was set to 80%.
    Why it matters
    Restoring humidity tests the stop transition. The high input is above the 70% stop threshold. The sensor may lag or differ from environment input. Confirm the final output on Home.
    Step 7: Packet Tracer Environment view paused in the humid evening interval above the stop threshold.
    Step 7 · Cisco Packet Tracer; numbered callout added to a real capture.
  8. 8 Step 8

    Do
    Raise PC0’s gateway browser and refresh Home. Expand the monitor and sprinkler rows. Read the monitor and Status together. Save the project with both rules enabled.
    You will see
    • The monitor reading rises above the 70% stop threshold.
    • It may lag behind the environment input.
    • The sprinkler Status control is red.
    • Red is the inactive false state in this run.
    Why it matters
    The second browser state completes the cycle check. The stop rule matches the observed false command. The screenshot proves simulation behaviour only. Real irrigation needs soil and safety evidence.
    Step 8: Gateway browser with monitor humidity above 70 percent and sprinkler Status false.
    Step 8 · Cisco Packet Tracer; numbered callout added to a real capture.

Chapter checks

These questions refer to the chapter’s examples. Use the return links to review their answers.

  1. A farm has soil readings but workers keep the same irrigation schedule. What should the team establish to show operational value?

    Return to the chapter’s knowledge check
  2. The vineyard record schedules irrigation and requires flow confirmation. What follow-up would help expose a valve or installation fault?

    Return to the chapter’s knowledge check

Caution

Before you start

Read this before you start.

Packet Tracer 9.0.1 exposed a Humidity Monitor and Lawn Sprinkler but no soil-moisture model in this palette. Humidity is a proxy, not soil water content. The sprinkler command does not feed measured water back to the humidity variable. Green/red Status and the sensor readings are local simulation observations, not a physical irrigation or water-saving claim.

Technical details
Version tested
Version tested: Cisco Packet Tracer 9.0.1 on Ubuntu 22.04 (Apptainer/Xvfb); project reopened and execution captured 2026-10-09. Date: 2026-10-09.
QR code that opens the Control irrigation with a humidity proxy lab page
Open this lab online: https://iotclass.org/labs/pt-humidity-triggered-irrigation.html

Return to Smart Agriculture: Irrigation Systems and Evidence · Browse Labs