Revert 8ec227d78fb0f64c71d178ba5dd480852de06b0f...f60021227db47dcf4c85828930c2a45e9b18cea3 on Commands

Michael Ingraham 2019-08-22 15:41:07 -04:00
parent f60021227d
commit cf05fa3320
1 changed files with 33 additions and 1 deletions

@ -15,7 +15,7 @@
* [**MP3 Player**](#mp3-player)
* [**Domoticz**](#domoticz)
* [**KNX IP Protocol**](#knx)
* [**Displays**](Displays)
* [**Displays**](#displays)
The Sonoff-Tasmota firmware provides three powerful man machine interfaces:<BR>**MQTT**, **web** and **serial**.
@ -532,3 +532,35 @@ OPTION
14| Button 6| 30| KNX_SLOT5
15| Button 7| 255| EMPTY
16| Button 8 |
### [Displays](Displays)
<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` &ne; `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
#### 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