mirror of https://github.com/arendst/Tasmota.git
Var/Mem update
parent
5891fb404d
commit
f565350b05
|
@ -217,8 +217,8 @@ Command | Parameters
|
|||
:--- | :---
|
||||
Rule\<x\> |<a id="Rule"></a>There are 3 separate rule sets, each with a 511 character limit. Each rule set can contain multiple [rules](Rules#rule-syntax). Each of the rule sets can be enabled or disabled individually (x = `1..3`)<BR>`0` = disable Rule\<x\><BR>`1` = enable Rule\<x\><BR>`2` = toggle Rule\<x\><BR>`4` = disable one-shot detection (perform commands as long as trigger is met)<BR>`5` = enable one-shot (e.g., sometimes used for slow changing sensors like temperature) detection<BR>`6` = toggle one-shot detection<BR>`8` = disable stop-on-error after exception restart<BR>`9` = enable stop-on-error after exception restart<BR>`10` = toggle stop-on-error after exception restart<BR>`<value>` = define [Rule\<x\>](Rules)<BR>`+<value>` = append to [Rule\<x\>](Rules)<BR>`""` = clear Rule\<x\><a id="RuleTimer"></a>
|
||||
RuleTimer\<x\> | Up to eight timers to be used as countdown event (x = `1..8`)<BR>`0..32766` = set countdown rule timer in seconds<a id="Mem"></a>
|
||||
Mem\<x\> | Manage up to 5 variables stored on flash (x = `1..5`)<BR>`<value>` = store a string value in a variable<BR>`"` = clear stored value in Mem\<x\><a id="Var"></a>
|
||||
Var\<x\> | Manage up to 5 variables stored in memory (x = `1..5`)<BR>`<string>` = store a string value in a variable<BR>`"` = clear stored value in Var\<x\><a id="Add"></a>
|
||||
Mem\<x\> | Manage up to 5 variables stored on flash (x = `1..5`)<BR>`Mem` returns all current values. `Mem<x>` returns the variable's current value.<BR>`<value>` = store a string value in a variable<BR>`"` = clear stored value in Mem\<x\><a id="Var"></a>
|
||||
Var\<x\> | Manage up to 5 variables stored in memory (x = `1..5`)<BR>`Var` returns all current values. `Var<x>` returns the variable's current value.<BR>`<string>` = store a string value in a variable<BR>`"` = clear stored value in Var\<x\><a id="Add"></a>
|
||||
Add\<x\>|`<value>` = add value to Var\<x\><a id="Sub"></a>
|
||||
Sub\<x\>|`<value>` = subtract value to Var\<x\><a id="Mult"></a>
|
||||
Mult\<x\>|`<value>` = multiply value to Var\<x\><a id="Scale"></a>
|
||||
|
|
Loading…
Reference in New Issue