meshtastic/docs/configuration/radio/display.mdx

159 lines
6 KiB
Plaintext
Raw Normal View History

2022-06-24 19:40:15 -07:00
---
id: display
title: Display Configuration
sidebar_label: Display
---
2023-01-19 05:01:57 -08:00
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
2022-06-24 19:40:15 -07:00
The display config options are: Screen On Duration, Auto Carousel Interval, Always Point North, GPS Format, Preferred Display Units, OLED Definition, Display Mode, Heading Bold, and Wake on Tap or Motion. Display config uses an admin message sending a `Config.Display` protobuf.
2022-06-24 19:40:15 -07:00
2023-10-24 21:55:01 -07:00
## Display Config Values
2022-06-24 19:40:15 -07:00
### Screen On Duration
2023-01-19 05:01:57 -08:00
2022-06-24 19:40:15 -07:00
How long the screen remains on after the user button is pressed or messages are received.
### Auto Carousel Interval
2023-01-19 05:01:57 -08:00
2023-07-03 22:25:02 -07:00
Automatically toggles to the next page on the screen like a carousel, based on the specified interval.
### Always Point North
2023-01-19 05:01:57 -08:00
If this is set, the compass heading on the screen outside of the circle will always point north. This feature is off by default and the top of display represents your heading direction, the North indicator will move around the circle.
2022-06-24 19:40:15 -07:00
### GPS Format
2023-01-19 05:01:57 -08:00
2022-06-24 19:40:15 -07:00
The format used to display GPS coordinates on the device screen.
Acceptable values:
2023-01-19 05:01:57 -08:00
| Value | Description |
| :----: | :-----------------------------: |
| `DEC` | Decimal Degrees |
| `DMS` | Degrees Minutes Seconds |
| `UTM` | Universal Transverse Mercator |
| `MGRS` | Military Grid Reference System |
| `OLC` | Open Location Code (Plus Codes) |
| `OSGR` | Ordnance Survey Grid Reference |
2022-11-09 01:50:40 -08:00
### Preferred Display Units
2023-01-19 05:01:57 -08:00
2023-07-03 22:51:32 -07:00
Switch between `METRIC` (default) and `IMPERIAL` units
2022-11-09 01:50:40 -08:00
### Flip Screen
2023-01-19 05:01:57 -08:00
2022-11-09 01:50:40 -08:00
If enabled, the screen will be rotated 180 degrees, for cases that mount the screen upside down
### OLED Definition
2023-01-19 05:01:57 -08:00
The type of OLED Controller is auto-detected by default, but can be defined with this setting if the auto-detection fails. For the SH1107, we assume a square display with 128x128 Pixels like the GME128128-1.
2022-11-09 01:50:40 -08:00
Acceptable values:
2023-01-24 01:03:24 -08:00
| Value | Description |
| :------------: | :-----------------------------------------: |
| `OLED_AUTO` | Auto detect display controller |
| `OLED_SSD1306` | Always use SSD1306 driver |
| `OLED_SH1106` | Always use SH1106 driver |
| `OLED_SH1107` | Always use SH1107 driver (Geometry 128x128) |
### Display Mode
2023-07-03 22:28:03 -07:00
The display mode can be set to `DEFAULT` (default), `TWOCOLOR`, `INVERTED` or `COLOR`. The `TWOCOLOR` mode is intended for OLED displays with the first line of output being a different color than the rest of the display. The `INVERTED` mode will invert that bicolor area, resulting in a white background headline on monochrome displays.
### Heading Bold
The heading can be hard to read when 'INVERTED' or 'TWOCOLOR' display mode is used. This setting will make the heading bold, so it is easier to read.
2022-06-24 19:40:15 -07:00
2023-05-09 11:31:11 -07:00
### Wake on Tap or Motion
This option enables the ability to wake the device screen when motion, such as a tap on the device, is detected via an attached accelerometer.
2023-10-24 21:55:01 -07:00
## Display Config Client Availability
2022-06-24 19:40:15 -07:00
<Tabs
groupId="settings"
defaultValue="apple"
2022-06-24 19:40:15 -07:00
values={[
{label: 'Android', value: 'android'},
{label: 'Apple', value: 'apple'},
2022-06-29 22:33:26 -07:00
{label: 'CLI', value: 'cli'},
2022-06-24 19:40:15 -07:00
{label: 'Web', value: 'web'},
]}>
<TabItem value="android">
:::info
2022-12-04 13:03:07 -08:00
Display Config is available for Android.
1. Open the Meshtastic App
2023-06-17 22:06:11 -07:00
2. Navigate to: **Vertical Ellipsis (3 dots top right) > Radio Configuration > Display**
2022-12-04 13:03:07 -08:00
2022-06-24 19:40:15 -07:00
:::
</TabItem>
<TabItem value="apple">
:::info
All display config options are available on iOS, iPadOS and macOS at Settings > Radio Configuration > Display.
:::
</TabItem>
<TabItem value="cli">
:::info
2022-08-03 08:14:18 -07:00
All display config options are available in the python CLI. Example commands are below:
2022-06-24 19:40:15 -07:00
:::
| Setting | Acceptable Values | Default |
| --------------------------------- | --------------------------------------------------------- | ----------------------------- |
2023-01-25 09:53:41 -08:00
| display.auto_screen_carousel_secs | `integer` | Default of `0` is off. |
| display.compass_north_top | `false`, `true` | `false` |
2023-07-03 22:58:38 -07:00
| display.flip_screen | `false`, `true` | `false` |
| display.gps_format | `DEC`, `DMS`, `UTM`, `MGRS`, `OLC`, `OSGR` | `DEC` |
| display.oled | `OLED_AUTO`, `OLED_SSD1306`, `OLED_SH1106`, `OLED_SH1107` | `OLED_AUTO` |
| display.screen_on_secs | `integer` | Default of `0` is 10 minutes. |
| display.units | `METRIC`, `IMPERIAL` | `METRIC` |
2023-07-03 22:28:03 -07:00
| display.displaymode | `DEFAULT`, `TWOCOLOR`, `INVERTED`, `COLOR` | `DEFAULT` |
| display.heading_bold | `false`, `true` | `false` |
2023-05-09 11:31:11 -07:00
| display.wake_on_tap_or_motion | `false`, `true` | `false` |
:::tip
Because the device will reboot after each command is sent via CLI, it is recommended when setting multiple values in a config section that commands be chained together as one.
```shell title="Example:"
meshtastic --set display.screen_on_secs 120 --set display.gps_format UTM
```
:::
```shell title="Set Screen On Duration (Default of 0 is 10 minutes)"
meshtastic --set display.screen_on_secs 0
meshtastic --set display.screen_on_secs 120
2022-06-24 19:40:15 -07:00
```
```shell title="Set Auto Carousel Interval (Default of 0 is Off)"
2022-09-29 06:08:51 -07:00
meshtastic --set display.auto_screen_carousel_secs 0
// Set to 2 Minutes (120 Seconds)
meshtastic --set display.auto_screen_carousel_secs 120
2022-06-24 19:40:15 -07:00
```
```shell title="Specify GPS format on device screen"
2022-11-09 01:50:40 -08:00
meshtastic --set display.gps_format UTM
2022-06-24 19:40:15 -07:00
```
</TabItem>
<TabItem value="web">
2022-06-24 19:40:15 -07:00
:::info
All display config options are available in the Web UI.
2022-06-24 19:40:15 -07:00
:::
2023-01-19 05:01:57 -08:00
2022-06-24 19:40:15 -07:00
</TabItem>
2022-09-29 06:08:51 -07:00
</Tabs>