Files

130 lines
3.8 KiB
Plaintext

.. csv-table::
:header: "Command", "Extra information"
:widths: 20, 30
"
``7dn,<number>``
Example:
``7dn,[BME280#Humidity]`` to display the humidity measured by a BME280 sensor.
","
Displays a numeric value on the display, with 1 decimal.
"
"
``7dt,<temperature>``
Example:
``7dt,[BME280#Temperature]``
","
To display the temperature measured by a BME280 sensor. By default includes a ° symbol, unless option 'Hide ° for Temperatures' is enabled.
"
"
``7ddt,<temperature1>,<temperature2>``
Example:
``7ddt,[BME280#Temperature],[DS18b20#Temperature]``
","
To display two temperatures measured, f.e. by a BME280 sensor and a DS18b20 sensor. Applicable for 8 digit or wider displays.
"
"
``7dst,<hh>,<mm>,<ss>``
Example:
``7dst,%syshour%+6,%sysmin%,%syssec%``
","
To display the time, f.e. for a different time zone.
Can also be used to set a next appointment time externally.
"
"
``7dsd,<dd>,<mm>,<yy>``
","
To display a date.
"
"
``7dtext,<text>``
Examples:
``7dtext,OUT [BLK#Temperature#d2.1]^``
``7dtext,HU. [BLK#Humidity#d2.1]^o`` Will result in 'HU. 57.2°o' being displayed (8 digit or wider display)
","
To display a text on the display. Any variable can be used. Unsupported characters (like accented letters) will show as a space (empty digit).
With the Scroll Text option disabled, the first n characters the display can show are displayed, if the Scroll Text option is enabled, longer texts will scroll from right to left across the display, at the set speed.
"
"
``7dfont,<font>``
","
Select a different font, either by name: ``Default`` or ``7dgt`` for the original font (0), ``Siekoo`` for standard Siekoo font (1), ``Siekoo_Upper`` for the Siekoo font with uppercase 'CHNORUX' characters (2), and ``dSEG7`` for the dSEG7 font (3). Numbers can also be used, 0, 1, 2, or 3 as noted. Fontnames are not case-sensitive.
Only applicable when a 7-segment **Display Type** is selected.
"
"
``7dbin,[<byte>,|'<quoted text>']...``
Example:
``7dbin,0x40,0x20,0x10,0x08,0x04,0x02,0x01,0x80`` (7-segment Display Type)
``7dbin,'ESPEasy is fun! and costs 0.00 ',2441,'uro'`` (14-segment Display Type, using the € sign)
","
To display any bit pattern on the display.
The example shows each digit with a different segment on, including the dot/colon, and assuming Scroll Text enabled.
See explanation on how the bits map to segments, below.
"
"
``7don``
","
Turn the display on.
"
"
``7doff``
","
Turn the display off.
"
"
``7db,<0..15>``
","
Set the brightness to the provided level.
"
"
``7output,<0..5>``
","
Change the Display Output setting, available options:
* 0 - Manual
* 1 - Clock 24h - Blink
* 2 - Clock 24h - No Blink
* 3 - Clock 12h - Blink
* 4 - Clock 12h - No Blink
* 5 - Date
"
"
``7digit,<dgt>,<char/text>``
","
Write content to a specific digit, or range of digits up to the end of the display (no scrolling supported)
``7digit,8,C.`` : Write a C with a period attached to digit 8 of the display (assuming it has at least 8 digits available).
``7digit,-4,0b110110`` : Write a bitmap (``||`` used here), similar to ``7dbin`` command, to a digit (the ``abs(dgt)`` value is used).
"