Skip to content

Commit 2006b30

Browse files
authored
Merge pull request #1520 from mi-hol/feature_doc
Update feature descriptions for clarity
2 parents 4c041b2 + 62e0526 commit 2006b30

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

docs/Scripting-Language.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515

1616
| Feature | Description |
1717
| -- | -- |
18-
USE_BUTTON_EVENT | enable `>b` section (detect button state changes)
19-
USE_SCRIPT_JSON_EXPORT | enable `>J` section (publish JSON payload on [TelePeriod](Commands.md#teleperiod))
18+
USE_BUTTON_EVENT | enables `>b` section (detect button state changes)
19+
USE_SCRIPT_JSON_EXPORT | enables `>J` section (publish JSON payload on [TelePeriod](Commands.md#teleperiod))
2020
USE_SCRIPT_SUB_COMMAND | enables invoking named script subroutines via the Console or MQTT
21-
USE_SCRIPT_HUE | enable `>H` section (Alexa Hue emulation)
22-
USE_HOMEKIT | enable `>h` section (Siri Homekit support (ESP32 only),<br>define must be given in platform_override see below)
23-
USE_SCRIPT_STATUS | enable `>U` section (receive JSON payloads from cmd status)
24-
SCRIPT_POWER_SECTION | enable `>P` section (execute on power changes)
21+
USE_SCRIPT_HUE | enables `>H` section (Alexa Hue emulation)
22+
USE_HOMEKIT | enables `>h` section (Siri Homekit support (ESP32 only),<br>define must be given in platform_override see below)
23+
USE_SCRIPT_STATUS | enables `>U` section (receive JSON payloads from cmd status)
24+
SCRIPT_POWER_SECTION | enables `>P` section (execute on power changes)
2525
SUPPORT_MQTT_EVENT | enables support for subscribe unsubscribe
26-
USE_SENDMAIL | enable `>m` section and support for sending e-mail<br>(on ESP32 you must add USE_ESP32MAIL)
27-
USE_SCRIPT_WEB_DISPLAY | enable `>W` section (modify web UI)
26+
USE_SENDMAIL | enables `>m` section and support for sending e-mail<br>(on ESP32 you must add USE_ESP32MAIL)
27+
USE_SCRIPT_WEB_DISPLAY | enables `>W` section (modify web UI)
2828
SCRIPT_FULL_WEBPAGE | enable ``>w`` section (separate full web page and webserver)
29-
USE_TOUCH_BUTTONS | enable virtual touch button support with touch displays
30-
USE_WEBSEND_RESPONSE | enable receiving the response of [`WebSend`](Commands.md#websend) and [`WebQuery`](Commands.md#webquery) commands (received in section >E)
29+
USE_TOUCH_BUTTONS | enables virtual touch button support with touch displays
30+
USE_WEBSEND_RESPONSE | enables receiving the response of [`WebSend`](Commands.md#websend) and [`WebQuery`](Commands.md#webquery) commands (received in section >E)
3131
SCRIPT_STRIP_COMMENTS | enables stripping comments when attempting to paste a script that is too large to fit
3232
USE_ANGLE_FUNC | add sin(x),acos(x) and sqrt(x) e.g. to allow calculation of horizontal cylinder volume
3333
USE_SCRIPT_FATFS_EXT | enables additional FS commands
@@ -36,20 +36,19 @@
3636
USE_SCRIPT_TASK | enables multitasking Task in ESP32
3737
USE_SCRIPT_GLOBVARS | enables global variables and >G section
3838
USE_SML_M | enables [Smart Meter Interface](Smart-Meter-Interface)
39-
SML_REPLACE_VARS | enables possibility to replace the lines from the (SML) descriptor with Vars
39+
SML_REPLACE_VARS | enables replacing hard-coded definitions for SML descriptor with variables
4040
NO_USE_SML_SCRIPT_CMD | disables SML script cmds
4141
USE_SCRIPT_I2C | enables I2C support
4242
USE_SCRIPT_SERIAL | enables support for serial io cmds
4343
USE_SCRIPT_TIMER | enables up to 4 Arduino timers (so called tickers)
4444
SCRIPT_GET_HTTPS_JP | enables reading HTTPS JSON WEB Pages (e.g. Tesla Powerwall)
4545
LARGE_ARRAYS | enables arrays of up to 1000 entries instead of max 127
46-
SCRIPT_LARGE_VNBUFF | enables to use 4096 in stead of 256 bytes buffer for variable names
46+
SCRIPT_LARGE_VNBUFF | enables to use 4096 instead of 256 bytes buffer for variable names
4747
USE_GOOGLE_CHARTS | enables definition of google charts within web section
4848
USE_FEXTRACT | enables array extraction from database fxt(...), fxto() and tso(), tsn(), cts(), s2t() functions
4949
USE_SCRIPT_SPI | enables support for SPI interface
5050
USE_SCRIPT_TCP_SERVER | enables support for TCP server
5151
USE_DISPLAY_DUMP | enables to show epaper screen as BMP image in >w section
52-
TS_FLOAT | may be define as double to use double precision numbers (uses double RAM memory and is slower)
5352
SCRIPT_FULL_OPTIONS | enables almost any of the above options (uses about 90k of Flash)
5453

5554
!!! info "Scripting Language for Tasmota is an alternative to Tasmota [Rules](Rules). For ESP32 builds it is recommended to use [Berry](Berry)"

0 commit comments

Comments
 (0)