跳转到主内容
Tutorial2026-06-25

How to Draw an Electronic Fence? Anti-Tamper and Anti-Breach Setup Tutorial

The electronic fence (geofence) is one of the highest-ROI features in construction IoT — draw a few shapes, set a few rules, and you get breach alerts, tamper alerts, and transfer approval. A million-dollar machine driven out of province because no fence was set costs far more than the fence ever will. This guide walks you through configuring fences in the JGY platform.

What Problems the Fence Solves

Before configuring, be clear on the three business needs:

  1. Anti-breach: The machine may only work in a designated site/region; exiting triggers an alert. Rental contracts often say "use restricted to XX region" — the fence is the technical enforcement.
  2. Anti-tamper: When the T-BOX is removed or powered off, alert immediately — stopping lessees from evading monitoring.
  3. Transfer approval: When a machine must move sites, it must apply → approve → before legal movement, preventing unauthorized dispatch.

Choosing Among Three Fence Shapes

The JGY platform supports three shapes, each with its use case:

ShapeUse caseAccuracy trait
PolygonIrregular borders (along roads, plots)Best fits real borders, fewer false alarms
RectangleSquare plots (standard plants, yards)Fastest to configure
CircleSingle-point vicinity (single machine, temp site)Center + radius, done

Rule of thumb: Fixed sites use polygon or rectangle; single-machine temporary work uses circle.

Step 1: Draw the Fence on the Platform

  1. Log in to the JGY platform, go to Device Management → Electronic Fence.
  2. Click "New Fence" and pick a shape (polygon/rectangle/circle).
  3. Click on the map to place points:
    • Polygon: Click vertices in order; double-click to close.
    • Rectangle: Click two diagonal corners.
    • Circle: Click the center, enter the radius (meters).
  4. Name the fence (include the site name, e.g., "Beijing Chaoyang Site A") and save.

Tip: Make the fence border slightly larger than the real work area to avoid GPS-drift false alarms. Typically expand 10–30 m.

Step 2: Configure Alert Rules

Once drawn, configure trigger rules:

Breach Alert

  • Rule: Device position outside the fence boundary → triggers.
  • Cooldown: Recommend 5–10 min to avoid frequent alarms when crossing the edge.
  • Notification: In-platform message + app push + SMS (for critical equipment).

Enter/Exit Events

  • Enter: Device arrives on site — useful as entry evidence.
  • Exit: Device leaves site — useful as exit or transfer evidence.

Tamper Alert

  • Rule: T-BOX removed, powered off, or SIM offline beyond a set time → triggers.
  • Cooldown: Recommend 10–30 min to avoid weak-signal false alarms.
  • Severity: Recommend "High" — tamper is a high-risk event.

Step 3: Bind Equipment

A fence takes effect only when bound to devices:

  1. On the fence detail page, click "Bind Equipment."
  2. Check the devices to include (multi-select supported).
  3. One device can be bound to multiple fences (e.g., a work fence + a dispatch-route fence).

Tip: For batch ops, filter by "model" or "customer" to speed binding.

Step 4: Transfer Approval Flow (Advanced)

For strict operations, enable "transfer approval":

  1. A device needs to leave the current fence → driver/site applies in the app.
  2. The application includes: target site, expected duration, reason.
  3. Dispatcher/owner approves → temporarily opens a route fence.
  4. The device arrives at the new site → auto-binds the new fence.

This flow stops "self-dispatch" entirely — ideal for high-value equipment (drills, pump trucks, aerial platforms).

Step 5: Verify in Risk-Control Records

All fence events are logged in Finance Center → Risk-Control Records:

  • Breach time, location, duration
  • Tamper/power-off events
  • Transfer approval records

Liability and rental deductions are based on these records — no more disputes.

Common Issues and Troubleshooting

Q: The device is clearly on site but breach alerts keep firing? A: Check whether the border is too small or GPS drift is in play. Expand the border 10–30 m and set a 5–10 min cooldown.

Q: No alert when the device is tampered with? A: Check whether tamper rules are enabled, cooldown is too long, T-BOX is online. Trigger a manual test.

Q: Can one device bind multiple fences? A: Yes. One for the work area, one for the route — alert rules can be configured separately.

Q: What circle radius is right? A: 50–200 m for single-machine temporary work; for large sites use polygon or rectangle for precise borders.

Integration with Other Features

Fences integrate deeply with other JGY modules for greater value:

  • Remote lock: Severe breach, no compliance → remote fuel/power cutoff.
  • Device management: Fence events flow into the device timeline.
  • Rental contract: Fence borders correspond to the contract "use region" clause — deductions are evidence-backed.

Configuration Checklist (Print-and-Use)

  • Fence shape selected (polygon/rectangle/circle)
  • Border expanded 10–30 m
  • Breach cooldown 5–10 min
  • Tamper cooldown 10–30 min
  • Target devices bound
  • Notification channels (in-platform + app + SMS)
  • Risk-control records confirmed visible

Follow this checklist and a device's fence goes live in 10 minutes. For more fence and risk-control tactics, see device management or contact us for one-on-one configuration guidance.