# How to configure the frequency of measurements and messages

One of the most common configurations a user would like to change is the frequency of the measurements taken by the sensor and the frequency of the messages the end user receives. To accomplish this, the user must generate a downlink (which can be done using the [NEON configurator](https://neon-configurator.twtg.io/)) and send it to the device via their LoRa Network Server (LNS).&#x20;

### NEON VB Protocol v2

On the tab **Sensor Configuration**, the field **Measurement Interval Seconds** defines how often the sensor takes a measurement, and the field **Periodic Event Message Interval** establishes after how many measurements the transmitter sends data over LoRa.&#x20;

<figure><img src="https://3244664496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmA7CIluFghEyu6utdk9z%2Fuploads%2Fu6Y9xAoZznq8pjyVuyNC%2Fimage.png?alt=media&#x26;token=6080422b-0f16-4eea-8757-924e0b95741f" alt=""><figcaption></figcaption></figure>

Thus, the frequency of the messages is determined by **Measurement Interval Seconds** multiplied by **Periodic Event Message Interval**. For example, in the example above, the **Measurement Interval Seconds** is 900 seconds and the **Periodic Event Message Interval** is 16, which means that the frequency of the data messages will be 14400 seconds, equivalent to 4 hours.&#x20;

### NEON VB Protocol v3

On the tab **Sensor**, the field **Measurement Interval Minutes** defines how often the sensor takes a measurement, and the field **Periodic Event Message Interval** establishes after how many measurements the transmitter sends data over LoRa.&#x20;

<figure><img src="https://3244664496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmA7CIluFghEyu6utdk9z%2Fuploads%2FQopx7Tk9z8jOIsE0cDHP%2Fimage.png?alt=media&#x26;token=525a6519-8966-4dba-9549-171b41ec4284" alt=""><figcaption></figcaption></figure>

Thus, the frequency of the messages is determined by **Measurement Interval Minutes** multiplied by **Periodic Event Message Interval**. For example, in the example above, the **Measurement Interval Minutes** is 5 minutes and the **Periodic Event Message Interval** is 12, which means that the frequency of the data messages will be 60 minutes.&#x20;

On the **Sensor** tab, the user can also select the operating mode of the event messages. This can be:

* extended: sends the maximum, minimum and average values of the measurements taken.
* min\_only: sends only the minimum value of the measurements taken.
* max\_only: sends only the maximum value among the recorded measurements.
* avg\_only: sends only the average of the measurements taken.&#x20;

<figure><img src="https://3244664496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmA7CIluFghEyu6utdk9z%2Fuploads%2FMBsmlkflYRbREo10PG6X%2Fimage.png?alt=media&#x26;token=d88b8802-da28-45a5-a32b-08f801d0c22b" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
**Limitation**: due to the dwell time, NEON Vibration Sensors using the communication protocol V3 and operating on US915 won't be able to transmit an event message on extended mode if the spreading factor is SF10 or higher. Improve the network quality to use all the functionalities of the device or change the configuration to any of the other modes.&#x20;
{% endhint %}

### NEON VB Protocol v4

The NEON VB using the communication protocol v4 uses a different way to schedule the timing of the tasks it performs. Please refer to the [schedules page](https://docs.twtg.io/docs/data-and-communication/schedules) for more information.


---

# 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/vibration-sensor-vb/how-to-configure-the-frequency-of-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.
