# Measurements & Messages

{% hint style="warning" %}
This information is not applicable for NEON Vibration Sensors using communication protocol v4.
{% endhint %}

In the context of NEON devices, measurements and messages are two different concepts that work together. A measurement is the value obtained by the sensor while a message is the information sent by the device through LoRa to the LoRa Network Server (LNS).&#x20;

The NEON devices can be configured to measure at set intervals every X time and send a message every Y time or on conditions. Said conditions are based on the device type and its available configuration, please refer to the [configuration section](/docs/configuration/online-configurator.md) for more information.&#x20;

{% hint style="info" %}
The structure and content of each message type for each product type are outlined in the [communication protocol](/docs/data-and-communication/communication-protocol.md). Please refer to the respective product documentation for more information. &#x20;
{% endhint %}

The NEON devices work in a scheme of periodic event messages, trigger event messages, or both simultaneously. This is based on the configuration of the device.&#x20;

### Periodic event messages

The device will measure periodically at set intervals of X time and send a message after Y time or if a trigger condition is detected. That message sent will use the data measured in the timeframe between the previously sent message and the current one.  Please note that the frequency of the measurements and the messages are configurable. Additionally, the message information depends on the device type, configuration, and message type.&#x20;

A graphical example of the measurements and the messages' behavior is presented next.&#x20;

<figure><img src="/files/IgZjHYXEjzemLWlFhsdd" alt=""><figcaption><p>Graphical example of the measurements and the messages' behavior</p></figcaption></figure>

In the example above, the device is configured to measure every X minutes. After 12X minutes it sends a periodic event message. The trigger is set to above 0.65. Note in the graph that the device sends a message every 12 measurements or if the trigger condition is met.&#x20;

{% hint style="warning" %}
Be aware that increasing the measurement and message frequency has an impact on battery lifetime. Additionally, if the condition configured is constantly being met, continuous messages will consume the battery of the device rapidly.
{% endhint %}


---

# 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/data-and-communication/measurements-and-messages.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.
