mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-10 07:34:11 -08:00
Merge pull request #220 from jfirwin/consolidate-pages-to-settings
Consolidate pages to settings part 1
This commit is contained in:
commit
4c5c818e61
|
@ -1,25 +1,31 @@
|
||||||
---
|
---
|
||||||
id: canned-message-plugin-settings
|
id: canned-message-plugin
|
||||||
title: Canned Message Plugin Settings
|
title: Canned Message Plugin
|
||||||
sidebar_label: Canned Message Plugin Settings
|
sidebar_label: Canned Message Plugin
|
||||||
---
|
---
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
import TabItem from '@theme/TabItem';
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
<!--- TODO add link to hardware setup to admonition--->
|
||||||
|
:::note
|
||||||
|
This plugin requires attaching a peripheral accessory to your device. It will not work without one. It also requires use of the [Rotary Encoder Plugin](rotary-encoder-plugin) to configure the input source.
|
||||||
|
:::
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
The CannedMessage Plugin will allow you to send messages to the mesh network from the device without using the phone app. You can predefine text messages to choose from.
|
The CannedMessage Plugin will allow you to send messages to the mesh network from the device without using the phone app. You can predefine text messages to choose from.
|
||||||
|
|
||||||
Please also follow settings of Rotary Encoder to configure input source!
|
:::tip
|
||||||
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
| Setting | Acceptable Values | Default |
|
||||||
| :-----: | :---------------: | :-----: |
|
| :-----: | :---------------: | :-----: |
|
||||||
| canned_message_plugin_enabled | `true`, `false` | `false` |
|
| canned_message_plugin_enabled | `true`, `false` | `false` |
|
||||||
| canned_message_plugin_allow_input_source | `string` | `_all` |
|
| canned_message_plugin_allow_input_source | `rotEnc1`, `_any` | `_any` |
|
||||||
| canned_message_plugin_messages | `string` | (not defined) |
|
| canned_message_plugin_messages | `string` | `""` |
|
||||||
| canned_message_plugin_send_bell | `true`, `false` | `false` |
|
| canned_message_plugin_send_bell | `true`, `false` | `false` |
|
||||||
|
|
||||||
### canned_message_plugin_enabled
|
### canned_message_plugin_enabled
|
||||||
|
@ -28,24 +34,210 @@ Enables the plugin.
|
||||||
|
|
||||||
### canned_message_plugin_allow_input_source
|
### canned_message_plugin_allow_input_source
|
||||||
|
|
||||||
Input event origin accepted by the canned message plugin.
|
Input event source accepted by the canned message plugin.
|
||||||
Can be e.g. "rotEnc1" or keyword "_any"
|
|
||||||
|
| Value | Description |
|
||||||
|
| :---: | :---------: |
|
||||||
|
| `_any` | Default. Allows any peripheral input device connected to the device. |
|
||||||
|
| `rotEnc1` | Hardcoded value naming the input device that this plugin listens to. This could allow multiple input devices to be named with future software development. At present, this doesn't do anything differently than the default setting. |
|
||||||
|
|
||||||
### canned_message_plugin_messages
|
### canned_message_plugin_messages
|
||||||
|
|
||||||
Predefined messages for CannedMessagePlugin separated by '|' characters.
|
Predefined messages for CannedMessagePlugin separated by `|` characters.
|
||||||
|
|
||||||
You can define up to 50 messages with a total length 1024 bytes.
|
You can define up to 50 messages with a total length 1024 bytes.
|
||||||
|
|
||||||
### canned_message_plugin_send_bell
|
### canned_message_plugin_send_bell
|
||||||
|
|
||||||
CannedMessagePlugin also sends a bell character with the messages.
|
CannedMessagePlugin also sends a bell character with the messages.
|
||||||
ExternalNotificationPlugin can benefit from this feature.
|
The [External Notification Plugin](external-notification-plugin) can benefit from this feature as it utilizes the bell character.
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
See "Software / Plugins / Canned messages" for details!
|
### Prerequisites
|
||||||
|
|
||||||
|
<!--- TODO add link to hardware pages to first bullet point --->
|
||||||
|
- Attach a compatible peripheral device. Take note of the GPIO numbers you use, as they will be used in the following step.
|
||||||
|
- Once attached, configure peripheral device with [Rotary Encoder Plugin Settings](rotary-encoder-plugin).
|
||||||
|
|
||||||
|
:::note
|
||||||
|
Replace each `GPIO` (x3) below with the GPIO numbers from hardware setup.
|
||||||
|
|
||||||
|
```bash title="Canned Message Plugin - Required Rotary Encoder Plugin Settings"
|
||||||
|
meshtastic --set rotary1_pin_a GPIO
|
||||||
|
meshtastic --set rotary1_pin_b GPIO
|
||||||
|
meshtastic --set rotary1_pin_press GPIO
|
||||||
|
meshtastic --set rotary1_event_cw KEY_UP
|
||||||
|
meshtastic --set rotary1_event_ccw KEY_DOWN
|
||||||
|
meshtastic --set rotary1_event_press KEY_SELECT
|
||||||
|
meshtastic --set rotary1_enabled True
|
||||||
|
```
|
||||||
|
:::
|
||||||
|
That's it! With a functioning and enabled rotary encoder, you're ready to begin configuring the Canned Message Plugin.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
See "Software / Plugins / Canned messages" for examples!
|
### Enable/Disable the plugin
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Enable Canned Message Plugin"
|
||||||
|
meshtastic --set canned_message_plugin_enabled true
|
||||||
|
```
|
||||||
|
```bash title="Disable Canned Message Plugin"
|
||||||
|
meshtastic --set canned_message_plugin_enabled false
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Set canned messages
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Set Canned Messages"
|
||||||
|
meshtastic --set canned_message_plugin_messages "I'm fine|I'm out|I'm back|Need helping hand|Help me with saw|I need an alpinist|I need ambulance|Keep Calm|On my way|I will be late|I'm already waiting|We have company|Beer is cold|Roger"
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Enable/Disable bell character
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Enable Bell Character"
|
||||||
|
meshtastic --set canned_message_plugin_send_bell true
|
||||||
|
```
|
||||||
|
```bash title="Disable Bell Character"
|
||||||
|
meshtastic --set canned_message_plugin_send_bell false
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Set input source
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Set Allowed Input Source"
|
||||||
|
meshtastic --set canned_message_plugin_allow_input_source "_any"
|
||||||
|
```
|
||||||
|
```bash title="Specify Allowed Input Source"
|
||||||
|
meshtastic --set canned_message_plugin_allow_input_source "rotEnc1"
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
|
@ -12,7 +12,7 @@ These settings are for advanced users only. If you don't know what you are doing
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Most
|
Most users should not need to change these settings. The default [modem_config](channel#modem_config) settings should work just fine.
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
|
@ -54,6 +54,8 @@ TODO
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -64,7 +66,23 @@ meshtastic --ch-set bandwidth 125 --ch-index 0
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -77,6 +95,8 @@ meshtastic --ch-set bandwidth 125 --ch-index 0
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -85,7 +105,23 @@ meshtastic --ch-set bandwidth 125 --ch-index 0
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -98,6 +134,8 @@ meshtastic --ch-set bandwidth 125 --ch-index 0
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -108,7 +146,23 @@ meshtastic --ch-set coding_rate 8 --ch-index 0
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -121,6 +175,8 @@ meshtastic --ch-set coding_rate 8 --ch-index 0
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -131,7 +187,23 @@ meshtastic --ch-set spread_factor 12 --ch-index 0
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -144,6 +216,8 @@ meshtastic --ch-set spread_factor 12 --ch-index 0
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -152,7 +226,23 @@ meshtastic --ch-set spread_factor 12 --ch-index 0
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -47,7 +47,7 @@ This is in active development and not ready for casual users. Testing only.
|
||||||
|
|
||||||
### name
|
### name
|
||||||
|
|
||||||
<!--- A SHORT name that will be packed into the URL. Less than 12 bytes. Something for end users to call the channel If this is the empty string it is assumed that this channel is the special (minimally secure) "Default"channel. In user interfaces it should be rendered as a local language translation of "X". For channel_num hashing empty string will be treated as "X". Where "X" is selected based on the English words listed above for ModemConfig --->
|
The name of the channel. If this is left an empty string it is assumed that this channel is the special (minimally secure) "Default" channel. Channel Names should be short (less than 12 bytes).
|
||||||
|
|
||||||
### psk
|
### psk
|
||||||
|
|
||||||
|
@ -57,7 +57,9 @@ This is in active development and not ready for casual users. Testing only.
|
||||||
|
|
||||||
<!--- A simple pre-shared key for now for crypto. Must be either 0 bytes (no crypto), 16 bytes (AES128), or 32 bytes (AES256). A special shorthand is used for 1 byte long psks. These psks should be treated as only minimally secure, because they are listed in this source code. Those bytes are mapped using the following scheme: 0 = No crypto 1 = The special "default" channel key: {0xd4, 0xf1, 0xbb, 0x3a, 0x20, 0x29, 0x07, 0x59, 0xf0, 0xbc, 0xff, 0xab, 0xcf, 0x4e, 0x69, 0xbf} 2 through 10 = The default channel key, except with 1 through 9 added to the last byte. Shown to user as simple1 through 10 --->
|
<!--- A simple pre-shared key for now for crypto. Must be either 0 bytes (no crypto), 16 bytes (AES128), or 32 bytes (AES256). A special shorthand is used for 1 byte long psks. These psks should be treated as only minimally secure, because they are listed in this source code. Those bytes are mapped using the following scheme: 0 = No crypto 1 = The special "default" channel key: {0xd4, 0xf1, 0xbb, 0x3a, 0x20, 0x29, 0x07, 0x59, 0xf0, 0xbc, 0xff, 0xab, 0xcf, 0x4e, 0x69, 0xbf} 2 through 10 = The default channel key, except with 1 through 9 added to the last byte. Shown to user as simple1 through 10 --->
|
||||||
|
|
||||||
|
:::note
|
||||||
Selecting a number from the following table will use publicly known encryption keys. They're shipped with Meshtastic source code and thus, anyone can listen to messages encrypted by them. They're great for testing and public channels.
|
Selecting a number from the following table will use publicly known encryption keys. They're shipped with Meshtastic source code and thus, anyone can listen to messages encrypted by them. They're great for testing and public channels.
|
||||||
|
:::
|
||||||
|
|
||||||
| Setting | Behavior |
|
| Setting | Behavior |
|
||||||
| :-----: | :------: |
|
| :-----: | :------: |
|
||||||
|
@ -75,7 +77,7 @@ Selecting a number from the following table will use publicly known encryption k
|
||||||
| `default` | Default Encryption (use the weak encryption key) |
|
| `default` | Default Encryption (use the weak encryption key) |
|
||||||
| `random` | Generate a secure 256-bit encryption key. Use this setting for private communication. |
|
| `random` | Generate a secure 256-bit encryption key. Use this setting for private communication. |
|
||||||
|
|
||||||
:::note
|
:::tip
|
||||||
If you use Meshtastic for exchanging messages you don't want other people to see, `random` is the setting you should use.
|
If you use Meshtastic for exchanging messages you don't want other people to see, `random` is the setting you should use.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -112,6 +114,8 @@ If `true`, messages on the mesh will be sent to the public internet by any gatew
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -122,7 +126,23 @@ If `true`, messages on the mesh will be sent to the public internet by any gatew
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -138,6 +158,8 @@ The channel `id` must be an integer.
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -151,7 +173,23 @@ The channel `id` must be an integer.
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -160,28 +198,51 @@ The channel `id` must be an integer.
|
||||||
A channel `id` must be set in order to name a channel.
|
A channel `id` must be set in order to name a channel.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
### Set Encryption
|
### Set/Disable Encryption
|
||||||
<Tabs
|
<Tabs
|
||||||
groupId="settings"
|
groupId="settings"
|
||||||
defaultValue="cli"
|
defaultValue="cli"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
```bash title="Set psk"
|
```bash title="Set encryptions to default on PRIMARY channel"
|
||||||
meshtastic --ch-set psk default --ch-index 0
|
meshtastic --ch-set psk default --ch-index 0
|
||||||
```
|
```
|
||||||
|
```bash title="Set encryptions to random on PRIMARY channel"
|
||||||
|
meshtastic --ch-set psk random --ch-index 0
|
||||||
|
```
|
||||||
|
```bash title="Set encryptions to default on PRIMARY channel"
|
||||||
|
meshtastic --ch-set psk none --ch-index 0
|
||||||
|
```
|
||||||
<!--- TODO random and none --->
|
<!--- TODO random and none --->
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
||||||
</Tabs>
|
<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>
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
See [`psk`](#psk) for details.
|
See [`psk`](#psk) for details.
|
||||||
|
@ -194,6 +255,8 @@ See [`psk`](#psk) for details.
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -203,7 +266,23 @@ See [`psk`](#psk) for details.
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -219,17 +298,38 @@ See [`modem_config`](#modem_config) for details. For advanced modem configuratio
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
```bash title="Set Region"
|
```bash title="Unset Region"
|
||||||
meshtastic --set region Unset
|
meshtastic --set region Unset
|
||||||
```
|
```
|
||||||
|
```bash title="Set Region"
|
||||||
|
meshtastic --set region US
|
||||||
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -6,10 +6,18 @@ sidebar_label: Environmental Measurement Plugin
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
import TabItem from '@theme/TabItem';
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
<!--- TODO add link to hardware setup to admonition--->
|
||||||
|
:::note
|
||||||
|
This plugin requires attaching a peripheral accessory to your device. It will not work without one.
|
||||||
|
:::
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
The Environmental Measurement Plugin will allow you to connect environment sensors to report conditions to your mesh. Examples are temperature, humidity and gas pressure.
|
The Environment Measurement Plugin will allow nodes to send a specific message with information from connected environmental sensors. Currently supported sensors are BME280, BME680, DHT11, DHT12, DHT21, DHT22 and Dallas 1-wire DS18B20.
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
|
@ -21,7 +29,7 @@ The Environmental Measurement Plugin will allow you to connect environment senso
|
||||||
| environmental_measurement_plugin_recovery_interval | `integer` (seconds) | `0` |
|
| environmental_measurement_plugin_recovery_interval | `integer` (seconds) | `0` |
|
||||||
| environmental_measurement_plugin_screen_enabled | `true`, `false` | `0` |
|
| environmental_measurement_plugin_screen_enabled | `true`, `false` | `0` |
|
||||||
| environmental_measurement_plugin_sensor_pin | `integer` | `0` |
|
| environmental_measurement_plugin_sensor_pin | `integer` | `0` |
|
||||||
| environmental_measurement_plugin_sensor_type | `DHT11` | `0` |
|
| environmental_measurement_plugin_sensor_type | `0-6` | `0` |
|
||||||
| environmental_measurement_plugin_update_interval | `integer` (seconds) | `0` |
|
| environmental_measurement_plugin_update_interval | `integer` (seconds) | `0` |
|
||||||
|
|
||||||
### environmental_measurement_plugin_measurement_enabled
|
### environmental_measurement_plugin_measurement_enabled
|
||||||
|
@ -46,22 +54,211 @@ Enable/Disable the environmental measurement plugin on-device display.
|
||||||
|
|
||||||
### environmental_measurement_plugin_sensor_pin
|
### environmental_measurement_plugin_sensor_pin
|
||||||
|
|
||||||
|
:::note
|
||||||
|
The preferred setup is using I2C, so the `environmental_measurement_plugin_sensor_pin` may not be needed.
|
||||||
|
:::
|
||||||
|
|
||||||
Specify the preferred GPIO Pin for sensor readings. May not be needed if using I2C.
|
Specify the preferred GPIO Pin for sensor readings. May not be needed if using I2C.
|
||||||
|
|
||||||
### environmental_measurement_plugin_sensor_type
|
### environmental_measurement_plugin_sensor_type
|
||||||
|
|
||||||
Specify the sensor type.
|
Specify the sensor type.
|
||||||
|
|
||||||
|
| Value | Description | Sensor Features |
|
||||||
|
| :---: | :---------: | :-------------: |
|
||||||
|
| `0` | DHT11 | Temperature, Humidity |
|
||||||
|
| `1` | DS18B20 (Dallas 1-wire) | Temperature |
|
||||||
|
| `2` | DHT12 | Temperature, Humidity |
|
||||||
|
| `3` | DHT21 | Temperature, Humidity |
|
||||||
|
| `4` | DHT22 | Temperature, Humidity |
|
||||||
|
| `5` | BME280 | Temperature, Humidity, Pressure |
|
||||||
|
| `6` | BME680 | Temperature, Humidity, Pressure, VOC Gas |
|
||||||
|
|
||||||
### environmental_measurement_plugin_update_interval
|
### environmental_measurement_plugin_update_interval
|
||||||
|
|
||||||
Interval in seconds of how often we should try to send our measurements to the mesh.
|
Interval in seconds of how often we should try to send our measurements to the mesh.
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
<!--- TODO --->
|
### Hardware
|
||||||
|
|
||||||
|
The sensors can be wired differently, here's [one example](https://randomnerdtutorials.com/esp32-ds18b20-temperature-arduino-ide) for sensor DS18B20.
|
||||||
|
|
||||||
|
### Known Problems
|
||||||
|
|
||||||
|
* No default configuration values are currently set, so this must be done when enabling the plugin.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
### Enable/Disable the plugin
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Enable Plugin"
|
||||||
|
meshtastic --set environmental_measurement_plugin_measurement_enabled true
|
||||||
|
```
|
||||||
|
```bash title="Disable Plugin"
|
||||||
|
meshtastic --set environmental_measurement_plugin_measurement_enabled false
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Enable/Disable the plugin on device screen
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Enable on device screen"
|
||||||
|
meshtastic --set environmental_measurement_plugin_screen_enabled true
|
||||||
|
```
|
||||||
|
```bash title="Disable on device screen"
|
||||||
|
meshtastic --set environmental_measurement_plugin_screen_enabled false
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Display Farenheit/Celsius
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Display Farenheit"
|
||||||
|
meshtastic --set environmental_measurement_plugin_display_farenheit true
|
||||||
|
```
|
||||||
|
```bash title="Display Celsius"
|
||||||
|
meshtastic --set environmental_measurement_plugin_display_farenheit false
|
||||||
|
```
|
||||||
|
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Set plugin update interval
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Set plugin update interval to 15 seconds"
|
||||||
|
meshtastic --set environmental_measurement_plugin_update_interval 15
|
||||||
|
```
|
||||||
|
|
||||||
|
</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>
|
||||||
|
|
||||||
|
### Set sensor type
|
||||||
|
|
||||||
<Tabs
|
<Tabs
|
||||||
groupId="settings"
|
groupId="settings"
|
||||||
defaultValue="cli"
|
defaultValue="cli"
|
||||||
|
@ -69,33 +266,41 @@ Interval in seconds of how often we should try to send our measurements to the m
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
{label: 'iOS', value: 'iOS'},
|
{label: 'iOS', value: 'iOS'},
|
||||||
{label: 'web', value: 'web'},
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
:::note
|
||||||
|
The CLI is able to take the [value or the name](#environmental_measurement_plugin_sensor_type) of the sensor.
|
||||||
|
:::
|
||||||
|
|
||||||
|
```bash title="Set sensor type to DS18B20"
|
||||||
|
meshtastic --set environmental_measurement_plugin_sensor_type 1
|
||||||
```
|
```
|
||||||
meshtastic --set environmental_measurement_plugin_measurement_enabled true
|
```bash title="Set sensor type to DS18B20"
|
||||||
meshtastic --set environmental_measurement_plugin_screen_enabled true
|
meshtastic --set environmental_measurement_plugin_sensor_type DS18B20
|
||||||
meshtastic --set environmental_measurement_plugin_update_interval 15
|
|
||||||
meshtastic --set environmental_measurement_plugin_display_farenheit true
|
|
||||||
meshtastic --set environmental_measurement_plugin_sensor_type 5
|
|
||||||
meshtastic --set environmental_measurement_plugin_sensor_type BME280
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
||||||
<TabItem value="iOS">
|
<TabItem value="iOS">
|
||||||
|
|
||||||
TODO
|
:::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>
|
||||||
<TabItem value="web">
|
<TabItem value="web">
|
||||||
|
|
||||||
TODO
|
:::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>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -6,11 +6,19 @@ sidebar_label: External Notification Plugin
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
import TabItem from '@theme/TabItem';
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
<!--- TODO add link to hardware setup to admonition--->
|
||||||
|
:::note
|
||||||
|
This plugin requires attaching a peripheral accessory to your device. It will not work without one.
|
||||||
|
:::
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
The External Notification Plugin will allow you to connect a speaker, LED, or other device to notify you when a message has been received from the mesh network.
|
The External Notification Plugin will allow you to connect a speaker, LED, or other device to notify you when a message has been received from the mesh network.
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
| Setting | Acceptable Values | Default |
|
||||||
|
@ -20,7 +28,7 @@ The External Notification Plugin will allow you to connect a speaker, LED, or ot
|
||||||
| ext_notification_plugin_alert_bell | `true`, `false` | `false` |
|
| ext_notification_plugin_alert_bell | `true`, `false` | `false` |
|
||||||
| ext_notification_plugin_alert_message | `true`, `false` | `false` |
|
| ext_notification_plugin_alert_message | `true`, `false` | `false` |
|
||||||
| ext_notification_plugin_output | `integer` | `0` |
|
| ext_notification_plugin_output | `integer` | `0` |
|
||||||
| ext_notification_plugin_output_ms | `integer` | `0` |
|
| ext_notification_plugin_output_ms | `integer` (milliseconds) | `0` |
|
||||||
|
|
||||||
### ext_notification_plugin_enabled
|
### ext_notification_plugin_enabled
|
||||||
|
|
||||||
|
@ -28,23 +36,23 @@ Enables the plugin.
|
||||||
|
|
||||||
### ext_notification_plugin_active
|
### ext_notification_plugin_active
|
||||||
|
|
||||||
<!--- TODO --->
|
Specifies whether the external circuit is triggered when the device's GPIO is low or high.
|
||||||
|
|
||||||
### ext_notification_plugin_alert_bell
|
### ext_notification_plugin_alert_bell
|
||||||
|
|
||||||
<!--- TODO --->
|
Specifies if an alert should be sent when receiving an incoming bell.
|
||||||
|
|
||||||
### ext_notification_plugin_alert_message
|
### ext_notification_plugin_alert_message
|
||||||
|
|
||||||
<!--- TODO --->
|
Specifies if an alert should be sent when receiving an incoming message.
|
||||||
|
|
||||||
### ext_notification_plugin_output
|
### ext_notification_plugin_output
|
||||||
|
|
||||||
<!--- TODO --->
|
Specifies the GPIO that your external circuit is attached to on the device.
|
||||||
|
|
||||||
### ext_notification_plugin_output_ms
|
### ext_notification_plugin_output_ms
|
||||||
|
|
||||||
<!--- TODO --->
|
Specifies how long in milliseconds you would like your external circuit triggered. Default is `1000`. (Because of the way that defaults are handled in the protobufs `0` is interpreted as `1000`)
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
|
@ -52,21 +60,259 @@ Enables the plugin.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
### Enable/Disable the plugin
|
||||||
<Tabs
|
<Tabs
|
||||||
groupId="settings"
|
groupId="settings"
|
||||||
defaultValue="cli"
|
defaultValue="cli"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
TODO
|
```bash title="Enable Plugin"
|
||||||
|
meshtastic --set ext_notification_plugin_enabled true
|
||||||
|
```
|
||||||
|
```bash title="Disable Plugin"
|
||||||
|
meshtastic --set ext_notification_plugin_enabled false
|
||||||
|
```
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
||||||
|
|
||||||
|
### Specify GPIO for circuit to monitor
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
:::note
|
||||||
|
Replace `GPIO` in the below command with the GPIO number your circuit is attached to.
|
||||||
|
:::
|
||||||
|
|
||||||
|
```bash title="Specify GPIO that circuit is connected to"
|
||||||
|
meshtastic --set ext_notification_plugin_output GPIO
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
|
||||||
|
### Specify High/Low GPIO triggers circuit
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="GPIO active high"
|
||||||
|
meshtastic --set ext_notification_plugin_active true
|
||||||
|
```
|
||||||
|
```bash title="GPIO active low (default)"
|
||||||
|
meshtastic --set ext_notification_plugin_active false
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
|
||||||
|
### Specify how many milliseconds to trigger circuit
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Set to default (1000ms)"
|
||||||
|
meshtastic --set ext_notification_plugin_output_ms 0
|
||||||
|
```
|
||||||
|
```bash title="Set to other value"
|
||||||
|
meshtastic --set ext_notification_plugin_output_ms 1500
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
|
||||||
|
### Enable/Disable alert on incoming bell
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Enable alert on incoming bell"
|
||||||
|
meshtastic --set ext_notification_plugin_alert_bell true
|
||||||
|
```
|
||||||
|
```bash title="Disable alert on incoming bell"
|
||||||
|
meshtastic --set ext_notification_plugin_alert_bell false
|
||||||
|
```
|
||||||
|
</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>
|
||||||
|
|
||||||
|
|
||||||
|
### Enable/Disable Alert on incoming message
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
```bash title="Enable alert on incoming message"
|
||||||
|
meshtastic --set ext_notification_plugin_alert_message true
|
||||||
|
```
|
||||||
|
```bash title="Disable alert on incoming message"
|
||||||
|
meshtastic --set ext_notification_plugin_alert_message false
|
||||||
|
```
|
||||||
|
</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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -152,6 +152,8 @@ Bit field of boolean configuration options for POSITION messages (bitwise OR of
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -162,7 +164,23 @@ Bit field of boolean configuration options for POSITION messages (bitwise OR of
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -178,6 +196,8 @@ Bit field of boolean configuration options for POSITION messages (bitwise OR of
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -188,7 +208,23 @@ Bit field of boolean configuration options for POSITION messages (bitwise OR of
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -204,6 +240,8 @@ Disabling location sharing does not disable the GPS functionality, only the loca
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -214,7 +252,23 @@ Disabling location sharing does not disable the GPS functionality, only the loca
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -230,6 +284,8 @@ The device will continue to acquire GPS coordinates according to the `gps_update
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -240,7 +296,23 @@ The device will continue to acquire GPS coordinates according to the `gps_update
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -252,6 +324,8 @@ The device will continue to acquire GPS coordinates according to the `gps_update
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -262,7 +336,23 @@ The device will continue to acquire GPS coordinates according to the `gps_update
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -56,6 +56,8 @@ By changing these settings, you are self certifying that you are licensed to ope
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -66,7 +68,23 @@ By changing these settings, you are self certifying that you are licensed to ope
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -68,6 +68,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -77,7 +79,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -90,6 +108,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -100,7 +120,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -113,6 +149,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -123,7 +161,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -136,6 +190,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -144,7 +200,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -158,6 +230,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -166,7 +240,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -180,6 +270,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -190,7 +282,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -207,6 +315,8 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -217,7 +327,23 @@ Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -68,8 +68,10 @@ defaultValue="cli"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
```bash title="Set server"
|
```bash title="Set server"
|
||||||
meshtastic --set mqtt_server 192.168.123.234
|
meshtastic --set mqtt_server 192.168.123.234
|
||||||
|
@ -86,10 +88,26 @@ mosquitto_sub -h 192.168.123.234 -v -t msh/#
|
||||||
:::note
|
:::note
|
||||||
FIXME some documentation says msh/# , some says mesh/# . As of 1.2.39 the messages are on msh/#
|
FIXME some documentation says msh/# , some says mesh/# . As of 1.2.39 the messages are on msh/#
|
||||||
:::
|
:::
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -39,6 +39,8 @@ At the bottom of each setting page, examples will be available displaying how to
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -53,7 +55,23 @@ The CLI examples will require you to utilize the Command line Interface that is
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -125,6 +125,8 @@ defaultValue="cli"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -145,7 +147,23 @@ meshtastic --set is_always_powered true
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -11,8 +11,8 @@ import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
This plugin 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.
|
This plugin 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.
|
||||||
|
|
||||||
:::note
|
:::tip
|
||||||
Once settings are changed, a **reset** is required for them to take effect.
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
@ -75,6 +75,8 @@ defaultValue="cli"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -86,7 +88,23 @@ meshtastic --set range_test_plugin_sender 60
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -99,6 +117,8 @@ defaultValue="cli"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -110,7 +130,23 @@ meshtastic --set range_test_plugin_save true
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
113
docs/software/settings/rotary-encoder-plugin.md
Normal file
113
docs/software/settings/rotary-encoder-plugin.md
Normal file
|
@ -0,0 +1,113 @@
|
||||||
|
---
|
||||||
|
id: rotary-encoder-plugin
|
||||||
|
title: Rotary Encoder
|
||||||
|
sidebar_label: Rotary Encoder
|
||||||
|
---
|
||||||
|
import Tabs from '@theme/Tabs';
|
||||||
|
import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
|
<!--- TODO add link to hardware setup to admonition--->
|
||||||
|
:::note
|
||||||
|
This plugin requires attaching a peripheral accessory to your device. It will not work without one.
|
||||||
|
:::
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Meshtastic supports hardwired rotary encoders as input devices.
|
||||||
|
Currently, one rotary encoder (`rotary1`) is defined, but later more rotary encoders
|
||||||
|
can be added (if needed) the same way.
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
||||||
|
|
||||||
|
## Settings
|
||||||
|
|
||||||
|
| Setting | Acceptable Values | Default |
|
||||||
|
| :-----: | :---------------: | :-----: |
|
||||||
|
| rotary1_enabled | `true`, `false` | `false` |
|
||||||
|
| rotary1_pin_a | `integer` | (not defined) |
|
||||||
|
| rotary1_pin_b | `integer` | (not defined) |
|
||||||
|
| rotary1_pin_press | `integer` | (not defined) |
|
||||||
|
| rotary1_event_cw | `InputEventChar` | (not defined) |
|
||||||
|
| rotary1_event_ccw | `InputEventChar` | (not defined) |
|
||||||
|
| rotary1_event_press | `InputEventChar` | (not defined) |
|
||||||
|
|
||||||
|
### rotary1_enabled
|
||||||
|
Enable the rotary encoder #1
|
||||||
|
|
||||||
|
### rotary1_pin_a
|
||||||
|
GPIO pin for rotary encoder A port.
|
||||||
|
|
||||||
|
### rotary1_pin_b
|
||||||
|
GPIO pin for rotary encoder B port.
|
||||||
|
|
||||||
|
### rotary1_pin_press
|
||||||
|
GPIO pin for rotary encoder Press port.
|
||||||
|
|
||||||
|
### rotary1_event_cw
|
||||||
|
Generate input event on CW of this kind.
|
||||||
|
(For using with CannedMessagePlugin you must choose value "UP" here.)
|
||||||
|
|
||||||
|
### rotary1_event_ccw
|
||||||
|
Generate input event on CCW of this kind.
|
||||||
|
(For using with CannedMessagePlugin you must choose value "DOWN" here.)
|
||||||
|
|
||||||
|
### rotary1_event_press
|
||||||
|
Generate input event on Press of this kind.
|
||||||
|
(For using with CannedMessagePlugin you must choose value "SELECT" here.)
|
||||||
|
|
||||||
|
## Details
|
||||||
|
|
||||||
|
See "Software / Plugins / Canned messages" for details!
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
### Configure rotary encoder for Canned Message Plugin
|
||||||
|
<Tabs
|
||||||
|
groupId="settings"
|
||||||
|
defaultValue="cli"
|
||||||
|
values={[
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
|
]}>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
:::note
|
||||||
|
Replace each `GPIO` (x3) below with the GPIO numbers from hardware setup.
|
||||||
|
:::
|
||||||
|
|
||||||
|
```bash title="Canned Message Plugin - Required Rotary Encoder Plugin Settings"
|
||||||
|
meshtastic --set rotary1_pin_a GPIO
|
||||||
|
meshtastic --set rotary1_pin_b GPIO
|
||||||
|
meshtastic --set rotary1_pin_press GPIO
|
||||||
|
meshtastic --set rotary1_event_cw KEY_UP
|
||||||
|
meshtastic --set rotary1_event_ccw KEY_DOWN
|
||||||
|
meshtastic --set rotary1_event_press KEY_SELECT
|
||||||
|
meshtastic --set rotary1_enabled True
|
||||||
|
```
|
||||||
|
</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>
|
|
@ -1,58 +0,0 @@
|
||||||
---
|
|
||||||
id: rotary-encoder-settings
|
|
||||||
title: Rotary Encoder
|
|
||||||
sidebar_label: Rotary Encoder
|
|
||||||
---
|
|
||||||
import Tabs from '@theme/Tabs';
|
|
||||||
import TabItem from '@theme/TabItem';
|
|
||||||
|
|
||||||
|
|
||||||
## Overview
|
|
||||||
|
|
||||||
Meshtastic supports hardwired rotary encoders as input devices.
|
|
||||||
Currently, one rotary encoder (`rotary1`) is defined, but later more rotary encoders
|
|
||||||
can be added (if needed) the same way.
|
|
||||||
|
|
||||||
## Settings
|
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
|
||||||
| :-----: | :---------------: | :-----: |
|
|
||||||
| rotary1_enabled | `true`, `false` | `false` |
|
|
||||||
| rotary1_pin_a | `integer` | (not defined) |
|
|
||||||
| rotary1_pin_b | `integer` | (not defined) |
|
|
||||||
| rotary1_pin_press | `integer` | (not defined) |
|
|
||||||
| rotary1_event_cw | `InputEventChar` | (not defined) |
|
|
||||||
| rotary1_event_ccw | `InputEventChar` | (not defined) |
|
|
||||||
| rotary1_event_press | `InputEventChar` | (not defined) |
|
|
||||||
|
|
||||||
### rotary1_enabled
|
|
||||||
Enable the rotary encoder #1
|
|
||||||
|
|
||||||
### rotary1_pin_a
|
|
||||||
GPIO pin for rotary encoder A port.
|
|
||||||
|
|
||||||
### rotary1_pin_b
|
|
||||||
GPIO pin for rotary encoder B port.
|
|
||||||
|
|
||||||
### rotary1_pin_press
|
|
||||||
GPIO pin for rotary encoder Press port.
|
|
||||||
|
|
||||||
### rotary1_event_cw
|
|
||||||
Generate input event on CW of this kind.
|
|
||||||
(For using with CannedMessagePlugin you must choose value "UP" here.)
|
|
||||||
|
|
||||||
### rotary1_event_ccw
|
|
||||||
Generate input event on CCW of this kind.
|
|
||||||
(For using with CannedMessagePlugin you must choose value "DOWN" here.)
|
|
||||||
|
|
||||||
### rotary1_event_press
|
|
||||||
Generate input event on Press of this kind.
|
|
||||||
(For using with CannedMessagePlugin you must choose value "SELECT" here.)
|
|
||||||
|
|
||||||
## Details
|
|
||||||
|
|
||||||
See "Software / Plugins / Canned messages" for details!
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
See "Software / Plugins / Canned messages" for examples!
|
|
|
@ -47,6 +47,8 @@ Toggling `is_router` changes your device settings in the following ways.
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -57,7 +59,23 @@ Toggling `is_router` changes your device settings in the following ways.
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -11,6 +11,10 @@ import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
This is a simple interface to send messages over the mesh network by sending strings over a serial port.
|
This is a simple interface to send messages over the mesh network by sending strings over a serial port.
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
| Setting | Acceptable Values | Default |
|
||||||
|
@ -56,6 +60,8 @@ Enables the plugin.
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -64,7 +70,23 @@ Enables the plugin.
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -10,13 +10,17 @@ import TabItem from '@theme/TabItem';
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
This is a work in progress and is not yet available.
|
This is a work in progress and is partially available. Stability is not guaranteed.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
The Store Forward Plugin is an implementation of a Store and Forward system to enable resilient messaging in the event that a client device is disconnected from the main network.
|
The Store Forward Plugin is an implementation of a Store and Forward system to enable resilient messaging in the event that a client device is disconnected from the main network.
|
||||||
|
|
||||||
Because of the increased network traffic for this overhead, it's not advised to use this if you are duty cycle limited for your airtime usage nor is it advised to use this for SF12 (Long Range / Slow).
|
Because of the increased network traffic for this overhead, it's not advised to use this if you are duty cycle limited for your airtime usage nor is it advised to use this for SF12 (Long Range / Slow).
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Once plugin settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
| Setting | Acceptable Values | Default |
|
||||||
|
@ -49,6 +53,67 @@ Enables the plugin.
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
|
### How it works
|
||||||
|
|
||||||
|
![Store & Forward - Overview](/img/plugins/store_and_forward/store_and_forward-overview.png)
|
||||||
|
|
||||||
|
### Requirements
|
||||||
|
|
||||||
|
Initial Requirements:
|
||||||
|
|
||||||
|
* Must be installed on a router node.
|
||||||
|
* * This is an artificial limitation, but is in place to enforce best practices.
|
||||||
|
* * Router nodes are intended to be always online. If this plugin misses any messages, the reliability of the stored messages will be reduced.
|
||||||
|
* Esp32 Processor based device with external PSRAM. (tbeam v1.0 and tbeamv1.1, and maybe others)
|
||||||
|
|
||||||
|
### Usage Overview
|
||||||
|
|
||||||
|
* To use / test this you will want at least 3 devices
|
||||||
|
* * One device will (currently) need be a tbeam v1.0 and tbeamv1.1 configured as a Meshtastic router. Other devices with built in PSRAM will be supported at some point.
|
||||||
|
* * Two others will be regular clients. Nothing special required.
|
||||||
|
|
||||||
|
### Meshtastic channel configuration
|
||||||
|
|
||||||
|
Don't use this on the "Long Range / Slow" or "Long Range / Fast" channel settings. You're welcome to try and report back, but those channels have a [very low bitrate](/docs/developers/device/radio-settings#pre-defined).
|
||||||
|
|
||||||
|
Either use a custom channel configuration with at an at least 1kbit data rate or use "Medium Range / Fast".
|
||||||
|
|
||||||
|
Recommended channel setting is for 1.343kbps:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
meshtastic --setchan spread_factor 11 --setchan coding_rate 4 --setchan bandwidth 500
|
||||||
|
```
|
||||||
|
|
||||||
|
With an aftermarket coaxial antenna or moxon antenna, that will give you roughly the same range as "Long Range / Slow" and 5x the bitrate.
|
||||||
|
|
||||||
|
### Router setup
|
||||||
|
|
||||||
|
* Configure your device as a meshtastic router.
|
||||||
|
* * https://meshtastic.org/docs/software/settings/router
|
||||||
|
* Configure the Store and Forward plugin
|
||||||
|
* * Required configuration
|
||||||
|
* * * store_forward_plugin_enabled - Set this to true to enable the plugin. False to disable the plugin.
|
||||||
|
* * Optional configuration
|
||||||
|
* * * store_forward_plugin_records - Set this to the maximum number of records to save. Best to leave this at the default (0) where the plugin will use 2/3 of your device's available PSRAM. This is about 11,000 records.
|
||||||
|
* Name your router node something that makes it easily identifiable, aka "Router".
|
||||||
|
|
||||||
|
Don't enable the Store and Forward plugin on multiple routers!
|
||||||
|
|
||||||
|
### Client Usage
|
||||||
|
|
||||||
|
Currently, no special configuration is required. To request your history sent to you, send the command into the message field "SF". That's it. This will eventually change to make it easier. At the moment, that message will be sent to everyone on the mesh but we'll (eventually) make it easier to use where there'll be a button (or maybe it'll be transparent) and the command isn't sent as a text message to the mesh.
|
||||||
|
|
||||||
|
Available Commands:
|
||||||
|
|
||||||
|
| Command | Definition |
|
||||||
|
| :-----: | :---------------: |
|
||||||
|
| SF | Send the last few messages I may have missed |
|
||||||
|
| SFm | Send a 240 byte payload (Used for testing) |
|
||||||
|
|
||||||
|
The Store and Forward plugin will only service one client at a time. If a second client requests messages while the S&F is busy, the S&F will send a private message to the second client that they will need to wait.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
<Tabs
|
<Tabs
|
||||||
|
@ -57,6 +122,8 @@ Enables the plugin.
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -65,7 +132,23 @@ Enables the plugin.
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -74,6 +74,8 @@ To disable WiFi completely, set `wifi_ap_mode` to `false`, and both `wifi_ssid`
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -104,6 +106,8 @@ In the above example, the device will join a network with the SSID `mywifissid`
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -123,7 +127,23 @@ meshtastic --set wifi_ssid "my wifi ssid" --set wifi_password "my wifi password"
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
@ -137,6 +157,8 @@ In the above example, the device will broadcast a network with the SSID `mywifis
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
|
{label: 'iOS', value: 'iOS'},
|
||||||
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
@ -148,7 +170,23 @@ In the above example, the device will broadcast a network with the SSID `mywifis
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="android">
|
<TabItem value="android">
|
||||||
|
|
||||||
TODO
|
:::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>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
|
@ -121,13 +121,13 @@ module.exports = {
|
||||||
"software/settings/wifi",
|
"software/settings/wifi",
|
||||||
{
|
{
|
||||||
Plugins: [
|
Plugins: [
|
||||||
|
"software/settings/canned-message-plugin",
|
||||||
"software/settings/environmental-measurement-plugin",
|
"software/settings/environmental-measurement-plugin",
|
||||||
"software/settings/external-notification-plugin",
|
"software/settings/external-notification-plugin",
|
||||||
"software/settings/canned-message-plugin-settings",
|
|
||||||
"software/settings/range-test-plugin",
|
"software/settings/range-test-plugin",
|
||||||
|
"software/settings/rotary-encoder-plugin",
|
||||||
"software/settings/serial-plugin",
|
"software/settings/serial-plugin",
|
||||||
"software/settings/store-and-forward-plugin",
|
"software/settings/store-and-forward-plugin",
|
||||||
"software/settings/rotary-encoder-settings",
|
|
||||||
],
|
],
|
||||||
Advanced: [
|
Advanced: [
|
||||||
"software/settings/channel-advanced",
|
"software/settings/channel-advanced",
|
||||||
|
|
Loading…
Reference in a new issue