> 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-rules/lm-multiple-threshold-rule.md).

# LM -Multiple Threshold Rule

The Threshold Rule allows users to define critical and minor alarm levels based on specific device parameters. This rule ensures that alarms are triggered when readings exceed or fall below user-defined thresholds. The Critical Alarm Threshold is activated by setting minimum and maximum values, ensuring immediate attention when critical conditions arise. Additionally, an optional Yellow (Minor) Alarm Threshold can be configured as a secondary alert level, providing an early warning before reaching the critical stage. Users can choose to receive email notifications (up to 5 recipients) or simply log the alarm in the platform.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXehSm348pYlg75WzowDdstdwKIb35wzle0Kh496migeOBASXFDm8cMRW6O7s6Ef7aRZAlrDimv_B6d4Vy6lX97L0hAUQI88tQ0hR7RwSyyJ85HR-zJuF0uYCzoG8zMY1OplYKlli9OoHhgpatAL_A?key=qseJiEdvy-u-BEtC1zKJXIwk" alt="" width="375"><figcaption><p>Multiple Threshold Rule LM</p></figcaption></figure>

#### Steps to Set Up the Multiple Threshold Rule for LM:

1. Go to Device:\
   Navigate to the device list, locate the desired LM device, and open its dashboard.
2. Access Rules Section:\
   Open the Rules section of the device dashboard, click on the + icon, and select the Multiple Threshold.
3. Activate Rule:\
   Toggle the switch to activate the rule.
4. Select the parameter:\
   from the drop down list select the parameter that will activate the rule.
5. Insert MIN and MAX Read level:\
   Insert the numerical value with in the Critical Alarm will be triggered.
6. Activate the Yellow level,as second Threshold:\
   Toggle the switch to activate it and insert the values.
7. Define MIN and MAX Level for the Yellow Threshold:\
   Insert the numerical value with-in the Minor Alarm will be triggered.
8. Notification:\
   None or email. if email is selected specify the email addresses, up to 5.
9. Save.


---

# 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-rules/lm-multiple-threshold-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.
