> 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/level-meter-full-device-guide-book/level-meter-greater-than-giots-function/lm-configurations/lm-level-detection.md).

# LM -  Level Detection

The settings of the Level Detection Configuration allow the user to define thresholds and intervals for monitoring the container's fill level. These settings are important for monitoring the container’s status and ensuring timely actions are taken when thresholds are reached.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc4UyxeY0iRAeXtK5Ep4TWU91ERlRWDAa4gpo0qI8aESviCuvLwjOp29nXKEPNE1BGP_X9crREvh7rMSkDfJvZEpOZVzydCFKasdNSWxnLY37SW0HSqW8QyRfTSEx1k2eEo_a4K7Q?key=6Q0L8l71kf0rf1QHDmG1DmN7" alt=""><figcaption><p>LM  Level Detection Page</p></figcaption></figure>

* Empty Distance Threshold: This setting defines the distance at which the container is considered empty.
* Warning Distance Threshold: This sets the distance where a warning will be triggered if the container's fill level is close to being ful
* Critical Distance Threshold: This is the threshold that indicates a critical fill level, where immediate attention may be needed.
* Distance Measurement Interval: This defines how often the system measures the distance to detect the fill level.
* Regular Measurement Interval: This specifies the time window during which the system regularly measures the fill level, with a start time that can be decided by the user.

## Steps to Set Up Level Detection

1. **Open the Device** :
   * Navigate to the **Device Dashboard** and open the desired device.
2. **Access Configuration**:
   * Click on the **Configuration** tab.
3. **Find Level Detection Configuration**:
   * Locate the Level Detection option in the configuration list and adjust each parameter as needed.
4. **Activate the Configuration**:
   * Enable or disable the level detection feature by toggling the switch.
5. **Save the Configuration**:
   * Click Save to apply the changes.


---

# 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/level-meter-full-device-guide-book/level-meter-greater-than-giots-function/lm-configurations/lm-level-detection.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.
