2021-04-21 15:54:37 -07:00
---
2022-03-08 23:10:41 -08:00
id: range-test-module
2022-06-25 00:01:26 -07:00
title: Range Test Plugin Settings
sidebar_label: Range Test Plugin
2021-04-21 15:54:37 -07:00
---
2022-01-01 23:03:24 -08:00
2021-05-05 09:18:44 -07:00
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
2022-03-18 05:53:08 -07:00
import PluginModule from '@site/docs/_blocks/_plugin_module.mdx';
2021-05-05 09:18:44 -07:00
2021-04-21 15:54:37 -07:00
## Overview
2022-03-08 23:10:41 -08:00
This module allows you to test the range of your Meshtastic nodes. It requires at least two nodes, a sender and a receiver. The receiving node then saves the messages along with the GPS coordinates at which they were received into a .csv file. This .csv file can then be integrated into [Google Earth](https://earth.google.com), [Google Maps - My Maps](https://mymaps.google.com), or any other program capable of processing .csv files. This can enable you to visualize your mesh.
2022-04-01 14:07:46 -07:00
2022-01-28 10:11:19 -08:00
:::tip
2022-03-08 23:10:41 -08:00
Once module settings are changed, a **reset** is required for them to take effect.
2021-04-21 15:54:37 -07:00
:::
## Settings
2022-03-08 23:10:41 -08:00
| Setting | Acceptable Values | Default |
| :-----------------------: | :-----------------: | :-----: |
2022-06-25 00:01:26 -07:00
| range_test_plugin_enabled | `true`, `false` | `false` |
| range_test_plugin_save | `true`, `false` | `false` |
| range_test_plugin_sender | `integer` (Seconds) | `0` |
2021-05-03 13:32:47 -07:00
2022-06-25 00:01:26 -07:00
### range_test_pluigin_enabled
2021-05-03 13:32:47 -07:00
2022-06-25 00:01:26 -07:00
Enables the plugin.
2022-03-08 23:10:41 -08:00
2022-06-25 00:01:26 -07:00
#### Enable/Disable the plugin
2021-05-03 13:32:47 -07:00
2022-02-01 17:58:26 -08:00
<Tabs
2022-03-08 23:10:41 -08:00
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
]}>
<TabItem value="cli">
2022-04-01 06:34:49 -07:00
```shell title="Enable the module"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_enabled true
2022-03-08 23:10:41 -08:00
```
2022-04-01 06:34:49 -07:00
```shell title="Disable the module"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_enabled true
2022-03-08 23:10:41 -08:00
```
2022-02-01 17:58:26 -08:00
</TabItem>
<TabItem value="android">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
</Tabs>
2022-06-25 00:01:26 -07:00
### range_test_plugin_save
2021-05-03 13:32:47 -07:00
2022-05-11 10:20:52 -07:00
If enabled, we will save a log of all received messages to a file named `rangetest.csv` which you can access from the web server `Extensions > File Browser > rangetest.csv`. The file will be created after receiving messages. The device will abort writing if there is less than 50k of space on the filesystem to prevent filling up the storage.
2021-05-03 13:32:47 -07:00
2022-02-01 17:58:26 -08:00
#### Enable/Disable range test save `csv`
2022-03-08 23:10:41 -08:00
2022-02-01 17:58:26 -08:00
<Tabs
2022-03-08 23:10:41 -08:00
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
]}>
<TabItem value="cli">
2022-04-01 06:34:49 -07:00
```shell title="Enable range test save"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_save true
2022-03-08 23:10:41 -08:00
```
2022-04-01 06:34:49 -07:00
```shell title="Disable range test save"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_save false
2022-03-08 23:10:41 -08:00
```
2022-02-01 17:58:26 -08:00
</TabItem>
<TabItem value="android">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
</Tabs>
2022-06-25 00:01:26 -07:00
### range_test_plugin_sender
2021-05-03 13:32:47 -07:00
2021-12-27 11:39:42 -08:00
Number of seconds to wait between sending packets. Using the long_slow channel configuration, it's best not to go more frequent than once every 60 seconds. You can be more aggressive with faster settings. `0` is default which disables sending messages.
2021-04-21 15:54:37 -07:00
2022-02-01 17:58:26 -08:00
#### Enable/Disable range test sender
2022-03-08 23:10:41 -08:00
2022-02-01 17:58:26 -08:00
<Tabs
2022-03-08 23:10:41 -08:00
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
]}>
<TabItem value="cli">
2022-04-01 06:34:49 -07:00
```shell title="Enable range test sender (send every 60 seconds)"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_sender 60
2022-03-08 23:10:41 -08:00
```
2022-04-01 06:34:49 -07:00
```shell title="Disable range test sender"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_sender 0
2022-03-08 23:10:41 -08:00
```
2022-02-01 17:58:26 -08:00
</TabItem>
<TabItem value="android">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
</Tabs>
2021-04-21 15:54:37 -07:00
## Details
2021-04-22 22:51:09 -07:00
2022-03-08 23:10:41 -08:00
While a minimum of two radios is required, more can be used. You can have any number of receivers and senders that your mesh is able to handle. You can test having a single sender with multiple receivers or a single receiver with multiple senders. Let us know on the [forum thread](https://meshtastic.discourse.group/t/new-plugin-rangetestplugin/2591) the results of your configuration.
2021-04-22 22:51:09 -07:00
2022-06-25 00:01:26 -07:00
Be sure to turn off either the plugin configured as a sender or the device where the plugin setup as sender when not in use. This will use a lot of time on air and will spam your channel.
2021-04-22 22:51:09 -07:00
Also be mindful of your space usage on the file system. It has protections from filling up the space but it's best to delete old range test results.
:::note
2022-06-25 00:01:26 -07:00
Leaving this plugin on can slow down your mesh. Currently, the messages are sent using the same `TEXT_MESSAGE_APP` [port that all other messages](/docs/developers/protobufs/api#portnumsproto) are sent on.
2021-04-22 22:51:09 -07:00
:::
### Accessing your CSV
2022-05-11 10:20:52 -07:00
Connect to your device over WiFi, either using the [software access point](/docs/settings/wifi#software-access-point) or [WiFi Client](/docs/settings/wifi#wifi-client). Then navigate to `meshtastic.local` (or your IP address). Your file will be available for download under `Extensions > File Browser > rangetest.csv` once it has been created by receiving messages.
2021-04-22 22:51:09 -07:00
```plaintext title="Example URLs"
2022-05-11 10:20:52 -07:00
http://meshtastic.local
2022-05-11 13:39:00 -07:00
http://198.168.0.15
2021-04-22 22:51:09 -07:00
```
### Recommended Sender Settings
2022-06-25 00:01:26 -07:00
| Radio Setting | `range_test_plugin_sender` |
2021-04-22 22:51:09 -07:00
| :-----------: | :------------------------: |
2022-01-01 23:03:24 -08:00
| Long Slow | 60 |
| Long Alt | 30 |
| Medium | 15 |
| Short Fast | 15 |
2021-04-22 22:51:09 -07:00
2021-05-05 09:18:44 -07:00
## Examples
2021-04-22 22:51:09 -07:00
2021-05-05 09:18:44 -07:00
### Sender Node
2022-01-01 23:03:24 -08:00
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2022-01-01 23:03:24 -08:00
]}>
<TabItem value="cli">
2022-04-01 06:34:49 -07:00
```shell title="Example - Sender Node"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_enabled true
meshtastic --set range_test_plugin_sender 60
2022-01-01 23:03:24 -08:00
```
2021-05-05 09:18:44 -07:00
</TabItem>
<TabItem value="android">
2022-01-30 18:29:49 -08:00
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
2021-05-05 09:18:44 -07:00
</TabItem>
</Tabs>
### Receiver Node
2022-01-01 23:03:24 -08:00
2021-05-05 09:18:44 -07:00
<Tabs
2022-01-01 23:03:24 -08:00
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2022-01-01 23:03:24 -08:00
]}>
<TabItem value="cli">
2022-04-01 06:34:49 -07:00
```shell title="Example - Receiver Node"
2022-06-25 00:01:26 -07:00
meshtastic --set range_test_plugin_enabled true
meshtastic --set range_test_plugin_save true
2022-01-01 23:03:24 -08:00
```
2021-05-05 09:18:44 -07:00
</TabItem>
<TabItem value="android">
2022-01-30 18:29:49 -08:00
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="iOS">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
</TabItem>
<TabItem value="web">
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
2021-05-05 09:18:44 -07:00
</TabItem>
</Tabs>