# How to configure event triggers

Event triggers are a powerful feature of the NEON Temperature Transmitter. For every measure or set of measures taken (based on the event trigger), the device will determine if the condition was met to send an event message with the condition declared as the trigger. The device will send an event message upon status change, meaning, when the condition is set from false to true and when is set from true to false.

To configure the event triggers the user must generate a downlink and send it through LoRa. The [NEON configurator](https://neon-configurator.twtg.io/) can be used to create the downlink. The event triggers can be configured in the NEON configurator in the **Application Configuration** tab > **Event** section for protocols v2 and v3, and in the **Sensor Conditions** tab > **Event Conditions** section for protocol v4.&#x20;

Every event trigger is a combination of 3 fields that must be defined to set the condition in the device. &#x20;

1. **Mode**: determines the operational mode of the event trigger. This can be above or below to set fixed thresholds on the values being measured, or increasing or decreasing to set a delta of the values measured.
2. **Measurement window**: the amount of measurements to monitor the defined threshold value. Note that the time between measurements is defined in the **Measurement Interval** field.
3. **Threshold temperature**: the value that must be reached in the measurement to trigger the event.&#x20;

### Examples

**Mode = above, measurement window = 1, and threshold temperature = 300**

The combination above will define an event trigger such as if any measurement taken by the device exceeds 300 °C an event message will be sent.&#x20;

**Mode = increasing, measurement window = 5, and threshold temperature = 50**

The above set of parameters will establish an event trigger if the temperature within 5 measurements increases by 50 °C.

**Mode = below, measurement window = 10, and threshold temperature = -40**

The combination above will define an event trigger such as if in a period of 10 measurements the temperature remains below -40 °C an event message will be sent.&#x20;


---

# Agent Instructions: 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:

```
GET https://docs.twtg.io/docs/how-to/temperature-transmitter-tt/how-to-configure-event-triggers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
