> For the complete documentation index, see [llms.txt](https://docs.g-iot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.g-iot.io/low-cost-tracker-full-device-guide-book/low-cost-tracker-greater-than-giots-functions/lct-rules/lct-geofence-rule.md).

# LCT - Geofence Rule

The Geofence Rule enables the generation of alarms based on the geolocation of the device. Alarms can be triggered when the device enters, leaves, or both enters and leaves a predefined geofence area. This rule provides location-based monitoring, ensuring devices operate within desired geographical boundaries.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeUlni_B442jXcCtxI88JxYVKoKRCpHaZmgmZ7zhalKNCHCARLWUeSr_vPMiP3BPsuVbG2tUOcYLaQw5SIT6cwpIFde2eL9soLqU_INKFxYklNFSn1OasJ92LgxMUQF8bXZq51s?key=Kl1KyU1gDzenB_F0xjN17rry" alt=""><figcaption><p>LCT Geofence Rule</p></figcaption></figure>

## Steps to Set Up Geofence Rule for LCT:

1. **Access the Rule Page:**
   * Navigate to the **device list**, locate the desired LCT device, and open its **dashboard**.
   * Go to the **Rules** section, click on the **+** icon, and select the **Geofence Rule**.
2. **Activate the Rule:**
   * Toggle the switch at the top to enable the Geofence Rule.
3. **Enter Name:**
   * Provide a meaningful name for the rule to identify it.
4. **Set Alarm Level:**
   * Select the alarm level from the available options:
     * Critical
     * Major
     * Minor
     * Warning
5. **Define the Trigger:**
   * Choose the event that will trigger the alarm:
     * **Entering:** When the device enters the geofence area.
     * **Leaving:** When the device exits the geofence area.
     * **Entering and Leaving:** When the device changes its state relative to the geofence boundary.
6. **Select Geofence Template:**
   * Choose the desired geofence from the dropdown list. The geofence must be previously created in **Template > Geofence**.
7. **Define Notification:**
   * **Email:** Add up to 5 email addresses to receive triggered notifications.
   * **None:** Generate and display the alarm on the platform without sending notifications.
8. **Click Save:**
   * Save the configuration to apply the Geofence Rule.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.g-iot.io/low-cost-tracker-full-device-guide-book/low-cost-tracker-greater-than-giots-functions/lct-rules/lct-geofence-rule.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
