mirror of https://github.com/arendst/Tasmota.git
Updated Commands (markdown)
parent
b679d8ef8d
commit
b7d806b3f1
|
@ -230,11 +230,11 @@ Add\<x\><a id="Add"></a>|`<value>` = add value to Var\<x\> ([example](Rule-Cookb
|
|||
CalcRes<a id="CalcRes"></a>|Current calculation resolution  »6.4.0<BR>`0..7` = set number of decimal places to be used in `Add`, `Sub`, `Mult` and `Scale`
|
||||
Event<a id="Event"></a>|Execute an event to trigger a rule as [documented](Rules#trigger)  »5.13.0
|
||||
Mem\<x\><a id="Mem"></a>|Manage up to 5 variables stored on flash (x = `1..5`)  »6.1.0<BR>`Mem` returns all current values. `Mem<x>` returns the variable's current value.  »6.6.0.2<BR>`<value>` = store a string value in a variable<BR>`"` = clear stored value in Mem\<x\>
|
||||
Sub\<x\><a id="Sub"></a>|`<value>` = subtract value to Var\<x\> ([example](Rule-Cookbook/#arithmetic-commands-to-be-used-with-vars))  »6.1.0<BR>
|
||||
Mult\<x\><a id="Mult"></a>|`<value>` = multiply value to Var\<x\> ([example](Rule-Cookbook/#arithmetic-commands-to-be-used-with-vars))  »6.1.0<BR>
|
||||
Scale\<x\><a id="Scale"></a>|Scale value from a low and high limit to another low and high limits and save in Var\<x\> ([example](Rule-Cookbook/#arithmetic-commands-to-be-used-with-vars))  »6.1.0<BR>`v` = value: the number to scale<BR>`fl` = fromLow: the lower bound of the value’s current range<BR>`fh` = fromHigh: the upper bound of the value’s current range<BR>`tl` = toLow: the lower bound of the value’s target range<BR>`th` = toHigh: the upper bound of the value’s target range
|
||||
Rule\<x\><a id="Rule"></a>|Rules. [Read more...](Rules)  »6.1.0<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\><BR>`+<value>` = append to Rule\<x\><BR>` ` = clear Rule\<x\>
|
||||
RuleTimer\<x\><a id="RuleTimer"></a>|Up to eight timers to be used as countdown event (x = `1..8`)  »5.13.0<BR>`0..32766` = set countdown rule timer in seconds
|
||||
Scale\<x\><a id="Scale"></a>|Scale value from a low and high limit to another low and high limits and save in Var\<x\> ([example](Rule-Cookbook/#arithmetic-commands-to-be-used-with-vars))  »6.1.0<BR>`v` = value: the number to scale<BR>`fl` = fromLow: the lower bound of the value’s current range<BR>`fh` = fromHigh: the upper bound of the value’s current range<BR>`tl` = toLow: the lower bound of the value’s target range<BR>`th` = toHigh: the upper bound of the value’s target range
|
||||
Sub\<x\><a id="Sub"></a>|`<value>` = subtract value to Var\<x\> ([example](Rule-Cookbook/#arithmetic-commands-to-be-used-with-vars))  »6.1.0
|
||||
Var\<x\><a id="Var"></a>|Manage up to 5 variables stored in memory (x = `1..5`)  »6.1.0<BR>`Var` returns all current values. `Var<x>` returns the variable's current value.  »6.6.0.2<BR>`<string>` = store a string value in a variable<BR>`"` = clear stored value in Var\<x\>
|
||||
|
||||
### [Timers](Timers)
|
||||
|
|
Loading…
Reference in New Issue