mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-30 07:10:51 -08:00
More module docs cleanup
This commit is contained in:
parent
e74ab73da5
commit
513b5f3e3f
|
@ -37,7 +37,9 @@ Once module settings are changed, a **reset** is required for them to take effec
|
||||||
|
|
||||||
`--set-canned-message "<messages>"`
|
`--set-canned-message "<messages>"`
|
||||||
|
|
||||||
### canned_message_module_allow_input_source
|
### Enabled
|
||||||
|
|
||||||
|
### Allow Input Source
|
||||||
|
|
||||||
Input event source accepted by the canned message module.
|
Input event source accepted by the canned message module.
|
||||||
|
|
||||||
|
|
|
@ -9,329 +9,126 @@ import TabItem from '@theme/TabItem';
|
||||||
|
|
||||||
:::warning
|
:::warning
|
||||||
GPIO access is fundamentally dangerous because invalid options can physically damage or destroy your hardware. Ensure that you fully understand the schematic for your particular device before trying this as we do not offer a warranty. Use at your own risk.
|
GPIO access is fundamentally dangerous because invalid options can physically damage or destroy your hardware. Ensure that you fully understand the schematic for your particular device before trying this as we do not offer a warranty. Use at your own risk.
|
||||||
:::
|
|
||||||
|
|
||||||
:::note
|
|
||||||
This module requires attaching a peripheral accessory to your device. It will not work without one.
|
This module requires attaching a peripheral accessory to your device. It will not work without one.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Overview
|
The External Notification Module will allow you to connect a buzzer, speaker, LED, or other device to notify you when a message has been received from the mesh network.
|
||||||
|
|
||||||
The External Notification Module 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 module settings are changed, a **reset** is required for them to take effect.
|
|
||||||
:::
|
|
||||||
|
|
||||||
## Settings
|
## External Notification Module Config Values
|
||||||
|
|
||||||
| Setting | Acceptable Values | Default |
|
### Enabled
|
||||||
| :-----------------------------------: | :----------------------: | :-----: |
|
|
||||||
| ext_notification_module_active | `true`, `false` | `false` |
|
|
||||||
| ext_notification_module_alert_bell | `true`, `false` | `false` |
|
|
||||||
| ext_notification_module_alert_message | `true`, `false` | `false` |
|
|
||||||
| ext_notification_module_enabled | `true`, `false` | `false` |
|
|
||||||
| ext_notification_module_output | `integer` | `0` |
|
|
||||||
| ext_notification_module_output_ms | `integer` (milliseconds) | `0` |
|
|
||||||
|
|
||||||
### ext_notification_module_active
|
Enables the external notification module.
|
||||||
|
|
||||||
|
### Alert when receiving a bell
|
||||||
|
|
||||||
|
Specifies if an alert should be triggered when receiving an incoming bell.
|
||||||
|
|
||||||
|
### Alert when receiving a message
|
||||||
|
|
||||||
|
Specifies if an alert should be triggered when receiving an incoming message.
|
||||||
|
|
||||||
|
### Active
|
||||||
|
|
||||||
Specifies whether the external circuit is triggered when the device's GPIO is low or high.
|
Specifies whether the external circuit is triggered when the device's GPIO is low or high.
|
||||||
|
|
||||||
:::caution
|
### GPIO to monitor
|
||||||
To prevent damaging your device, double check your device's schematics before attaching to the GPIO pins and setting this value.
|
|
||||||
:::
|
|
||||||
|
|
||||||
#### 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">
|
|
||||||
|
|
||||||
```shell title="GPIO active high"
|
|
||||||
meshtastic --set ext_notification_module_active true
|
|
||||||
```
|
|
||||||
|
|
||||||
```shell title="GPIO active low (default)"
|
|
||||||
meshtastic --set ext_notification_module_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>
|
|
||||||
|
|
||||||
### ext_notification_module_alert_bell
|
|
||||||
|
|
||||||
Specifies if an alert should be sent when receiving an incoming bell.
|
|
||||||
|
|
||||||
#### 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">
|
|
||||||
|
|
||||||
```shell title="Enable alert on incoming bell"
|
|
||||||
meshtastic --set ext_notification_module_alert_bell true
|
|
||||||
```
|
|
||||||
|
|
||||||
```shell title="Disable alert on incoming bell"
|
|
||||||
meshtastic --set ext_notification_module_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>
|
|
||||||
|
|
||||||
### ext_notification_module_alert_message
|
|
||||||
|
|
||||||
Specifies if an alert should be sent when receiving an incoming message.
|
|
||||||
|
|
||||||
#### 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">
|
|
||||||
|
|
||||||
```shell title="Enable alert on incoming message"
|
|
||||||
meshtastic --set ext_notification_module_alert_message true
|
|
||||||
```
|
|
||||||
|
|
||||||
```shell title="Disable alert on incoming message"
|
|
||||||
meshtastic --set ext_notification_module_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>
|
|
||||||
</Tabs>
|
|
||||||
|
|
||||||
### ext_notification_module_enabled
|
|
||||||
|
|
||||||
Enables the module.
|
|
||||||
|
|
||||||
#### Enable/Disable the module
|
|
||||||
|
|
||||||
<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">
|
|
||||||
|
|
||||||
```shell title="Enable Module"
|
|
||||||
meshtastic --set ext_notification_module_enabled true
|
|
||||||
```
|
|
||||||
|
|
||||||
```shell title="Disable Module"
|
|
||||||
meshtastic --set ext_notification_module_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>
|
|
||||||
|
|
||||||
### ext_notification_module_output
|
|
||||||
|
|
||||||
Specifies the GPIO that your external circuit is attached to on the device.
|
Specifies the GPIO that your external circuit is attached to on the device.
|
||||||
|
|
||||||
:::caution
|
### How long monitored GPIO is triggered
|
||||||
To prevent damaging your device, double check your device's schematics before attaching to the GPIO pins and setting this value.
|
|
||||||
:::
|
|
||||||
|
|
||||||
#### Specify GPIO for circuit to monitor
|
Specifies how long in milliseconds you would like your external circuit to be triggered.
|
||||||
|
|
||||||
|
Default of 0 is 1000ms
|
||||||
|
|
||||||
|
## External Notification Module Config Client Availability
|
||||||
|
|
||||||
<Tabs
|
<Tabs
|
||||||
groupId="settings"
|
groupId="settings"
|
||||||
defaultValue="cli"
|
defaultValue="flasher"
|
||||||
values={[
|
values={[
|
||||||
{label: 'CLI', value: 'cli'},
|
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
{label: 'iOS', value: 'iOS'},
|
{label: 'Apple', value: 'apple'},
|
||||||
|
{label: 'CLI', value: 'cli'},
|
||||||
|
{label: 'Flasher', value: 'flasher'},
|
||||||
{label: 'Web', value: 'web'},
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
<TabItem value="cli">
|
<TabItem value="android">
|
||||||
|
|
||||||
:::note
|
:::info
|
||||||
Replace `GPIO` in the below command with the GPIO number your circuit is attached to.
|
External notification module config is not available for Android.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
```shell title="Specify GPIO that circuit is connected to"
|
</TabItem>
|
||||||
meshtastic --set ext_notification_module_output GPIO
|
<TabItem value="apple">
|
||||||
|
|
||||||
|
:::info
|
||||||
|
All external notification module config options are available on iOS, iPadOS and macOS at Settings > Modules > External Notification.
|
||||||
|
:::
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="cli">
|
||||||
|
|
||||||
|
All external noftification module config options are available in the python CLI. Example commands are below:
|
||||||
|
|
||||||
|
| Setting | Acceptable Values | Default |
|
||||||
|
| :-----------------------------------: | :----------------------: | :-----: |
|
||||||
|
| ext_notification_module_enabled | `true`, `false` | `false` |
|
||||||
|
| ext_notification_module_active | `true`, `false` | `false` |
|
||||||
|
| ext_notification_module_alert_bell | `true`, `false` | `false` |
|
||||||
|
| ext_notification_module_alert_message | `true`, `false` | `false` |
|
||||||
|
| ext_notification_module_output | `integer` | `0` |
|
||||||
|
| ext_notification_module_output_ms | `integer` (milliseconds) | `0` |
|
||||||
|
|
||||||
|
```shell title="Enable/Disable External Notification Module"
|
||||||
|
meshtastic --set ext_notification_module_enabled true
|
||||||
|
meshtastic --set ext_notification_module_enabled false
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
```shell title="Enable/Disable alert on incoming bell"
|
||||||
<TabItem value="android">
|
meshtastic --set ext_notification_module_alert_bell true
|
||||||
|
meshtastic --set ext_notification_module_alert_bell false
|
||||||
|
```
|
||||||
|
|
||||||
:::info
|
```shell title="Set GPIO active high / low (defalut of false is low)"
|
||||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
meshtastic --set ext_notification_module_active false
|
||||||
:::
|
meshtastic --set ext_notification_module_active true
|
||||||
|
```
|
||||||
|
|
||||||
</TabItem>
|
```shell title="Enable/Disable alert on incoming message"
|
||||||
<TabItem value="iOS">
|
meshtastic --set ext_notification_module_alert_message true
|
||||||
|
meshtastic --set ext_notification_module_alert_message false
|
||||||
|
```
|
||||||
|
|
||||||
:::info
|
```shell title="Set GPIO to monitor to 21"
|
||||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
meshtastic --set ext_notification_module_output 21
|
||||||
:::
|
```
|
||||||
|
|
||||||
</TabItem>
|
```shell title="Set monitored GPIO output duration (default of 0 is 1000ms)"
|
||||||
<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>
|
|
||||||
|
|
||||||
### ext_notification_module_output_ms
|
|
||||||
|
|
||||||
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`)
|
|
||||||
|
|
||||||
#### 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">
|
|
||||||
|
|
||||||
```shell title="Set to default (1000ms)"
|
|
||||||
meshtastic --set ext_notification_module_output_ms 0
|
meshtastic --set ext_notification_module_output_ms 0
|
||||||
```
|
|
||||||
|
|
||||||
```shell title="Set to other value"
|
|
||||||
meshtastic --set ext_notification_module_output_ms 1500
|
meshtastic --set ext_notification_module_output_ms 1500
|
||||||
```
|
```
|
||||||
|
</TabItem>
|
||||||
</TabItem>
|
<TabItem value="flasher">
|
||||||
<TabItem value="android">
|
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
External Notification module config is not available in the Flasher.
|
||||||
:::
|
|
||||||
|
|
||||||
</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>
|
||||||
<TabItem value="web">
|
<TabItem value="web">
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
External Notification module config is not available for the Web UI.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Once module settings are changed, a **reset** is required for them to take effect.
|
||||||
|
:::
|
|
@ -50,7 +50,7 @@ Range Test features are available for Android.
|
||||||
<TabItem value="apple">
|
<TabItem value="apple">
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
Range test module config is not yet available on Apple OS's.
|
All range test module config options are available on iOS, iPadOS and macOS at Settings > Modules > Range Test.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
|
@ -63,7 +63,7 @@ defaultValue="flasher"
|
||||||
values={[
|
values={[
|
||||||
{label: 'Android', value: 'android'},
|
{label: 'Android', value: 'android'},
|
||||||
{label: 'Apple', value: 'apple'},
|
{label: 'Apple', value: 'apple'},
|
||||||
{label: 'Command Line', value: 'cli'},
|
{label: 'CLI', value: 'cli'},
|
||||||
{label: 'Flasher', value: 'flasher'},
|
{label: 'Flasher', value: 'flasher'},
|
||||||
{label: 'Web', value: 'web'},
|
{label: 'Web', value: 'web'},
|
||||||
]}>
|
]}>
|
||||||
|
@ -77,7 +77,7 @@ Serial module config is not available for Android.
|
||||||
<TabItem value="apple">
|
<TabItem value="apple">
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
Serial module config is not yet available on Apple OS's.
|
All serial module config options are available on iOS, iPadOS and macOS at Settings > Modules > Serial.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
Loading…
Reference in a new issue