From 0f537e3d603087dad9f78c2d4809310b777d2617 Mon Sep 17 00:00:00 2001 From: md5sum-as Date: Mon, 3 Nov 2025 15:08:10 +0300 Subject: [PATCH] Scripting-Language.md add rotary encoder vars Added a description of the variables for getting the rotary encoder position. https://github.com/arendst/Tasmota/pull/23706 --- docs/Scripting-Language.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Scripting-Language.md b/docs/Scripting-Language.md index d80427ee8f..2ade73b50b 100644 --- a/docs/Scripting-Language.md +++ b/docs/Scripting-Language.md @@ -605,7 +605,9 @@ If a Tasmota `SENSOR` or `STATUS` or `RESULT` message is not generated or a `Var `sht[x]` = shutter position (x = 1..N) (if defined USE_SHUTTER) `gtmp` = global temperature `ghum` = global humidity -`gprs` = global pressure +`gprs` = global pressure +`encabs[x]` = absolute position of the rotary encoder (x = 1..N) +`encrel[x]` = relative position of the rotary encoder, the value will be reset after reading (x = 1..N) global variables now optional binary mode, much faster and more precise, also supports arrays.