mirror of https://github.com/arendst/Tasmota.git
Sync with expanded Displays article
parent
46dd988260
commit
517f42b1ed
41
Commands.md
41
Commands.md
|
@ -537,30 +537,19 @@ OPTION
|
|||
|
||||
|
||||
<a id="tb-displays">Command | Parameters
|
||||
:--- | :---
|
||||
<a id="Display"></a>Display |Show current display setting as JSON payload
|
||||
<a id="DisplayAddress"></a>DisplayAddress|`0..255` = set display module address
|
||||
<a id="DisplayCols"></a>DisplayCols|`1..44` = set number of display columns
|
||||
<a id="DisplayDimmer"></a>DisplayDimmer|`0` = switch the display off<BR> `1..100` = switch the display on<BR>`0..100` = set display luminosity *(only on 8x8 Dot-Matrix displays)*
|
||||
<a id="DisplayFont"></a>DisplayFont | (reserved command, currently unsupported)
|
||||
<a id="DisplayHeight"></a>DisplayHeight|`<value>` = set display pixel height on supported devices
|
||||
<a id="DisplayMode"></a>DisplayMode|`0..5` = set to display [predefined content](#displaymode-parameters) according to display type
|
||||
<a id="DisplayModel"></a>DisplayModel | Set model of your display:<BR>`1` = [I<sup>2</sup>C LCD Display](https://learn.adafruit.com/i2c-spi-lcd-backpack) (default addresses `0x27`, `0x3F`)<BR>`2` = [SSD1306](https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples) OLED 128x32/128x64 (default addresses `0x3C`, `0x3D`)<BR>`3` = [HT16K33](https://www.adafruit.com/product/1427) 8x8 Dot-Matrix<BR>`4` = [ILI9341](https://www.adafruit.com/product/1770) TFT LCD<BR>`5` = [2.9 inch E-Paper Display](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module)
|
||||
<a id="DisplayRefresh"></a>DisplayRefresh|`1..7` = set time in seconds to update predefined content when using `DisplayMode` ≠ `0`
|
||||
<a id="DisplayRotate"></a>DisplayRotate | Set rotation angle<BR> `0` = 0°<BR> `1` = 90°<BR> `2` = 180°<BR> `3` = 270°
|
||||
<a id="DisplayRows"></a>DisplayRows|`1..32` = set number of display rows
|
||||
<a id="DisplaySize"></a>DisplaySize|`1..4` = set display scale-up size (only for `DisplayModel 2` (SSD1306 OLED) and `DisplayModel 4` (ILI9341 TFT LCD))
|
||||
<a id="DisplayText"></a>DisplayText|`<value>` = for a full guide see [DisplayText use](displays#displaytext-use)
|
||||
<a id="DisplayWidth"></a>DisplayWidth|`<value>` = set display pixel width on supported devices
|
||||
|:--- | :---
|
||||
<a id="Display"> </a> Display | Show current display setting as a JSON payload
|
||||
<a id="DisplayAddress"> </a> DisplayAddress | `0..255` Set display module address
|
||||
<a id="DisplayDimmer"> </a> DisplayDimmer | `0` Turn the display off<BR> `1..100` Turn the display on<BR>`0..100` Set display luminosity *(only on 8x8 Dot-Matrix displays)*
|
||||
<a id="DisplayMode"> </a> DisplayMode | `0..5` Set to display [predefined content](Displays#displaymode-parameters) according to display type
|
||||
<a id="DisplayModel"> </a> DisplayModel | Set display model:<BR>`1` = [I<sup>2</sup>C LCD Display](https://learn.adafruit.com/i2c-spi-lcd-backpack) (default addresses `0x27`, `0x3F`)<BR>`2` = [SSD1306](https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples) OLED 128x32/128x64 (default I<sup>2</sup>C addresses `0x3C`, `0x3D`)<BR>`3` = [HT16K33](https://www.adafruit.com/product/1427) 8x8 Dot-Matrix<BR>`4` = [ILI9341](https://www.adafruit.com/product/1770) TFT LCD<BR>`5` = [2.9 inch E-Paper Display](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module) 296x128 (software 3-wire SPI)<BR>`6` = [4.2 inch E-Paper Display](https://www.waveshare.com/wiki/4.2inch_e-Paper_Module) 400x300 (software 3-wire SPI)<BR>`7` = [SH1106](https://www.ebay.de/itm/1-3-OLED-Display-Weis-SH1106-128x64-I2C-Modul-Arduino-Raspberry-Pi/162572755829?hash=item25da176375:g:hdgAAOSwQKZdQZ10) OLED 128x64 (default I<sup>2</sup>C address `0x3c`)<BR>`8` = [ILI9488](https://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board) TFT 480x320 (capacitive touch, hardware 3-wire SPI)<BR>`9` = [SSD1351](https://www.ebay.de/itm/1-5-128x128-OLED-Display-Modul-RGB-SPI-Interface-Arduino-Raspberry-Pi/123256209315?hash=item1cb2a47fa3:g:WtsAAOSwZb5bTfjF) color OLED 128x128 (hardware 3-wire SPI)<BR>`10` = [RA8867](https://www.buydisplay.com/default/spi-7-inch-tft-lcd-dislay-module-1024x600-ra8876-optl-touch-screen-panel) TFT LCD 1024x600 (capacitive touch, hardware 4-wire SPI)
|
||||
<a id="DisplayRefresh"> </a> DisplayRefresh | `1..7` Set time in seconds to update predefined content when using `DisplayMode` ≠ `0`
|
||||
<a id="DisplaySize"> </a> DisplaySize | `1..4` Set display scale-up size *(SSD1306 and ILI9341 only)*
|
||||
<a id="DisplayRotate"> </a> DisplayRotate | Set rotation angle<BR> `0` = 0°<BR> `1` = 90°<BR> `2` = 180°<BR> `3` = 270°
|
||||
<a id="DisplayText"> </a> DisplayText | `<value>` - See [DisplayText use](Displays#displaytext-use)
|
||||
<a id="DisplayCols"> </a> DisplayCols | `1..44` Set number of display columns *(for display modes>0)*
|
||||
<a id="DisplayRows"> </a> DisplayRows | `1..32` Set number of display rows *(for display modes>0)*
|
||||
<a id="DisplayFont"> </a> DisplayFont | Specify the current font<BR>`0` use classic GFX font<BR>`1` = 12<BR>`2` = 24<BR>`3` = 8 (opt)<BR>`7` use RA8876 internal font
|
||||
<a id="DisplayWidth"> </a> DisplayWidth | Specify the display width in pixels *(SSD1306 only)*
|
||||
<a id="DisplayHeight"> </a> DisplayHeight | Specify the display height in pixels *(SSD1306 only)*
|
||||
|
||||
#### DisplayMode Parameters
|
||||
The display driver is able to display predefined setups of text or user defined text. To display text using `DisplayText` set `DisplayMode` to `0` (also `1` for `DisplayModel 3` (Dot-Matrix)).
|
||||
|
||||
Parameter | LCD Display | OLED Display | TFT Display
|
||||
------------ | ---------------------- | ----------------------------------- | ----------------------------
|
||||
0 | DisplayText | DisplayText | DisplayText
|
||||
1 | Time/Date | Time/Date | Time/Date
|
||||
2 | Local sensors | Local sensors | Local sensors
|
||||
3 | Time/Date | Local sensors and Time/Date | Local sensors and Time/Date
|
||||
4 | Local sensors | MQTT and local sensors | MQTT and local sensors
|
||||
5 | MQTT and Time/Date | MQTT, local sensors and Time/Date | MQTT, local sensors and Time/Date
|
Loading…
Reference in New Issue